/* ==========================================================
   SOS Business — landing
   Palette : crème #FAF2EA · bleu nuit #142A3B · corail #FF604D · citron #DDF45B
   ========================================================== */

:root {
  --cream: #FAF2EA;
  --cream-2: #F3E7DA;
  --paper: #FFFBF6;
  --navy: #142A3B;
  --navy-2: #1E3A50;
  --navy-soft: #4A5C6B;
  --coral: #FF604D;
  --coral-ink: #C43B2B;      /* corail lisible pour petits textes (contraste AA) */
  --citron: #DDF45B;
  --line: rgba(20, 42, 59, .12);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgba(20,42,59,.06), 0 12px 32px -12px rgba(20,42,59,.18);
  --shadow-hard: 4px 4px 0 var(--navy);
  --wrap: 1180px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 900; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- Icônes ---------- */
.ico { width: 1em; height: 1em; flex: none; }
.ico use, .ico path, .ico circle, .ico rect, .ico line, .ico polyline { vector-effect: non-scaling-stroke; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--navy-soft); max-width: 60ch; }
.mark {
  background: linear-gradient(transparent 58%, var(--citron) 58%, var(--citron) 92%, transparent 92%);
  padding-inline: .06em;
}
.swoosh { position: relative; white-space: nowrap; }
.swoosh::after {
  content: ""; position: absolute; left: 4%; right: 30%; bottom: -.16em; height: .14em;
  background: var(--coral); border-radius: 99px; transform: rotate(-2deg);
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 780px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--coral); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--navy); border-radius: 999px;
  font-weight: 800; font-size: 1.0625rem; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn .ico { font-size: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; box-shadow: 3px 3px 0 var(--navy); }
.btn--citron { --bg: var(--citron); }
.btn--ghost-dark { --bg: transparent; --fg: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--coral); }
.link {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 800; text-decoration: none; color: var(--navy);
  border-bottom: 2px solid var(--coral); padding-bottom: 2px;
}
.link:hover { color: var(--coral-ink); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mascot { width: 42px; height: 42px; transition: transform .5s var(--ease); }
.logo:hover .logo__mascot { transform: rotate(30deg); }
.logo__word { font-weight: 900; font-size: 1.6rem; letter-spacing: -.045em; line-height: 1; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9375rem;
  transition: background .15s;
}
.nav a:hover { background: var(--cream-2); }
@media (max-width: 920px) { .nav { display: none; } .header .btn { margin-left: auto; } }
@media (max-width: 420px) { .header .btn span { display: none; } .header .btn { padding: 0 14px; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); letter-spacing: -.04em; }
.hero h1 .l2 { display: block; }
.hero__sub { margin-top: 24px; font-size: clamp(1.125rem, 1.7vw, 1.3rem); color: var(--navy-soft); max-width: 34em; }
.hero__sub strong { color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--paper); border: 1.5px solid var(--line);
  font-weight: 700; font-size: .9375rem;
}
.chip .ico { font-size: 1.25rem; color: var(--coral); stroke-width: 2.5; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

.video {
  position: relative; border-radius: 28px; background: var(--paper);
  border: 2px solid var(--navy); box-shadow: 8px 8px 0 var(--navy);
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy);
}
.video video { width: 100%; height: 100%; object-fit: cover; }
/* Commandes : en bas à droite (la mascotte du hero occupe le coin gauche) */
.video__ui {
  position: absolute; right: 12px; bottom: 12px; left: 72px;
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
}
.video__track { flex: 1; max-width: 220px; height: 5px; border-radius: 5px; background: rgba(250,242,234,.35); overflow: hidden; }
.video__track i { display: block; height: 100%; width: 0; background: var(--citron); transition: width .25s linear; }
.vbtn {
  width: 44px; height: 44px; border-radius: 50%; flex: none; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: var(--cream); color: var(--navy); border: 2px solid var(--navy);
  box-shadow: 2px 2px 0 var(--navy); transition: transform .15s var(--ease), background .15s;
}
.vbtn:hover { transform: translate(-1px, -1px); background: var(--citron); }
.vbtn .ico { font-size: 20px; }
.vbtn--sound[aria-pressed="false"] { background: var(--coral); }
.vbtn--sound[aria-pressed="false"]:hover { background: var(--citron); }
.hero__visual { position: relative; }
.hero__visual .sticker {
  position: absolute; z-index: 2; right: -8px; top: -22px;
  background: var(--citron); border: 2px solid var(--navy); border-radius: 999px;
  padding: 8px 16px; font-weight: 800; font-size: .875rem; rotate: 4deg;
  box-shadow: 3px 3px 0 var(--navy);
}
.hero__mascot {
  position: absolute; z-index: 2; left: -34px; bottom: -36px; width: 104px; height: 104px;
  animation: bob 4.5s ease-in-out infinite;
  filter: drop-shadow(3px 4px 0 rgba(20,42,59,.9));
}
.hero__blob {
  position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -80px;
  background: radial-gradient(closest-side, rgba(221,244,91,.55), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mascot { left: auto; right: 10px; bottom: auto; top: -46px; width: 80px; height: 80px; }
  .hero__visual .sticker { left: 12px; right: auto; top: -18px; }
}

/* ---------- Bandeau 3 verbes ---------- */
.band { background: var(--navy); color: var(--cream); }
.band__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.band__item {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 26px 16px; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.4rem);
}
.band__item + .band__item { border-left: 1px solid rgba(250,242,234,.18); }
.band__item .ico { font-size: 1.6em; }
.band__item:nth-child(1) .ico, .band__item:nth-child(3) .ico { color: var(--citron); }
.band__item:nth-child(2) .ico { color: var(--coral); }
@media (max-width: 600px) {
  .band__item { flex-direction: column; gap: 6px; padding: 20px 6px; font-size: .95rem; }
}

/* ---------- Problèmes ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 0; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(20,42,59,.25); }
.pcard__ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: var(--cream); font-size: 30px; color: var(--navy);
}
.pcard h3 { margin-top: 18px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 800; }
.pcard__fix {
  margin: 22px -24px 0; padding: 16px 24px;
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--citron); border-top: 1.5px solid var(--navy);
  font-weight: 700; font-size: .975rem; line-height: 1.4;
  margin-top: auto;
}
.pcard h3 { margin-bottom: 22px; }
.pcard__fix .ico { font-size: 1.2rem; margin-top: 1px; }
.problems__note { margin-top: 28px; color: var(--navy-soft); font-weight: 600; }
@media (max-width: 960px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Prestations ---------- */
.services { background: var(--paper); border-block: 1.5px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  padding: clamp(24px, 3vw, 36px); border-radius: 26px;
  background: var(--cream); border: 1.5px solid var(--line);
}
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__ico {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px;
  background: var(--navy); color: var(--citron); font-size: 36px;
}
.svc:nth-child(even) .svc__ico { color: var(--coral); }
.svc__num { font-weight: 900; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--navy); opacity: .35; letter-spacing: -.04em; }
.svc h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.svc__list { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.svc__list li { padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; }
.deliv {
  margin-top: 8px; border-radius: 18px; background: var(--paper);
  border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); overflow: hidden;
}
.deliv__label {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--navy); color: var(--cream); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.deliv__label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--citron); }
.deliv__label em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; opacity: .7; }
.deliv__body { padding: 16px; font-size: .9rem; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* livrable 1 : priorités */
.prio li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.prio li:last-child { border-bottom: 0; }
.prio b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: var(--cream); font-size: .8rem; }
.tag { margin-left: auto; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.tag--c { background: var(--coral); color: var(--navy); }
.tag--y { background: var(--citron); }
.tag--n { background: var(--cream-2); }

/* livrable 2 : tournée */
.route { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.route figure { margin: 0; }
.route svg { width: 100%; height: auto; background: var(--cream); border-radius: 12px; }
.route figcaption { margin-top: 6px; font-weight: 700; font-size: .8125rem; display: flex; justify-content: space-between; }

/* livrable 3 : tableau de bord */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { padding: 10px; border-radius: 12px; background: var(--cream); }
.kpi small { display: block; font-size: .72rem; font-weight: 700; color: var(--navy-soft); }
.kpi strong { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
.bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 10px; background: var(--cream); border-radius: 12px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--navy); transform-origin: bottom; }
.bars span:nth-child(5n) { background: var(--coral); }
.bars span:last-child { background: var(--citron); outline: 1.5px solid var(--navy); }
.in .bars span { animation: grow 1s var(--ease) both; }
.bars span:nth-child(2) { animation-delay: .06s } .bars span:nth-child(3) { animation-delay: .12s }
.bars span:nth-child(4) { animation-delay: .18s } .bars span:nth-child(5) { animation-delay: .24s }
.bars span:nth-child(6) { animation-delay: .3s }  .bars span:nth-child(7) { animation-delay: .36s }
.bars span:nth-child(8) { animation-delay: .42s }

/* livrable 4 : automatisation */
.flow { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 10px; align-items: center; }
.flow__form { padding: 10px; border-radius: 12px; background: var(--cream); display: grid; gap: 6px; }
.flow__form i { display: block; height: 9px; border-radius: 4px; background: rgba(20,42,59,.14); }
.flow__form i:nth-child(2) { width: 70%; } .flow__form i:nth-child(3) { width: 85%; }
.flow__form b { justify-self: start; padding: 3px 10px; border-radius: 99px; background: var(--coral); font-size: .72rem; }
.flow__arrow { position: relative; width: 44px; height: 4px; background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 10px); border-radius: 2px; }
.flow__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 7px solid transparent; border-left-color: var(--navy); border-right: 0; }
.flow__arrow i { position: absolute; top: -4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 2px solid var(--navy); animation: travel 3.2s var(--ease) infinite; }
.flow__table { border-radius: 12px; background: var(--cream); overflow: hidden; font-size: .78rem; }
.flow__table div { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.flow__table div:first-child { font-weight: 800; background: var(--cream-2); }
.flow__table .new { background: var(--citron); font-weight: 700; animation: rowIn 3.2s var(--ease) infinite; }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } .flow__arrow { transform: rotate(90deg); justify-self: center; margin-block: 8px; } }

/* ---------- Métiers (bande citron sur bleu nuit) ---------- */
.trades { background: var(--navy); color: var(--cream); padding-block: clamp(56px, 7vw, 88px); overflow: hidden; }
.trades__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.trades h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 20ch; }
.trades h2 .c { color: var(--citron); }
.trades p { color: rgba(250,242,234,.75); max-width: 38ch; }
.marquee { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee + .marquee { margin-top: 14px; animation-direction: reverse; }
.trade {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px;
  border: 1.5px solid rgba(221,244,91,.35); border-radius: 999px; white-space: nowrap; font-weight: 700;
}
.trade .ico { font-size: 30px; color: var(--citron); }
.marquee + .marquee .trade .ico { color: var(--coral); }

/* ---------- Exemples ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 12px; border-radius: 999px; cursor: pointer;
  background: var(--paper); border: 2px solid var(--navy); font-weight: 800;
  transition: background .15s, transform .15s;
}
.tab .ico { font-size: 28px; color: var(--coral); }
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--cream); box-shadow: 3px 3px 0 var(--coral); }
.tab[aria-selected="true"] .ico { color: var(--citron); }
.case {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  border: 2px solid var(--navy); border-radius: 28px; overflow: hidden; background: var(--paper);
  box-shadow: 8px 8px 0 var(--navy);
}
.case[hidden] { display: none; }
.case__visual { position: relative; background: var(--cream); padding: 28px; display: grid; gap: 18px; align-content: start; border-right: 2px solid var(--navy); }
.case__visual img { border-radius: 18px; mix-blend-mode: multiply; }
.badge-illus {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px; border: 1.5px dashed var(--navy);
  font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.case__body { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 24px; align-content: start; }
.case__body h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.steps4 { counter-reset: s; display: grid; gap: 0; }
.steps4 li {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 18px;
}
.steps4 li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 2px; background: repeating-linear-gradient(var(--navy) 0 5px, transparent 5px 9px); opacity: .5; }
.steps4 .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--navy); font-size: 22px; }
.steps4 li:nth-child(4) .n { background: var(--citron); }
.steps4 h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--coral-ink); margin-top: 2px; }
.steps4 p { font-weight: 600; line-height: 1.45; margin-top: 4px; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case__visual { border-right: 0; border-bottom: 2px solid var(--navy); }
}

/* mocks dans les exemples */
.mock { border-radius: 16px; background: var(--paper); border: 1.5px solid var(--navy); overflow: hidden; font-size: .78rem; }
.mock__top { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--navy); color: var(--cream); font-weight: 700; }
.mock__top i { width: 8px; height: 8px; border-radius: 50%; background: rgba(250,242,234,.35); }
.mock__top span { margin-left: 6px; }
.plan { display: grid; grid-template-columns: 54px repeat(5, 1fr); gap: 4px; padding: 10px; }
.plan > b { font-weight: 800; text-align: center; color: var(--navy-soft); }
.plan > em { font-style: normal; font-weight: 700; color: var(--navy-soft); align-self: center; }
.plan > span { height: 26px; border-radius: 6px; background: var(--cream); }
.plan .z1 { background: var(--coral); } .plan .z2 { background: var(--citron); } .plan .z3 { background: var(--navy); }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.kanban > div { background: var(--cream); border-radius: 8px; padding: 6px; display: grid; gap: 5px; align-content: start; min-height: 110px; }
.kanban h5 { margin: 0 0 2px; font-size: .7rem; font-weight: 800; }
.kanban p { padding: 5px 6px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .7rem; line-height: 1.25; }
.kanban p.hl { background: var(--citron); border-color: var(--navy); }
.mini-dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; }
.mini-dash .kpi strong { font-size: 1.1rem; }
.mini-dash .row { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--cream); font-weight: 600; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.person {
  display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center;
  padding: 24px; border-radius: 26px; background: var(--paper); border: 1.5px solid var(--line);
}
.person__ph {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 2.4rem; border: 2px solid var(--navy); overflow: hidden;
}
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person:nth-child(1) .person__ph { background: var(--coral); }
.person:nth-child(2) .person__ph { background: var(--citron); }
.person h3 { font-size: 1.6rem; }
.person .role { margin-top: 4px; font-weight: 700; color: var(--coral-ink); }
.person p:not(.role) { margin-top: 8px; color: var(--navy-soft); font-size: .975rem; }
.team__aside {
  padding: 26px; border-radius: 26px; background: var(--navy); color: var(--cream);
  display: grid; gap: 14px; align-content: center;
}
.team__aside strong { font-size: 1.35rem; line-height: 1.25; }
.team__aside p { color: rgba(250,242,234,.78); }
.team__aside .btn { justify-self: start; }
.team__text { grid-column: span 2; align-self: center; display: grid; gap: 18px; max-width: 62ch; }
.team__text p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--navy-soft); }
.team__text .link { justify-self: start; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr 1fr; } .team__aside { grid-column: 1 / -1; } .team__text { grid-column: 1 / -1; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } .person { grid-template-columns: 84px 1fr; } .person__ph { width: 84px; height: 84px; font-size: 1.8rem; } }

/* ---------- Méthode ---------- */
.method { background: var(--paper); border-block: 1.5px solid var(--line); overflow: hidden; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 10px, transparent 10px 18px); opacity: .35;
}
.tstep { position: relative; display: grid; gap: 12px; justify-items: start; }
.tstep__n {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); border: 2px solid var(--navy); font-weight: 900; font-size: 1.5rem;
  box-shadow: 3px 3px 0 var(--navy);
}
.tstep:nth-child(1) .tstep__n { background: var(--citron); }
.tstep:nth-child(5) .tstep__n { background: var(--coral); }
.tstep h3 { font-size: 1.35rem; }
.tstep p { color: var(--navy-soft); font-size: .95rem; line-height: 1.5; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: repeating-linear-gradient(var(--navy) 0 10px, transparent 10px 18px); }
  .tstep { grid-template-columns: 68px 1fr; column-gap: 18px; row-gap: 4px; padding-bottom: 26px; }
  .tstep__n { grid-row: span 2; }
}
.method__bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; margin-top: clamp(48px, 6vw, 72px); }
.receive {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 26px;
  background: var(--navy); color: var(--cream);
}
.receive h3 { font-size: 1.6rem; margin-bottom: 18px; }
.receive ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.receive li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.receive li .ico { font-size: 1.3rem; color: var(--citron); margin-top: 2px; }
.receive__mascot { position: absolute; right: -14px; top: -40px; width: 86px; height: 86px; animation: bob 5s ease-in-out infinite; }
.formats { padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--cream); border: 1.5px solid var(--line); display: grid; gap: 14px; align-content: start; }
.formats h3 { font-size: 1.35rem; }
.formats li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.formats li .ico { font-size: 26px; width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--paper); border: 1.5px solid var(--line); }
.formats li span { font-weight: 600; line-height: 1.4; }
.formats li small { display: block; color: var(--navy-soft); font-weight: 500; }
@media (max-width: 860px) { .method__bottom { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .receive ul { grid-template-columns: 1fr; } }

/* ---------- Check-up ---------- */
.checkup {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--citron); border: 2px solid var(--navy);
}
.checkup h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.checkup .lead { color: var(--navy); margin-top: 14px; }
.checks { display: grid; gap: 10px; }
.check {
  display: flex; gap: 14px; align-items: center; cursor: pointer;
  padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 2px solid var(--navy);
  font-weight: 700; line-height: 1.35; transition: background .15s, transform .15s;
}
.check:hover { transform: translateX(3px); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 0; border: 2px solid var(--navy); border-radius: 8px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 12px; height: 7px; border: solid var(--navy); border-width: 0 0 3px 3px; rotate: -45deg; translate: 0 -2px; opacity: 0; }
.check input:checked { background: var(--coral); }
.check input:checked::after { opacity: 1; }
.check:has(input:checked) { background: var(--cream); }
.check:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 2px; }
.result {
  margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: var(--navy); color: var(--cream);
  display: grid; gap: 12px;
}
.result p { font-weight: 600; }
.result strong { color: var(--citron); }
@media (max-width: 860px) { .checkup { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--cream); overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact .eyebrow { color: var(--citron); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-top: 18px; }
.contact h2 .c { color: var(--coral); }
.contact .lead { color: rgba(250,242,234,.8); margin-top: 20px; }
.next { margin-top: 36px; display: grid; gap: 16px; counter-reset: nx; }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.next li::before {
  counter-increment: nx; content: counter(nx);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--citron); color: var(--citron); font-weight: 900;
}
.next strong { display: block; }
.next span { color: rgba(250,242,234,.72); font-size: .975rem; }
.form-card {
  position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px;
  background: var(--cream); color: var(--navy); border: 2px solid var(--cream);
  box-shadow: 10px 10px 0 var(--coral);
}
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .field legend { font-weight: 800; font-size: .975rem; }
.field .hint { font-size: .85rem; color: var(--navy-soft); font-weight: 500; }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  background: var(--paper); border: 2px solid rgba(20,42,59,.25);
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: rgba(20,42,59,.45); }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255,96,77,.35); }
.input[aria-invalid="true"] { border-color: var(--coral-ink); }
.err { color: var(--coral-ink); font-weight: 700; font-size: .875rem; min-height: 0; }
.err:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.seg label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 2px solid rgba(20,42,59,.25); font-weight: 700;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 2px; }
.seg .ico { font-size: 1.15rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.form-foot { display: grid; gap: 14px; margin-top: 6px; }
.form-foot .btn { width: 100%; }
.form-foot small { color: var(--navy-soft); font-size: .85rem; text-align: center; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.confirm { display: grid; gap: 16px; justify-items: start; text-align: left; }
.confirm[hidden] { display: none; }
.confirm__mascot { width: 110px; height: 110px; animation: cheer 1.2s var(--ease) both; }
.confirm h3 { font-size: 2rem; }
.confirm ol { display: grid; gap: 10px; counter-reset: c; }
.confirm ol li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-weight: 600; }
.confirm ol li::before { counter-increment: c; content: counter(c); width: 30px; height: 30px; border-radius: 50%; background: var(--citron); border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.form-error { padding: 12px 14px; border-radius: 12px; background: #FFE3DE; border: 2px solid var(--coral-ink); font-weight: 700; }
.form-error[hidden] { display: none; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--navy); transition: rotate .25s var(--ease), background .2s;
}
.faq summary .pm .ico { font-size: 18px; }
.faq details[open] summary .pm { rotate: 45deg; background: var(--citron); }
.faq summary:hover { color: var(--coral-ink); }
.faq .ans { padding: 0 4px 24px; color: var(--navy-soft); max-width: 62ch; }
.faq .ans p + p { margin-top: 10px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--cream); padding-block: 64px 32px; border-top: 1px solid rgba(250,242,234,.12); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer .logo__word { font-size: 2.2rem; }
.footer .logo__mascot { width: 56px; height: 56px; }
.footer__sig { margin-top: 6px; font-weight: 700; }
.footer__sig .c { color: var(--citron); }
.footer__zone { margin-top: 10px; max-width: 52ch; font-size: .9rem; line-height: 1.5; color: rgba(250,242,234,.7); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(250,242,234,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; color: rgba(250,242,234,.6); }
.footer__bottom a { color: inherit; }

/* ---------- Barre CTA mobile ---------- */
.mbar {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: none; translate: 0 140%; transition: translate .35s var(--ease);
}
.mbar .btn { width: 100%; }
.mbar.show { translate: 0 0; }
@media (max-width: 760px) { .mbar { display: block; } .header .btn { display: none; } }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* Hero : animation CSS pure (le titre H1 n'est jamais masqué → LCP rapide) */
.rise { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 45% { left: calc(100% - 12px); opacity: 1; } 55%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes rowIn { 0%, 45% { opacity: 0; transform: translateY(-6px); } 55%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes cheer { 0% { transform: scale(.4) rotate(-30deg); opacity: 0; } 60% { transform: scale(1.1) rotate(8deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .marquee [aria-hidden="true"] { display: none; }
  .flow__table .new { opacity: 1; }
}

.test-note { padding: 10px 14px; border-radius: 12px; background: var(--cream-2); color: var(--navy-soft); font-size: .875rem; font-weight: 600; }

/* ---------- Liens ajoutés (production) ---------- */
.footer__zone a { color: var(--citron); font-weight: 700; text-decoration: none; }
.footer__zone a:hover { text-decoration: underline; }
.form-foot small a, .form-error a { color: inherit; font-weight: 700; }

/* ---------- Pages légales et 404 ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal__in { max-width: 72ch; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.035em; margin-top: 14px; }
.legal .updated { margin-top: 12px; color: var(--navy-soft); font-size: .95rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -.01em; margin-top: 44px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--navy-soft); }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-top: 8px; }
.legal a { color: var(--navy); font-weight: 700; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 800; color: var(--navy); }
.legal dd { margin: 0; color: var(--navy-soft); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.legal__back { margin-top: 48px; }
.notfound { padding-block: clamp(64px, 12vw, 140px); text-align: center; display: grid; justify-items: center; gap: 18px; }
.notfound svg.big { width: 140px; height: 140px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.04em; }
.notfound p { color: var(--navy-soft); max-width: 44ch; }
