@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Archivo:wght@400;500;600;700;800&family=Baloo+2:wght@500;600;700;800&family=Inter+Tight:wght@400;500;600;700&display=swap');
/* site.css : feuilles theme.css + pages.css + components.css de l'ancien site, reunies. */
/* ============================================================
   THÈME — Syndicat Autonome des VRP et Commerciaux
   3 directions visuelles pilotées par [data-direction]
   + surcharges via variables (Tweaks)
   ============================================================ */

:root {
  /* défauts neutres, écrasés par data-direction */
  --bg:        #faf6ee;
  --surface:   #ffffff;
  --surface-2: #f5efe3;
  --ink:       #1c2733;
  --ink-soft:  #2c3744;
  --muted:     #74808d;
  --line:      #e7dccb;
  --line-soft: #f0e8da;

  --primary:      #16314e;
  --primary-2:    #0f2438;
  --primary-ink:  #ffffff;

  --accent:       #c2703a;   /* surchargé par Tweak couleur d'accent */
  --accent-2:     #a3551f;
  --accent-ink:   #ffffff;
  --accent-tint:  rgba(194,112,58,0.12);

  --font-head: 'Spectral', Georgia, serif;   /* surchargé par Tweak police titrage */
  --font-body: 'Inter Tight', system-ui, sans-serif;

  --radius:    14px;   /* surchargé par Tweak style cartes */
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow:    0 18px 44px -26px rgba(18,32,48,0.30);
  --shadow-sm: 0 6px 18px -12px rgba(18,32,48,0.25);
  --card-border: 1px solid var(--line);

  --eyebrow-transform: uppercase;
  --eyebrow-spacing: 2.5px;
  --maxw: 1240px;
  --pad: 32px;
  --header-h: 76px;
}

/* ---------- DIRECTION A : HÉRITAGE (institutionnel chaleureux) ---------- */
:root {
  --bg:        #faf6ee;
  --surface:   #fffdf8;
  --surface-2: #f4ecdd;
  --ink:       #1c2733;
  --ink-soft:  #2d3845;
  --muted:     #79828d;
  --line:      #e8ddca;
  --line-soft: #f1e9d9;
  --primary:     #15314e;
  --primary-2:   #0e2236;
  --primary-ink: #fdf8ef;
  --accent-2:    #9d5320;
  --accent-tint: color-mix(in srgb, var(--accent) 13%, transparent);
  --font-head: 'Spectral', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --eyebrow-transform: uppercase;
}

/* ---------- DIRECTION B : AUTONOMIE (moderne épuré) ---------- */
:root[data-direction="moderne"] {
  --bg:        #f4f5f3;
  --surface:   #ffffff;
  --surface-2: #ebedea;
  --ink:       #14181c;
  --ink-soft:  #282f36;
  --muted:     #707880;
  --line:      #e2e4e0;
  --line-soft: #eef0ed;
  --primary:     #14181c;
  --primary-2:   #000000;
  --primary-ink: #ffffff;
  --accent-2:    color-mix(in srgb, var(--accent) 75%, black);
  --accent-tint: color-mix(in srgb, var(--accent) 11%, transparent);
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --radius:    8px;
  --radius-sm: 6px;
  --shadow:    0 16px 40px -28px rgba(15,20,25,0.30);
  --shadow-sm: 0 4px 14px -10px rgba(15,20,25,0.22);
  --eyebrow-transform: uppercase;
  --eyebrow-spacing: 2px;
}

/* ---------- DIRECTION C : PRESTIGE (éditorial profond) ---------- */
:root[data-direction="prestige"] {
  --bg:        #f7f2ea;
  --surface:   #fffdf9;
  --surface-2: #efe6d7;
  --ink:       #241c1a;
  --ink-soft:  #352a26;
  --muted:     #847468;
  --line:      #e4d8c6;
  --line-soft: #efe6d6;
  --primary:     #5a1f2b;
  --primary-2:   #3f141d;
  --primary-ink: #fbeede;
  --accent-2:    color-mix(in srgb, var(--accent) 72%, black);
  --accent-tint: color-mix(in srgb, var(--accent) 14%, transparent);
  --font-head: 'Libre Caslon Text', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --radius:    4px;
  --radius-sm: 3px;
  --shadow:    0 22px 50px -30px rgba(60,30,20,0.38);
  --shadow-sm: 0 8px 20px -14px rgba(60,30,20,0.30);
  --eyebrow-transform: uppercase;
  --eyebrow-spacing: 3px;
}

/* ============================================================
   BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: var(--eyebrow-transform);
  color: var(--accent-2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.serif { font-family: var(--font-head); }
.accent-text { color: var(--accent-2); }
.head-em { font-style: italic; font-weight: 400; color: var(--accent-2); }
:root[data-direction="moderne"] .head-em { font-style: normal; font-weight: 800; color: var(--accent-2); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s, color .18s, box-shadow .18s, border-color .18s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-dark { background: var(--primary); color: var(--primary-ink); }
.btn-dark:hover { background: var(--primary-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--surface); color: var(--primary); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--primary-2);
  color: color-mix(in srgb, var(--primary-ink) 80%, transparent);
  font-size: 12.5px;
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item svg { width: 14px; height: 14px; opacity: .7; }
.topbar a:hover { color: var(--accent); }
.topbar-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-ink); font-weight: 600; white-space: nowrap; }
.topbar-cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
/* logo recréé — globe + lockup texte (adapté aux couleurs du thème) */
.brand {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  --logo-sphere: var(--primary);
  --logo-grid: rgba(255,255,255,.85);
  --logo-ring: var(--primary-2);
  --logo-text: var(--primary);
  --logo-accent: var(--accent-2);
}
.brand-globe { width: 46px; height: 46px; flex-shrink: 0; }
.brand-globe .g-sphere { fill: var(--logo-sphere); }
.brand-globe .g-grid { stroke: var(--logo-grid); stroke-width: 1.2; }
.brand-globe .g-ring { stroke: var(--logo-ring); stroke-width: 2; }
.brand-words { font-family: 'Baloo 2', var(--font-body); line-height: 1.08; white-space: nowrap; }
.brand-l1 { font-size: 16px; font-weight: 700; color: var(--logo-text); letter-spacing: .1px; white-space: nowrap; }
.brand-l2 { font-size: 12px; font-weight: 600; color: var(--logo-text); margin-top: 2px; opacity: .92; white-space: nowrap; }
.brand-l2 .hl { color: var(--logo-accent); }
.brand-banner {
  display: inline-block; margin-top: 3px; background: var(--logo-accent); color: #fff;
  font-weight: 700; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 2px 9px; border-radius: 3px; font-family: 'Baloo 2', var(--font-body);
}
.brand--light {
  --logo-sphere: transparent;
  --logo-grid: rgba(253,248,239,.92);
  --logo-ring: var(--accent);
  --logo-text: var(--primary-ink);
  --logo-accent: var(--accent);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  border-radius: var(--radius-sm); transition: color .15s, background .15s; cursor: pointer;
}
.nav-link svg { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.nav-item:hover .nav-link { color: var(--ink); background: var(--surface-2); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-link.active { color: var(--accent-2); }
.nav-link.active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px;
}
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease; z-index: 90;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm);
  transition: background .15s;
}
.dropdown a:hover { background: var(--surface-2); }
.dropdown a b { font-size: 13.5px; font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.dropdown a span { font-size: 12px; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* mobile drawer */
.drawer { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary-2); color: color-mix(in srgb, var(--primary-ink) 75%, transparent); padding: 64px 0 28px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid color-mix(in srgb, var(--primary-ink) 14%, transparent); }
.footer-brand .brand { margin-bottom: 4px; }
.footer-about { font-size: 13.5px; line-height: 1.7; margin: 18px 0; max-width: 320px; color: color-mix(in srgb, var(--primary-ink) 65%, transparent); }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-contact .topbar-item svg { opacity: .55; }
.footer-col h5 { font-family: var(--font-body); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: color-mix(in srgb, var(--primary-ink) 70%, transparent); transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; color: color-mix(in srgb, var(--primary-ink) 50%, transparent); gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   PRIMITIVES PARTAGÉES
   ============================================================ */
.section { padding: 86px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.8px; margin: 16px 0 14px; }
.section-sub { font-size: 17px; color: var(--ink-soft); font-family: var(--font-head); font-weight: 400; line-height: 1.5; }
:root[data-direction="moderne"] .section-sub { font-family: var(--font-body); }

.card {
  background: var(--surface); border: var(--card-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s, border-color .22s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); color: var(--ink-soft);
  padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500;
}
.pill svg { width: 13px; height: 13px; }
.pill.accent { background: var(--accent-tint); color: var(--accent-2); }
.pill.solid { background: var(--accent); color: var(--accent-ink); }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb svg { width: 13px; height: 13px; }

/* page header band */
.page-hero { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 52px 0 56px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -1.2px; margin: 14px 0 16px; }
.page-hero p { font-size: 18px; color: var(--ink-soft); max-width: 620px; font-family: var(--font-head); font-weight: 400; }
:root[data-direction="moderne"] .page-hero p { font-family: var(--font-body); }

.fade-up { animation: fadeUp .55s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .topbar-left .topbar-item.hide-sm { display: none; }
  .topbar-cta { display: none; }
  .header-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
/* ============================================================
   STYLES DE PAGE — formulaires + responsive
   ============================================================ */

/* champs de formulaire */
.inp {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .18s, box-shadow .18s, background .18s;
  line-height: 1.4;
}
.inp::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.inp:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
  background: var(--surface);
}
select.inp {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2374808d' stroke-width='1.8'><path d='M1 1.5L6 6.5L11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
textarea.inp { font-family: var(--font-body); }

/* ============================================================
   RESPONSIVE — collapse des grilles à styles inline
   ============================================================ */
@media (max-width: 1080px) {
  .quick-grid       { grid-template-columns: 1fr 1fr !important; }
  .benefits-grid    { grid-template-columns: 1fr 1fr !important; }
  .news-grid        { grid-template-columns: 1fr 1fr !important; }
  .job-layout       { grid-template-columns: 1fr !important; }
  .job-filters      { position: static !important; }
  .adh-grid         { grid-template-columns: 1fr !important; }
  .esp-grid         { grid-template-columns: 1fr !important; }
}

@media (max-width: 860px) {
  /* hero accueil */
  .hero-grid        { grid-template-columns: 1fr !important; gap: 32px !important; }
  section .hero-copy { grid-column: 1 / -1; }
  .stats-band       { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .cta-band         { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
  .quick-grid       { grid-template-columns: 1fr !important; }
  .benefits-grid    { grid-template-columns: 1fr !important; }
  .news-grid        { grid-template-columns: 1fr !important; }
}

/* hero : passe en une colonne sous 900px (la grille interne est inline) */
@media (max-width: 900px) {
  section > .container[style*="grid-template-columns: 1.15fr"],
  section > .container[style*="gridTemplateColumns"] { }
}

/* ── Filtres de catégorie sur la page actualités ── */
.news-filters { align-items: center; }
.news-filter {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); background: var(--surface); border: 1.5px solid var(--line);
  text-decoration: none; transition: all .15s;
}
.news-filter:hover { border-color: var(--accent); color: var(--accent); }
.news-filter.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #fff); }
.news-filter-count {
  font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px;
  background: rgba(0,0,0,.08);
}
.news-filter.active .news-filter-count { background: rgba(255,255,255,.25); }

/* ── Corps d'article (actualités) : mise en forme du contenu riche ── */
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 16px; }
.article-body h2 {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
  margin: 38px 0 12px;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
  margin: 30px 0 10px;
}
.article-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}
.article-body ul,
.article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin: 0 0 8px; }
.article-body blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  font-style: italic;
  color: var(--ink-soft);
  border-radius: 0 8px 8px 0;
}
.article-body a { color: var(--accent-2); text-decoration: underline; }
/* ============================================================
   COMPOSANTS STATIQUES — placeholders, survols, reveal
   (le gros du style reste inline, identique au prototype)
   ============================================================ */

/* placeholder image rayé */
.ph {
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 11px,
    color-mix(in srgb, var(--surface-2) 60%, var(--line)) 11px,
    color-mix(in srgb, var(--surface-2) 60%, var(--line)) 22px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: .5px; text-align: center; padding: 16px;
}
.ph span {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  padding: 5px 11px; border-radius: 5px; border: 1px solid var(--line);
}
.ph.flush { border-radius: 0; border-left: none; border-right: none; border-top: none; }

/* lignes documents / listes survolables */
.row-hover { transition: border-color .15s, background .15s; }
.row-hover:hover { border-color: var(--accent) !important; }

/* reveal progressif (JS ajoute .is-pre puis .is-in ; sans JS tout reste visible) */
.reveal.is-pre { opacity: 0; transform: translateY(22px); }
.reveal.is-in  { opacity: 1; transform: translateY(0);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }

/* drawer mobile */
.drawer-overlay { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer-overlay.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10,18,28,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--surface); box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
  padding: 22px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  animation: fadeUp .3s both;
}
.drawer-panel a.dlink {
  padding: 13px 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 16px;
  color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--line-soft);
}
.drawer-panel a.dlink:hover { background: var(--surface-2); }

/* utilitaires hover offres / boutons légers */
.lift { transition: transform .22s ease, box-shadow .22s, border-color .22s; }

/* options de filtre (bourse d'emploi) */
.fopt.on { color: var(--accent-2) !important; }
.fopt.on .fbox { border-color: var(--accent) !important; background: var(--accent) !important; color: var(--accent-ink); }
.fopt.on .fcheck { opacity: 1 !important; }
.fopt:hover .fbox { border-color: var(--accent); }

/* statut & paiement sélectionnés (adhésion) */
.statut-opt, .pay-opt { transition: all .15s; }
.statut-opt.on { border-color: var(--accent) !important; background: var(--accent-tint) !important; }
.statut-opt.on .radio-dot { border-color: var(--accent) !important; background: var(--accent) !important; }
.statut-opt.on .radio-dot i { opacity: 1 !important; }
.pay-opt.on { border-color: var(--accent) !important; background: var(--accent-tint) !important; }

/* onglets espace adhérent */
.esp-link { transition: all .15s; }
.esp-link.on { background: var(--accent) !important; color: var(--accent-ink) !important; }

@media (max-width: 920px) {
  .split-2 { grid-template-columns: 1fr !important; gap: 36px !important; }
  .detail-grid { grid-template-columns: 1fr !important; }
  .detail-grid .sticky { position: static !important; }
}
@media (max-width: 720px) {
  .stat4 { grid-template-columns: 1fr 1fr !important; }
  .num3  { grid-template-columns: 1fr !important; }
}

/* Videos integrees dans les articles (socle 2.2.8 : YouTube, Vimeo, Dailymotion) :
   pleine largeur, proportion 16/9, y compris sur telephone. */
.article-body iframe{width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:10px;margin:8px 0 18px}

/* Petits telephones (2.0.12) : l'en-tete tenait sur 417 px et faisait deborder
   toutes les pages de ~30 px a 390 px de large. On resserre le logo et le
   bouton Adherer, qui reste visible. */
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-globe { width: 36px; height: 36px; }
  .brand-l1 { font-size: 14px; }
  .brand-l2 { font-size: 11.5px; }
  .header-cta { gap: 4px; }
  .header-cta .btn { padding: 9px 13px; font-size: 14px; }
  .menu-toggle { padding: 6px; }
  .topbar-left .topbar-item { white-space: normal; font-size: 12px; line-height: 1.35; }
}
/* Barre du haut : ne deborde jamais de l'ecran (adresse longue + appel a l'action). */
.topbar-inner { min-width: 0; }
.topbar-left { min-width: 0; overflow: hidden; }
@media (max-width: 900px) { .topbar-cta { display: none; } }
.footer-contact .topbar-item { white-space: normal; align-items: flex-start; }
.footer-contact .topbar-item svg { flex: none; margin-top: 2px; }
