/* Forme Santé – feuille de style */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0E1B2C;
  --navy-2: #16263A;
  --navy-line: #2A3A4E;
  --ink: #33404F;
  --muted: #4A5664;
  --line: #DCE2E8;
  --soft: #F1F4F7;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --peach: #FDBA8C;
  --on-dark: #D5DCE4;
  --on-dark-muted: #A9B4C0;
  --radius: 14px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); font-stretch: 88%; color: var(--navy); margin: 0; letter-spacing: -0.01em; word-spacing: 0.05em; }
h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: 0; word-spacing: 0.08em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 880px; }
.section { padding-block: 96px; }
.section-sm { padding-block: 48px; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.lead { font-size: 19px; line-height: 1.6; max-width: 580px; }
.intro { max-width: 760px; }
.kicker { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.bg-navy .kicker { color: var(--peach); }
.small { font-size: 15px; }
.muted { color: var(--muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--peach); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand-name { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--navy); text-decoration: none; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 8px; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 220px; box-shadow: 0 12px 32px rgba(14, 27, 44, 0.14); display: flex; flex-direction: column; }
.menu-panel a { color: var(--navy); text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 8px; }
.menu-panel a:hover { background: var(--soft); }

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { padding-block: 72px 64px; }
.hero-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.hero-media { flex: 1 1 380px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; font-weight: 600; color: var(--navy); }
.checks li { display: flex; align-items: center; gap: 8px; }
.photo { border-radius: 16px; overflow: hidden; background: var(--soft); aspect-ratio: 3 / 4; max-height: 560px; width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-square { aspect-ratio: 1 / 1; }

/* Bandeaux logos */
.band { background: var(--soft); border-block: 1px solid var(--line); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; justify-content: space-between; padding-block: 32px; }
.band-label { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.band-list { display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 21px; color: var(--navy); }

/* Cartes */
.card { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 16px; }
.offer { flex: 1 1 250px; min-width: 0; background: var(--soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.offer-num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--accent); }
.offer h3 { font-size: 23px; line-height: 1.15; }
.offer p { font-size: 16px; }
.offer .offer-body { flex-grow: 1; }
.offer-meta { font-size: 14px; font-weight: 600; color: var(--muted); border-top: 1px solid #D3DAE2; padding-top: 14px; }
.notice { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.notice p { flex: 1 1 400px; min-width: 0; font-size: 16px; }

/* Protocole (bandeau sombre) */
.timeline { flex: 1 1 380px; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 20px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--navy-line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--peach); min-width: 96px; }
.timeline .what { color: #fff; font-size: 17px; font-weight: 600; }

/* Méthode */
.steps { display: flex; flex-wrap: wrap; gap: 24px; }
.steps li { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--navy); padding-top: 20px; }
.steps li:last-child { border-top-color: var(--accent); }
.step-num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--navy); }
.steps li:last-child .step-num { color: var(--accent); }
.steps h3 { font-size: 21px; }
.steps p { font-size: 16px; }

/* Listes à coches */
.ticks { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: 0 0 auto; margin-top: 3px; }

/* Témoignages */
.quote { flex: 1 1 320px; min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--navy); flex-grow: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.4; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 22px; }
.faq summary { font-weight: 700; font-size: 18px; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; font-size: 16px; line-height: 1.65; }
.bg-soft .faq, .bg-soft .faq details { border-color: #CBD3DC; }

/* Contact */
.contact-info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.contact-list a, .contact-list span { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.contact-list span { color: var(--on-dark); font-weight: 400; }
.contact-list a:hover { color: var(--peach); }
.form { flex: 1 1 520px; min-width: 0; background: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.form > .field { flex: none; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); border: 1.5px solid #8A96A3; border-radius: 8px; padding: 12px; min-height: 48px; background: #fff; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.form-alert.error { background: #FDECEA; color: #8A1C12; }
.form .btn { min-height: 52px; border: 0; }

/* Protocole – page dédiée */
.facts { flex: 1 1 340px; min-width: 0; margin: 0; border: 1px solid var(--navy-line); border-radius: 16px; overflow: hidden; }
.facts div { padding: 20px 26px; border-bottom: 1px solid var(--navy-line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.facts div:last-child { border-bottom: 0; background: var(--navy-2); }
.facts dt { color: var(--on-dark-muted); font-size: 15px; }
.facts dd { margin: 0; color: #fff; font-family: var(--display); font-weight: 800; font-size: 24px; text-align: right; }
.facts div:last-child dd { color: var(--peach); }
.phase { display: flex; flex-wrap: wrap; gap: 12px 40px; background: #fff; border-radius: var(--radius); padding: 28px 32px; align-items: flex-start; }
.phase .when { flex: 0 0 170px; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.phase > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.phase h3 { font-size: 24px; }
.phase.dark { background: var(--navy); }
.phase.dark .when { color: var(--peach); }
.phase.dark h3 { color: #fff; }
.phase.dark p { color: var(--on-dark); }
.box { flex: 1 1 440px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.box h2 { font-size: 28px; }
.center { text-align: center; align-items: center; }

/* Pages de texte */
.legal { padding-block: 72px 96px; display: flex; flex-direction: column; gap: 56px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 56px); }
.legal h2 { font-size: 28px; }
.legal section { display: flex; flex-direction: column; gap: 16px; }
.legal p { font-size: 16px; line-height: 1.65; }
.dl { margin: 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.dl div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.dl dt { flex: 0 0 220px; font-weight: 700; color: var(--navy); }
.dl dd { margin: 0; flex: 1 1 300px; }

/* Pied de page */
.footer { background: #08111C; color: var(--on-dark-muted); font-size: 14px; line-height: 1.6; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; padding-block: 40px; }
.footer-id { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 18px; color: #fff; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .hero { padding-block: 48px; }
  .form { padding: 22px; }
  .phase { padding: 24px; }
  .facts dd { font-size: 20px; }
  .timeline .when { min-width: 84px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
