/* ============================================================
   Habillage "chat tuxedo" — Les P'tites Boules d'Amour du 03
   Chargé après le style de chaque page : il remplace les variables
   et affine les composants. Palette tirée du logo (noir, blanc,
   cœurs rouges, rose coussinet).
   ============================================================ */
:root{
  --cream:#FFFCFB;          /* fond de page : blanc chaud */
  --cream-deep:#F6EDEF;
  --ink:#1D1B22;            /* noir "tuxedo" */
  --ink-soft:#57535F;
  --red:#D6213A;            /* rouge cœur */
  --red-deep:#B81D31;
  --blush:#FDE8EB;          /* rose coussinet */
  --line:rgba(29,27,34,0.12);
  --font-display:"Bricolage Grotesque", system-ui, sans-serif;
  --font-body:"Figtree", system-ui, sans-serif;
  --radius:14px;
  --radius-lg:28px;
}
body{font-size:17px; line-height:1.65;}
h1,h2,h3,h4{font-weight:700; letter-spacing:-0.025em; line-height:1.12;}
h2{font-variation-settings:"opsz" 72;}
:focus-visible{outline:3px solid var(--red); outline-offset:3px;}

/* Étiquettes de section : sobres, sans majuscules ni filet */
.eyebrow{font-size:0.95rem; letter-spacing:0; text-transform:none; font-weight:700; color:var(--red-deep);}
.eyebrow::before{display:none;}

/* Boutons : pilules */
.btn{border-radius:999px; padding:14px 28px; font-size:0.97rem; transition:background .18s, color .18s, border-color .18s, transform .18s;}
.btn:active{transform:scale(.98);}
.btn-primary{background:var(--red); border-color:var(--red); color:#fff;}
.btn-primary:hover{background:var(--red-deep); border-color:var(--red-deep);}
.btn-ghost{border-color:var(--ink); color:var(--ink);}
.btn-ghost:hover{background:var(--ink); color:#fff;}
.btn-ghost-light{border-color:rgba(255,255,255,.55); color:#fff;}
.btn-ghost-light:hover{background:#fff; color:var(--ink);}
.btn-light{background:#fff; color:var(--ink); border-color:#fff;}
.btn-light:hover{background:var(--blush); border-color:var(--blush);}

/* En-tête */
header{background:var(--cream); border-bottom:1px solid var(--line);}
.brand-name{font-family:var(--font-display); font-weight:700; letter-spacing:-0.02em;}
.brand-name span{text-transform:none; letter-spacing:0; font-size:0.72rem; font-weight:600; color:var(--red-deep);}
nav.primary-nav a{border-radius:999px; font-size:0.95rem;}
nav.primary-nav a.active, nav.primary-nav a:hover{color:var(--red-deep);}
.dropdown{border-radius:var(--radius); padding:8px;}

/* ===== HERO : le "plastron" du chat tuxedo ===== */
.hero{background:var(--ink); color:#fff; position:relative; overflow:hidden; border-radius:0 0 50% 50% / 0 0 56px 56px;}
.hero-media, .hero-media::after{display:none;}
.hero-content{position:relative; inset:auto; left:auto; right:auto; max-width:var(--container); margin:0 auto; padding:72px 28px 96px;}
.hero-title{font-weight:800; letter-spacing:-0.035em; line-height:1.02; font-size:clamp(2.5rem, 5.6vw, 4.6rem); max-width:15ch; margin-top:18px;}
.hero-sub{max-width:52ch; font-size:1.12rem; color:rgba(255,255,255,.82);}
.hero .eyebrow, .hero-content .eyebrow{color:#FFC2CB;}
.hero-actions{margin-top:32px;}
.hero-links{border-top:1px solid rgba(255,255,255,.18);}
.hero-links a{color:rgba(255,255,255,.78);}
.hero-split{display:grid; grid-template-columns:1.25fr .75fr; align-items:center; gap:40px;}
.hero-badge{position:relative; justify-self:center; width:min(100%,380px); aspect-ratio:1;}
.hero-badge img.hero-logo{width:100%; height:100%; border-radius:50%; object-fit:cover; border:8px solid #fff; box-shadow:0 0 0 2px var(--red);}
.hero-sticker{
  position:absolute; right:-6px; bottom:6%; transform:rotate(8deg);
  background:var(--red); color:#fff; font-family:var(--font-display); font-weight:700;
  padding:14px 18px; border-radius:22px; line-height:1.15; font-size:1.05rem; text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.hero-sticker small{display:block; font-family:var(--font-body); font-weight:600; font-size:.78rem; opacity:.9;}

/* Pages intérieures : mêmes bandeaux noirs, plus compacts */
.hero:not(.hero-home) .hero-content{padding:56px 28px 80px;}
.hero:not(.hero-home) .hero-title{max-width:20ch;}

/* Un seul moment animé : l'arrivée de l'accueil */
@keyframes rise{from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:none;}}
@keyframes pop{from{opacity:0; transform:rotate(-14deg) scale(.6);} to{opacity:1; transform:rotate(8deg) scale(1);}}
.hero-home .hero-copy > *{animation:rise .7s cubic-bezier(.2,.7,.2,1) both;}
.hero-home .hero-copy > *:nth-child(2){animation-delay:.08s;}
.hero-home .hero-copy > *:nth-child(3){animation-delay:.16s;}
.hero-home .hero-copy > *:nth-child(4){animation-delay:.24s;}
.hero-home .hero-copy > *:nth-child(5){animation-delay:.32s;}
.hero-home .hero-badge img{animation:rise .8s .1s cubic-bezier(.2,.7,.2,1) both;}
.hero-home .hero-sticker{animation:pop .5s .75s cubic-bezier(.3,1.5,.5,1) both;}

/* Vagues décoratives supprimées */
.divider{display:none;}

/* Sections */
section{padding:96px 0;}
.section-head h2{font-size:clamp(1.9rem, 3.4vw, 2.7rem); margin-top:10px;}
.section-head p{font-size:1.07rem; max-width:62ch;}
.reveal{transform:none; transition:opacity .45s ease;}

/* Mission : 4 piliers sur une ligne de cœurs, sans numérotation */
.pillars{background:none; border:none; gap:28px; border-radius:0;}
.pillar{background:none; padding:22px 0 0; border-top:3px solid var(--ink); position:relative;}
.pillar .num{display:none;}
.pillar::before{content:"♥"; position:absolute; top:-15px; right:0; background:var(--cream); color:var(--red); padding-left:8px; font-size:1.2rem; line-height:1;}
.pillar h4{font-size:1.25rem; margin-top:0;}
.pillar p{font-size:0.98rem;}

/* Bandes de couleur arrondies */
.band-pink{background:var(--blush); margin:0 14px; border-radius:var(--radius-lg);}
.band-dark{background:var(--ink) !important; margin:0 14px; border-radius:var(--radius-lg);}
.value-card h4{font-size:1.12rem;}
.value-card p{font-size:0.95rem;}
.callout{border-radius:var(--radius); font-style:normal;}
.callout p{font-style:normal; font-family:var(--font-display); font-size:1.1rem !important; line-height:1.4;}

/* Actions */
.action-row{padding:28px 0;}
.action-row h4{font-size:1.2rem;}
.action-row p{font-size:0.98rem;}
.actions-media{border-radius:var(--radius-lg);}
.actions-media-logo{background:var(--ink);}
.actions-media-logo img{border-radius:50%;}

/* Cartes et surfaces */
.cta-banner{background:var(--red); border-radius:var(--radius-lg); padding:64px 56px;}
.cta-banner h3{font-size:clamp(1.7rem, 3vw, 2.3rem);}
.cta-banner p{color:rgba(255,255,255,.9);}
.cta-banner .btn-primary{background:#fff; color:var(--red-deep); border-color:#fff;}
.cta-banner .btn-primary:hover{background:var(--ink); color:#fff; border-color:var(--ink);}
.cta-banner .btn-ghost, .cta-banner .btn-ghost-light{border-color:rgba(255,255,255,.7); color:#fff;}
.don-card, .info-box, .contact-card, .news-empty, .benevole-item, .urgence-box{border-radius:var(--radius-lg);}
.don-card{background:var(--ink);}
.benevole-item{border-radius:var(--radius);}
.agir-block{border-top:none; padding:72px 0 24px;}
.agir-header .tag{border-radius:999px; font-family:var(--font-body); font-weight:700;}

/* Formulaires */
.contact-form input, .contact-form textarea, .newsletter input{border-radius:var(--radius); padding:14px 16px; font-size:1rem; background:#fff;}
.contact-form label{font-size:0.9rem; color:var(--ink);}
.contact-form input:focus, .contact-form textarea:focus, .newsletter input:focus{outline:3px solid rgba(214,33,58,.35); border-color:var(--red);}
.contact-form .form-status.success{color:#1F6B42;}

/* Chats */
.album-grid{gap:28px;}
.cat-card{border-radius:var(--radius-lg); border:1px solid var(--line); background:#fff;}
.cat-photo{background:var(--blush);}
.cat-status{background:var(--ink); border-radius:999px; font-size:0.78rem; padding:6px 14px; letter-spacing:0;}
.cat-body h4{font-size:1.3rem;}
.cat-body p{font-size:0.98rem; color:var(--ink-soft);}
.cat-read-more{color:var(--red-deep); font-weight:700;}

/* Actualités */
.news-article-card, .news-preview-card{border-radius:var(--radius-lg);}
.news-article-media, .news-preview-media{background-color:var(--blush);}
.news-article-date{text-transform:none; letter-spacing:0; font-size:0.9rem; color:var(--red-deep);}
.news-article-body h3{font-size:1.4rem;}

/* Fenêtres */
.modal-overlay{background:rgba(29,27,34,.6);}
.modal-box{background:#fff; border-radius:var(--radius-lg);}

/* Pied de page */
footer{background:var(--ink); border-radius:var(--radius-lg) var(--radius-lg) 0 0; margin-top:48px; padding-top:64px;}
footer h5{text-transform:none; letter-spacing:0; font-size:1rem; font-family:var(--font-display);}
.footer-brand span{font-family:var(--font-display);}

@media (max-width:900px){
  .hero-split{grid-template-columns:1fr; gap:28px;}
  .hero-badge{width:min(62%,240px); justify-self:start; order:-1;}
  .hero-sticker{right:-18px;}
  .hero-content{padding:44px 20px 72px;}
  .hero{border-radius:0 0 50% 50% / 0 0 32px 32px;}
  .pillars{grid-template-columns:1fr 1fr; row-gap:36px;}
}
@media (max-width:560px){
  section{padding:64px 0;}
  .pillars{grid-template-columns:1fr;}
  .cta-banner{padding:40px 26px;}
  .band-pink, .band-dark{margin:0 8px; border-radius:22px;}
}
@media (prefers-reduced-motion:reduce){
  .hero-home .hero-copy > *, .hero-home .hero-badge img, .hero-home .hero-sticker{animation:none;}
}

/* Navigation : pas de retour à la ligne dans les liens */
nav.primary-nav a, .btn, .brand-name{white-space:nowrap;}
nav.primary-nav a{padding:10px 11px;}
@media (max-width:1180px) and (min-width:981px){ nav.primary-nav a{padding:10px 8px; font-size:0.9rem;} .nav-cta{display:none;} }

/* ============================================================
   VOLETS DÉPLIABLES (page d'accueil compacte)
   Survol à la souris, toucher sur mobile ; les formulaires
   se déplient uniquement au clic.
   ============================================================ */
section{padding:72px 0;}
.folds-section{padding:48px 0;}
.folds-section .section-head{margin-bottom:28px;}
.folds-section .section-head h2{font-size:clamp(1.7rem,3vw,2.3rem);}
.fold-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start;}
@media (max-width:820px){.fold-grid{grid-template-columns:1fr;}}

.fold{background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; scroll-margin-top:96px; transition:box-shadow .25s, border-color .25s;}
.fold.open{border-color:var(--ink); box-shadow:0 14px 34px -18px rgba(29,27,34,.45);}
.fold-pink{background:var(--blush); border-color:transparent;}
.fold-dark{background:var(--ink); color:#fff; border-color:var(--ink);}
.fold-dark .fold-sum{color:rgba(255,255,255,.72);}
.fold-dark.open{border-color:var(--red);}

.fold-head{width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 26px; background:none; border:0; color:inherit; font:inherit; text-align:left; cursor:pointer;}
.fold-title{display:block; font-family:var(--font-display); font-weight:700; font-size:1.4rem; letter-spacing:-0.02em; line-height:1.15;}
.fold-sum{display:block; margin-top:6px; font-size:.97rem; line-height:1.45; color:var(--ink-soft);}
.fold-icon{flex:none; width:36px; height:36px; border-radius:50%; background:var(--red); position:relative; transition:transform .3s, background .2s;}
.fold-icon::before,.fold-icon::after{content:""; position:absolute; left:50%; top:50%; width:14px; height:2px; background:#fff; border-radius:2px; transform:translate(-50%,-50%); transition:transform .3s;}
.fold-icon::after{transform:translate(-50%,-50%) rotate(90deg);}
.fold.open > .fold-head .fold-icon{background:var(--ink);}
.fold-dark.open > .fold-head .fold-icon{background:var(--red);}
.fold.open > .fold-head .fold-icon::after{transform:translate(-50%,-50%) rotate(0);}

.fold-body{display:grid; grid-template-rows:0fr; padding:0 26px; visibility:hidden; transition:grid-template-rows .35s ease, visibility 0s linear .35s;}
.fold.open > .fold-body{grid-template-rows:1fr; visibility:visible; transition:grid-template-rows .35s ease, visibility 0s;}
.fold-inner{min-height:0; overflow:hidden;}
.fold-inner::after{content:""; display:block; height:26px;}
.fold-inner > :first-child{margin-top:0;}
.fold-inner p{font-size:1rem;}
.fold-inner h2{font-size:1.35rem; margin-bottom:0;}

/* contenus réutilisés dans les volets */
.fold-inner .values-grid{grid-template-columns:1fr 1fr; gap:22px 18px;}
@media (max-width:480px){.fold-inner .values-grid{grid-template-columns:1fr;}}
.fold-inner .actions-list .action-row:first-child{border-top:0; padding-top:4px;}
.fold-inner .actions-list .action-row:last-child{border-bottom:0;}
.fold-inner .don-layout{grid-template-columns:1fr; gap:22px;}
.fold-dark .don-card{background:rgba(255,255,255,.08); border-radius:var(--radius);}
.fold-inner .adhere-benefits{grid-template-columns:1fr; gap:22px; margin-top:18px;}
.fold-inner .benevole-grid{margin-top:20px; gap:10px;}
.fold-inner .benevole-item{padding:14px 16px; font-size:.95rem;}
.fold-inner .btn{margin-top:20px;}
.fold-dark .callout{margin-top:20px;}

/* formulaire : s'ouvre au clic sur un bouton */
.fold-form{border:0; background:none; border-radius:0; overflow:visible; box-shadow:none !important; margin-top:20px;}
.fold-form > .fold-head{width:auto; display:inline-flex; padding:14px 22px; gap:14px;}
.fold-form .fold-icon{background:rgba(255,255,255,.25); width:26px; height:26px;}
.fold-form .fold-icon::before,.fold-form .fold-icon::after{width:11px;}
.fold-form.open > .fold-head{background:var(--ink); border-color:var(--ink);}
.fold-form > .fold-body{padding:0;}
.fold-form .contact-form{margin-top:18px; max-width:none;}
.fold-form .fold-inner{overflow:hidden; padding:2px;}
.fold-form .fold-inner::after{height:4px;}
.fold-inner .fold-form .btn{margin-top:0;}
.fold-form .contact-form .btn{margin-top:4px;}

/* mission plus dense */
.section-tight{padding-bottom:40px;}
@media (max-width:560px){.fold-head{padding:20px;} .fold-body{padding:0 20px;} .fold-title{font-size:1.25rem;}}
section{padding:56px 0;}
.section-head{margin-bottom:28px;}
.section-head h2{margin-top:6px;}
.pillars{margin-top:0;}
@media (max-width:560px){section{padding:44px 0;} .folds-section{padding:32px 0;}}
.fold-form > .fold-head, .fold-form > .fold-head:hover{color:#fff; font-weight:700; font-size:.97rem;}
.fold-form > .fold-head{background:var(--red);}
.fold-form > .fold-head:hover{background:var(--red-deep);}
.fold-form.open > .fold-head{background:var(--ink);}

/* Lien d'administration : quasi invisible, ordinateur uniquement */
.admin-discret{display:none;}
@media (hover:hover) and (pointer:fine){
  .admin-discret{display:inline-block; padding:4px 10px; color:#fff; opacity:.06; text-decoration:none; font-size:1rem; line-height:1; transition:opacity .2s;}
  .admin-discret:hover, .admin-discret:focus-visible{opacity:.7;}
}
.pillars{overflow:visible; margin-top:18px;}

/* Menu mobile : lignes pleine largeur, sans arrondis */
@media (max-width:980px){
  nav.primary-nav a{border-radius:0; display:block;}
  nav.primary-nav .has-dropdown{width:100%;}
  nav.primary-nav .has-dropdown > a{width:100%;}
}

/* Volets : pas de contour, seuls les boutons en gardent un (ombre douce à la place) */
.fold, .fold.open, .fold-pink, .fold-dark, .fold-dark.open{border:0;}
.fold{box-shadow:0 1px 2px rgba(34,17,47,.06), 0 10px 26px -16px rgba(34,17,47,.28);}
.fold.open{box-shadow:0 18px 38px -18px rgba(34,17,47,.42);}
.fold-inner .benevole-item{border:0; background:var(--cream-deep);}
.fold-pink .benevole-item{background:#fff;}
