/* Identité SEFA 2026 — finition globale, stable et non destructive. */
:root{
  --sefa-ink:#2d1029;--sefa-plum:#4a0f43;--sefa-violet:#71175f;
  --sefa-magenta:#b92f75;--sefa-pink:#d84a87;--sefa-gold:#f1a51e;
  --sefa-cream:#fff9ef;--sefa-blush:#fff2f7;--sefa-paper:#fffdfa;
  --sefa-muted:#765f70;--sefa-line:rgba(74,15,67,.11);
  --sefa-shadow:0 24px 70px rgba(48,7,42,.10);
  --sefa-focus:#f1a51e;
  --ink:var(--sefa-ink);--plum:var(--sefa-plum);--violet:var(--sefa-violet);
  --rose:var(--sefa-magenta);--pink:var(--sefa-pink);--gold:var(--sefa-gold);
  --cream:var(--sefa-cream);--soft:var(--sefa-blush);--muted:var(--sefa-muted);
}
*,*:before,*:after{box-sizing:border-box}
html{width:100%;max-width:100%;overflow-x:hidden!important;overflow-x:clip!important;overscroll-behavior-x:none;scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--sefa-paper)}
body{width:100%;min-width:100%;max-width:100%;margin:0!important;position:relative;overflow-x:hidden!important;overflow-x:clip!important;overscroll-behavior-x:none;color:var(--sefa-ink)}
body:before{content:"";position:fixed;z-index:-999;inset:-140px;background:linear-gradient(180deg,#fffdfa,#fff 48%,#fff8fb);pointer-events:none}
main,header,footer,section,article,aside,nav,form,div{min-width:0;max-width:100%}
img,video,iframe,svg,canvas{display:block;max-width:100%;height:auto}
h1,h2,h3{text-wrap:balance;overflow-wrap:normal}p,li{text-wrap:pretty}
button,a,input,select,textarea{font:inherit}button:not(:disabled),summary{cursor:pointer}
a,button,summary{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease,border-color .22s ease,color .22s ease}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--sefa-focus) 72%,white)!important;outline-offset:3px}
::selection{background:#f5bfd5;color:#2d1029}

/* En-têtes et nouveau logo. */
.top,.topbar{isolation:isolate}.top .nav,.top .topin,.top .bar,.topbar .nav{border-color:rgba(74,15,67,.09)!important;background:rgba(255,253,250,.94)!important;box-shadow:0 15px 48px rgba(48,7,42,.09)!important;backdrop-filter:blur(22px)}
.brand{display:flex;align-items:center}.brand img,.top img,.topbar img{width:auto!important;height:58px!important;max-width:235px!important;object-fit:contain!important;object-position:left center}
.sefaHeaderActions>a,.top .back,.top .home{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px!important;border:1px solid var(--sefa-line)!important;border-radius:999px!important;background:#fff!important;color:var(--sefa-plum)!important;box-shadow:0 8px 22px rgba(48,7,42,.055)!important;font-weight:900!important;text-decoration:none!important}

/* Palette et composants communs. */
.eyebrow,.pill,.tag,[class*="Label"],[class*="Kicker"]{letter-spacing:.11em}
.btn,.button,[class*="Btn"],[class*="Button"],button[type="submit"],.submit{border-radius:999px!important}
.primary,.btnPrimary,.submit,button[type="submit"]{background:linear-gradient(125deg,var(--sefa-gold),var(--sefa-pink) 48%,var(--sefa-violet))!important;color:#fff!important;box-shadow:0 16px 38px rgba(112,23,95,.18)!important}
.card,.panel,.resourceCard,.featuredResource,.officialProgramCard,.archiveStoryCard,.galleryShell,.storyMain,.storySide,.benefitPanel,.academy,.legacy article,.form,.side{border-color:var(--sefa-line)!important;box-shadow:var(--sefa-shadow)}
.card,.panel,.resourceCard,.featuredResource,.officialProgramCard,.archiveStoryCard,.galleryShell{overflow:hidden}
.sectionTitle h2,.head h2,.hero h1,.heroCard h1,.heroShell h1{letter-spacing:-.035em}
.sectionTitle p,.head p{color:var(--sefa-muted)}

/* Accueil : navigation, chiffres et surfaces cohérents avec le nouveau logo. */
.topbar .nav{background:rgba(255,253,250,.92)!important}.topbar .desktopLinks a{color:#4b2545!important}.topbar .desktopLinks a:hover{background:#fff0f6!important;color:var(--sefa-magenta)!important}.topbar .desktopLinks .partnerNav,.topbar .desktopLinks .joinNav{background:linear-gradient(125deg,var(--sefa-plum),var(--sefa-magenta))!important;color:#fff!important}
.statsGrid .stat{position:relative;overflow:hidden;border:1px solid var(--sefa-line)!important;background:linear-gradient(145deg,#fff,#fff8fb)!important;box-shadow:0 18px 50px rgba(48,7,42,.08)!important}.statsGrid .stat:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(var(--sefa-gold),var(--sefa-pink),var(--sefa-plum))}.statsGrid .stat strong{color:var(--sefa-plum)!important}.simandouSpotlightCard{background:radial-gradient(circle at 92% 6%,rgba(241,165,30,.34),transparent 25%),linear-gradient(130deg,#33082f,#6f175f 62%,#a42a70)!important;color:#fff!important}.simandouSpotlightCard p{color:rgba(255,255,255,.77)!important}.simandouSpotlightCard>strong{background:#fff!important;color:var(--sefa-plum)!important}

/* Micro-interactions discrètes et professionnelles. */
@media(hover:hover){a[class*="btn"]:hover,button:hover,.officialProgramCard:hover,.resourceCard:hover,.archiveStoryCard:hover{transform:translateY(-3px)}.brand:hover{transform:none}}

/* Mobile : lecture confortable et aucune dérive horizontale. */
@media(max-width:900px){.topbar .desktopLinks{display:none!important}.topbar .sefaSiteMenu{display:block!important}}
@media(min-width:901px){.topbar .sefaSiteMenu{display:none!important}}
@media(max-width:760px){
  body{font-size:15px;width:100%;position:relative}.wrap,.container{max-width:100%!important}
  a,button,summary{touch-action:manipulation}.top .nav,.top .topin,.top .bar,.topbar .nav{min-height:68px!important;padding:7px 9px!important}
  .brand img,.top img,.topbar img{height:44px!important;max-width:158px!important}
  .sefaHeaderActions{gap:5px!important}.sefaHeaderActions>a,.top .back,.top .home{min-height:40px!important;padding:0 8px!important;font-size:9px!important}
  main>section{scroll-margin-top:76px}.hero h1,.heroBox h1,.heroCard h1,.heroShell h1{font-size:clamp(2.25rem,11vw,3.25rem)!important;line-height:.96!important}.hero p,.heroBox p,.heroCard p,.heroShell p{font-size:.9rem!important;line-height:1.55!important}
  .section h2,.sectionHead h2,.head h2,.sectionTitle h2{font-size:clamp(1.9rem,8.5vw,2.5rem)!important;line-height:.98!important}.sectionHead,.head,.sectionTitle{margin-bottom:20px!important}
  .footer{padding-block:26px!important}
}
@media(max-width:390px){.brand img,.top img,.topbar img{height:40px!important;max-width:140px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
