/* formation.dentalboost.ma : mode clair uniquement.
   Formes : boutons en pilule, blocs 24px, champs 12px. Accent unique : le teal DentalBoost. */

:root {
  --bg: #f4f7f9;
  --paper: #ffffff;
  --ink: #0f1f4a;          /* bleu marine de la fiche */
  --text: #1c2a4d;
  --muted: #4a5873;
  --line: #dbe3ea;
  --accent: #00796b;       /* teal DentalBoost assombri pour le contraste AA */
  --accent-bright: #009688;
  --mint: #dcf1ec;
  --mint-2: #eef8f6;
  --navy: #0f1f4a;
  --on-navy: #eef3f8;
  --on-navy-muted: #aebbd6;
  --glow: #7fe3d4;
  --shadow: 0 30px 70px -36px rgba(15, 31, 74, .38);
  --shadow-sm: 0 12px 30px -18px rgba(15, 31, 74, .3);
  --r-block: 24px;
  --r-field: 12px;
  --pad: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light only;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
section { scroll-margin-top: 80px; }
em { font-style: italic; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: .8125rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.h2 {
  font-stretch: 76%; font-weight: 820;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.02; letter-spacing: -.01em;
}
.h3 { font-stretch: 80%; font-weight: 780; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }

/* Boutons */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 650; font-size: 1rem; white-space: nowrap; text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; box-shadow: 0 14px 30px -14px rgba(0, 121, 107, .75); }
.btn--primary:hover { --btn-bg: #00695c; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(0, 121, 107, .85); }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: #c3cfdb; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-stuck {
  background: rgba(244, 247, 249, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 2rem; }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__inner { height: 64px; }
  .nav__brand img { height: 28px; }
}

/* Hero */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  min-height: calc(100dvh - 72px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -10%; top: -20%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0, 150, 136, .14), rgba(0, 150, 136, 0));
  pointer-events: none;
}
.hero__copy { display: grid; gap: 1.5rem; }
.hero__title {
  font-stretch: 72%; font-weight: 850;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: 1.02; letter-spacing: -.015em;
}
.hero__title em { color: var(--accent); font-weight: 800; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .w > span { display: inline-block; }
.hero__lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 440px); }
.hero__frame {
  position: relative; aspect-ratio: 692 / 900; overflow: hidden;
  border-radius: 999px 999px var(--r-block) var(--r-block);
  box-shadow: var(--shadow);
}
.hero__visual::before {
  content: ""; position: absolute; inset: -12px;
  border: 2px solid var(--accent-bright);
  border-radius: 999px 999px 32px 32px;
  pointer-events: none;
}
.hero__frame img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; }

.seal {
  position: absolute; left: -64px; bottom: 36px;
  width: 170px; height: 170px;
  display: grid; place-items: center;
  background: var(--paper); border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font-family: "Archivo", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; fill: var(--ink); }
.seal__core {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-weight: 650; font-size: .85rem; line-height: 1;
}
.seal__core strong { font-stretch: 70%; font-weight: 850; font-size: 2.3rem; line-height: .95; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1.25rem; }
  .hero__visual { justify-self: center; width: min(78%, 360px); margin-top: 1rem; }
  .seal { left: -40px; bottom: 20px; width: 128px; height: 128px; }
  .seal__core { width: 64px; height: 64px; font-size: .75rem; }
  .seal__core strong { font-size: 1.7rem; }
}

/* Bandeau */
.ribbon { padding: 0 var(--pad); }
.ribbon__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--navy); color: var(--on-navy);
  border-radius: var(--r-block);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
}
.ribbon__count { display: flex; align-items: center; gap: 1rem; padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid rgba(255, 255, 255, .14); }
.ribbon__num { font-stretch: 65%; font-weight: 880; font-size: clamp(3.6rem, 7vw, 5.4rem); line-height: .9; color: var(--glow); font-variant-numeric: tabular-nums; }
.ribbon__unit { font-weight: 600; line-height: 1.25; color: var(--on-navy); }
.ribbon__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ribbon__facts li { display: flex; gap: .85rem; align-items: center; }
.ribbon__facts i { font-size: 1.6rem; color: var(--glow); flex: none; }
.ribbon__facts small { display: block; font-size: .8125rem; color: var(--on-navy-muted); }
.ribbon__facts span { font-weight: 650; line-height: 1.3; }
@media (max-width: 980px) {
  .ribbon__inner { grid-template-columns: 1fr; }
  .ribbon__count { border-right: 0; padding-right: 0; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .ribbon__facts { grid-template-columns: 1fr; gap: 1rem; }
}

/* Scénario horizontal */
.scenario { position: relative; padding: clamp(5rem, 10vw, 7rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.scenario__progress { position: absolute; left: var(--pad); right: var(--pad); top: 2.5rem; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; display: none; }
.scenario__progress span { display: block; height: 100%; width: 100%; background: var(--accent-bright); transform-origin: left; transform: scaleX(0); }
.scenario__track { display: flex; gap: 1.25rem; padding: 0 var(--pad); width: max-content; align-items: stretch; }
.panel {
  flex: none; width: min(400px, 82vw);
  min-height: min(470px, 70vh);
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-block);
  box-shadow: var(--shadow-sm);
}
.panel__icon { font-size: 2.6rem; color: var(--accent); margin-bottom: auto; }
.panel h3 { font-stretch: 78%; font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.05; }
.panel__text { color: var(--muted); }
.panel__q { font-weight: 650; color: var(--ink); font-size: 1.1rem; line-height: 1.35; padding: .9rem 1rem; background: var(--mint-2); border-left: 3px solid var(--accent-bright); border-radius: 0 12px 12px 0; }
.panel--intro { width: min(560px, 88vw); background: transparent; border: 0; box-shadow: none; justify-content: center; padding-left: 0; }
.panel__big { font-stretch: 72%; font-weight: 850; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; padding-bottom: .1em; }
.panel__big em { color: var(--accent); }
.panel--intro .panel__text { font-size: 1.15rem; max-width: 40ch; }
.panel__hint { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #c3cfdb; font-size: 1.3rem; color: var(--ink); margin-top: .5rem; animation: nudge 1.8s var(--ease) infinite; }
.panel--answer { background: var(--accent); border-color: var(--accent); color: #e6f6f3; }
.panel--answer h3 { color: #fff; }
.panel--answer .panel__icon { color: #fff; }
.panel--answer .panel__text { color: #e6f6f3; font-size: 1.1rem; }
.panel--answer .btn { align-self: flex-start; margin-top: .5rem; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.is-pannable .scenario { height: 100dvh; padding: 0; display: flex; align-items: center; }
.is-pannable .scenario__progress { display: block; top: calc(72px + 1.5rem); }

@media (max-width: 900px) {
  .scenario__track { flex-direction: column; width: auto; }
  .panel, .panel--intro { width: 100%; min-height: 0; }
  .panel__icon { margin-bottom: .5rem; }
  .panel__hint { display: none; }
}

/* Auto-test */
.quiz { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--pad); }
.quiz__head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.quiz__body { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.quiz__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; counter-reset: q; }
.q {
  display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.q p { color: var(--ink); font-weight: 550; line-height: 1.4; }
.q.is-yes { border-color: rgba(0, 150, 136, .45); background: var(--mint-2); }
.q.is-no { border-color: #c7d0dc; }
.q__opts { display: flex; gap: .4rem; }
.q__btn {
  min-width: 70px; min-height: 44px; padding: 0 1rem;
  font: inherit; font-weight: 650; font-size: .95rem;
  border-radius: 999px; border: 1.5px solid #c3cfdb; background: var(--paper); color: var(--ink);
  cursor: pointer; transition: all .2s var(--ease);
}
.q__btn:hover { border-color: var(--ink); }
.q__btn:active { transform: scale(.96); }
.q__btn[data-answer="1"][aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.q__btn[data-answer="0"][aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.verdict {
  position: sticky; top: 100px;
  display: grid; justify-items: start; gap: 1rem;
  padding: 2rem;
  background: var(--navy); color: var(--on-navy-muted);
  border-radius: var(--r-block);
  box-shadow: var(--shadow);
}
.verdict h3 { color: #fff; font-stretch: 80%; font-weight: 800; font-size: 1.75rem; line-height: 1.1; }
.verdict p { color: #c9d3e6; }
.verdict__meter { position: relative; width: 120px; height: 120px; }
.verdict__meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.verdict__bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 10; }
.verdict__fg { fill: none; stroke: var(--glow); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .8s var(--ease); }
.verdict__score { position: absolute; inset: 0; display: grid; place-content: center; color: #fff; font-weight: 600; }
.verdict__score strong { font-stretch: 70%; font-weight: 850; font-size: 2.6rem; line-height: 1; text-align: center; }
.verdict .btn { margin-top: .25rem; }
.verdict .btn[hidden] { display: none; }
@media (max-width: 900px) {
  .quiz__body { grid-template-columns: 1fr; }
  .q { grid-template-columns: 1fr; gap: .9rem; }
  .verdict { position: static; }
}

/* Programme */
.program {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad) clamp(4rem, 10vw, 8rem);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem);
}
.program__aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 1.25rem; }
.program__track { width: 3px; height: 160px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 1rem; }
.program__track span { display: block; width: 100%; height: 100%; background: var(--accent-bright); transform-origin: top; transform: scaleY(0); }
.program__list { list-style: none; margin: 0; padding: 0; }
.obj {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start;
  padding: 1.9rem 0; border-top: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.obj:last-child { border-bottom: 1px solid var(--line); }
.obj i {
  display: grid; place-items: center; width: 56px; height: 56px;
  font-size: 1.6rem; border-radius: 50%;
  background: var(--mint); color: var(--accent);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.obj p { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.3; color: var(--ink); font-weight: 500; padding-top: .55rem; }
.js-motion .obj { opacity: .35; }
.js-motion .obj.is-active { opacity: 1; }
.obj.is-active i { background: var(--accent); color: #fff; transform: scale(1.06); }
@media (max-width: 900px) {
  .program { grid-template-columns: 1fr; }
  .program__aside { position: static; }
  .program__track { display: none; }
  .obj { grid-template-columns: 48px 1fr; padding: 1.4rem 0; }
  .obj i { width: 48px; height: 48px; font-size: 1.4rem; }
  .obj p { padding-top: .4rem; }
}

/* Bento */
.outcomes { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(5rem, 11vw, 8rem); }
.outcomes__title { margin-bottom: 2.5rem; }
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: minmax(250px, auto) minmax(250px, auto);
  grid-template-areas: "a b b" "a c d";
}
.cell { position: relative; overflow: hidden; border-radius: var(--r-block); padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; gap: .75rem; }
.cell i { font-size: 2rem; }
.cell h3 { font-stretch: 80%; font-weight: 780; font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.08; }
.cell--a { grid-area: a; justify-content: flex-end; }
.cell--b { grid-area: b; padding: 0; justify-content: flex-end; min-height: 280px; }
.cell--c { grid-area: c; }
.cell--d { grid-area: d; }
.cell--navy { background: var(--navy); color: #c5d0e6; }
.cell--navy h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cell--navy i { color: var(--glow); font-size: 2.6rem; margin-bottom: auto; }
.cell--mint { background: var(--mint); color: #2c4a52; }
.cell--mint i { color: var(--accent); }
.cell--teal { background: var(--accent); color: #e6f6f3; }
.cell--teal h3 { color: #fff; }
.cell--photo img { position: absolute; inset: -10% 0 auto; width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%; }
.cell__scrim { position: relative; padding: 2.5rem clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.5rem, 2.5vw, 2.25rem); background: linear-gradient(to top, rgba(10, 20, 48, .9), rgba(10, 20, 48, 0)); }
.cell__scrim h3 { color: #fff; max-width: 20ch; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "a" "b" "c" "d"; }
  .cell--a { min-height: 240px; }
  .cell--b { min-height: 320px; }
}

/* Intervenant */
.speaker { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.speaker__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--pad) 0;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: end;
}
.speaker__photo {
  position: relative; align-self: end;
  background: var(--mint);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  aspect-ratio: 800 / 1000;
}
.speaker__photo img { position: absolute; left: 0; right: 0; bottom: -2%; width: 100%; mix-blend-mode: multiply; }
.speaker__text { display: grid; gap: 1.1rem; justify-items: start; padding-bottom: clamp(3rem, 7vw, 5rem); }
.speaker__kicker { font-weight: 650; color: var(--accent); }
.speaker__name { font-stretch: 66%; font-weight: 880; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .94; letter-spacing: -.02em; }
.speaker__name span { color: var(--accent); }
.speaker__role { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; font-size: 1.2rem; color: var(--ink); }
.speaker__role i { color: var(--accent); font-size: 1.4rem; }
@media (max-width: 900px) {
  .speaker__inner { grid-template-columns: 1fr; }
  .speaker__photo { width: min(80%, 340px); justify-self: center; order: 2; }
  .speaker__text { padding-bottom: 0; }
}

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: clamp(5rem, 10vw, 7rem) var(--pad); }
.faq .h2 { margin-bottom: 2rem; }
.faq__list { display: grid; gap: .75rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(0, 150, 136, .45); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.25rem 1.5rem; font-weight: 650; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--accent); transition: transform .35s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; color: var(--muted); max-width: 65ch; }
.faq details a { color: var(--accent); font-weight: 600; }

/* Inscription */
.signup { padding: 0 var(--pad) clamp(3rem, 6vw, 5rem); }
.signup__panel {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  background: var(--navy);
  background-image: radial-gradient(circle at 0% 100%, rgba(0, 150, 136, .35), rgba(0, 150, 136, 0) 55%);
  border-radius: 32px;
  padding: clamp(1.5rem, 5vw, 4.5rem);
}
.signup__intro { display: grid; gap: 1.75rem; color: var(--on-navy); }
.signup__title { color: #fff; font-stretch: 72%; font-weight: 850; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.01em; }
.signup__recap { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.signup__recap li { display: flex; gap: .75rem; align-items: center; font-weight: 600; }
.signup__recap i { color: var(--glow); font-size: 1.4rem; }
.signup__direct { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.signup__direct p { width: 100%; color: var(--on-navy-muted); font-size: .95rem; }
.signup__direct a { display: inline-flex; gap: .5rem; align-items: center; color: #fff; text-decoration: none; font-weight: 650; }
.signup__direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
.signup__direct i { color: var(--glow); font-size: 1.3rem; }

.form {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-block);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
  display: grid; gap: 1.15rem;
}
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-field);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder { color: #6b7890; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c5d2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--paper); outline: none; box-shadow: 0 0 0 4px var(--mint); }
.field.has-error input, .field.has-error select { border-color: #c2362f; }
.field__error { color: #b42318; font-size: .875rem; }
.field__error:empty { display: none; }
.select { position: relative; }
.select i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { display: flex; gap: .4rem; align-items: center; justify-content: center; font-size: .875rem; color: var(--muted); text-align: center; }
.form__status { font-size: .95rem; color: #b42318; }
.form__status:empty { display: none; }
.btn__label, .btn__loading { display: inline-flex; align-items: center; gap: .55rem; }
.btn__loading { display: none; }
.btn__loading i { animation: spin 1s linear infinite; }
.is-sending .btn__label { display: none; }
.is-sending .btn__loading { display: inline-flex; }
.is-sending [data-submit] { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__success { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: .75rem; padding: 2rem; border-radius: var(--r-block); background: var(--paper); }
.form__success[hidden] { display: none; }
.form__success i { font-size: 3.5rem; color: var(--accent); }
.form__success h3 { font-stretch: 80%; font-weight: 800; font-size: 2rem; }
.form__success p { color: var(--muted); max-width: 36ch; }
@media (max-width: 900px) {
  .signup { padding: 0 .75rem 3rem; }
  .signup__panel { grid-template-columns: 1fr; border-radius: 26px; padding: 2rem 1rem 1rem; }
  .signup__intro { padding: 0 .5rem; }
  .field-row { grid-template-columns: 1fr; }
}

/* Accès */
.access {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.access__map { border-radius: var(--r-block); overflow: hidden; aspect-ratio: 21 / 9; background: var(--line); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__body { display: grid; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--accent); text-decoration: none; justify-self: start; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .access { grid-template-columns: 1fr; }
  .access__map { aspect-ratio: 4 / 3; }
}

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 3rem var(--pad) 6.5rem; background: var(--paper); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.5rem 2.5rem; align-items: center; }
.footer__logo { height: 30px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__links a { text-decoration: none; font-weight: 600; color: var(--ink); }
.footer__copy { color: var(--muted); font-size: .875rem; }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .footer { padding-bottom: 3rem; } }

/* Bouton fixe mobile */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: flex; position: fixed; z-index: 40;
    left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom));
    min-height: 56px;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
  }
  .mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
