/* =====================================================================
   ETCHÉ FORMATION · Design 2026 (« L'escalier »)
   Chargé APRÈS tailwind.css : ce fichier a le dernier mot.
   Signature : le tracé or en escalier du logo (la progression).
   Pour revenir à l'ancien design : retirer la ligne <link design.css>
   et la ligne <script nav.js> (voir _sauvegardes-avant-refonte-design/).
   ===================================================================== */

:root {
  --navy: #0F2A4A;
  --navy-deep: #081B33;
  --navy-2: #173A63;
  --signal: #FFCD1C;          /* jaune engin : actions uniquement */
  --signal-2: #FFE17A;
  --gold: #7F610A;            /* or lisible sur blanc et sur béton (≥ 5:1) */
  --beton: #EEF0F2;           /* fond alterné */
  --beton-2: #E3E7EB;
  --line: #D5DBE1;
  --ink: #132033;
  --muted: #4A5667;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 76px;
  --f-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 20'%3E%3Cpath d='M2 18 H19 L30.5 10 H42.5 L54 2 H64' fill='none' stroke='%23FFCD1C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --step-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 20'%3E%3Cpath d='M2 18 H19 L30.5 10 H42.5 L54 2 H64' fill='none' stroke='%23B8900F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--hdr-h) + 64px); }
body {
  font-family: var(--f-body);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
}
::selection { background: var(--signal); color: var(--navy); }
h1, h2, h3, h4, h5, .font-display {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-weight: 800; letter-spacing: -0.032em; line-height: 1.04; }
h2 { font-weight: 750; line-height: 1.12; letter-spacing: -0.024em; }
p { text-wrap: pretty; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
table { font-variant-numeric: tabular-nums; }
img { image-rendering: auto; }

/* Couleurs remappées (mêmes classes, nouvelle matière) */
.bg-warm-50, .bg-warm { background-color: var(--beton) !important; }
.bg-warm-100 { background-color: var(--beton-2) !important; }
.border-warm-200, .divide-warm-200 > * + * { border-color: var(--line) !important; }
.text-warm-700 { color: var(--muted) !important; }
.text-warm-900 { color: var(--ink) !important; }
.bg-navy-dark { background-color: var(--navy-deep) !important; }

/* Titres de section : plus d'impact */
.section-pad h2.text-3xl, .section-pad h2.md\:text-4xl { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem) !important; line-height: 1.12 !important; }
.section-pad { padding-top: clamp(4rem, 3rem + 4vw, 7.5rem); padding-bottom: clamp(4rem, 3rem + 4vw, 7.5rem); }

/* Petite étiquette au-dessus des titres : sans pastille, marquée de l'escalier */
.badge:is(.mb-2,.mb-3,.mb-4,.mb-5):not(.badge-yellow):not(.badge-green):not(.badge-navy) {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.max-w-2xl > .badge:first-child::before,
.max-w-3xl > .badge:first-child::before,
div > .badge.mb-3:first-child::before { content: none; }
.badge-yellow { background: var(--signal); color: var(--navy); border-radius: var(--r-sm); font-weight: 700; }
.badge-green { background: #E3F4EC; color: #0B6B47; border-radius: var(--r-sm); }
.badge-navy { border-radius: var(--r-sm); }
.formation-card .badge, .card .badge { background: var(--beton); color: var(--navy); border-radius: var(--r-sm); padding: .28rem .6rem; font-size: .76rem; font-weight: 600; }
.formation-card .badge.badge-green { background: #E3F4EC; color: #0B6B47; }
.formation-card .badge.badge-yellow, .card .badge.badge-yellow { background: var(--signal); color: var(--navy); }
.card .badge.mb-3::before, .formation-card .badge::before { content: none !important; }

/* ---------- Boutons ---------- */
.btn {
  border-radius: var(--r);
  font-weight: 700;
  letter-spacing: -.005em;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--signal); color: var(--navy); box-shadow: inset 0 -2px 0 rgba(15,42,74,.14); }
.btn-primary:hover { background: var(--navy); color: var(--signal); box-shadow: 0 10px 24px -12px rgba(8,27,51,.6); transform: translateY(-1px); }
.btn-outline { border-width: 1.5px; }
.btn-lg { padding: 1.05rem 1.75rem; }
.hero-bg .btn[style] { background: rgba(255,255,255,.06) !important; border: 1.5px solid rgba(255,255,255,.35) !important; }
.hero-bg .btn[style]:hover { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }

/* ---------- En-tête ---------- */
.site-header {
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px -22px rgba(8,27,51,.55); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: var(--hdr-h); }
.hdr-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.hdr-brand img { width: 44px; height: 44px; flex-shrink: 0; transition: transform .5s var(--ease); }
.hdr-brand:hover img { transform: rotate(-4deg) scale(1.04); }
.hdr-brand-txt { display: flex; flex-direction: column; line-height: 1; }
.hdr-name { font-family: var(--f-display); font-weight: 800; font-size: 1.28rem; color: var(--navy); letter-spacing: -.03em; white-space: nowrap; }
.hdr-tag { font-size: .74rem; color: var(--muted); margin-top: .3rem; white-space: nowrap; }
.hdr-nav { display: none; align-items: center; gap: .15rem; }
.hdr-actions { display: flex; align-items: center; gap: .6rem; }
.hdr-tel { display: none; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); text-decoration: none; padding: .55rem .75rem; border-radius: var(--r); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr-tel svg { color: var(--gold); }
.hdr-tel:hover { background: var(--beton); }
.hdr-cta { display: none; padding: .75rem 1.2rem; font-size: .95rem; }
@media (min-width: 768px) { .hdr-cta { display: inline-flex; } }
@media (min-width: 1100px) { .hdr-nav { display: flex; } .hdr-actions [data-menu-btn] { display: none; } }
@media (min-width: 1720px) { .hdr-tel { display: inline-flex; } }
@media (max-width: 1400px) and (min-width: 1100px) { .hdr-tag { display: none; } }
@media (max-width: 1240px) and (min-width: 1100px) { .hdr-nav .nav-link { padding-left: .55rem; padding-right: .55rem; } }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .95rem; font-weight: 600; color: var(--ink);
  padding: .6rem .8rem; border-radius: var(--r);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { background: var(--beton); color: var(--navy); }
.nav-link.active, .nav-link[aria-current="page"] { background: transparent; color: var(--navy); }
.hdr-nav .nav-link.active::after, .hdr-nav .nav-link[aria-current="page"]::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 3px;
  background: var(--signal); border-radius: 2px;
}
.nav-trigger svg { transition: transform .3s var(--ease); }
.nav-item { position: static; }
.hdr-row { position: relative; }
.nav-item.is-open .nav-trigger { background: var(--beton); }
.nav-item.is-open .nav-trigger svg { transform: rotate(180deg); }

/* Méga-menu Formations */
.mega {
  position: absolute; top: calc(100% - 6px); left: 50%; margin-left: max(-470px, calc(-50% + 1rem));
  width: min(940px, calc(100% - 2rem));
  display: grid; grid-template-columns: 1fr 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(8,27,51,.45), 0 2px 6px rgba(8,27,51,.05);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  overflow: hidden; z-index: 60;
}
.mega::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 1rem; }
.mega-link { display: flex; align-items: center; gap: .8rem; padding: .7rem .75rem; border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.25; transition: background-color .2s; }
.mega-ico { width: 36px; height: 36px; border-radius: var(--r); background: var(--beton); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; transition: background-color .2s, color .2s; }
.mega-ico svg { width: 19px; height: 19px; }
.mega-link:hover, .mega-link:focus-visible { background: var(--beton); color: var(--navy); }
.mega-link:hover .mega-ico, .mega-link:focus-visible .mega-ico { background: var(--navy); color: var(--signal); }
.mega-link[aria-current="page"] .mega-ico { background: var(--signal); }
.mega-side { background: var(--navy); color: #fff; padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; position: relative; }
.mega-side a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .93rem; padding: .45rem 0; display: flex; align-items: center; gap: .5rem; }
.mega-side a:hover { color: var(--signal); }
.mega-side a.mega-main { font-family: var(--f-display); font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.1; padding-bottom: .9rem; margin-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.15); letter-spacing: -.02em; }
.mega-side a.mega-main:hover { color: var(--signal); }

/* Bouton burger */
[data-menu-btn] { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line); background: #fff; color: var(--navy); }
[data-menu-btn][aria-expanded="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Menu mobile plein écran */
.mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--hdr-h)); height: calc(100dvh - var(--hdr-h)); background: #fff; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; z-index: 55; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }
.mm-inner { padding: 1.25rem 1.25rem calc(2rem + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.mm-actions .btn { min-height: 50px; padding: .7rem .6rem; font-size: .98rem; }
.mm-acc { border-bottom: 1px solid var(--line); }
.mm-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-weight: 700; font-size: 1.12rem; color: var(--navy); cursor: pointer; }
.mm-acc summary::-webkit-details-marker { display: none; }
.mm-acc summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); }
.mm-acc[open] summary svg { transform: rotate(180deg); }
.mm-sub { display: flex; flex-direction: column; padding: 0 0 .75rem .9rem; border-left: 2px solid var(--signal); margin: 0 0 .5rem .1rem; }
.mm-sub a { padding: .55rem 0; color: var(--ink); font-size: .98rem; text-decoration: none; }
.mm-sub a[aria-current="page"] { font-weight: 700; color: var(--navy); }
.mm-sub a.mm-all { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; margin-top: .25rem; }
.mm-links { display: flex; flex-direction: column; }
.mm-links a { display: flex; align-items: center; min-height: 56px; font-weight: 700; font-size: 1.12rem; color: var(--navy); border-bottom: 1px solid var(--line); text-decoration: none; }
.mm-links a[aria-current="page"] { color: var(--gold); }
.mm-minor { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.25rem 0 0; }
.mm-minor a { font-size: .9rem; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; padding: .35rem 0; }

/* ---------- Hero (toutes pages) ---------- */
.hero-bg {
  background-image:
    linear-gradient(115deg, rgba(8,27,51,.97) 0%, rgba(15,42,74,.93) 48%, rgba(23,58,99,.82) 100%),
    url('../img/bg/hero-inner.webp');
}
.hero-bg::before {
  background-image: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255,205,28,.10), transparent 60%);
}
.hero-bg::after { height: 0; }
.hero-bg h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem) !important; }
.hero-home h1::after {
  content: ''; display: block; width: clamp(110px, 12vw, 170px); height: clamp(26px, 2.8vw, 40px);
  margin-top: .45em; background: var(--step) no-repeat left bottom / contain;
  clip-path: inset(0 100% 0 0);
  animation: stepDraw 1.1s .35s var(--ease) forwards;
}
@keyframes stepDraw { to { clip-path: inset(0 0 0 0); } }
.hero-bg .text-yellow { color: var(--signal); }
.hero-bg a.text-yellow { color: rgba(255,255,255,.72) !important; text-decoration: none; }
.hero-bg a.text-yellow:hover { color: var(--signal) !important; text-decoration: underline; }
.hero-bg .chip { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); }
.hero-bg .badge-yellow { background: transparent; color: var(--signal); border: 1px solid rgba(255,205,28,.5); padding: .35rem .7rem; }
.hero-bg form { border-radius: var(--r-lg) !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6) !important; }

/* ---------- Hero d'accueil : titre, tarifs publics, vrais plateaux ---------- */
.hero-accueil { background: var(--beton); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--line); }
.ha-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .ha-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4rem; } }
.hero-accueil h1 { color: var(--navy); font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4rem); margin: 0; }
.hero-accueil .ha-accent { color: var(--navy); background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-accueil h1::after { content: none; }
.hero-accueil + section { background: #fff !important; }
.ha-sub { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 34rem; margin: 1.1rem 0 1.8rem; }
.ha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.ha-tel { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; }
.ha-tel svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: background-color .2s, color .2s; }
.ha-tel:hover svg { background: var(--navy); color: var(--signal); }
.ha-tel span { display: flex; flex-direction: column; line-height: 1.15; }
.ha-tel strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ha-tel small { font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.ha-proofs { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
.ha-proofs li { display: flex; align-items: center; gap: .45rem; }
.ha-proofs li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6B47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Le tableau des tarifs : l'argument que les concurrents n'ont pas */
.ha-prices { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 50px -34px rgba(8,27,51,.45); overflow: hidden; }
.ha-prices-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem .9rem; border-bottom: 1px solid var(--line); }
.ha-prices-head h2 { font-size: 1.15rem !important; color: var(--navy); margin: 0; letter-spacing: -.02em; }
.ha-prices-head span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.ha-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.5rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background-color .2s; position: relative; }
.ha-row:hover { background: #F7F8FA; }
.ha-row::after { content: ''; width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); flex-shrink: 0; margin-left: -.25rem; transition: transform .25s var(--ease), border-color .2s; }
.ha-row:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--navy); }
.ha-name { display: flex; flex-direction: column; font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.25; min-width: 0; }
.ha-name small { font-weight: 500; font-size: .83rem; color: var(--muted); margin-top: .1rem; }
.ha-price { margin-left: auto; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ha-price small { font-family: var(--f-body); font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ha-prices-foot { padding: .9rem 1.5rem 1.1rem; background: #FAFAFB; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.ha-prices-foot p { font-size: .76rem; color: var(--muted); margin: 0; max-width: 30rem; line-height: 1.45; }
.ha-prices-foot a.ha-cal { text-decoration-color: var(--line); color: var(--muted); }
.ha-prices-foot a { font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; white-space: nowrap; }

/* Les vrais plateaux techniques, en preuve */
.ha-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.ha-photos figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--beton-2); }
.ha-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ha-photos figure:hover img { transform: scale(1.04); }
.ha-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .85rem .65rem; font-size: .85rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(8,27,51,.78)); }
@media (max-width: 767px) {
  .ha-photos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -1.25rem; padding-right: 1.25rem; }
  .ha-photos::-webkit-scrollbar { display: none; }
  .ha-photos figure { scroll-snap-align: start; }
  .ha-prices-head { flex-direction: column; gap: .15rem; padding: 1.1rem 1.1rem .8rem; }
  .ha-row { padding: .8rem 1.1rem; }
  .ha-prices-foot { padding: .9rem 1.1rem 1rem; }
  .ha-price { font-size: 1rem; }
}
.hero-carousel .hero-dots { background: rgba(8,27,51,.55); }
.hero-carousel .hero-dots span.active { background: var(--signal); }
.hero-stats { gap: 0 !important; max-width: 30rem !important; border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.25rem; }
.hero-stats > div { padding-right: 1rem; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1rem; }
.hero-stats .stat-number { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem) !important; letter-spacing: -.03em; }

/* ---------- Cartes génériques ---------- */
.card { border-radius: var(--r); border-color: var(--line); transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.card:hover { border-color: var(--navy); box-shadow: 0 18px 40px -26px rgba(8,27,51,.5); transform: translateY(-2px); }
div.card:not(a):hover { transform: none; }

/* Les 12 familles : un index, pas une pile de cartes */
.grid:has(> .formation-card) { gap: 0 !important; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.formation-card.card {
  border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.9rem 1.75rem 1.6rem !important; background: #fff; display: flex; flex-direction: column;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.formation-card.card:hover { transform: none; box-shadow: none; background: var(--navy); }
.formation-card .icon-wrap { width: 52px; height: 52px; border-radius: var(--r); background: var(--beton); transition: background-color .35s var(--ease), color .35s, transform .45s var(--ease); }
.formation-card:hover .icon-wrap { background: var(--signal); color: var(--navy); transform: translateY(-3px); }
.formation-card h3 { font-size: 1.35rem !important; letter-spacing: -.025em; transition: color .35s; }
.formation-card:hover h3 { color: #fff; }
.formation-card p { transition: color .35s; }
.formation-card:hover p.text-warm-700 { color: rgba(255,255,255,.75) !important; }
.formation-card:hover .badge { background: rgba(255,255,255,.1); color: #fff; }
.formation-card:hover .badge.badge-yellow { background: var(--signal); color: var(--navy); }
.formation-card > span:last-child { margin-top: auto; color: var(--navy); transition: color .35s; }
.formation-card:hover > span:last-child { color: var(--signal); }
.formation-card:hover > span:last-child svg { transform: translateX(4px); }
.formation-card > span:last-child svg { transition: transform .35s var(--ease); }

/* ---------- Bandeau chiffres ---------- */
section.bg-navy { background: var(--navy); position: relative; overflow: hidden; }
section.bg-navy .stat-number { font-size: clamp(2.8rem, 1.6rem + 4vw, 5rem) !important; letter-spacing: -.04em; }
section.bg-navy > .container-x { position: relative; z-index: 1; }

/* ---------- Certifications ---------- */
.hero-bg + section.bg-warm-50 { background: #fff !important; }

/* ---------- Avis ---------- */

/* ---------- FAQ : une liste nette, pas des bulles ---------- */
.faq-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; background: transparent; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item:hover { border-color: var(--line); }
.faq-item.is-open { box-shadow: none; border-color: var(--line); }
.faq-question { padding: 1.35rem .25rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; gap: 1rem; }
.faq-question:hover { color: var(--navy-2); }
.faq-icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--beton); color: var(--navy); transition: transform .35s var(--ease), background-color .25s; }
.faq-item.is-open .faq-icon { background: var(--signal); }
.faq-answer { transition: max-height .45s var(--ease); }
.faq-answer-inner { padding: 0 3.5rem 1.5rem .25rem; font-size: 1rem; }
section.bg-white .faq-item, section.bg-warm-50 .faq-item { background: transparent; }

/* ---------- Formulaires ---------- */
.form-input, .form-select, .form-textarea { border-radius: var(--r); border: 1.5px solid var(--line); font-size: 16px; min-height: 50px; }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: #AEB8C3; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255,205,28,.45); }
.form-label { font-weight: 700; font-size: .86rem; }
input[type="checkbox"] { accent-color: var(--navy); }
input, textarea { caret-color: var(--navy); }

/* ---------- Bloc d'appel ---------- */
.cta-block {
  border-radius: var(--r-lg);
  background-image:
    linear-gradient(120deg, rgba(8,27,51,.97) 0%, rgba(15,42,74,.92) 60%, rgba(23,58,99,.86) 100%),
    url('../img/bg/cta.webp');
  padding: clamp(2rem, 1.2rem + 3vw, 4rem);
}
.cta-block::before {
  top: auto; right: -10px; bottom: -10px; width: 380px; height: 120px; border-radius: 0;
  background: none;
}

/* ---------- Encadré « En bref » ---------- */
.en-bref { background: #fff; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 2.1rem; position: relative; }
.en-bref::before { content: ''; position: absolute; top: -1px; left: 2.1rem; width: 72px; height: 4px; background: var(--signal); border-radius: 0 0 3px 3px; }
.en-bref dt { font-family: var(--f-display); font-weight: 700; }
.en-bref dl { gap: .7rem 1.5rem; }

/* ---------- Tableaux de tarifs ---------- */
.overflow-x-auto.rounded-xl { border-radius: var(--r) !important; border-color: var(--line) !important; }
table thead.bg-navy th { font-weight: 700; letter-spacing: .005em; }
table tbody tr { transition: background-color .15s; }
table tbody tr:hover { background: #F7F8FA; }
td.text-right, th.text-right { font-variant-numeric: tabular-nums; }

/* ---------- Puces ---------- */
.chip { border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.bg-warm-50 .chip { background: #fff; }

/* ---------- Images ---------- */
.img-wrap { border-radius: var(--r-lg); }

/* ---------- Pied de page ---------- */
footer.bg-navy-dark { position: relative; overflow: hidden; }
footer.bg-navy-dark::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--signal) 0 18%, transparent 18%);
}
footer.bg-navy-dark h4, footer.bg-navy-dark .text-yellow { color: var(--signal) !important; }
footer a { transition: color .2s; }

/* ---------- Barre d'appel mobile ---------- */
.sticky-mobile-cta { border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(8,27,51,.45); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); }
.sticky-mobile-cta .btn { border-radius: var(--r); }

/* ---------- Sommaire collant « Sur cette page » (créé par nav.js) ---------- */
.page-toc {
  position: sticky; top: var(--hdr-h); z-index: 40;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: top .25s ease;
}
.site-header.is-hidden ~ main .page-toc { top: 0; }
.page-toc-inner { display: flex; align-items: center; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: .55rem 0; }
.page-toc-inner::-webkit-scrollbar { display: none; }
.page-toc-label { font-size: .78rem; font-weight: 700; color: var(--gold); white-space: nowrap; padding-right: .5rem; margin-right: .25rem; border-right: 1px solid var(--line); flex-shrink: 0; }
.page-toc a { flex-shrink: 0; font-size: .86rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: .45rem .75rem; border-radius: 999px; white-space: nowrap; max-width: 30ch; overflow: hidden; text-overflow: ellipsis; transition: background-color .2s, color .2s; }
.page-toc a:hover { color: var(--navy); background: var(--beton); }
.page-toc a.is-active { background: var(--navy); color: #fff; }
.page-toc-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--signal); }

/* Retour en haut */
.to-top { position: fixed; right: 1rem; bottom: 1.25rem; z-index: 45; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: var(--signal); display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgba(8,27,51,.7); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; cursor: pointer; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-2); }
@media (max-width: 767px) { .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: .75rem; width: 44px; height: 44px; } }

/* ---------- Mouvement : un seul moment, pas d'apparitions en cascade ---------- */
[data-reveal].animate-fadeup { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-home h1::after { clip-path: none; }
}

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav-link:focus-visible, .mega-link:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 2px; border-radius: var(--r);
}
section.bg-white a:focus-visible, .mega a:focus-visible { outline-color: var(--navy); }

/* ---------- Mobile ---------- */
@media (max-width: 1099px) { :root { --hdr-h: 68px; } .hdr-brand img { width: 40px; height: 40px; } .hdr-name { font-size: 1.15rem; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-bg h1 { font-size: 2.35rem !important; }
  .section-pad h2.text-3xl, .section-pad h2.md\:text-4xl { font-size: 1.9rem !important; }
  .hdr-tag { display: none; }
  .formation-card.card { padding: 1.5rem 1.25rem 1.3rem !important; }
  .faq-question { font-size: 1.02rem; }
  .faq-answer-inner { padding-right: .25rem; }
  .en-bref { padding: 1.5rem 1.25rem; }
}

/* Le sommaire s'estompe à droite : on devine qu'il défile */
.page-toc-inner { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 3rem; }

/* Mobile : le tableau des formations fait doublon avec les 12 familles juste
   en dessous et rallonge le défilement. On le garde pour l'ordinateur. */
@media (max-width: 767px) {
  .ha-prices { display: none; }
  .ha-grid { gap: 0; }
  .hero-accueil + section .container-x { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .hero-accueil + section .flex-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem .75rem; justify-items: start; }
  .hero-accueil + section .flex-wrap > div { font-size: .92rem; }
  .hero-accueil + section .mb-6 { margin-bottom: 1rem; }
}

/* ---------- Panneau de devis des fiches formation (13/10/2026) ----------
   Sur mobile, le formulaire ne s'empile plus sous le titre : la fiche montre d'abord
   durée, prix et programme. Le formulaire s'ouvre dans un panneau depuis « Demander un devis »,
   la barre « Devis gratuit » ou une ligne de tarif (pré-remplie). Sur ordinateur, il reste à
   côté du titre et le panneau ne sert que pour les lignes de tarif. */
@media (max-width: 1023px) { .hero-bg #devis-hero { display: none; } }
.devis-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; }
.devis-sheet.is-open { visibility: visible; }
.devis-sheet__veil { position: absolute; inset: 0; background: rgba(8,27,51,.55); opacity: 0; transition: opacity .25s ease; }
.devis-sheet.is-open .devis-sheet__veil { opacity: 1; }
.devis-sheet__panel { position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 20px 20px 0 0; padding: 1.1rem 1.1rem calc(1.25rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.devis-sheet.is-open .devis-sheet__panel { transform: none; }
@media (min-width: 1024px) {
  .devis-sheet { align-items: center; }
  .devis-sheet__panel { border-radius: 20px; padding: 1.5rem; transform: translateY(16px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
  .devis-sheet.is-open .devis-sheet__panel { opacity: 1; }
}
.devis-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.devis-sheet__title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--navy); margin: 0; }
.devis-sheet__sub { font-size: .9rem; color: #5b6472; margin: .2rem 0 0; }
.devis-sheet__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3e6ea; background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.devis-sheet__choice { display: none; margin-bottom: .9rem; padding: .7rem .9rem; border-radius: 12px; background: #fff7d6; border: 1px solid var(--yellow); color: var(--navy); font-size: .95rem; }
.devis-sheet__choice.is-set { display: block; }
.devis-sheet #devis-hero { display: block; box-shadow: none; padding: 0; }
.devis-sheet__call { display: block; text-align: center; margin-top: .9rem; font-size: .95rem; color: var(--navy); font-weight: 600; }
html.devis-lock, html.devis-lock body { overflow: hidden; }
/* Lignes de tarif cliquables */
tr.tarif-row { cursor: pointer; transition: background-color .15s; }
tr.tarif-row:hover, tr.tarif-row:focus-visible { background: #fff7d6; outline: none; }
tr.tarif-row td:first-child::after { content: " →"; color: #b08900; font-weight: 700; }
.tarif-hint { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--navy); background: #fff7d6; border-radius: 10px; padding: .55rem .8rem; margin: 0 0 .75rem; }
.devis-hero-btn { margin-top: .5rem; }
@media (min-width: 1024px) { .devis-hero-btn { display: none; } }

/* ---------- Prochaines sessions inter-entreprises (15/10/2026) ---------- */
.sessions-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.session-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7e3d8; border-radius: 1.1rem; overflow: hidden; box-shadow: 0 14px 34px -24px rgba(15, 42, 74, .45); transition: transform .2s ease, box-shadow .2s ease; }
.session-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(15, 42, 74, .55); }
.session-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #fff; display: block; border-bottom: 1px solid #efece4; }
.session-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.session-card__dates { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.15rem; line-height: 1.2; color: #0F2A4A; padding-left: .7rem; border-left: 4px solid #FFCD1C; }
.session-card__titre { margin: .35rem 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.05rem; color: #0F2A4A; }
.session-card__precision { margin: 0; font-size: .9rem; color: #5b6472; line-height: 1.35; }
.session-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; min-height: .2rem; }
.session-card__tags span { font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: .2rem .55rem; border-radius: 999px; background: #e9f7ef; color: #15803d; }
.session-card__actions { margin-top: auto; padding-top: .7rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.session-card__actions .btn { padding: .6rem 1rem; font-size: .9rem; }
.session-card__lien { font-size: .85rem; font-weight: 600; color: #0F2A4A; text-decoration: underline; text-underline-offset: 3px; }
.sessions-bandeau { background: linear-gradient(135deg, #0F2A4A, #1a3d66); color: #fff; border-radius: 1.25rem; padding: 1.4rem 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.sessions-bandeau p { margin: 0; }
.nav-link.nav-cal { position: relative; }
.nav-link.nav-cal::after { content: ""; position: absolute; top: .35rem; right: -.15rem; width: 7px; height: 7px; border-radius: 50%; background: #FFCD1C; }
.sessions-passees { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid #e7e3d8; }
.session-card.is-passee { background: #faf9f6; box-shadow: none; }
.session-card.is-passee img { filter: grayscale(1); opacity: .7; }
.session-card.is-passee .session-card__dates { color: #5b6472; border-left-color: #c9c3b4; font-size: 1rem; }
.session-card.is-passee:hover { transform: none; }
.session-card__tags span.is-fini { background: #ece9e1; color: #5b6472; }

/* ---------- Page calendrier : en-tête compact (15/10/2026) ---------- */
.cal-head { padding: 1.6rem 0 2rem; }
.cal-head__fil { display: flex; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .9rem; }
.cal-head__fil a { color: var(--signal, #FFCD1C); text-decoration: none; }
.cal-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.hero-bg.cal-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem) !important; line-height: 1.05; margin: 0 0 .45rem; }
.cal-head__sub { margin: 0; max-width: 42rem; color: rgba(255,255,255,.82); font-size: 1.02rem; }
.cal-head__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cal-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.cal-pill svg { color: var(--signal, #FFCD1C); }
.cal-pill:hover { background: #fff; color: var(--navy); }
.cal-body { padding: 2rem 0 3.5rem; }
.cal-label { margin: 0 0 1rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: .6rem; }
.cal-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.cal-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cal-steps li { display: flex; gap: .85rem; align-items: baseline; color: #3c4250; }
.cal-steps b { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--navy); color: #FFCD1C; display: grid; place-items: center; font-size: .85rem; }
.cal-form { background: #f6f4ef; border: 1px solid #e7e3d8; border-radius: 1.25rem; padding: 1.5rem; }
@media (max-width: 767px) { .cal-head__actions { width: 100%; } .cal-body { padding-top: 1.4rem; } }

/* ---------- Accueil : barre d'appel vers le calendrier ---------- */
.cal-cta { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem .9rem 1.1rem; border-radius: 1rem; background: var(--navy); color: #fff; text-decoration: none; box-shadow: 0 16px 34px -24px rgba(15,42,74,.7); transition: transform .2s ease, box-shadow .2s ease; }
.cal-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -24px rgba(15,42,74,.8); }
.cal-cta__ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: .75rem; background: rgba(255,205,28,.14); color: #FFCD1C; display: grid; place-items: center; }
.cal-cta__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cal-cta__txt strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.02rem; }
.cal-cta__txt span { font-size: .9rem; color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-cta__btn { flex: none; background: #FFCD1C; color: var(--navy); font-weight: 800; font-size: .9rem; padding: .6rem 1rem; border-radius: .7rem; white-space: nowrap; }
@media (max-width: 640px) { .cal-cta { flex-wrap: wrap; } .cal-cta__btn { width: 100%; text-align: center; } .cal-cta__txt span { white-space: normal; } }


/* ---------- Accueil : formulaire de devis final (refonte 15/10/2026) ---------- */
.devis-final { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; background: linear-gradient(135deg, #0a1f38 0%, #0F2A4A 55%, #173a63 100%); border-radius: 1.75rem; padding: clamp(1.5rem, 4vw, 3.25rem); color: #fff; }
.devis-final::before { content: ""; position: absolute; left: -12%; bottom: -40%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,205,28,.13), transparent); pointer-events: none; }
.devis-final > * { position: relative; }
.devis-final__eyebrow { margin: 0 0 .7rem; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #FFCD1C; }
.devis-final h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem) !important; line-height: 1.08 !important; margin: 0 0 1rem; }
.devis-final__lead { margin: 0 0 1.5rem; color: rgba(255,255,255,.8); line-height: 1.55; }
.devis-final__atouts { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .7rem; }
.devis-final__atouts li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.devis-final__atouts svg { flex: none; width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: rgba(255,205,28,.16); color: #FFCD1C; }
.devis-final__contacts { display: grid; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.devis-final__contacts a { display: flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; font-weight: 700; }
.devis-final__contacts a > span:first-child { flex: none; width: 2.5rem; height: 2.5rem; border-radius: .8rem; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background .2s, color .2s; }
.devis-final__contacts a:hover > span:first-child { background: #FFCD1C; color: #0F2A4A; }
.devis-final__contacts small { display: block; font-weight: 500; font-size: .75rem; color: rgba(255,255,255,.6); }
.devis-final__form { background: #fff; color: #1f2430; border-radius: 1.25rem; padding: clamp(1.25rem, 2.5vw, 1.9rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.devis-final__titre { margin: 0 0 1rem; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.35rem; color: #0F2A4A; }
.seg { border: 0; padding: 0; margin: 0 0 1.1rem; }
.seg__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; padding: .25rem; border-radius: .9rem; background: #F2F0EA; }
.seg__opts label { position: relative; cursor: pointer; }
.seg__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opts span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 2.6rem; padding: .35rem .5rem; border-radius: .7rem; font-size: .86rem; font-weight: 600; color: #5b6472; line-height: 1.15; transition: background .2s, color .2s, box-shadow .2s; }
.seg__opts input:checked + span { background: #fff; color: #0F2A4A; box-shadow: 0 4px 12px -6px rgba(15,42,74,.35); }
.seg__opts input:focus-visible + span { outline: 2px solid #0F2A4A; outline-offset: 2px; }
.devis-final__grille { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.devis-final__rgpd { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0 1.1rem; font-size: .78rem; color: #5b6472; line-height: 1.45; cursor: pointer; }
.devis-final__rgpd input { margin-top: .15rem; width: 1.05rem; height: 1.05rem; flex: none; }
.devis-final__rgpd a { color: #0F2A4A; font-weight: 700; text-decoration: underline; }
.devis-final__note { margin: .7rem 0 0; text-align: center; font-size: .8rem; color: #5b6472; }
@media (max-width: 900px) { .devis-final { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .devis-final__grille { grid-template-columns: 1fr; } .devis-final { border-radius: 1.25rem; } }

/* ---------- Blocs « En bref » : grille de cases (refonte 15/10/2026) ---------- */
.en-bref { padding: 1.6rem 1.6rem 1.4rem !important; border-radius: 1.25rem !important; box-shadow: 0 18px 40px -34px rgba(15,42,74,.45); }
.en-bref::before { left: 1.6rem !important; }
.en-bref > h2 { font-size: .78rem !important; font-weight: 800 !important; letter-spacing: .16em; text-transform: uppercase; color: #a88200 !important; margin: 0 0 1rem !important; font-family: var(--f-body, inherit) !important; }
.en-bref dl { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: .75rem !important; margin: 0; }
.en-bref .eb-item { background: #F8F6F1; border: 1px solid #EFECE4; border-radius: .9rem; padding: .85rem 1rem; }
.en-bref .eb-item dt { font-family: var(--f-body, inherit) !important; font-size: .72rem; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase; color: #5b6472 !important; margin: 0 0 .3rem; }
.en-bref .eb-item dd { margin: 0 !important; font-size: .93rem; line-height: 1.5; color: #0F2A4A !important; }
@media (max-width: 640px) { .en-bref { padding: 1.25rem 1.1rem 1.1rem !important; } .en-bref dl { grid-template-columns: 1fr !important; gap: .55rem !important; } }
