/* ============================================================
   CPSMN — Design tokens & shared components
   Système bleu et blanc 2026. Le logo conserve sa palette historique;
   l'interface utilise le bleu comme unique couleur fonctionnelle.
   ============================================================ */

:root{
  /* --- Brand hues (fixed, theme-independent) --- */
  --brand-navy:#10264F;
  --brand-magenta:#F16BDC;
  --brand-magenta-strong:#A5238F;
  --brand-teal:#54D5D0;
  --brand-amber:#9AB4E3;

  /* --- Light theme tokens --- */
  --paper:#F7FAFF;
  --surface:#FFFFFF;
  --surface-sunken:#EEF4FC;
  --ink:#132A4F;
  --ink-soft:#465B78;
  --ink-faint:#687B94;
  --line:#DCE6F2;
  --line-strong:#C5D4E6;

  --accent:#2457C5;
  --accent-display:#3973D4;
  --accent-tint:#E7F0FF;
  --action-fill:#F16BDC;
  --action-fill-hover:#E958CE;
  --action-ink:#10264F;
  --magenta-tint:#FDEAF9;
  --teal:#167C78;
  --teal-display:#54D5D0;
  --teal-tint:#E4F9F7;
  --amber-display:#8BA9DC;
  --amber-tint:#F0F5FC;
  --amber-ink:#315581;

  --focus-ring:#0B63CE;
  --shadow-sm:0 2px 8px rgba(16,38,79,.07);
  --shadow-md:0 12px 30px rgba(16,38,79,.11), 0 2px 8px rgba(16,38,79,.05);
  --shadow-lg:0 24px 54px rgba(16,38,79,.15), 0 8px 20px rgba(16,38,79,.07);

  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:20px;

  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px; --space-9:96px;

  --font-display:'Poppins', system-ui, sans-serif;
  --font-body:'Source Sans 3', system-ui, sans-serif;
  --page-gutter:clamp(16px, 4vw, 32px);
}

/* ============================================================ */

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%; overflow-x:clip; scroll-padding-top:96px;}
body{
  margin:0;
  min-width:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  font-weight:700;
  line-height:1.18;
  text-wrap:balance;
  margin:0;
}
h1{font-size:clamp(34px,5vw,56px); font-weight:800; letter-spacing:-.025em;}
h2{font-size:clamp(27px,3.4vw,40px); letter-spacing:-.018em;}
h3{font-size:20px; font-weight:600;}
p{margin:0; max-width:72ch;}
a{color:var(--accent); text-decoration-thickness:1.5px; text-underline-offset:3px;}
img{max-width:100%; display:block;}
.mono{font-variant-numeric:tabular-nums;}

:focus-visible{outline:3px solid var(--focus-ring); outline-offset:2px; border-radius:4px;}

.wrap{
  width:100%; max-width:var(--wrap-max,1180px); margin:0 auto;
  padding-left:max(var(--page-gutter), env(safe-area-inset-left));
  padding-right:max(var(--page-gutter), env(safe-area-inset-right));
}
.wrap-narrow{
  width:100%; max-width:800px; margin:0 auto;
  padding-left:max(var(--page-gutter), env(safe-area-inset-left));
  padding-right:max(var(--page-gutter), env(safe-area-inset-right));
}

.skip-link{
  position:absolute; left:12px; top:-60px; z-index:100;
  background:var(--ink); color:#fff; padding:12px 18px; border-radius:10px;
  transition:top .2s ease;
}
.skip-link:focus{top:12px;}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:600; font-size:13px;
  letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent);
}
.eyebrow .dot{width:7px; height:7px; border-radius:50%; background:currentColor;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-display); font-weight:600; font-size:15.5px;
  padding:13px 24px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; text-decoration:none; white-space:nowrap;
  transition:transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  min-height:48px;
}
.btn svg{width:18px; height:18px; flex:none;}
.btn-primary{background:var(--action-fill); color:var(--action-ink); box-shadow:0 8px 18px rgba(241,107,220,.24);}
.btn-primary:hover{background:var(--action-fill-hover); color:var(--action-ink); box-shadow:0 12px 24px rgba(241,107,220,.28); transform:translateY(-2px);}
.btn-ghost{background:transparent; color:var(--ink); border-color:var(--line-strong);}
.btn-ghost:hover{border-color:var(--ink); background:var(--surface-sunken);}
.btn-on-dark{background:var(--action-fill); color:var(--action-ink); box-shadow:0 8px 18px rgba(0,0,0,.14);}
.btn-on-dark:hover{background:var(--action-fill-hover); color:var(--action-ink); transform:translateY(-1px);}
.btn:active{transform:translateY(0); box-shadow:none;}
.btn:disabled,.btn[aria-disabled="true"]{opacity:.48; pointer-events:none; box-shadow:none; cursor:not-allowed;}
.btn-block{width:100%;}
@media (hover:none){ .btn:hover{transform:none;} }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background-color:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  box-shadow:0 4px 18px rgba(16,38,79,.05);
  backdrop-filter:saturate(140%) blur(12px);
}
.header-inner{
  max-width:var(--wrap-max,1180px); margin:0 auto; padding:14px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--brand-navy);}
.brand img{height:40px; width:auto;}
.brand-name{font-family:var(--font-display); font-weight:700; font-size:15.5px; line-height:1.25; color:var(--brand-navy);}
.brand-name span{display:block; font-weight:500; font-size:12.5px; color:#5B5770;}

.main-nav{display:none;}
.main-nav ul{list-style:none; margin:0; padding:0;}
.main-nav > ul{display:flex; align-items:center; gap:2px;}
.main-nav a{
  display:flex; align-items:center; gap:6px;
  color:var(--brand-navy); text-decoration:none; font-weight:600; font-size:15px;
  padding:10px 14px; border-radius:10px; position:relative; min-height:44px;
}
.main-nav a:hover{background:var(--surface-sunken);}
.main-nav a[aria-current="page"]{color:var(--accent);}
.main-nav a[aria-current="page"]::after{
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:3px;
  border-radius:3px; background:var(--accent);
}
.has-sub{position:relative;}
.submenu{
  display:none; position:absolute; top:calc(100% + 6px); left:0;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); width:300px; padding:8px; list-style:none; margin:0;
}
.submenu::before{content:""; position:absolute; left:0; right:0; top:-8px; height:8px;}
.has-sub:hover .submenu, .has-sub:focus-within .submenu{display:grid; gap:2px;}
.submenu a{width:100%; font-weight:500; font-size:14.5px; line-height:1.35; border-radius:8px;}
.submenu a[aria-current="page"]::after{display:none;}

.header-actions{display:flex; align-items:center; gap:10px;}
.nav-toggle{
  display:inline-flex; background:none; border:2px solid #D6CCE2; border-radius:10px;
  padding:9px; cursor:pointer; color:var(--brand-navy); min-width:44px; min-height:44px;
}
.nav-toggle svg{width:22px; height:22px;}

.mobile-nav{
  display:none; position:fixed; inset:0; z-index:60; background:var(--surface);
  min-height:100dvh; overflow-y:auto; overscroll-behavior:contain;
}
.mobile-nav.is-open{display:block;}
.mobile-nav-head{display:flex; justify-content:space-between; align-items:center; padding:14px 20px; border-bottom:1px solid var(--line);}
.mobile-nav ul{list-style:none; margin:0; padding:12px;}
.mobile-nav > ul > li{border-bottom:1px solid var(--line);}
.mobile-nav a{display:block; padding:16px 8px; color:var(--ink); text-decoration:none; font-family:var(--font-display); font-weight:600; font-size:17px;}
.mobile-nav a[aria-current="page"]{color:var(--accent);}
.mobile-nav .sublist{padding:0 0 10px 14px;}
.mobile-nav .sublist li{border:0;}
.mobile-nav .sublist a{font-size:15px; font-weight:500; color:var(--ink-soft); padding:10px 8px; line-height:1.4;}
.mobile-nav .sublist a:hover,.mobile-nav .sublist a:focus-visible{color:var(--ink);}
.mobile-nav .cta-row{padding:20px 12px;}

@media (min-width:960px){
  .main-nav{display:block;}
  .nav-toggle{display:none;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,#10264F 0%,#173A72 62%,#2457A8 100%);
  padding:var(--space-8) 0 var(--space-7);
}
.hero:not(.hero-home)::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(640px 260px at 88% 0%,rgba(118,167,243,.22),transparent 70%);
}
.hero:not(.hero-home) .wrap{position:relative; z-index:1;}
.hero:not(.hero-home) h1{color:#fff; max-width:20ch;}
.hero:not(.hero-home) .eyebrow{color:var(--brand-teal);}
.hero:not(.hero-home) .hero-lead{color:#DCE8FA;}
.hero-grid{display:grid; gap:var(--space-7); align-items:center;}
.hero h1{max-width:14ch;}
.hero-lead{margin-top:var(--space-4); font-size:18px; color:var(--ink-soft); max-width:52ch;}
.hero-cta{margin-top:var(--space-6); display:flex; flex-wrap:wrap; gap:14px;}
.hero-media{position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:6/5;}
.hero-media img{width:100%; height:100%; object-fit:cover;}
.hero-badge{
  position:absolute; left:18px; bottom:18px; background:var(--surface);
  border-radius:var(--radius-md); padding:14px 18px; box-shadow:var(--shadow-md);
  display:flex; align-items:center; gap:12px; max-width:calc(100% - 36px);
}
.hero-badge .num{font-family:var(--font-display); font-weight:800; font-size:26px; color:var(--brand-magenta-strong, var(--accent)); line-height:1;}
.hero-badge .lbl{font-size:12.5px; color:var(--ink-soft); line-height:1.3;}
@media (min-width:860px){
  .hero-grid{grid-template-columns:1.05fr .95fr;}
}

@media (max-width:859px){
  .hero-media{aspect-ratio:16/9;}
}

/* ---------- Home hero carousel ---------- */
.hero-home{
  isolation:isolate;
  display:grid;
  align-items:center;
  min-height:clamp(680px, calc(100svh - 84px), 820px);
  padding:0;
  background:var(--brand-navy);
  color:#fff;
}
.hero-slides,.hero-slide{position:absolute; inset:0;}
.hero-slides{z-index:-3;}
.hero-slide{
  z-index:0;
  background-position:var(--focus, 50%) center;
  background-size:cover;
  filter:brightness(.76) saturate(.78) contrast(1.05);
  opacity:0;
  transform:scale(1.045);
  transition:opacity .85s cubic-bezier(.22,1,.36,1), transform 6.5s cubic-bezier(.22,1,.36,1);
}
.hero-slide.is-active{opacity:1; transform:scale(1);}
.hero-home::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg, rgba(18,16,42,.96) 0%, rgba(18,16,42,.91) 34%, rgba(18,16,42,.67) 62%, rgba(18,16,42,.38) 100%),
    linear-gradient(0deg, rgba(18,16,42,.58) 0%, transparent 45%, rgba(18,16,42,.15) 100%);
}
.hero-home-inner{
  min-height:inherit;
  display:flex;
  align-items:center;
  padding-top:clamp(64px, 9vh, 96px);
  padding-bottom:clamp(112px, 16vh, 148px);
}
.hero-home-content{max-width:680px;}
.hero-home .eyebrow{color:var(--brand-teal);}
.hero-home h1{
  max-width:13ch;
  margin-top:14px;
  color:#fff;
  font-size:clamp(38px, 5vw, 64px);
  letter-spacing:-.025em;
  text-shadow:0 2px 22px rgba(0,0,0,.16);
}
.hero-home .hero-lead{color:rgba(255,255,255,.82); max-width:59ch; text-wrap:pretty;}
/* Tous les heros ont un fond marine : le bouton fantome doit passer en blanc,
   sinon color:var(--ink) se confond avec le degrade de fond. */
.hero .btn-ghost{color:#fff; border-color:rgba(255,255,255,.52); background:rgba(18,16,42,.18);}
.hero .btn-ghost:hover{color:#fff; border-color:#fff; background:rgba(18,16,42,.5);}
.hero-proof{
  display:flex;
  align-items:center;
  gap:14px;
  width:max-content;
  max-width:100%;
  margin-top:var(--space-5);
  color:#fff;
}
.hero-proof .num{font-family:var(--font-display); font-size:30px; font-weight:800; line-height:1; color:var(--brand-teal);}
.hero-proof .lbl{padding-left:14px; border-left:1px solid rgba(255,255,255,.35); font-size:13px; line-height:1.35; color:rgba(255,255,255,.8);}
.hero-carousel-controls{
  position:absolute;
  z-index:3;
  right:max(var(--page-gutter), calc((100vw - var(--wrap-max,1180px)) / 2 + var(--page-gutter)));
  bottom:32px;
  display:flex;
  align-items:center;
  gap:10px;
}
.carousel-arrow,.carousel-toggle{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid rgba(255,255,255,.5);
  border-radius:50%;
  background:rgba(18,16,42,.36);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(8px);
  transition:background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.carousel-arrow:hover,.carousel-toggle:hover{background:#fff; border-color:#fff; color:var(--brand-navy); transform:translateY(-1px);}
.carousel-arrow svg,.carousel-toggle svg{width:20px; height:20px;}
.carousel-toggle .icon-play{display:none;}
.carousel-toggle[data-paused="true"] .icon-pause{display:none;}
.carousel-toggle[data-paused="true"] .icon-play{display:block;}
.carousel-dots{display:flex; align-items:center; gap:8px; padding:0 5px;}
.carousel-dots button{
  width:28px;
  height:9px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.48);
  cursor:pointer;
  transform:scaleX(.32);
  transition:transform .25s ease, background-color .25s ease;
}
.carousel-dots button[aria-current="true"]{border-radius:999px; background:var(--brand-teal); transform:scaleX(1);}

@media (max-width:639px){
  .hero.hero-home{min-height:calc(100svh - 82px); padding:0;}
  .hero-home::after{
    background:
      linear-gradient(90deg, rgba(18,16,42,.92), rgba(18,16,42,.7)),
      linear-gradient(0deg, rgba(18,16,42,.78) 0%, rgba(18,16,42,.26) 48%, rgba(18,16,42,.38) 100%);
  }
  .hero-home-inner{align-items:flex-start; padding-top:var(--space-6); padding-bottom:92px;}
  .hero-home .eyebrow{font-size:12px;}
  .hero-home h1{font-size:clamp(32px, 8.5vw, 36px); max-width:13ch; margin-top:10px;}
  .hero-home .hero-lead{margin-top:12px; font-size:15.5px; line-height:1.5;}
  .hero-home .hero-cta{margin-top:20px;}
  .hero-proof{margin-top:var(--space-4); gap:10px;}
  .hero-proof .num{font-size:26px;}
  .hero-proof .lbl{padding-left:10px; font-size:12px;}
  .hero-carousel-controls{right:auto; left:max(var(--page-gutter), env(safe-area-inset-left)); bottom:18px; gap:8px;}
  .carousel-arrow,.carousel-toggle{width:42px; height:42px;}
  .hero-slide{background-size:auto 100%;}
}

/* ---------- Sections ---------- */
.section{padding:clamp(64px,8vw,104px) 0; background:var(--surface);}
.section-tight{padding:var(--space-7) 0;}
.section-head{max-width:720px; margin-bottom:var(--space-6);}
.section-head h2{max-width:22ch;}
.section-head p{max-width:68ch; margin-top:var(--space-3); color:var(--ink-soft); font-size:16.5px; text-wrap:pretty;}
.section-alt{background:linear-gradient(180deg,#F3F7FD 0%,#EAF2FC 100%);}
.section-navy{position:relative; overflow:hidden; background:linear-gradient(135deg,#10264F 0%,#163664 100%); color:#fff;}
.section-navy::after{content:""; position:absolute; width:480px; height:480px; right:-220px; top:-260px; border-radius:50%; background:rgba(118,167,243,.10); pointer-events:none;}
.section-navy > .wrap{position:relative; z-index:1;}
.section-navy h2, .section-navy h3{color:#fff;}
.section-navy .ink-soft-on-navy{color:#D3E0F2;}
.hero-home + .section{background:linear-gradient(180deg,#EEF4FC 0%,#fff 180px);}

/* ---------- Cards / grids ---------- */
.grid{display:grid; gap:var(--space-5);}
.grid > *{min-width:0;}
.grid-2{grid-template-columns:1fr;}
.grid-3{grid-template-columns:1fr;}
.grid-4{grid-template-columns:1fr;}
@media (min-width:560px){ .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (min-width:760px){
  .grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width:960px){
  .grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
  .grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
}

.card{
  background:var(--surface); border:1px solid rgba(16,38,79,.08); border-radius:var(--radius-md);
  padding:clamp(20px,2.4vw,28px); box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:var(--space-3);
  height:100%;
  min-width:0;
}
.card-icon{
  width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  flex:none;
}
.card-icon svg{width:24px; height:24px;}
.tone-magenta{background:var(--magenta-tint); color:var(--brand-magenta-strong);}
.tone-teal{background:var(--teal-tint); color:var(--teal);}
.tone-amber{background:var(--amber-tint); color:var(--amber-ink);}
.card,.news-card,.person,.partner-row{transition:transform .24s cubic-bezier(.22,1,.36,1),box-shadow .24s ease,border-color .24s ease;}
@media (hover:hover){
  .card:hover,.news-card:hover,.partner-row:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:rgba(36,87,197,.20);}
}
.card h3{font-size:18px;}
.card p{color:var(--ink-soft); font-size:15px;}
.card .card-link{margin-top:auto; font-weight:600; font-size:14.5px; display:inline-flex; align-items:center; gap:6px;}
.card .card-link svg{width:16px; height:16px; transition:transform .18s ease;}
.card .card-link:hover svg{transform:translateX(3px);}

.badge{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display);
  font-weight:600; font-size:12.5px; letter-spacing:.03em; text-transform:uppercase;
  padding:5px 12px; border-radius:999px;
}
.badge-teal{background:var(--teal-tint); color:var(--teal);}
.badge-amber{background:var(--amber-tint); color:var(--amber-ink);}
.badge-magenta{background:var(--magenta-tint); color:var(--brand-magenta-strong);}

/* ---------- Events ---------- */
.events-heading{max-width:780px;}
.events-heading h2{max-width:24ch;}
.events-demo-note{margin-top:var(--space-3); color:var(--ink-faint); font-size:14px !important;}
.events-grid{display:grid; grid-template-columns:1fr; gap:var(--space-5);}
.event-card{
  min-width:0; height:100%; overflow:hidden;
  display:flex; flex-direction:column;
  background:var(--surface); border:1px solid rgba(16,38,79,.08); border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  transition:transform .24s cubic-bezier(.22,1,.36,1),box-shadow .24s ease,border-color .24s ease;
}
.event-media{aspect-ratio:16/9; overflow:hidden; background:var(--brand-navy);}
.event-media img{width:100%; height:100%; object-fit:cover; transform:scale(1.02); transition:transform .45s cubic-bezier(.22,1,.36,1);}
.event-media--left img{object-position:20% 50%;}
.event-media--center img{object-position:52% 50%;}
.event-media--right img{object-position:88% 50%;}
.event-card-body{display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:var(--space-3); padding:clamp(20px,2.4vw,26px);}
.event-category{
  color:var(--brand-magenta-strong); background:var(--magenta-tint);
  border-radius:999px; padding:5px 10px;
  font-family:var(--font-display); font-size:12px; font-weight:700; letter-spacing:.035em; text-transform:uppercase;
}
.event-card h3{font-size:clamp(19px,2vw,22px); max-width:24ch;}
.event-meta{width:100%; list-style:none; margin:2px 0 var(--space-2); padding:0; display:flex; flex-direction:column; gap:10px; color:var(--ink-soft);}
.event-meta li{display:flex; align-items:flex-start; gap:10px; font-size:15px; line-height:1.45;}
.event-meta svg{width:19px; height:19px; flex:none; margin-top:1px; color:var(--teal);}
.event-action{width:100%; margin-top:auto;}
@media (min-width:680px){.events-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (min-width:1024px){.events-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (hover:hover){
  .event-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:rgba(36,87,197,.18);}
  .event-card:hover .event-media img{transform:scale(1.055);}
}

/* ---------- Donation ---------- */
.donation-section{background:var(--surface);}
.donation-layout{display:grid; grid-template-columns:1fr; gap:var(--space-5); align-items:start;}
.donation-intro{
  position:relative; overflow:hidden;
  padding:clamp(30px,5vw,56px);
  color:#fff; background:linear-gradient(145deg,var(--brand-navy) 0%,#173b7b 100%);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
}
.donation-intro::after{
  content:""; position:absolute; width:210px; height:210px; right:-86px; bottom:-96px;
  border-radius:50%; background:rgba(84,213,208,.16); pointer-events:none;
}
.donation-intro > *{position:relative; z-index:1;}
.donation-intro h2{max-width:13ch; margin-top:var(--space-3); color:#fff; font-size:clamp(30px,4vw,48px);}
.donation-intro p{max-width:48ch; margin-top:var(--space-4); color:rgba(255,255,255,.88); font-size:clamp(17px,2vw,19px);}
.donation-intro .donation-assurance{margin-top:var(--space-5); padding-top:var(--space-4); border-top:1px solid rgba(255,255,255,.2); color:#fff; font-size:15px;}
.eyebrow-on-dark{color:#fff;}
.eyebrow-on-dark .dot{background:var(--brand-magenta);}
.donation-form-shell{
  min-width:0; overflow:hidden; padding:clamp(8px,1.5vw,14px);
  background:var(--surface); border:1px solid rgba(16,38,79,.1); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
}
.donation-form{display:block; width:100%; height:900px; border:0; border-radius:calc(var(--radius-lg) - 8px); background:#fff;}
@media (min-width:900px){
  .donation-layout{grid-template-columns:minmax(0,.78fr) minmax(520px,1.22fr); gap:clamp(28px,4vw,56px);}
  .donation-intro{position:sticky; top:112px;}
}
@media (max-width:480px){
  .donation-form-shell{padding:0; border-radius:var(--radius-md);}
  .donation-form{height:980px; border-radius:var(--radius-md);}
}

/* ---------- Values list ---------- */
.value-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-4);}
@media (min-width:640px){ .value-grid{grid-template-columns:repeat(4,minmax(0,1fr));} }
.value-grid > *{min-width:0; justify-content:center; text-align:center;}
.value-item{text-align:left; padding:var(--space-4); border-radius:var(--radius-md); background:var(--surface-sunken);}
.value-item .n{font-family:var(--font-display); font-weight:800; font-size:13px; color:var(--ink-faint);}
.value-item h4{font-family:var(--font-display); font-weight:700; font-size:16px; margin-top:6px;}

/* ---------- Team ---------- */
.team-group{margin-top:var(--space-6);}
.team-group h3{margin-bottom:var(--space-4);}
.team-people{display:grid; grid-template-columns:1fr; gap:var(--space-3);}
@media (min-width:560px){ .team-people{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (min-width:760px){ .team-people{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (min-width:1080px){ .team-people{grid-template-columns:repeat(4,minmax(0,1fr));} }
.person{
  display:flex; align-items:center; gap:12px; padding:12px; background:var(--surface);
  border:1px solid rgba(16,38,79,.08); border-radius:var(--radius-sm); min-width:0;
}
.person .avatar{
  width:42px; height:42px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:14px; color:#fff;
}
.person .who{min-width:0;}
.person .name{font-weight:600; font-size:14px; color:var(--ink); line-height:1.3;}
.person .role{font-size:12.5px; color:var(--ink-soft); line-height:1.3;}
.person .name,.person .role{overflow-wrap:anywhere;}

/* ---------- Timeline (histoire) ---------- */
.timeline{border-left:1px solid var(--line-strong); padding-left:var(--space-5); display:flex; flex-direction:column; gap:var(--space-6);}
.timeline-item{position:relative;}
.timeline-item::before{
  content:""; position:absolute; left:calc(var(--space-5) * -1 - 8px); top:4px;
  width:14px; height:14px; border-radius:50%; background:var(--accent-display); border:3px solid var(--paper);
}

/* ---------- News ---------- */
.news-card{background:var(--surface); border:1px solid rgba(16,38,79,.08); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; min-width:0;}
.news-card img{width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; background:var(--brand-navy);}
.news-body{padding:var(--space-4); display:flex; flex-direction:column; gap:var(--space-2); flex:1;}
.news-date{font-size:13px; color:var(--ink-faint); font-weight:600;}
.news-body h3{font-size:17px;}
.news-body p{color:var(--ink-soft); font-size:14.5px;}
.news-body .card-link{margin-top:auto; padding-top:var(--space-2); display:inline-flex; align-items:center; align-self:flex-start; gap:6px; font-weight:600; font-size:14.5px;}
.news-body .card-link svg{width:16px; height:16px; flex:none; transition:transform .18s ease;}
.news-body .card-link:hover svg{transform:translateX(3px);}

/* News index: familiar editorial rows on desktop, clean reading flow on mobile. */
.blog-feed{max-width:var(--wrap-max,1180px);}
.news-article{display:grid; grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr); gap:clamp(32px,5vw,64px); align-items:start; padding:clamp(48px,6vw,76px) 0; border-top:1px solid var(--line); scroll-margin-top:110px;}
.news-article:first-child{padding-top:0; border-top:0;}
.news-article-media{min-width:0;}
.news-article-media img{width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; background:var(--brand-navy); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-sm);}
.news-article-content{min-width:0; display:flex; flex-direction:column; gap:var(--space-3);}
.news-article-content h2{font-size:clamp(24px,3vw,32px); max-width:24ch;}
.news-article-content p,
.news-article-content li{color:var(--ink-soft); font-size:16px; text-wrap:pretty;}
.news-article-content ul{margin:4px 0 0; padding-left:20px; display:flex; flex-direction:column; gap:10px;}
.news-article-content strong{color:var(--ink);}
.news-article-signature{color:var(--ink-faint) !important; font-size:14px !important;}
.news-article--compact{grid-template-columns:1fr; padding-block:var(--space-6);}
.news-article--compact h2{max-width:36ch; font-size:clamp(22px,2.5vw,28px);}

@media (max-width:799px){
  .news-article{grid-template-columns:1fr; gap:var(--space-5); padding:var(--space-6) 0;}
  .news-article-media{max-width:620px;}
}

/* ---------- Contact strip ---------- */
.contact-grid{display:grid; gap:var(--space-4);}
@media (min-width:760px){ .contact-grid{grid-template-columns:repeat(3,1fr);} }
.contact-item{display:flex; gap:14px; align-items:flex-start; min-width:0;}
.contact-item > div{min-width:0;}
.contact-item .ico{
  width:44px; height:44px; border-radius:12px; background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.contact-item .ico svg{width:22px; height:22px;}
.contact-item a{color:#fff;}
.contact-item a,.card-link[href^="mailto:"]{overflow-wrap:anywhere; word-break:break-word;}
.contact-item .lbl{font-size:13px; color:#C4D5EC; margin-bottom:2px;}

/* ---------- Footer ---------- */
.site-footer{background:#0B1C38; color:#EFF5FC; padding:var(--space-8) 0 var(--space-5);}
.footer-grid{display:grid; gap:var(--space-6);}
@media (min-width:640px){ .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (min-width:1024px){ .footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr;} }
.site-footer h4{color:#fff; font-family:var(--font-display); font-size:14px; letter-spacing:.03em; text-transform:uppercase; margin-bottom:var(--space-3);}
.site-footer ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
.site-footer a{color:#C9D7EA; text-decoration:none; font-size:14.5px;}
.site-footer a:hover{color:#fff;}
.footer-brand p{color:#B8C8DD; font-size:14.5px; margin-top:var(--space-3); max-width:36ch;}
.footer-social{display:flex; gap:10px; margin-top:var(--space-4);}
.footer-social a{
  width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{background:rgba(255,255,255,.16);}
.footer-social svg{width:18px; height:18px; color:#fff;}
.footer-bottom{
  margin-top:var(--space-7); padding-top:var(--space-5); border-top:1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; font-size:13px; color:#94AAC5;
}

/* ---------- Partners page ---------- */
.partner-row{
  display:flex; align-items:center; gap:14px; padding:16px 18px; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius-sm); font-weight:600; font-size:15px; color:var(--ink);
}
.partner-row svg{width:20px; height:20px; color:var(--accent); flex:none;}

/* ---------- Utility ---------- */
.stack{display:flex; flex-direction:column; gap:var(--space-3);}
.prose-stack{gap:var(--space-4); max-width:68ch;}
.prose-stack p,.prose-stack li,article.card p,article.card li{text-wrap:pretty;}
article.card > h2{max-width:30ch;}
.center{text-align:center;}
.mx-auto{margin-inline:auto;}
.mt-1{margin-top:var(--space-5);}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}

/* ---------- Responsive rhythm ---------- */
@media (max-width:639px){
  .hero{padding:var(--space-7) 0;}
  .section{padding:56px 0;}
  .section-tight{padding:var(--space-6) 0;}
  .section-head{margin-bottom:var(--space-5);}
  .hero-grid{gap:var(--space-6);}
  .hero-cta{gap:10px;}
  .hero-cta .btn{width:100%;}
  .card{padding:var(--space-4);}
  .section-head h2{font-size:clamp(26px,8vw,34px);}
  .news-article-content p,.news-article-content li{font-size:15.5px;}
  .footer-bottom{align-items:flex-start; flex-direction:column;}
}

@media (max-width:359px){
  .header-inner{gap:10px; padding-inline:16px;}
  .header-actions{gap:8px;}
  .header-actions .btn{padding-inline:17px; font-size:14.5px;}
  .value-grid[style]{grid-template-columns:1fr !important;}
  .hero-badge{left:12px; bottom:12px; max-width:calc(100% - 24px); padding:12px 14px;}
}

/* ============================================================
   Popup d'annonce — soirée-bénéfice
   ============================================================ */
.announce-overlay{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  padding:var(--page-gutter);
  background:rgba(16,38,79,.62);
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.announce-overlay.is-open{opacity:1; visibility:visible;}
.announce-dialog{
  position:relative;
  width:min(560px, 100%);
  max-height:calc(100dvh - 2 * var(--page-gutter));
  overflow-y:auto;
  background:var(--surface);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  padding:var(--space-7) var(--space-6) var(--space-6);
  text-align:center;
  transform:translateY(12px) scale(.98);
  transition:transform .25s ease;
}
.announce-overlay.is-open .announce-dialog{transform:none;}
.announce-dialog .eyebrow{justify-content:center;}
.announce-dialog h2{margin:var(--space-3) 0 0; font-size:clamp(23px, 3.4vw, 29px); line-height:1.25;}
.announce-tagline{margin:var(--space-3) 0 0; font-size:17px; color:var(--ink-soft);}
.announce-dialog p:not(.announce-tagline){margin:var(--space-3) 0 0; color:var(--ink-soft);}
.announce-cta{margin-top:var(--space-5); display:flex; flex-wrap:wrap; gap:12px; justify-content:center;}
.announce-close{
  position:absolute; top:12px; right:12px;
  width:38px; height:38px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:50%;
  background:var(--surface); color:var(--ink);
  cursor:pointer; transition:background .2s ease, border-color .2s ease;
}
.announce-close:hover{background:var(--surface-sunken); border-color:var(--line-strong);}
.announce-close svg{width:18px; height:18px;}
@media (max-width:520px){
  .announce-dialog{padding:var(--space-6) var(--space-4) var(--space-5);}
  .announce-cta .btn{width:100%;}
}
@media (prefers-reduced-motion: reduce){
  .announce-overlay,.announce-dialog{transition:none;}
}

/* ============================================================
   WordPress core compatibility
   ============================================================ */
.screen-reader-text{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
.screen-reader-text:focus{
  position:absolute; left:12px; top:12px; z-index:100000; width:auto; height:auto;
  clip:auto; white-space:normal; background:var(--ink); color:#fff; padding:12px 18px; border-radius:10px;
}
.alignwide{width:100%; max-width:var(--wrap-max,1180px); margin-left:auto; margin-right:auto;}
.alignfull{width:100%; max-width:none;}
.aligncenter{margin-left:auto; margin-right:auto; display:block;}
.alignleft{float:left; margin:4px 24px 12px 0;}
.alignright{float:right; margin:4px 0 12px 24px;}
.wp-caption,.wp-block-image figure{max-width:100%;}
.wp-caption-text,.wp-element-caption{font-size:13.5px; color:var(--ink-faint); margin-top:6px;}
.wp-block-image img,.entry-content img{border-radius:var(--radius-md);}
.entry-content{max-width:72ch;}
.entry-content > *{margin-top:var(--space-4);}
.entry-content > *:first-child{margin-top:0;}
.entry-content a{font-weight:600;}
.entry-content ul,.entry-content ol{padding-left:22px; display:flex; flex-direction:column; gap:8px;}

/* Sticky header must clear the wp-admin bar for logged-in editors */
body.admin-bar .site-header{top:32px;}
@media (max-width:782px){
  body.admin-bar .site-header{top:46px;}
}
body.admin-bar .mobile-nav{top:32px; min-height:calc(100dvh - 32px);}
@media (max-width:782px){
  body.admin-bar .mobile-nav{top:46px; min-height:calc(100dvh - 46px);}
}

/* Pagination (Nouvelles archive) */
.pagination-row{display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:var(--space-7);}
.pagination-row .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:44px; padding:0 14px;
  border-radius:999px; border:1px solid var(--line-strong); color:var(--ink); text-decoration:none;
  font-family:var(--font-display); font-weight:600; font-size:14.5px;
}
.pagination-row .page-numbers:hover{background:var(--surface-sunken);}
.pagination-row .page-numbers.current{background:var(--brand-navy); border-color:var(--brand-navy); color:#fff;}
.pagination-row .page-numbers.dots{border:0;}

/* Not-found search */
.search-form{display:flex; gap:10px; max-width:480px; margin-top:var(--space-4);}
.search-form input[type="search"]{
  flex:1; min-width:0; padding:12px 16px; border-radius:999px; border:1px solid var(--line-strong);
  font-family:var(--font-body); font-size:15px; color:var(--ink); background:var(--surface);
}
.search-form input[type="search"]:focus-visible{outline:3px solid var(--focus-ring); outline-offset:1px;}

/* Utility classes used by Elementor-authored content (kses strips most inline styles) */
.card--flat{background:var(--surface); box-shadow:none; margin-top:6px;}
.value-grid--2{grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:4px;}
.prose-stack strong{color:var(--ink);}
.prose-stack .btn{margin-top:10px; align-self:flex-start;}
.prose-stack h3{font-size:16px; color:var(--ink); margin-top:6px;}
.prose-stack ul{margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px;}
.card h3.card-title-sm{font-size:16px;}
/* Elementor: keep CPSMN sections edge-to-edge and neutralise kit defaults */
.elementor .elementor-widget-container > .section,
.elementor .elementor-widget-container > .hero{width:100%;}
.elementor-widget[class*="elementor-widget-cpsmn_"]{--e-widget-margin:0; margin-block-end:0;}
.elementor-widget[class*="elementor-widget-cpsmn_"] a:not(.btn):not(.card-link):not(.partner-row){text-decoration-thickness:1.5px;}

.section-navy .btn-ghost{color:#fff; border-color:rgba(255,255,255,.3); background:transparent;}
.section-navy .btn-ghost:hover{border-color:#fff; background:rgba(255,255,255,.08);}

/* ============================================================
   Elementor containers as design-system layout primitives.
   Design defaults are set through Elementor's own CSS variables, so
   any padding/gap changed in the editor still wins (element-scoped rules).
   ============================================================ */
.e-con.section,.e-con.hero,.e-con.wrap,.e-con.wrap-narrow,.e-con.grid,.e-con.stack,.e-con.card,.e-con.timeline,
.e-con.contact-grid,.e-con.value-grid,.e-con.hero-cta,.e-con.section-head,.e-con.cpsmn-col{
  --widgets-spacing:0px; --widgets-spacing-row:0px; --widgets-spacing-column:0px; --kit-widget-spacing:0px;
  --gap:0px; --row-gap:0px; --column-gap:0px;
  --padding-top:0px; --padding-right:0px; --padding-bottom:0px; --padding-left:0px;
  padding-block-start:var(--padding-top); padding-block-end:var(--padding-bottom);
  padding-inline-start:var(--padding-left); padding-inline-end:var(--padding-right);
  min-width:0;
}
.e-con.section{--padding-top:clamp(64px,8vw,104px); --padding-bottom:clamp(64px,8vw,104px); width:100%; max-width:none;}
@media (max-width:639px){.e-con.section{--padding-top:56px; --padding-bottom:56px;}}
.e-con.section-tight{--padding-top:var(--space-7); --padding-bottom:var(--space-7);}
.e-con.hero{--padding-top:var(--space-8); --padding-bottom:var(--space-7); width:100%; max-width:none; display:flex; flex-direction:column; justify-content:flex-start;}
.e-con.hero.hero--compact{--padding-bottom:var(--space-6);}
@media (max-width:639px){.e-con.hero{--padding-top:var(--space-7); --padding-bottom:var(--space-7);}}
.e-con.wrap,.e-con.wrap-narrow{
  --padding-left:max(var(--page-gutter), env(safe-area-inset-left));
  --padding-right:max(var(--page-gutter), env(safe-area-inset-right));
  width:100%; max-width:var(--wrap-max,1180px); margin-inline:auto; display:flex; flex-direction:column; align-items:stretch;
}
.e-con.wrap-narrow{max-width:800px;}
.e-con.wrap.center{text-align:center; align-items:center;}
.e-con.grid{display:grid; gap:var(--space-5); width:100%; align-items:stretch;}
.e-con.grid.grid--gap-lg{gap:var(--space-7);}
.e-con.grid.grid--center{align-items:center;}
.e-con.grid.grid--start{align-items:start;}
.e-con.hero-grid{display:grid; gap:var(--space-7); align-items:center;}
.e-con.stack{display:flex; flex-direction:column; gap:var(--space-3); align-items:stretch;}
.e-con.card{
  --padding-top:clamp(20px,2.4vw,28px); --padding-right:clamp(20px,2.4vw,28px); --padding-bottom:clamp(20px,2.4vw,28px); --padding-left:clamp(20px,2.4vw,28px);
  display:flex; flex-direction:column; align-items:stretch; gap:var(--space-3); height:100%;
}
.e-con.card > .elementor-widget{width:100%;}
@media (max-width:639px){.e-con.card{--padding-top:var(--space-4); --padding-right:var(--space-4); --padding-bottom:var(--space-4); --padding-left:var(--space-4);}}
.e-con.timeline{--padding-left:var(--space-5); display:flex; flex-direction:column; gap:var(--space-6);}
.e-con.contact-grid{display:grid; gap:var(--space-4);}
.e-con.value-grid{display:grid; gap:var(--space-4);}
.e-con.hero-cta{display:flex; flex-direction:row; flex-wrap:wrap; gap:14px; margin-block-start:var(--space-6);}
.e-con.section-head{max-width:720px; margin-block-end:var(--space-6); display:flex; flex-direction:column;}
.e-con.section-head.section-head--wide{max-width:none; margin-block-end:0;}
.e-con.cpsmn-col{display:flex; flex-direction:column; align-items:stretch;}
.e-con.section-navy,.e-con.section-alt,.e-con.section{position:relative;}
.e-con.section-navy{overflow:hidden;}
.e-con.section-navy::after{z-index:0;}

/* Widgets inside design containers: no Elementor spacing, full width, stretch to card height */
.elementor .elementor-widget[class*="elementor-widget-cpsmn_"]{margin-block-end:0 !important; max-width:100%;}
.e-con.grid > .elementor-widget,.e-con.grid > .elementor-widget > .elementor-widget-container{height:100%;}
.e-con.card .card-link{margin-top:auto;}
.e-con.card .cpsmn-text p{color:var(--ink-soft); font-size:15px;}
.e-con.stack .btn{align-self:flex-start;}
.cpsmn-text.stack{gap:var(--space-3);}
.cpsmn-text--large p,.cpsmn-text--prose p{color:var(--ink-soft);}
.cpsmn-text--lead{display:block;}
.cpsmn-text p{max-width:72ch;}
.section-navy .cpsmn-text p,.section-navy .cpsmn-text{color:#D3E0F2;}
.section-navy .eyebrow{color:var(--brand-teal);}
.section-navy .eyebrow.eyebrow-on-dark{color:#fff;}
.hero:not(.hero-home) .cpsmn-text--lead .hero-lead{color:#DCE8FA;}
.e-con.section-navy .cpsmn-text{font-size:16.5px;}
.e-con.hero h1{margin-top:12px;}
.e-con.card h3{font-size:18px; margin:0;}
.elementor-widget-cpsmn_timeline_item{position:relative;}

.e-con.stack.prose-stack{gap:var(--space-4);}
.center .cpsmn-text p{margin-inline:auto; max-width:52ch;}
.e-con.hero-cta.hero-cta--center{justify-content:center; margin-block-start:var(--space-5);}
.cpsmn-text ul{margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px;}
.cpsmn-text strong{color:var(--ink);}
.section-navy .cpsmn-text strong{color:#fff;}
.e-con.card.card--flat{background:var(--surface); box-shadow:none; height:auto;}
.e-con.card.card--flat h3{font-size:16px;}
.e-con.hero-grid{gap:var(--space-7);}
@media (max-width:859px){.e-con.hero-grid{grid-template-columns:1fr;}}
.e-con.value-grid--2{grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:4px;}
.e-con.card > .elementor-widget-cpsmn_heading h3{margin-top:0;}

.e-con.card{border:1px solid rgba(16,38,79,.08); border-radius:var(--radius-md); background-color:var(--surface); box-shadow:var(--shadow-sm);}
.e-con.card.card--flat{box-shadow:none;}
.e-con.contact-grid{grid-template-columns:1fr; gap:var(--space-4);}
.e-con.section-navy .contact-grid .contact-item{align-items:flex-start;}
@media (hover:hover){.e-con.card:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:rgba(36,87,197,.20);}}

/* Team photos: 56px avatar, photo replaces initials */
.person .avatar{width:56px; height:56px; overflow:hidden; font-size:16px;}
.person .avatar img{width:100%; height:100%; object-fit:cover; border-radius:50%; display:block;}
.person{gap:14px;}

/* Team cards: photo on top, name and role below */
.person{flex-direction:column; align-items:stretch; gap:0; padding:0 0 var(--space-4); overflow:hidden; border-radius:var(--radius-md);}
.person .avatar{width:100%; height:auto; aspect-ratio:1/1; border-radius:0; font-size:clamp(32px,4vw,44px); letter-spacing:.02em;}
.person .avatar img{border-radius:0;}
.person .who{padding:var(--space-4) var(--space-4) 0;}
.person .name{font-size:15.5px;}
.person .role{font-size:13.5px; margin-top:2px;}
.team-people{gap:var(--space-4);}

/* WP admin bar is not fixed below 600px: do not offset sticky header / drawer there */
@media (max-width:600px){
  body.admin-bar .site-header{top:0;}
  body.admin-bar .mobile-nav{top:0; min-height:100dvh;}
}

.e-con.cpsmn-full{--padding-top:0px; --padding-right:0px; --padding-bottom:0px; --padding-left:0px; --widgets-spacing:0px; --widgets-spacing-row:0px; --widgets-spacing-column:0px; --kit-widget-spacing:0px; --gap:0px; padding:0; width:100%; max-width:none;}

/* Mobile drawer accordion */
.mobile-nav.js-accordion .sublist{display:none;}
.mobile-nav.js-accordion li.is-open > .sublist{display:block;}
.mobile-nav li.has-accordion{position:relative;}
.mobile-nav li.has-accordion > a{padding-right:56px;}
.mobile-nav .sub-toggle{
  position:absolute; top:6px; right:0; width:44px; height:44px; display:grid; place-items:center;
  background:none; border:0; border-radius:10px; color:var(--ink); cursor:pointer;
}
.mobile-nav .sub-toggle:hover{background:var(--surface-sunken);}
.mobile-nav .sub-toggle svg{width:22px; height:22px; transition:transform .2s ease;}
.mobile-nav li.is-open > .sub-toggle svg{transform:rotate(180deg);}
@media (prefers-reduced-motion: reduce){.mobile-nav .sub-toggle svg{transition:none;}}

.mobile-nav .cta-row .btn{display:flex; justify-content:center; text-align:center; padding:13px 24px;}

/* Back-to-top button */
.back-to-top{
  position:fixed; right:max(20px, env(safe-area-inset-right)); bottom:max(20px, env(safe-area-inset-bottom)); z-index:45;
  width:48px; height:48px; display:grid; place-items:center; padding:0;
  border:0; border-radius:50%; cursor:pointer;
  background:var(--action-fill); color:var(--action-ink); box-shadow:0 8px 18px rgba(241,107,220,.32);
  opacity:0; transform:translateY(12px);
  transition:opacity .22s ease, transform .22s cubic-bezier(.22,1,.36,1), background-color .18s ease, box-shadow .22s ease;
}
.back-to-top[hidden]{display:none;}
.back-to-top.is-visible{opacity:1; transform:none;}
.back-to-top:hover{background:var(--action-fill-hover); box-shadow:0 12px 24px rgba(241,107,220,.38); transform:translateY(-2px);}
.back-to-top:active{transform:none; box-shadow:none;}
.back-to-top svg{width:22px; height:22px;}
@media (max-width:639px){ .back-to-top{width:44px; height:44px; right:16px; bottom:16px;} }
@media (prefers-reduced-motion: reduce){ .back-to-top{transition:none;} }
body.admin-bar .back-to-top{bottom:max(20px, env(safe-area-inset-bottom));}

/* Contact form */
.cpsmn-form-wrap{scroll-margin-top:110px;}
.cpsmn-form{display:flex; flex-direction:column; gap:var(--space-4);}
.cpsmn-form .form-grid{display:grid; grid-template-columns:1fr; gap:var(--space-4);}
@media (min-width:640px){.cpsmn-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
.cpsmn-form .field{display:flex; flex-direction:column; gap:6px; min-width:0;}
.cpsmn-form label{font-family:var(--font-display); font-weight:600; font-size:14px; color:var(--ink);}
.cpsmn-form input[type="text"],.cpsmn-form input[type="email"],.cpsmn-form input[type="tel"],.cpsmn-form select,.cpsmn-form textarea{
  width:100%; min-height:48px; padding:12px 16px; border:1px solid var(--line-strong); border-radius:var(--radius-sm);
  background:var(--surface); color:var(--ink); font-family:var(--font-body); font-size:16px; line-height:1.4;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.cpsmn-form textarea{resize:vertical; min-height:150px;}
.cpsmn-form input:focus-visible,.cpsmn-form select:focus-visible,.cpsmn-form textarea:focus-visible{outline:3px solid var(--focus-ring); outline-offset:1px; border-color:var(--accent);}
.cpsmn-form .has-error input,.cpsmn-form .has-error select,.cpsmn-form .has-error textarea{border-color:#B3261E;}
.cpsmn-form .field-error{color:#B3261E; font-size:14px; font-weight:600; margin:0;}
.cpsmn-form .field--check label{display:flex; align-items:flex-start; gap:10px; font-family:var(--font-body); font-weight:400; font-size:15px; color:var(--ink-soft);}
.cpsmn-form .field--check input{width:20px; height:20px; margin-top:2px; flex:none; accent-color:var(--accent);}
.cpsmn-form .btn{align-self:flex-start;}
.form-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.form-notice{display:flex; flex-direction:column; gap:4px; padding:16px 20px; border-radius:var(--radius-md); margin-bottom:var(--space-4); font-size:15.5px;}
.form-notice--success{background:var(--teal-tint); color:#0F5B58; border:1px solid rgba(22,124,120,.25);}
.form-notice--error{background:#FDECEA; color:#8C1D18; border:1px solid rgba(179,38,30,.25);}
.contact-card-list{display:flex; flex-direction:column; gap:var(--space-4);}
.contact-line{display:flex; gap:14px; align-items:flex-start;}
.contact-line .ico{width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex:none; background:var(--accent-tint); color:var(--accent);}
.contact-line .ico svg{width:22px; height:22px;}
.contact-line .lbl{font-size:13px; color:var(--ink-faint); font-weight:600; margin-bottom:2px;}
.contact-line a,.contact-line strong{font-weight:600; color:var(--ink); overflow-wrap:anywhere;}
.contact-line a{color:var(--accent);}

/* Contact items on light backgrounds */
.section:not(.section-navy) .contact-item .ico{background:var(--accent-tint); color:var(--accent);}
.section:not(.section-navy) .contact-item a{color:var(--accent);}
.section:not(.section-navy) .contact-item .lbl{color:var(--ink-faint);}
.section:not(.section-navy) .contact-item strong{color:var(--ink);}

.e-con.contact-card-list{--widgets-spacing:0px; --kit-widget-spacing:0px; --padding-top:0px; --padding-right:0px; --padding-bottom:0px; --padding-left:0px;
  padding:0; display:flex; flex-direction:column; gap:var(--space-4); margin-block-start:var(--space-5);}
.site-footer li{color:#C9D7EA; font-size:14.5px;}
.search-form .btn{white-space:nowrap;}

/* Job offers */
.job-list{display:flex; flex-direction:column; gap:var(--space-3);}
.job-card{background:var(--surface); border:1px solid rgba(16,38,79,.08); border-radius:var(--radius-md); box-shadow:var(--shadow-sm); overflow:hidden;}
.job-card summary{list-style:none; cursor:pointer; padding:20px 24px; display:flex; flex-direction:column; gap:8px; position:relative; padding-right:56px; min-height:44px;}
.job-card summary::-webkit-details-marker{display:none;}
.job-card summary::after{content:""; position:absolute; right:22px; top:26px; width:10px; height:10px; border-right:2px solid var(--ink); border-bottom:2px solid var(--ink); transform:rotate(45deg); transition:transform .2s ease;}
.job-card[open] summary::after{transform:rotate(-135deg); top:30px;}
.job-card summary:focus-visible{outline:3px solid var(--focus-ring); outline-offset:-3px;}
.job-title{font-family:var(--font-display); font-weight:600; font-size:19px; color:var(--ink);}
.job-meta{display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; font-size:14.5px; color:var(--ink-soft);}
.job-body{padding:0 24px 24px; display:flex; flex-direction:column; gap:var(--space-3); border-top:1px solid var(--line); padding-top:var(--space-4); color:var(--ink-soft);}
.job-body p{max-width:72ch;}
.job-body ul{padding-left:20px; display:flex; flex-direction:column; gap:6px;}
.job-body .btn{align-self:flex-start; margin-top:var(--space-2);}
.job-empty{display:flex; flex-direction:column; gap:6px; padding:24px; border:1px dashed var(--line-strong); border-radius:var(--radius-md); background:var(--surface); color:var(--ink-soft);}
.job-empty strong{color:var(--ink);}
