/* =========================================================
   super-jeanbrun.fr — design tokens & base
   ========================================================= */

:root {
  /* — color palette — */
  --ink:        #0E1430;   /* deep navy ink */
  --ink-2:      #1A2148;   /* secondary navy */
  --ink-3:      #2A3260;
  --cream:      #F2EBDD;   /* warm off-white */
  --cream-2:    #E8DFCB;
  --paper:      #FAF6EE;
  --line:       rgba(14,20,48,.12);
  --line-cream: rgba(242,235,221,.18);

  --magenta:    #E94B7F;
  --coral:      #F2966E;
  --cobalt:     #4B6FE9;
  --violet:     #8B5BE9;
  --mint:       #6BD3B5;
  --sun:        #F6C75A;

  /* — brand blue (super-jeanbrun signature gradient) — */
  --brand:        #28A5ED;
  --brand-50:     #E6F4FD;
  --brand-100:    #C5E5FA;
  --brand-200:    #9DD3F6;
  --brand-300:    #6FC3F2;
  --brand-400:    #4AB4F0;
  --brand-500:    #28A5ED;   /* base */
  --brand-600:    #1888CD;
  --brand-700:    #1276B0;
  --brand-800:    #0A4D78;
  --brand-900:    #073553;
  --brand-gradient: radial-gradient(circle at 30% 30%, var(--brand-200) 0%, var(--brand-500) 45%, var(--brand-700) 78%, var(--brand-900) 100%);
  --brand-gradient-linear: linear-gradient(135deg, var(--brand-300), var(--brand-500) 50%, var(--brand-800));

  /* tinted pastels (for cards) */
  --tint-pink:    #FBE3EA;
  --tint-peach:   #FCEAD9;
  --tint-blue:    #E4ECFD;
  --tint-violet:  #ECE3FB;
  --tint-mint:    #DEF3EA;
  --tint-sun:     #FBEFCF;

  /* — type — */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans:    "Inter", system-ui, sans-serif;

  /* — radii & shadows — */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;
  --shadow-lg: 0 30px 60px -30px rgba(14,20,48,.35), 0 12px 30px -12px rgba(14,20,48,.18);
  --shadow-sm: 0 6px 18px -6px rgba(14,20,48,.18);

  /* — layout — */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =========================================================
   typography
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.h-display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.h-1 { font-size: clamp(40px, 5.2vw, 76px); }
.h-2 { font-size: clamp(32px, 3.8vw, 56px); }
.h-3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  opacity: 0.7;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}
.eyebrow.on-dark { color: var(--cream); opacity: 0.75; }

.lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(14,20,48,.72);
  max-width: 56ch;
  text-wrap: pretty;
}
.lede.on-dark { color: rgba(242,235,221,.78); }

.italic-script {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
}

/* =========================================================
   layout helpers
   ========================================================= */

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

section {
  padding: clamp(72px, 9vw, 140px) 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 900px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .eyebrow { align-self: flex-start; }

/* =========================================================
   buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 16px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: currentColor;
  display: grid; place-items: center;
  margin-left: 2px;
}
.btn .arrow svg { color: var(--cream); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary .arrow { background: #00D4FF; }
.btn-primary .arrow svg { color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); }

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-cream .arrow { background: var(--ink); }
.btn-cream .arrow svg { color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14,20,48,.18);
}
.btn-ghost:hover { background: rgba(14,20,48,.04); }

.btn-ghost.on-dark { color: var(--cream); border-color: rgba(242,235,221,.24); }
.btn-ghost.on-dark:hover { background: rgba(242,235,221,.06); }

/* =========================================================
   chip / tag
   ========================================================= */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  background: rgba(14,20,48,.06);
  color: var(--ink);
  border: 1px solid rgba(14,20,48,.08);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.chip.on-dark { background: rgba(242,235,221,.08); color: var(--cream); border-color: rgba(242,235,221,.14); }

/* =========================================================
   nav
   ========================================================= */

.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 40;
  padding: 0 var(--gutter);
  margin-top: 16px;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(250,246,238,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(14,20,48,.08);
  border-radius: var(--r-pill);
  padding: 10px 12px 10px 24px;
  box-shadow: 0 12px 30px -16px rgba(14,20,48,.18);
  position: relative;
}

.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.nav .brand .mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: inset 0 0 0 1px rgba(14,20,48,.12);
}
.nav .brand .sup {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
  font-family: var(--sans);
}

.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav li a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  display: inline-block;
  transition: background .2s;
}
.nav li a:hover { background: rgba(14,20,48,.06); }
.nav li a[aria-current="page"] {
  background: rgba(14,20,48,.06);
}

.nav .btn { padding: 10px 14px 10px 18px; font-size: 14px; }

/* hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(14,20,48,.14);
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: auto;
  color: var(--ink);
  transition: background .2s;
}
.nav-toggle:hover { background: rgba(14,20,48,.05); }
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, top .2s ease, opacity .15s ease;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle .bars::after  { position: absolute; top:  6px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  display: none;
  position: absolute;
  left: 6px; right: 6px;
  top: calc(100% + 10px);
  background: var(--cream);
  border: 1px solid rgba(14,20,48,.10);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 24px 50px -20px rgba(14,20,48,.25), 0 8px 24px -12px rgba(14,20,48,.15);
  transform-origin: top center;
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .18s ease;
}
.mobile-menu.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu li a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 16.5px;
  transition: background .15s;
}
.mobile-menu li a:hover { background: rgba(14,20,48,.05); }
.mobile-menu .btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
}

/* === DESKTOP HIDE === */
@media (max-width: 920px) {
  .nav > ul { display: none; }
  .nav > .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
}

/* =========================================================
   liquid blob (mood board)
   ========================================================= */

.blob {
  position: absolute;
  pointer-events: none;
  filter: blur(0.5px);
}

/* topographic lines container */
.topo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.7;
}
.topo svg { position: absolute; width: 140%; height: auto; }

/* =========================================================
   dark sections
   ========================================================= */

.dark {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.dark .eyebrow { color: var(--cream); opacity: 0.75; }
.dark .lede { color: rgba(242,235,221,.72); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }

/* =========================================================
   cards
   ========================================================= */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card .num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.45;
}

/* tinted pastel cards (Ekobyte-inspired pastel grid, original styling) */
.tint-card {
  border-radius: var(--r-lg);
  padding: 36px 32px;
  border: 1px solid rgba(14,20,48,.05);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease;
}
.tint-card:hover { transform: translateY(-4px); }
.tint-card .ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(14,20,48,.06);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--ink);
}
.tint-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.tint-card p {
  color: rgba(14,20,48,.7);
  font-size: 15.5px;
  margin: 0;
}
.tint-card .corner {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  opacity: 0.35;
  letter-spacing: 0.06em;
}

.tc-pink   { background: var(--tint-pink); }
.tc-peach  { background: var(--tint-peach); }
.tc-blue   { background: var(--tint-blue); }
.tc-violet { background: var(--tint-violet); }
.tc-mint   { background: var(--tint-mint); }
.tc-sun    { background: var(--tint-sun); }

/* =========================================================
   stat number
   ========================================================= */

.stat-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-500) 50%, var(--brand-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-big.alt {
  background: linear-gradient(135deg, var(--brand-200), var(--brand-500) 45%, var(--brand-900));
  -webkit-background-clip: text;
  background-clip: text;
}

/* =========================================================
   footer
   ========================================================= */

footer {
  background: var(--ink);
  color: var(--cream);
  padding: 100px var(--gutter) 40px;
  position: relative;
  overflow: hidden;
}
footer .foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  position: relative;
}
@media (max-width: 880px) {
  footer .foot-grid { grid-template-columns: 1fr 1fr; }
}
footer h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 18px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer a:hover { color: var(--coral); }
footer .legal {
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-cream);
  display: flex; justify-content: space-between;
  font-size: 13px; opacity: 0.6;
  flex-wrap: wrap; gap: 12px;
}

/* =========================================================
   accordion
   ========================================================= */

.acc {
  border-top: 1px solid var(--line);
}
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex; align-items: center; gap: 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  transition: transform .3s, background .3s;
}
.acc-item[open] summary::after { content: "–"; background: #00D4FF; color: var(--ink); }
.acc-item .acc-body {
  padding: 0 70px 28px 0;
  color: rgba(14,20,48,.72);
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}

/* =========================================================
   noise / grain overlay
   ========================================================= */

.grain::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* =========================================================
   form (guide page)
   ========================================================= */

.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}
.field input,
.field select {
  font: inherit;
  font-size: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14,20,48,.06);
}
.field .hint { font-size: 12.5px; opacity: 0.55; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(14,20,48,.72);
}
.checkbox input { margin-top: 3px; accent-color: var(--ink); }
.checkbox a { text-decoration: underline; }

/* =========================================================
   small utilities
   ========================================================= */

.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.cluster { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.muted { color: rgba(14,20,48,.6); }
.muted.on-dark { color: rgba(242,235,221,.6); }
.divider { height: 1px; background: var(--line); }
.divider.on-dark { background: var(--line-cream); }
.center { text-align: center; }

/* avatar group */
.avatars { display: flex; }
.avatars .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: var(--ink-3);
  margin-left: -10px;
  background-size: cover; background-position: center;
}
.avatars .av:first-child { margin-left: 0; }
.avatars .av:nth-child(1) { background: radial-gradient(circle at 30% 30%, #F7C2A4, #C97A55); }
.avatars .av:nth-child(2) { background: radial-gradient(circle at 40% 35%, #FFD8B0, #B97A4E); }
.avatars .av:nth-child(3) { background: radial-gradient(circle at 35% 30%, #EDC4A0, #8B5C3F); }
.avatars .av:nth-child(4) { background: radial-gradient(circle at 30% 30%, #FFE4D0, #D49677); }

/* gradient pill ring */
.ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 180deg, var(--brand-200), var(--brand-400), var(--brand-600), var(--brand-800), var(--brand-600), var(--brand-400), var(--brand-200));
  display: grid; place-items: center;
}
.ring > * {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
}
.ring.on-dark > * { background: var(--ink); color: var(--cream); }

/* =========================================================
   MOBILE-FIRST RESPONSIVE OVERRIDES
   ========================================================= */

/* --- TABLET (≤ 880px) — stack two-column hero/page layouts --- */
@media (max-width: 880px) {
  section { padding: clamp(56px, 9vw, 96px) 0; }

  /* every common 2-col grid pattern → single column */
  section [style*="grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr)"],
  section [style*="grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr)"],
  section [style*="grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr)"],
  section [style*="grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr)"],
  section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: clamp(32px, 5vw, 48px) !important;
  }

  /* footer 4-col → 2-col */
  footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }

  /* hero blob region: keep aspect but cap height */
  section [style*="aspect-ratio: 1/1.05"] { min-height: 0 !important; aspect-ratio: 1 / 0.9 !important; }
}

/* --- MOBILE (≤ 640px) --- */
@media (max-width: 640px) {
  :root {
    --gutter: 18px;
    --r-lg: 22px;
    --r-xl: 28px;
    --maxw: 100%;
  }

  body { font-size: 16px; line-height: 1.5; }

  section { padding: 48px 0; }

  /* type scale */
  .h-display { font-size: clamp(40px, 12vw, 60px) !important; line-height: 0.95 !important; letter-spacing: -0.035em !important; }
  .h-1 { font-size: clamp(32px, 9vw, 44px); line-height: 1; }
  .h-2 { font-size: clamp(26px, 7.5vw, 36px); line-height: 1.02; }
  .h-3 { font-size: 20px !important; line-height: 1.15; }
  .lede { font-size: 16px !important; line-height: 1.5; }
  .eyebrow { font-size: 11.5px; letter-spacing: 0.16em; }
  .eyebrow::before { width: 18px; }

  /* stat numbers — tame them */
  .stat-big { font-size: clamp(40px, 12vw, 60px) !important; line-height: 0.95 !important; }

  /* buttons */
  .btn { padding: 13px 18px 13px 20px; font-size: 14.5px; gap: 8px; }
  .btn .arrow { width: 22px; height: 22px; }
  .row .btn { width: 100%; justify-content: center; }
  .row { gap: 12px !important; }

  /* nav */
  .nav-wrap { top: 10px; margin-top: 10px; padding: 0 14px; }
  .nav { padding: 8px 8px 8px 14px; gap: 10px; }
  .nav .brand { font-size: 16px; gap: 8px; }
  .nav .brand .mark { width: 28px; height: 28px; }
  .nav .brand .sup { font-size: 9.5px; margin-bottom: 2px; }

  /* section heads */
  .section-head { gap: 14px; margin-bottom: 32px; }

  /* === HERO === */
  /* press strip */
  section [style*="margin-top: clamp(60px, 8vw, 100px)"] {
    margin-top: 40px !important;
    padding-top: 28px !important;
    gap: 20px 24px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  section [style*="opacity: 0.55"][style*="font-size: 18px"] {
    gap: 18px !important;
    font-size: 14px !important;
    flex-wrap: wrap !important;
  }

  /* hero blob area — slimmer */
  section [style*="aspect-ratio: 1 / 0.9"] { aspect-ratio: 1 / 0.85 !important; }

  /* floating hero badges — shrink */
  section [style*="rotate(-3deg)"][style*="border-radius: 20px"] { padding: 10px 12px !important; gap: 8px !important; }
  section [style*="rotate(-3deg)"][style*="border-radius: 20px"] span[style*="font-size: 28px"] { font-size: 22px !important; }
  section [style*="rotate(2deg)"][style*="border-radius: 18px"] { padding: 10px 12px !important; gap: 8px !important; }

  /* award stamp - smaller */
  section [aria-hidden="true"][style*="width: 110px; height: 110px"] { width: 88px !important; height: 88px !important; }

  /* dispositif cards padding */
  article[style*="border-radius: var(--r-lg)"][style*="padding: 40px"] { padding: 28px 24px !important; }

  /* equation row */
  section [style*="padding: 32px 40px"][style*="border-radius: var(--r-lg)"] { padding: 28px 20px !important; gap: 10px !important; }
  section [style*="font-size: clamp(28px, 3vw, 44px)"] { font-size: 28px !important; }

  /* dispositif dl stat block */
  article dl[style*="grid-template-columns: 1fr 1fr"] { gap: 16px 18px !important; }
  article dl .stat-big { font-size: 36px !important; }

  /* === CUMUL section === */
  /* 4 numbered steps — remove side borders & make rows full-width */
  ol[style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
  ol[style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"] li {
    padding: 24px 0 22px 0 !important;
    border-right: 0 !important;
  }

  /* compare strip → stack */
  section [style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"] { grid-template-columns: 1fr !important; }
  section [style*="background: var(--ink-2)"][style*="padding: 28px 24px"] { padding: 24px 20px !important; }
  section [style*="background: var(--ink)"][style*="padding: 28px 24px"] { padding: 24px 20px !important; }

  /* === AVANTAGES + PROFILS cards === */
  section [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"],
  section [style*="grid-template-columns: repeat(auto-fit, minmax(360px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
  .tint-card { padding: 28px 24px; }
  .tint-card h3 { font-size: 20px; }
  .tint-card .ic { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }

  /* === CHIFFRES CLÉS === */
  section [style*="border-radius: var(--r-xl)"][style*="padding: clamp(48px, 6vw, 80px)"] {
    padding: 36px 24px !important;
  }
  section [style*="grid-template-columns: 1fr 1fr"][style*="gap: 28px 40px"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 20px !important;
  }
  section [style*="grid-template-columns: 1fr 1fr"][style*="gap: 28px 40px"] .stat-big { font-size: 44px !important; }

  /* === FAQ === */
  .acc-item summary { padding: 22px 0; font-size: 18px !important; gap: 14px; }
  .acc-item summary::after { width: 38px; height: 38px; font-size: 24px; flex-shrink: 0; }
  .acc-item .acc-body { padding: 0 0 22px 0; font-size: 15px; }

  /* === CTA FINAL dark inner block === */
  section .dark[style*="border-radius: var(--r-xl)"] { padding: 44px 24px !important; }
  section .dark[style*="border-radius: var(--r-xl)"] .h-display { font-size: clamp(36px, 10vw, 48px) !important; }
  section .dark[style*="border-radius: var(--r-xl)"] .row { flex-direction: column; align-items: flex-start; }
  section .dark[style*="border-radius: var(--r-xl)"] .row .btn { width: 100%; }

  /* === FOOTER === */
  footer { padding: 56px var(--gutter) 32px; }
  footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  footer .legal { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 40px; }
  footer .brand { font-size: 18px !important; }

  /* === GUIDE PAGE === */
  /* hero curved divider — tweak */
  /* breadcrumb wrap */
  nav[aria-label="Fil d'Ariane"] { font-size: 12.5px !important; flex-wrap: wrap; }

  /* guide cover smaller */
  div[style*="width: 280px"][style*="aspect-ratio: 1/1.4"] { width: 220px !important; }
  div[style*="position: absolute"][style*="380px"][style*="380px"] {
    width: 280px !important; height: 280px !important;
  }
  div[style*="rotate(6deg)"][style*="background: var(--coral)"] { padding: 8px 12px !important; font-size: 12px !important; }

  /* form inputs — stack name fields */
  form [style*="grid-template-columns: 1fr 1fr"],
  form [style*="grid-template-columns: 1.3fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .field input, .field select { padding: 14px 16px; font-size: 15.5px; }

  /* form card padding */
  div[style*="border-radius: var(--r-lg)"][style*="box-shadow: var(--shadow-lg)"] {
    padding: 24px 20px !important;
  }

  /* sticky form — release on mobile so it scrolls naturally */
  div[style*="position: sticky"][style*="top: 100px"] { position: static !important; }

  /* author / social proof rows wrap nicer */
  div[style*="background: var(--cream-2)"][style*="display: flex"][style*="gap: 18px"] { flex-direction: column; align-items: flex-start; }

  /* guide trust stats */
  section[class="dark grain"] [style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 20px !important;
  }
  section[class="dark grain"] .stat-big[style*="font-size: 56px"] { font-size: 36px !important; }

  /* h-display in guide hero */
  h1.h-display[style*="font-size: clamp(48px, 7vw, 96px)"] { font-size: clamp(36px, 10vw, 52px) !important; }
}

/* --- VERY SMALL (≤ 380px) --- */
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .h-display { font-size: 36px !important; }
  .h-1 { font-size: 30px !important; }
  footer .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav .brand .sup { display: none; }
  article dl[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}
