/* hebergement.jpservicereunion.fr — feuille de style
   Palette de la marque JP SERVICE REUNION (marine et or), polices auto-hébergées. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 600 850;
  font-stretch: 75% 112%;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0F2645;
  --navy-900: #0A1A31;
  --navy-700: #1B3A66;
  --gold: #C8A84B;
  --gold-light: #D9BE6A;
  --gold-ink: #8A6D1F;
  --bg: #F2F5F8;
  --surface: #FFFFFF;
  --line: #D6DEE7;
  --line-strong: #B7C3D1;
  --text: #1B2A3D;
  --muted: #4F5E70;
  --ok: #1D7A5F;
  --ok-soft: #E3F2EC;
  --warn: #9A5B00;
  --warn-soft: #FBF0DC;
  --alert: #B4332B;
  --alert-soft: #F9E5E3;
  --paper: #FBF7EC;
  --paper-line: #E6DBC0;
  --stamp-ink: #24418A;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-s);
}
.lien-evitement:focus { top: 12px; }

.ico { width: 24px; height: 24px; flex: none; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-m);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primaire { background: var(--navy); color: #fff; }
.btn-primaire:hover { background: var(--navy-700); }
.btn-contour { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-contour:hover { background: var(--navy); color: #fff; }
.btn-or { background: var(--gold); color: var(--navy); }
.btn-or:hover { background: var(--gold-light); }
.btn-bloc { width: 100%; }
.btn-petit { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 245, 248, .94);
  -webkit-backdrop-filter: saturate(1.3) blur(8px);
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.defile { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.marque {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
}
.marque-nom {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .01em;
}
.marque-activite {
  margin-top: 5px;
  font-size: .8rem;
  color: var(--muted);
}

.nav { display: none; align-items: center; gap: 26px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav-liens { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-liens a {
  color: var(--text);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
}
.nav-liens a:hover { color: var(--navy-700); text-decoration: underline; }

/* ---------- Accroche ---------- */

.accroche {
  padding: 36px 0 64px;
  overflow-x: hidden;
  overflow-x: clip;
}
@media (min-width: 960px) { .accroche { padding: 64px 0 104px; } }

.accroche h1 {
  max-width: 15em;
  font-size: clamp(2.35rem, 6.6vw, 4.7rem);
  font-weight: 820;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -.022em;
}
.accroche-grille { display: grid; gap: 44px; margin-top: 26px; align-items: start; }
@media (min-width: 960px) {
  .accroche-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 36px; }
}
.accroche .chapo {
  max-width: 32em;
  font-size: clamp(1.15rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}
.accroche-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 559px) { .accroche-actions .btn { flex: 1 1 100%; } }

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1rem;
}
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances .ico { width: 20px; height: 20px; color: var(--ok); }

/* Carnet d'entretien */

.carnet-zone {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: 4px 6px 0;
}
@media (min-width: 960px) { .carnet-zone { justify-self: end; margin-top: -8px; } }
.carnet {
  position: relative;
  background-color: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-s);
  padding: 20px 20px 26px;
  box-shadow: 0 1px 0 rgba(15, 38, 69, .05), 0 22px 44px -20px rgba(15, 38, 69, .38);
  transform: rotate(-1.4deg);
}
.carnet-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}
.carnet-titre {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 84%;
  color: var(--navy);
}
.carnet-site {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: var(--muted);
}
.carnet-site .ico { width: 16px; height: 16px; color: var(--ok); }

.carnet table { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: .93rem; }
.carnet th {
  padding: 10px 6px 6px;
  border-bottom: 1px solid var(--paper-line);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  font-stretch: 84%;
  color: var(--muted);
  text-align: left;
}
.carnet td {
  padding: 11px 6px;
  border-bottom: 1px dashed var(--paper-line);
  vertical-align: top;
  line-height: 1.4;
}
.carnet tr:last-child td { border-bottom: 0; }
.carnet .sem {
  font-family: var(--font-head);
  font-weight: 750;
  font-stretch: 84%;
  color: var(--navy);
  white-space: nowrap;
}
.carnet .col-sauv { width: 4.6rem; text-align: center; }
.coche {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}
.coche .ico { width: 15px; height: 15px; }

.carnet-pied {
  position: relative;
  min-height: 92px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--paper-line);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  font-stretch: 84%;
  color: var(--muted);
  text-align: right;
}
.carnet-pied span { position: relative; z-index: 0; margin-right: 128px; }

.carnet-legende {
  margin: 16px 0 0;
  max-width: none;
  font-size: .92rem;
  color: var(--muted);
}

.tampon {
  position: absolute;
  right: -4px;
  bottom: -18px;
  width: 124px;
  height: 124px;
  color: var(--stamp-ink);
  opacity: .86;
  transform: rotate(-14deg);
  pointer-events: none;
}
.tampon text { font-family: var(--font-head); font-weight: 800; font-stretch: 78%; }

@media (prefers-reduced-motion: no-preference) {
  .carnet .coche { animation: coche .35s cubic-bezier(.2, .9, .3, 1.35) both; }
  .carnet tbody tr:nth-child(1) .coche { animation-delay: .35s; }
  .carnet tbody tr:nth-child(2) .coche { animation-delay: .6s; }
  .carnet tbody tr:nth-child(3) .coche { animation-delay: .85s; }
  .carnet tbody tr:nth-child(4) .coche { animation-delay: 1.1s; }
  .tampon { animation: tampon .55s cubic-bezier(.2, .8, .2, 1) 1.6s both; }
}
@keyframes coche {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes tampon {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.7); }
  60% { opacity: .95; transform: rotate(-14deg) scale(.94); }
  100% { opacity: .86; transform: rotate(-14deg) scale(1); }
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-claire { background: var(--surface); border-block: 1px solid var(--line); }
.section-marine { background: var(--navy); color: #D5DDE8; }
.section-marine h2, .section-marine h3 { color: #fff; }

.section-tete { max-width: 46rem; margin-bottom: 44px; }
.section-tete h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
  font-stretch: 106%;
}
.section-tete p { margin-top: 14px; font-size: 1.12rem; color: var(--muted); }
.section-marine .section-tete p { color: #B8C4D4; }
.section-marine a { color: #fff; }

/* Constat */

.symptomes { display: grid; gap: 36px 56px; }
@media (min-width: 760px) { .symptomes { grid-template-columns: 1fr 1fr; } }
.symptome { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.symptome-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--alert-soft);
  color: var(--alert);
}
.symptome h3 { margin-top: 8px; font-size: 1.22rem; font-weight: 760; }
.symptome p { margin-top: 8px; color: var(--muted); }
.source { font-size: .88rem; }

/* Formules */

.formules { display: grid; gap: 20px; }
@media (min-width: 960px) { .formules { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; } }

.formule {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 24px 24px;
}
.formule h3 { font-size: 1.55rem; font-weight: 820; font-stretch: 108%; }
.formule-pour { margin: 8px 0 0; color: var(--muted); }
@media (min-width: 960px) { .formule-pour { min-height: 4.8em; } }
.prix { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; color: var(--navy); }
.prix-montant {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.02em;
}
.prix-periode { font-size: 1.05rem; font-weight: 700; }
.prix-jour { margin: 6px 0 0; font-size: .93rem; color: var(--muted); }

.inclus { display: grid; gap: 11px; flex: 1; align-content: start; margin: 22px 0 0; padding: 0; list-style: none; }
.inclus li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.inclus .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--ok); }
.inclus .inclus-plus { display: block; font-weight: 700; color: var(--navy); }

.formule-comparaison {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--bg);
  font-size: .93rem;
}
.formule .btn { margin-top: 24px; }
.formule-paiement { margin: 10px 0 0; max-width: none; font-size: .84rem; color: var(--muted); text-align: center; }

.formule-conseil { background: var(--navy); border-color: var(--navy); color: #D5DDE8; }
.formule-conseil h3, .formule-conseil .prix, .formule-conseil .inclus .inclus-plus { color: #fff; }
.formule-conseil .formule-pour,
.formule-conseil .prix-jour,
.formule-conseil .formule-paiement { color: #B8C4D4; }
.formule-conseil .inclus .ico { color: var(--gold); }
.formule-conseil .formule-comparaison { background: rgba(255, 255, 255, .08); color: #E8EDF4; }
.formule-conseil { position: relative; margin-top: 14px; }
@media (min-width: 960px) { .formule-conseil { margin-top: 0; } }
.formule-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
}

.tarifs-notes { display: grid; gap: 10px; margin-top: 30px; color: var(--muted); }
.tarifs-notes p { max-width: 70ch; }
.tarifs-notes strong { color: var(--text); }

.comparer {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.comparer summary {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.defilement-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tableau {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: .95rem;
}
.tableau th, .tableau td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.tableau thead th { background: var(--bg); font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.tableau td + td, .tableau th + th { text-align: center; }
.tableau .ico { width: 20px; height: 20px; margin-inline: auto; color: var(--ok); }
.tableau .non { color: var(--muted); }

/* Une heure de modification */

.carte-heure { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; }
@media (min-width: 760px) { .carte-heure { grid-template-columns: 1fr 1fr; } }
.carte-heure li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.carte-heure .tache { font-weight: 600; }
.carte-heure .pointilles {
  flex: 1 1 24px;
  min-width: 24px;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-5px);
}
.carte-heure .duree {
  font-family: var(--font-head);
  font-weight: 760;
  color: var(--navy);
  white-space: nowrap;
}
.heure-note { margin-top: 26px; color: var(--muted); }

/* Test */

.test-carte {
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 20px;
  box-shadow: 0 26px 50px -34px rgba(15, 38, 69, .5);
}
@media (min-width: 720px) { .test-carte { padding: 36px 40px; } }
.test-intro p { color: var(--text); }
.test-intro .btn { margin-top: 8px; }
.test-progression { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); }
.test-barre { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: #E3E9F0; }
.test-barre span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--navy); transition: width .3s ease; }
.test-question {
  margin: 22px 0 18px;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 760;
  line-height: 1.22;
}
.test-question:focus { outline: none; }
.test-choix { display: grid; gap: 10px; }
.test-choix button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease;
}
.test-choix button:hover { border-color: var(--navy-700); background: #F7F9FC; }
.test-choix button[aria-pressed="true"] { border-color: var(--navy); background: #EBF1F8; }
.test-pied { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; min-height: 24px; }
.lien-bouton {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--navy-700);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}

.niveau {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
}
.niveau .ico { width: 18px; height: 18px; }
.niveau-bon { background: var(--ok-soft); color: var(--ok); }
.niveau-moyen { background: var(--warn-soft); color: var(--warn); }
.niveau-risque { background: var(--alert-soft); color: var(--alert); }
.resultat-titre { margin: 14px 0 10px; font-size: clamp(1.5rem, 3.2vw, 2.05rem); font-weight: 800; }
.points-faibles { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.points-faibles li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.points-faibles .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--alert); }
.reco {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 20px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-m);
}
.reco-titre { font-size: 1.3rem; font-weight: 800; }
.reco p { color: var(--text); }
.reco-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Étapes */

.etapes { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.etape { position: relative; padding-top: 60px; }
.etape::before {
  counter-increment: etape;
  content: counter(etape);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
}
@media (min-width: 900px) {
  .etape::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 56px;
    right: -16px;
    height: 2px;
    background: var(--line);
  }
  .etape:last-child::after { display: none; }
}
.etape h3 { font-size: 1.2rem; font-weight: 760; }
.etape p { margin-top: 8px; color: var(--muted); }

/* Engagements */

.engagements { display: grid; gap: 0 56px; }
@media (min-width: 760px) { .engagements { grid-template-columns: 1fr 1fr; } }
.engagement {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.engagement .ico { width: 30px; height: 30px; color: var(--gold); }
.engagement h3 { font-size: 1.2rem; font-weight: 760; }
.engagement p { margin-top: 8px; color: #C7D1DE; }

/* Interlocuteur */

.interlocuteur { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .interlocuteur { grid-template-columns: 170px 1fr; gap: 52px; } }
.monogramme {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 3.1rem;
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: .02em;
}
@media (max-width: 859px) { .monogramme { width: 104px; height: 104px; font-size: 2.2rem; } }
.interlocuteur h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; font-stretch: 106%; }
.interlocuteur .signature { margin-top: 16px; font-weight: 700; color: var(--navy); }
.interlocuteur .lieu { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 400; }
.interlocuteur .lieu .ico { width: 18px; height: 18px; }
.interlocuteur p { margin-top: 14px; }

/* Questions */

.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.faq summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .reponse { padding: 0 20px 20px; }

/* Contact */

.contact-grille { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; } }
.contact-texte h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; font-stretch: 106%; }
.contact-texte p { margin-top: 14px; }
.verifications { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.verifications li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.verifications .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
.contact-direct { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 700; }
.contact-direct .ico { color: var(--navy); }

.formulaire {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 20px;
}
@media (min-width: 720px) { .formulaire { padding: 34px 34px 30px; } }
.champs { display: grid; gap: 16px; }
@media (min-width: 720px) { .champs-2 { grid-template-columns: 1fr 1fr; } }
.champ label { display: block; margin-bottom: 6px; font-size: .97rem; font-weight: 700; }
.champ .facultatif { font-weight: 400; color: var(--muted); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(200, 168, 75, .55);
  outline-offset: 1px;
}
.champ [aria-invalid="true"] { border-color: var(--alert); }
.champ-erreur { margin: 6px 0 0; font-size: .9rem; color: var(--alert); }
.piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.test-joint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--ok-soft);
  color: #0F5641;
  font-size: .95rem;
}
.test-joint .ico { width: 20px; height: 20px; margin-top: 2px; }
.formulaire .btn { margin-top: 20px; }
.formulaire-note { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.formulaire-statut { margin-top: 16px; padding: 14px 16px; border-radius: 8px; }
.formulaire-statut[hidden] { display: none; }
.formulaire-statut.ok { background: var(--ok-soft); color: #0F5641; }
.formulaire-statut.erreur { background: var(--alert-soft); color: #7E1F19; }
.formulaire-statut a { color: inherit; font-weight: 700; }

/* Pied de page */

.site-footer { padding: 52px 0 104px; background: var(--navy-900); color: #C2CCDA; font-size: .97rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 52px; } }
.site-footer.pied-simple { padding-bottom: 52px; }
.pied-simple .pied-liste { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer a { color: #fff; }
.pied-grille { display: grid; gap: 30px; }
@media (min-width: 760px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied-marque { font-family: var(--font-head); font-size: 1.08rem; font-weight: 800; font-stretch: 112%; color: #fff; }
.pied-titre { margin: 0 0 10px; font-weight: 700; color: #fff; }
.pied-liste { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pied-mentions { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }

/* Barre d'abonnement mobile */

.barre-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -20px rgba(15, 38, 69, .55);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.barre-mobile.visible { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.barre-mobile p { margin: 0; font-size: .9rem; line-height: 1.3; color: var(--muted); }
.barre-mobile strong { display: block; font-size: 1rem; color: var(--navy); }
@media (min-width: 900px) { .barre-mobile { display: none; } }
@media (prefers-reduced-motion: reduce) { .barre-mobile { transition: none; } }

/* ---------- Pages simples (mentions, CGV, merci, 404) ---------- */

.page { padding: 44px 0 88px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); font-weight: 820; font-stretch: 106%; }
.page .mise-a-jour { margin-top: 10px; color: var(--muted); }
.page h2 { margin: 38px 0 12px; font-size: 1.3rem; font-weight: 780; }
.page ul, .page ol { padding-left: 1.3em; }
.page li { margin-bottom: 6px; }
.page .tableau { min-width: 0; margin: 14px 0; background: var(--surface); }
.page .tableau td + td, .page .tableau th + th { text-align: left; }
.avertissement {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-s);
  background: var(--warn-soft);
  font-size: .95rem;
  max-width: none;
}
.retour { display: inline-block; margin-bottom: 26px; font-weight: 600; }
.doc .site-header .wrap, .doc .site-footer .wrap { max-width: 820px; }
.sans-coupure { white-space: nowrap; }

.page .etapes-merci { display: grid; gap: 18px; margin: 28px 0; padding: 0; list-style: none; counter-reset: merci; }
.etapes-merci li {
  position: relative;
  padding: 18px 20px 18px 70px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.etapes-merci li::before {
  counter-increment: merci;
  content: counter(merci);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.etapes-merci strong { display: block; color: var(--navy); }

@media print {
  .site-header, .barre-mobile, .site-footer { display: none; }
  body { background: #fff; }
}
