/* Caritas Secours — couche de design moderne (rouge · blanc · noir, dégradés, mouvement).
   Chargée après style.css et photography.css : elle surcharge sans toucher au balisage. */
:root{
  --red:#e3101b;--brand:#ff2433;--red-deep:#9e0a13;--red-ink:#5c050b;
  --ink:#0d0d10;--ink-2:#18181d;--muted:#5d5f66;--line:#e9e6e6;--cream:#faf7f6;--sand:#f3eeed;
  --grad-red:linear-gradient(135deg,#ff3340 0%,#e3101b 42%,#9e0a13 100%);
  --grad-dark:linear-gradient(160deg,#16161b 0%,#0b0b0e 55%,#2a050a 100%);
  --grad-ember:radial-gradient(60% 80% at 85% 10%,rgba(227,16,27,.35),transparent 60%),radial-gradient(50% 70% at 0% 100%,rgba(158,10,19,.4),transparent 65%);
  --radius:22px;--radius-sm:14px;
  --shadow:0 1px 2px rgba(13,13,16,.04),0 12px 32px -12px rgba(13,13,16,.18);
  --shadow-lg:0 30px 60px -20px rgba(92,5,11,.35),0 12px 24px -12px rgba(13,13,16,.25);
  --ease:cubic-bezier(.22,1,.36,1);
  --font:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html body{font-family:var(--font);color:var(--ink);background:#fff;overflow-x:clip;-webkit-font-smoothing:antialiased}
::selection{background:var(--red);color:#fff}
html body h1,html body h2,html body h3{font-weight:800;letter-spacing:-.04em;text-wrap:balance}
html body p{text-wrap:pretty}
.wrap{width:min(var(--max),calc(100% - clamp(32px,7vw,96px)))}

/* ---------- Barre de progression ---------- */
.scroll-progress{position:fixed;inset:0 0 auto;height:3px;z-index:100;transform-origin:0 50%;transform:scaleX(var(--progress,0));background:var(--grad-red);pointer-events:none}

/* ---------- En-tête verre dépoli ---------- */
html body header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.72);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid rgba(13,13,16,.06);transition:background .35s var(--ease),box-shadow .35s var(--ease)}
html body header.is-scrolled{background:rgba(255,255,255,.9);box-shadow:0 10px 30px -18px rgba(13,13,16,.35)}
html body .header-inner{transition:height .35s var(--ease)}
/* La hauteur de l'en-tête ne change jamais au défilement : sinon la page saute de quelques pixels et l'en-tête tremble près du haut. */
.brand-logo{transition:transform .5s var(--ease)}
.logo:hover .brand-logo{transform:rotate(-8deg) scale(1.06)}
html body .desktop-nav a{position:relative;transition:color .25s}
html body .desktop-nav a:after{content:"";position:absolute;left:0;right:0;bottom:18px;height:2px;border-radius:2px;background:var(--grad-red);transform:scaleX(0);transform-origin:right;transition:transform .4s var(--ease)}
html body .desktop-nav a:hover:after,html body .desktop-nav a.active:after{transform:scaleX(1);transform-origin:left}
.search-button,.menu-button{border-radius:999px;transition:background .25s,transform .25s}
.search-button:hover,.menu-button:hover{background:rgba(227,16,27,.08);transform:scale(1.06)}
html body .mobile-nav{background:#fff;animation:dropIn .45s var(--ease)}
html body .mobile-nav a{border-radius:12px;font-weight:600;transition:background .2s,padding .3s var(--ease)}
html body .mobile-nav a:hover{background:var(--cream);padding-left:20px;color:var(--red)}
@keyframes dropIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* ---------- Boutons ---------- */
html body .btn{position:relative;overflow:hidden;isolation:isolate;border-radius:999px;background:var(--grad-red);background-size:160% 160%;background-position:0 0;color:#fff;border:0;font-weight:700;letter-spacing:.01em;box-shadow:0 10px 24px -10px rgba(227,16,27,.65);transition:transform .35s var(--ease),box-shadow .35s var(--ease),background-position .6s var(--ease)}
html body .btn:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);transition:transform .8s var(--ease)}
html body .btn:hover{transform:translateY(-2px);background-position:100% 100%;box-shadow:0 18px 34px -12px rgba(227,16,27,.75)}
html body .btn:hover:before{transform:translateX(120%)}
html body .btn:active{transform:translateY(0) scale(.98)}
html body .btn svg{transition:transform .35s var(--ease)}
html body .btn:hover svg,html body .text-link:hover svg{transform:translateX(4px)}
html body .btn.secondary{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
html body .btn.secondary:hover{color:var(--red);box-shadow:inset 0 0 0 1.5px var(--red),0 12px 26px -14px rgba(227,16,27,.5)}
html body .btn.secondary[aria-pressed="true"]{background:var(--grad-red);color:#fff;box-shadow:0 10px 24px -10px rgba(227,16,27,.65)}
html body .text-link{color:var(--red);font-weight:700;gap:10px;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 8px)/0 2px no-repeat;transition:background-size .4s var(--ease)}
html body .text-link:hover{text-decoration:none;background-size:calc(100% - 30px) 2px}
html body .text-link svg{transition:transform .35s var(--ease)}

/* ---------- Hero ---------- */
html body .hero{position:relative;isolation:isolate;overflow:hidden!important;background:var(--grad-dark);color:#fff}
html body .hero:before{content:"";position:absolute;inset:-20%;z-index:-1;background:var(--grad-ember);animation:ember 18s ease-in-out infinite alternate;pointer-events:none}
@keyframes ember{0%{transform:translate3d(0,0,0) rotate(0)}100%{transform:translate3d(-4%,3%,0) rotate(6deg)}}
html body .hero h1{color:#fff}
html body .hero p{color:rgba(255,255,255,.82)}
html body .hero .eyebrow{display:inline-flex;align-items:center;gap:10px;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);padding:7px 14px;border-radius:999px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);letter-spacing:.14em}
html body .hero .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 0 rgba(255,36,51,.7);animation:pulse 2.2s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(255,36,51,0)}100%{box-shadow:0 0 0 0 rgba(255,36,51,0)}}
html body .hero .hero-photo{border:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);background:#1b1b20;transform:perspective(1200px) rotateY(-4deg);transition:transform .9s var(--ease)}
html body .hero .hero-photo:hover{transform:perspective(1200px) rotateY(0)}
html body .hero .hero-photo .media,html body .hero .hero-photo .media figcaption{background:transparent;color:rgba(255,255,255,.6)}
html body .hero .photo-corner{color:var(--brand)}
html body .hero .btn,html body .hero .editorial-hero-copy .btn{background:var(--grad-red);color:#fff;border:0}
html body .hero .btn.secondary{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35)}
/* hero éditorial (photo plein cadre) */
html body .hero.editorial-hero{background:#0b0b0e}
html body .hero.editorial-hero .editorial-hero-image{transform:scale(1.08);animation:heroZoom 14s var(--ease) forwards;will-change:transform}
@keyframes heroZoom{to{transform:scale(1)}}
html body .hero.editorial-hero:after{content:"";display:block;position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(11,11,14,.9) 0%,rgba(11,11,14,.62) 38%,rgba(92,5,11,.18) 70%,transparent 100%),linear-gradient(0deg,rgba(11,11,14,.55),transparent 40%)}
html body .hero.editorial-hero>.wrap{position:relative;z-index:1}
html body .editorial-hero-copy>*{animation:rise .9s var(--ease) both}
html body .editorial-hero-copy>*:nth-child(2){animation-delay:.12s}
html body .editorial-hero-copy>*:nth-child(3){animation-delay:.24s}
html body .editorial-hero-copy>*:nth-child(4){animation-delay:.36s}
@keyframes rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
html body .hero h1 .grad,html body .grad-text{background:linear-gradient(100deg,#fff 0%,#ffd0d3 40%,#ff4d58 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-scroll{position:absolute;left:50%;bottom:22px;z-index:2;width:26px;height:42px;border-radius:20px;border:2px solid rgba(255,255,255,.55);transform:translateX(-50%)}
.hero-scroll:after{content:"";position:absolute;left:50%;top:8px;width:4px;height:8px;border-radius:4px;background:#fff;transform:translateX(-50%);animation:wheel 1.8s infinite}
@keyframes wheel{0%{opacity:0;transform:translate(-50%,0)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,14px)}}

/* ---------- Bandeau défilant ---------- */
.marquee{position:relative;overflow:hidden;background:var(--grad-red);color:#fff;padding:16px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:48px;width:max-content;animation:marquee 38s linear infinite;font-weight:800;font-size:clamp(16px,2vw,22px);letter-spacing:-.02em;white-space:nowrap}
.marquee-track span{display:inline-flex;align-items:center;gap:48px}
.marquee-track span:after{content:"✚";font-size:.7em;opacity:.7}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- Sections ---------- */
html body .section{padding:clamp(64px,9vw,110px) 0;position:relative}
html body .cream{background:linear-gradient(180deg,#fff 0%,var(--cream) 30%,#fff 100%)!important;color:var(--ink)!important}
html body .eyebrow{color:var(--red);letter-spacing:.16em;font-weight:800}
html body .section h2{background:linear-gradient(100deg,var(--ink) 0%,var(--ink) 55%,var(--red-deep) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
html body .section .notice,html body .section .notice *{-webkit-text-fill-color:initial}
.section-heading h2:after,.center>h2:after{content:"";display:block;width:56px;height:4px;margin-top:16px;border-radius:4px;background:var(--grad-red)}
.center>h2:after{margin-inline:auto}

/* ---------- Statistiques ---------- */
html body .stats{gap:clamp(12px,2vw,24px);padding:clamp(28px,4vw,48px) 0}
html body .stats>div{border:0!important;padding:26px 18px;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
html body .stats>div:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
html body .stats svg{color:var(--red);width:30px;height:30px;padding:10px;box-sizing:content-box;border-radius:16px;background:linear-gradient(135deg,rgba(255,51,64,.12),rgba(158,10,19,.06))}
html body .stats strong{font-size:clamp(30px,3.4vw,44px);font-weight:800;background:var(--grad-red);-webkit-background-clip:text;background-clip:text;color:transparent}
html body .stats .pending{font-size:13px}
html body .cream .stats span{color:var(--muted)}

/* ---------- Cartes ---------- */
html body .project-card,html body .news-card,html body .support-card,html body .feature,html body .wide-link{border-radius:var(--radius);border:1px solid rgba(13,13,16,.06);background:#fff;box-shadow:var(--shadow);overflow:hidden;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .5s;transform-style:preserve-3d;will-change:transform}
html body .project-card:hover,html body .news-card:hover,html body .support-card:hover,html body .wide-link:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg);border-color:rgba(227,16,27,.25)}
html body .project-card[data-tilt]:hover,html body .news-card[data-tilt]:hover,html body .support-card[data-tilt]:hover{transform:perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)) translateY(-8px)}
html body .project-card .photo,html body .news-card .photo{overflow:hidden!important;position:relative}
html body .project-card .photo img,html body .news-card .photo img,html body .feature .photo img{transition:transform 1s var(--ease)!important}
html body .project-card:hover .photo img,html body .news-card:hover .photo img,html body .feature:hover .photo img{transform:scale(1.06)!important}
html body .project-card .photo:after,html body .news-card .photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(92,5,11,.45));opacity:0;transition:opacity .5s var(--ease);pointer-events:none}
html body .project-card:hover .photo:after,html body .news-card:hover .photo:after{opacity:1}
html body .news-card{padding-bottom:22px}
html body .news-card>*:not(.photo){padding-inline:22px}
html body .project-card p svg{transition:transform .35s var(--ease)}
html body .project-card:hover p svg{transform:translateX(5px)}
html body .support-card{padding:clamp(24px,3vw,34px)}
html body .support-card:before{content:"";position:absolute;inset:0;background:var(--grad-red);opacity:0;transition:opacity .5s var(--ease);z-index:0}
html body .support-card>*{position:relative;z-index:1;transition:color .4s}
html body .support-card>svg{color:var(--red);width:30px;height:30px;padding:12px;box-sizing:content-box;border-radius:16px;background:rgba(227,16,27,.08);transition:background .4s,color .4s,transform .5s var(--ease)}
html body .support-card:hover:before{opacity:1}
html body .support-card:hover>*,html body .support-card:hover p,html body .support-card:hover h3,html body .support-card:hover .arrow{color:#fff}
html body .support-card:hover>svg{background:rgba(255,255,255,.18);color:#fff;transform:rotate(-8deg) scale(1.08)}
html body .feature{display:grid}
html body .feature .photo{overflow:hidden!important}
html body .region-links a{transition:color .3s,padding .4s var(--ease),border-color .3s}
html body .region-links a:hover{color:var(--red);padding-left:10px;border-color:var(--red)}
html body .region-links a svg{transition:transform .35s var(--ease)}
html body .region-links a:hover svg{transform:translateX(4px)}

/* ---------- Photos ---------- */
html body .split .photo,html body .feature .photo{border-radius:var(--radius);overflow:hidden!important;box-shadow:var(--shadow-lg)}
html body .media figcaption{font-size:10px}
html body .project-banner{border-left:0;padding-left:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);width:min(1200px,calc(100% - clamp(32px,7vw,96px)))}

/* ---------- Page projet ---------- */
html body .project-details{border-radius:var(--radius);background:var(--grad-dark);color:#fff;padding:clamp(20px,3vw,32px);box-shadow:var(--shadow-lg);list-style:none}
html body .project-details li{color:rgba(255,255,255,.9);border-color:rgba(255,255,255,.12)!important}
html body .project-details svg{color:var(--brand)}
html body .project-details a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,77,88,.7);text-underline-offset:3px}
html body .partner-link{margin-top:10px;padding:12px 22px!important;border-radius:999px;background:var(--grad-red)!important;color:#fff!important;box-shadow:0 10px 24px -10px rgba(227,16,27,.65)}
html body .partner-link:hover{transform:translateY(-2px)}
html body .partner-missing{margin-top:18px}
html body .impact>div{border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;transition:transform .45s var(--ease)}
html body .impact>div:hover{transform:translateY(-6px)}
html body .impact strong{background:var(--grad-red);-webkit-background-clip:text;background-clip:text;color:transparent}
html body .breadcrumb a{transition:color .25s}
html body .breadcrumb a:hover{color:var(--red)}

/* ---------- Formulaires / filtres ---------- */
html body input:not([type=checkbox]):not([type=radio]),html body select,html body textarea{border-radius:var(--radius-sm)!important;border:1.5px solid var(--line)!important;transition:border-color .25s,box-shadow .25s}
html body input:focus,html body select:focus,html body textarea:focus{outline:none;border-color:var(--red)!important;box-shadow:0 0 0 4px rgba(227,16,27,.14)}
html body .filters{border-radius:var(--radius)}

/* ---------- Newsletter ---------- */
html body .newsletter{position:relative;overflow:hidden;isolation:isolate;background:var(--grad-red)!important;color:#fff!important;padding:clamp(48px,7vw,80px) 0}
html body .newsletter:before,html body .newsletter:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(10px);pointer-events:none}
html body .newsletter:before{width:420px;height:420px;right:-120px;top:-180px;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 65%);animation:float 12s ease-in-out infinite alternate}
html body .newsletter:after{width:520px;height:520px;left:-200px;bottom:-300px;background:radial-gradient(circle,rgba(13,13,16,.45),transparent 65%);animation:float 15s ease-in-out infinite alternate-reverse}
@keyframes float{to{transform:translate3d(40px,30px,0) scale(1.1)}}
html body .newsletter h2{color:#fff;-webkit-text-fill-color:#fff}
html body .newsletter p,html body .newsletter label,html body .newsletter .fine,html body .newsletter a{color:rgba(255,255,255,.88)!important}
html body .newsletter input{border-color:transparent!important;background:rgba(255,255,255,.95)}
html body .newsletter .btn{background:var(--ink)!important;color:#fff!important;box-shadow:0 12px 26px -12px rgba(0,0,0,.6)}
html body .newsletter .btn:hover{background:#000}

/* ---------- Pied de page ---------- */
html body footer{position:relative;overflow:hidden;isolation:isolate;background:var(--grad-dark);color:#fff;border:0;padding-top:clamp(56px,7vw,90px)}
html body footer:before{content:"";position:absolute;inset:0;z-index:-1;background:var(--grad-ember);opacity:.8}
html body footer h3{color:#fff}
html body .footer-top a:not(.logo),html body .footer-brand p,html body .footer-bottom,html body .footer-bottom a{color:rgba(255,255,255,.65)}
html body .footer-top a:not(.logo){transition:color .25s,transform .35s var(--ease)}
html body .footer-top a:not(.logo):hover{color:#fff;transform:translateX(4px)}
html body .footer-bottom{border-color:rgba(255,255,255,.12)}
html body footer .logo{background:#fff;padding:10px 14px;border-radius:16px;display:inline-flex;width:max-content}
html body footer .logo strong,html body footer .logo small{color:var(--ink)}

/* ---------- Divers ---------- */
html body dialog{border:0;border-radius:var(--radius);box-shadow:var(--shadow-lg)}
html body dialog::backdrop{background:rgba(11,11,14,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html body #toast{border-radius:999px;background:var(--ink);color:#fff;box-shadow:var(--shadow-lg)}
.back-to-top{position:fixed;right:clamp(14px,3vw,28px);bottom:clamp(14px,3vw,28px);z-index:45;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--grad-red);box-shadow:var(--shadow-lg);opacity:0;transform:translateY(20px) scale(.8);pointer-events:none;transition:opacity .4s var(--ease),transform .4s var(--ease)}
.back-to-top.show{opacity:1;transform:none;pointer-events:auto}
.back-to-top:hover{transform:translateY(-3px)}
.back-to-top svg{transform:rotate(-90deg)}

/* ---------- Apparition au défilement ---------- */
.js-motion .reveal{opacity:0;transform:translateY(36px);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:var(--d,0s)}
.js-motion .reveal.in{opacity:1;transform:none}
.js-motion .reveal-left{transform:translateX(-40px)}
.js-motion .reveal-right{transform:translateX(40px)}
.js-motion main.page-enter{animation:pageIn .6s var(--ease)}
@keyframes pageIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  html body .desktop-nav{gap:16px}
}
@media (max-width:850px){
  html body .hero .hero-photo{transform:none}
  html body .split,html body .region-teaser{gap:36px}
  html body .support-grid{grid-template-columns:repeat(2,1fr)}
  html body .project-grid,html body .news-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  html body .stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  /* annule l'aplat rouge mobile de l'ancienne feuille */
  html body .cream{background:linear-gradient(180deg,#fff,var(--cream))!important;color:var(--ink)!important}
  html body .cream p,html body .cream .fine,html body .cream .stats span,html body .cream .region-links a,html body .cream .region-list a,html body .cream .region-list small{color:var(--muted)!important}
  html body .cream .eyebrow,html body .cream .text-link{color:var(--red)!important}
  html body .cream .region-links a,html body .cream .stats>div{border-color:var(--line)!important}
  html body .cream .btn{background:var(--grad-red)!important;color:#fff!important}
  html body .cream .btn.secondary{background:#fff!important;color:var(--ink)!important}
  html body .project-grid,html body .news-grid,html body .support-grid{grid-template-columns:1fr}
  html body .hero .eyebrow{font-size:10px;letter-spacing:.1em}
  html body .header-inner>.btn{padding:9px 14px}
  html body .stats>div{padding:18px 10px}
  html body .marquee{padding:12px 0}
  html body .project-card[data-tilt]:hover{transform:translateY(-4px)}
  .hero-scroll{display:none}
}
@media (hover:none){
  html body .project-card:hover,html body .news-card:hover,html body .support-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js-motion .reveal{opacity:1;transform:none}
}
/* ---------- Correctifs page projet ---------- */
html body .project-details .project-contact,html body .project-intro-enhanced .project-details .project-contact{background:rgba(255,255,255,.06)!important;border-left:3px solid var(--brand)!important;border-radius:var(--radius-sm);color:#fff!important}
html body .project-intro-enhanced .project-details .project-contact a{color:#fff!important}
html body .section a.partner-link,html body .cream a.partner-link{color:#fff!important;-webkit-text-fill-color:#fff;background:var(--grad-red)!important;background-size:auto!important}
html body .section a.partner-link svg{color:#fff}
html body .hero .hero-photo .media picture,html body .hero .hero-photo .media{background:#16161b!important}
/* ---------- Voile foncé derrière le texte des heros photo (lisibilité, sans changer la mise en page) ---------- */
html body .hero .editorial-hero-copy,html body .hero .actions-hero-copy{position:relative;isolation:isolate}
html body .hero .editorial-hero-copy:before,html body .hero .actions-hero-copy:before{content:"";position:absolute;z-index:-1;inset:-30% -25%;background:radial-gradient(closest-side,rgba(11,11,14,.6),rgba(11,11,14,.35) 55%,transparent);pointer-events:none}
@media (max-width:600px){html body .hero .editorial-hero-copy:before,html body .hero .actions-hero-copy:before{inset:-25% -20%}}
/* ---------- Hero « Nos régions » aligné sur les autres heros ---------- */
html body .hero.editorial-hero-regions .wrap{justify-content:flex-start!important}
html body .hero.editorial-hero-regions .editorial-hero-copy{width:auto!important;max-width:620px!important;margin:0 auto 0 0!important;padding:0!important;background:transparent!important;text-align:left}
html body .hero.editorial-hero-regions:after{background:linear-gradient(90deg,rgba(11,11,14,.9) 0%,rgba(11,11,14,.62) 38%,rgba(92,5,11,.18) 70%,transparent 100%),linear-gradient(0deg,rgba(11,11,14,.55),transparent 40%)!important}
@media (max-width:700px){html body .hero.editorial-hero-regions .editorial-hero-copy{width:100%!important}}
/* Aucune pastille/étiquette dans les heros */
html body .hero .eyebrow{display:none!important}
/* ---------- Contraste : jamais de texte rouge, noir ou gris sur un fond rouge ---------- */
html body .btn:not(.secondary),html body .btn:not(.secondary):hover,html body .btn:not(.secondary):focus-visible,
html body .btn.secondary[aria-pressed="true"],html body .btn.secondary[aria-pressed="true"]:hover{color:#fff!important;-webkit-text-fill-color:#fff}
html body .btn:not(.secondary) svg,html body .btn:not(.secondary) span{color:#fff!important}
html body .btn:not(.secondary):not(.newsletter .btn):hover{background:var(--grad-red)!important;background-size:160% 160%!important;background-position:100% 100%!important}
html body .newsletter .btn:hover{background:#000!important}
html body .back-to-top,html body .back-to-top:hover{color:#fff}
html body .regional-banner .text-link,html body .contact-box .text-link,html body .impact-panel .text-link{color:#fff!important}
/* ---------- Hero d'accueil mobile : texte, description et bouton en bas ---------- */
@media (max-width:700px){
  html body .hero.editorial-hero-home .wrap{justify-content:flex-end!important;padding-bottom:56px!important}
  html body .hero.editorial-hero-home .hero-scroll{display:none}
}
/* ---------- Hero « Nous soutenir » : photo en fond, texte contrasté ---------- */
html body .hero.editorial-hero-support .wrap{justify-content:center!important;align-items:flex-start!important}
html body .hero.editorial-hero-support .editorial-hero-copy{margin:0 auto 0 0!important;max-width:620px}
html body .hero.editorial-hero-support .editorial-hero-image{object-position:center 40%}
html body .hero.editorial-hero-support:after{background:linear-gradient(90deg,rgba(11,11,14,.92) 0%,rgba(11,11,14,.7) 40%,rgba(11,11,14,.35) 70%,rgba(11,11,14,.2) 100%),linear-gradient(0deg,rgba(11,11,14,.6),transparent 45%)!important}
@media (max-width:700px){html body .hero.editorial-hero-support .wrap{justify-content:flex-end!important;padding-bottom:56px!important}
  html body .hero.editorial-hero-support:after{background:linear-gradient(0deg,rgba(11,11,14,.95) 0%,rgba(11,11,14,.7) 50%,rgba(11,11,14,.3) 100%)!important}}
/* ---------- Tous les heros : même composition ---------- */
html body .hero.editorial-hero .editorial-hero-copy{margin-left:0!important;margin-right:auto!important;text-align:left}
html body .hero.editorial-hero .wrap{justify-content:center!important}
html body .hero.editorial-hero-page:after{background:linear-gradient(90deg,rgba(11,11,14,.92) 0%,rgba(11,11,14,.68) 40%,rgba(11,11,14,.3) 70%,rgba(11,11,14,.15) 100%),linear-gradient(0deg,rgba(11,11,14,.55),transparent 45%)!important}
html body .hero.editorial-hero-news:after{background:linear-gradient(90deg,rgba(11,11,14,.92) 0%,rgba(11,11,14,.68) 40%,rgba(11,11,14,.3) 70%,rgba(11,11,14,.15) 100%)!important}
html body .hero.editorial-hero .editorial-hero-copy .btn{margin-top:4px}
#newsletter{scroll-margin-top:80px}
@media (max-width:700px){
  html body .hero.editorial-hero .wrap,html body .hero.actions-hero .wrap{justify-content:flex-end!important;align-items:flex-start!important;padding-bottom:56px!important}
  html body .hero.editorial-hero:after{background:linear-gradient(0deg,rgba(11,11,14,.95) 0%,rgba(11,11,14,.72) 45%,rgba(11,11,14,.25) 100%)!important}
  html body .hero.editorial-hero .hero-scroll{display:none}
}
/* Cartes au survol rouge : tout le texte en blanc */
html body .support-card:hover,html body .support-card:hover *,html body .cream .support-card:hover *,html body .support-card:focus-visible *{color:#fff!important;-webkit-text-fill-color:#fff!important}
/* ---------- Bouton Legs du menu ---------- */
html body .header-inner>.legs-btn{min-height:42px;padding:9px 18px;font-size:13px;gap:8px;white-space:nowrap}
html body .header-inner>.legs-btn svg{width:17px;height:17px;color:var(--red)}
html body .header-inner>.legs-btn.active{box-shadow:inset 0 0 0 1.5px var(--red);color:var(--red)}
html body .mobile-nav .mobile-legs{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px 16px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink);font-weight:700}
html body .mobile-nav .mobile-legs svg{width:18px;height:18px;color:var(--red)}
html body .mobile-nav .mobile-legs:hover{box-shadow:inset 0 0 0 1.5px var(--red);color:var(--red);background:#fff;padding-left:16px}
@media (max-width:1280px){html body .desktop-nav{gap:18px}html body .header-inner{gap:18px}}
@media (max-width:1180px){html body .header-inner>.legs-btn{width:42px;padding:0;gap:0}html body .header-inner>.legs-btn span{display:none}}
@media (max-width:850px){html body .header-inner>.legs-btn{display:none}}
/* Bandeau Calendrier de l'Avent sur l'accueil */
html body .av-promo{background:var(--grad-dark);color:#fff;overflow:hidden}
.av-promo-in{display:flex;align-items:center;gap:22px;padding:18px 0}
.av-promo-in img{width:56px;height:auto;transform:rotate(-6deg);filter:drop-shadow(0 8px 14px rgba(0,0,0,.5))}
.av-promo-in div{display:flex;flex-direction:column;flex:1;min-width:0}
.av-promo-in strong{font-size:clamp(18px,2vw,22px);letter-spacing:-.02em}
html body .av-promo-in span{color:rgba(255,255,255,.75);font-size:15px}
.av-promo-in .btn{flex:0 0 auto}
@media (max-width:700px){.av-promo-in{flex-wrap:wrap;gap:14px}.av-promo-in .btn{width:100%}}

/* ---------- Boutons mis en avant (Avent) : rouge, plus grands, « ping » continu ---------- */
@keyframes ctaPing{0%{box-shadow:0 0 0 0 rgba(255,51,64,.7),0 10px 24px -10px rgba(227,16,27,.65)}70%{box-shadow:0 0 0 16px rgba(255,51,64,0),0 10px 24px -10px rgba(227,16,27,.65)}100%{box-shadow:0 0 0 0 rgba(255,51,64,0),0 10px 24px -10px rgba(227,16,27,.65)}}
html body .footer-top a.ft-cta{display:table;margin:-3px 0 9px -8px;padding:3px 8px;border-radius:6px;background:linear-gradient(90deg,rgba(227,16,27,.28),rgba(227,16,27,.1));box-shadow:inset 0 0 0 1px rgba(255,77,88,.25);color:#fff;transition:background .3s,transform .35s var(--ease)}
html body .footer-top a.ft-cta:before{content:"";display:inline-block;width:6px;height:6px;margin-right:8px;vertical-align:middle;border-radius:50%;background:#ff3340;animation:pulse 2.2s infinite}
html body .footer-top a.ft-cta:hover{color:#fff;background:linear-gradient(90deg,rgba(227,16,27,.45),rgba(227,16,27,.18));transform:translateX(4px)}
html body .hero .btn[href="/calendrier-avent#commander"]{min-height:62px;padding:16px 32px;font-size:18px;animation:ctaPing 2s ease-out infinite}
html body .hero .btn[href="/calendrier-avent#commander"] svg{width:22px;height:22px}
@media (prefers-reduced-motion:reduce){html body .footer-top a.ft-cta:before,html body .hero .btn[href="/calendrier-avent#commander"]{animation:none}}
html body .footer-top a.ft-cta{white-space:nowrap}

/* Calendrier de l’Avent dans le menu : même survol et même état actif, police un peu plus grande */
html body .desktop-nav a.nav-avent{font-size:1.15em;font-weight:700}

/* Cadres de contact (legs, contact) : fond crème, téléphone et email en rouge bien lisibles */
html body .contact-box a:not(.btn),html body .contact-box .text-link{color:var(--red)!important;font-weight:700}
html body .contact-box a:not(.btn):hover,html body .contact-box .text-link:hover{color:#a50a12!important}
html body .contact-box .text-link svg{stroke:currentColor}

/* Tablette (jusqu'à 1279 px) : logo, recherche, « Faire un don » et menu burger ; « Transmettre ce qui compte » est dans le menu */
@media (max-width:1279px){
  html body .desktop-nav{display:none}
  html body .menu-button{display:grid}
  html body .header-inner{gap:12px}
  html body .header-inner>.search-button{margin-left:auto}
  html body .header-inner>.btn{white-space:nowrap}
  html body .header-inner>.legs-btn{display:none}
}

/* ---------- Page legs ---------- */
html body .legs-insight{position:relative;overflow:hidden;isolation:isolate;min-height:clamp(560px,82vh,760px);display:flex;align-items:flex-end;color:#fff}
.legs-insight-bg{position:absolute;inset:0 -4% -10%;z-index:-2}
.legs-insight-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;transform-origin:50% 0;animation:legsFloat 22s ease-in-out infinite alternate}
@keyframes legsFloat{from{transform:scale(1.02) translateX(-1.5%)}to{transform:scale(1.08) translateX(1.5%)}}
html body .legs-insight:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(11,11,14,.92) 0%,rgba(11,11,14,.7) 38%,rgba(11,11,14,.15) 68%,rgba(11,11,14,.05) 100%)}
html body .legs-insight>.wrap{position:relative;margin:auto auto 0;padding:clamp(40px,6vw,70px) 0}
html body .legs-insight h2{margin:0 0 clamp(16px,2.4vw,26px);font-size:clamp(17px,1.6vw,20px);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff!important;background:none!important;-webkit-text-fill-color:#fff!important}
.legs-slides{position:relative;min-height:clamp(150px,13vw,190px);max-width:900px}
.legs-slide{position:absolute;inset:0;opacity:0;animation:legsSlide 25s infinite;animation-delay:calc(var(--i) * 5s - .01s)}
@keyframes legsSlide{0%{opacity:0;transform:translateX(60px)}4%{opacity:1;transform:none}17%{opacity:1;transform:none}21%{opacity:0;transform:translateX(-60px)}100%{opacity:0;transform:translateX(-60px)}}
html body .legs-who{margin:0 0 14px;font-size:clamp(28px,4vw,54px);font-weight:800;line-height:1.05;letter-spacing:-.045em;color:#fff!important}
html body .legs-what{margin:0;font-size:clamp(19px,2vw,26px);font-weight:600;line-height:1.35;color:rgba(255,255,255,.85)!important}
.legs-dots{display:flex;gap:8px;margin-top:28px}
.legs-dots i{position:relative;width:38px;height:3px;border-radius:3px;background:rgba(255,255,255,.25);overflow:hidden}
.legs-dots i:after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left;animation:legsDot 25s infinite linear;animation-delay:calc(var(--i) * 5s)}
@keyframes legsDot{0%{transform:scaleX(0)}20%{transform:scaleX(1)}20.01%,100%{transform:scaleX(0)}}
.legs-insight-place{position:absolute;right:0;bottom:clamp(40px,6vw,70px);font-size:12px;font-weight:700;color:rgba(255,255,255,.7)}
html body .legs-simple h2,html body .legs-ways h2,html body .legs-steps h2{margin-bottom:clamp(24px,3vw,36px)}
html body .legs-myths{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
html body .legs-myths article{padding:26px;border-radius:18px;background:#fff}
html body .legs-myth{margin:0 0 8px;font-size:clamp(20px,1.8vw,24px);font-weight:800;letter-spacing:-.03em;color:var(--ink)!important}
html body .legs-myths article p:last-child{margin:0;color:var(--muted)!important;font-size:15px}
html body .legs-side{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:26px;padding:22px 26px;border-radius:18px;background:#fff}
html body .legs-side h3{margin:0;font-size:17px;flex-basis:100%}
html body .legs-side ul,html body .legs-rules{display:flex;flex-wrap:wrap;gap:10px 26px;margin:0;padding:0;list-style:none}
html body .legs-side li,html body .legs-rules li{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--ink)}
html body .legs-side svg,html body .legs-rules svg{flex:none;width:20px;height:20px;fill:none;stroke:var(--red);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html body .legs-forms{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
html body .legs-forms article{padding:22px 20px;border-radius:16px;background:var(--cream);border-top:3px solid var(--red)}
html body .legs-forms h3{margin:0 0 6px;font-size:17px}
html body .legs-forms p{margin:0;font-size:14px;line-height:1.5}
html body .legs-note{margin-top:18px;font-size:14px;color:var(--muted)}
html body .legs-steps ol{counter-reset:ls;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0;padding:0;list-style:none}
html body .legs-steps li{counter-increment:ls;position:relative;padding:22px 20px 22px 74px;border-radius:16px;background:#fff;line-height:1.4;color:var(--muted)}
html body .legs-steps li:before{content:counter(ls);position:absolute;left:20px;top:50%;translate:0 -50%;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--red);color:#fff;font-weight:800}
html body .legs-steps li strong{display:block;color:var(--ink)}
html body .legs-doc{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(28px,5vw,60px);align-items:start}
html body .legs-rules{margin:0 0 22px}
html body .legs-model{padding:28px 30px 20px;border-radius:6px;background:#fffdf8;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:15.5px;line-height:1.75;box-shadow:0 26px 50px -30px rgba(0,0,0,.45);background-image:repeating-linear-gradient(transparent 0 27px,rgba(227,16,27,.08) 27px 28px)}
html body .legs-model p{margin:0 0 12px;color:#2b2622!important}
html body .legs-model-label{display:inline-block;margin-bottom:12px;font-family:var(--font);font-style:normal;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
html body .legs-card{position:sticky;top:110px;padding:28px;border-radius:20px;background:var(--cream)}
html body .legs-card h3{margin:0 0 18px;font-size:19px}
html body .legs-card dl{margin:0;display:grid;gap:4px}
html body .legs-card dt{margin-top:10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
html body .legs-card dd{margin:0;font-weight:700;color:var(--ink)}
html body .legs-contact-lines{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:22px 0 0;padding:18px 0 0 18px;border-left:3px solid var(--red)}
html body .legs-contact-lines span{font-size:15px;color:var(--muted)}
html body .legs-contact-lines a{font-size:18px}
html body .legs-contact .notice{margin:18px 0}
html body .legs-contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
html body .contact-box .legs-contact-actions a.btn{color:#fff!important}
html body .contact-box .legs-contact-actions a.btn.secondary{background:#fff;color:var(--ink)!important;border-color:var(--line)}
@media (max-width:1100px){html body .legs-forms{grid-template-columns:repeat(3,1fr)}html body .legs-steps ol{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){html body .legs-myths,html body .legs-doc{grid-template-columns:1fr}html body .legs-card{position:static}html body .legs-forms{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){html body .legs-forms,html body .legs-steps ol{grid-template-columns:1fr}.legs-slides{min-height:178px}html body .legs-insight>.wrap{padding:30px 0 34px}.legs-insight-bg img{object-position:40% 0}html body .legs-model{padding:24px 20px 16px}}
@media (prefers-reduced-motion:reduce){.legs-insight-bg img{animation:none}.legs-slide{position:relative;opacity:1;animation:none;margin-bottom:26px}.legs-slides{min-height:0}.legs-dots{display:none}}
