/* ==========================================================
   AutoDistrict - feuille de style
   Couleurs tirees du logo. Une seule police (celle du systeme).
   ========================================================== */

:root {
  --navy: #0a438a;
  --navy-dark: #072f63;
  --orange: #f5471a;
  --orange-dark: #d63a0f; /* boutons : meilleur contraste avec le texte blanc */
  --ink: #16202e;
  --muted: #5a6677;
  --line: #e1e7f0;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 40, 80, .05), 0 4px 12px rgba(10, 40, 80, .05);
  --shadow: 0 1px 2px rgba(10, 40, 80, .06), 0 10px 28px rgba(10, 40, 80, .09);
  --shadow-lg: 0 2px 4px rgba(10, 40, 80, .06), 0 20px 48px rgba(10, 40, 80, .16);
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -.02em; font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.1rem); letter-spacing: -.03em; }
.section-head h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--orange); margin: 18px auto 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff;
  padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover:not([disabled]) { transform: translateY(-1px); }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn--primary { background: var(--orange-dark); color: #fff; box-shadow: 0 6px 16px rgba(214, 58, 15, .28); }
.btn--primary:hover:not([disabled]) { background: #c2330b; box-shadow: 0 10px 22px rgba(214, 58, 15, .34); }
.btn--primary[disabled] { box-shadow: none; }
.btn--ghost { background: #fff; color: var(--navy); border-color: #c5d4ea; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy-dark); }
.btn--light:hover { background: #eaf0f8; }
.btn--small { padding: 9px 18px; font-size: .95rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- En-tete ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(10, 40, 80, .05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy-dark);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; display: none;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* ---------- Hero : titre centre + bouton principal ---------- */
.hero { background: linear-gradient(180deg, #06254f 0%, var(--navy-dark) 100%); color: #fff; text-align: center; }
.hero-inner { padding: clamp(56px, 8vw, 96px) 0 clamp(120px, 13vw, 168px); }
.hero h1 { color: #fff; margin: 0; font-size: clamp(2.5rem, 6.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.035em; }
.hero h1 .dot { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 32px; }
.btn--lg { padding: 16px 32px; font-size: 1.08rem; }
.btn--lg svg { width: 20px; height: 20px; }
.hero-link { color: #fff; font-weight: 600; text-decoration: none; padding: 10px 2px; border-bottom: 2px solid rgba(255, 255, 255, .35); transition: border-color .15s; }
.hero-link:hover { border-bottom-color: #fff; }

/* ---------- Vehicules ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 18px;
  border-radius: 999px; font: inherit; font-size: .93rem; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 14px rgba(10, 67, 138, .28); }

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 26px; }
.car {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s;
}
.car:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #cfdcee; }
.car-photo {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e9eff8, #d5e0f0);
  display: grid; place-items: center; color: #8ea5c6; position: relative; overflow: hidden;
}
/* La photo ne change jamais la hauteur de la carte : toutes les cartes ont la meme hauteur de photo */
.car-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.car:hover .car-photo img { transform: scale(1.05); }
.car--sold:hover .car-photo img { transform: none; }
.car-photo svg { width: 46%; height: auto; }
.car-tag {
  position: absolute; top: 12px; left: 12px; background: var(--orange-dark); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}
.car-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
/* Nom a gauche, prix a droite, sur la meme ligne */
.car-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.car-title { margin: 0; font-size: 1.1rem; min-width: 0; }
.car-price { flex: none; font-size: 1.15rem; line-height: 1.2; font-weight: 700; color: var(--navy-dark); white-space: nowrap; }
/* Version / moteur puis kilometrage, sur une seule ligne : « 118i 170 ch Sport (F20) · 129 000 km » */
.car-meta { display: flex; align-items: center; justify-content: flex-start; }
.car-sub { margin: 0; flex: 0 1 auto; min-width: 0; color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-km { flex: none; color: var(--orange-dark); font-weight: 700; font-size: .84rem; white-space: nowrap; }
.car-km::before { content: "\00b7"; margin: 0 8px; color: var(--muted); font-weight: 400; }
.car-meta > .car-km:first-child::before { content: none; }
/* Badges : sur une seule ligne, ils remplissent toute la largeur avec de petits ecarts egaux */
.car-specs { display: flex; flex-wrap: nowrap; gap: 6px; list-style: none; margin: 2px 0 4px; padding: 0; }
.car-specs li { flex: 1 1 auto; min-width: 0; text-align: center; background: #eef4fc; color: var(--navy-dark); border-radius: 8px; padding: 5px 6px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .car-specs li { padding: 6px 8px; font-size: .82rem; } }
/* Tres petits telephones (320 px) : un peu plus compact */
@media (max-width: 360px) {
  .car-body { padding: 14px 12px 14px; }
  .car-specs { gap: 4px; }
  .car-specs li { padding: 4px; font-size: .68rem; border-radius: 6px; }
  .car-km { font-size: .76rem; }
  .car-km::before { margin: 0 6px; }
}
.car-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.car-actions { margin-top: auto; padding-top: 6px; }
.car-actions .btn { padding: 10px 6px; font-size: .88rem; white-space: nowrap; }
.car-actions .btn--primary { box-shadow: 0 4px 12px rgba(214, 58, 15, .24); }
.car-actions-wide { grid-column: 1 / -1; }
.car-tag--soon { background: var(--navy); }
.car-tag--sold { background: #5d6877; }
.car--sold .car-photo img, .car--sold .car-photo svg { filter: grayscale(1); opacity: .65; }
.car--sold .car-title, .car--sold .car-price { color: var(--muted); }
.car--sold:hover { box-shadow: none; transform: none; }
.cars-empty { color: var(--muted); grid-column: 1 / -1; }
.cars-more { display: flex; justify-content: center; margin-top: 40px; }
.cars-more .btn { min-width: 240px; }
.note-demo { margin-top: 24px; font-size: .88rem; color: var(--muted); }

/* ---------- Parcours d'achat : encadre blanc qui chevauche le bandeau bleu ---------- */
.steps-wrap { background: var(--bg-soft); display: flow-root; padding-bottom: clamp(56px, 7vw, 88px); }
.process {
  position: relative; z-index: 2; margin-top: clamp(-104px, -8vw, -72px); background: #fff;
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 30px 12px;
}
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-step { padding: 2px 16px; }

.p-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-dark); color: #fff; font-weight: 800; font-size: 1rem;
}
.p-step h3 { margin: 14px 0 14px; font-size: 1.08rem; color: var(--navy-dark); letter-spacing: -.01em; }
.p-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p-pills li { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: .85rem; font-weight: 500; line-height: 1.3; }
.p-pills svg { width: 18px; height: 18px; flex: none; color: var(--navy); }

@media (max-width: 1040px) {
  .process { padding: 28px 24px; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .p-step { padding: 0; }
  .p-pills li { font-size: .92rem; }
}
@media (max-width: 600px) {
  .process { padding: 8px 20px; border-radius: 18px; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .p-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding: 20px 0; }

  .p-num { grid-row: 1 / span 2; }
  .p-step h3 { margin: 6px 0 12px; }
  .p-pills { grid-column: 2; }
}

/* ---------- Rappel du rendez-vous, fixe en bas de l'ecran sur mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 40, 80, .08);
  }
  .sticky-cta { transition: transform .25s; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky-cta { padding-bottom: 76px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.info-list .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--navy), var(--navy-dark)); color: #fff; display: grid; place-items: center; }
.info-list svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--navy-dark); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.info-list span, .info-list a { color: var(--ink); font-weight: 600; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--navy); text-decoration: underline; }
.map-box {
  border-radius: var(--radius); border: 1px solid var(--line); min-height: 100%; min-height: 300px; display: grid; place-items: center;
  color: var(--muted); text-align: center; padding: 24px; box-shadow: var(--shadow-sm);
  background:
    linear-gradient(rgba(10, 67, 138, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(10, 67, 138, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    #fff;
}
.map-box { padding: 0; overflow: hidden; display: block; }
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: #06254f; color: #c7d5ea; padding: 26px 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin: 0; text-align: center; font-size: .85rem; }
.copyright a { text-decoration: none; opacity: .85; }
.copyright a:hover { text-decoration: underline; opacity: 1; }

/* ---------- Pages legales ---------- */
.legal { max-width: 820px; margin: clamp(-64px, -5vw, -40px) auto 88px; position: relative; z-index: 1; padding: clamp(24px, 4vw, 44px); }
.legal h2 { font-size: 1.25rem; margin: 2em 0 .5em; letter-spacing: -.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal .updated { color: var(--muted); font-size: .9rem; }
/* champ a completer par le proprietaire : surligne, a retirer avant la mise en ligne */
.todo { background: #fff2b8; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ==========================================================
   PAGE RENDEZ-VOUS
   ========================================================== */
.page-head {
  position: relative; overflow: hidden; padding: clamp(40px, 6vw, 64px) 0 clamp(72px, 9vw, 104px);
  background: linear-gradient(180deg, #06254f 0%, var(--navy-dark) 100%);
}
.page-head h1 { color: #fff; margin: 0; letter-spacing: -.03em; }
.page-head p { color: #d3e0f4; max-width: 620px; margin: 0; }

/* les panneaux remontent sur le bandeau bleu */
.booking { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; padding: 0 0 88px; margin-top: clamp(-64px, -5vw, -40px); position: relative; z-index: 1; }
.booking > * { min-width: 0; }
@media (max-width: 900px) { .booking { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 20px; }
.panel-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.05rem; }
.panel-title .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-dark); color: #fff; font-size: .88rem; font-weight: 800; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font-weight: 700; text-transform: capitalize; color: var(--navy-dark); }
.cal-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--navy-dark); }
.cal-nav:hover:not([disabled]) { border-color: var(--navy); }
.cal-nav[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day {
  aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid transparent; background: #eef4fc;
  color: var(--navy-dark); font: inherit; font-weight: 700; cursor: pointer; min-height: 40px;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.cal-day:hover:not([disabled]) { border-color: var(--navy); background: #e0ebfa; transform: translateY(-1px); }
.cal-day[disabled] { background: transparent; color: #aab3c0; font-weight: 400; cursor: not-allowed; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px #c3d5ee; }
.cal-day[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px rgba(10, 67, 138, .3); }
.cal-empty { visibility: hidden; }
.cal-day.is-loading { background: #eef2f7; color: transparent; animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.req { color: var(--orange-dark); font-weight: 700; }
.opt { font-weight: 400; color: var(--muted); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.slot {
  padding: 11px 8px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit;
  font-weight: 600; color: var(--navy-dark); cursor: pointer;
}
.slot:hover { border-color: var(--navy); }
.slot[aria-pressed="true"] { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.slots-hint { color: var(--muted); margin: 0; }
.slots { margin-top: 14px; }

.when-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .when-options { grid-template-columns: minmax(0, 1fr); } }
.when {
  text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: var(--navy-dark); cursor: pointer; display: block; width: 100%;
}
.when strong { display: block; }
.when span { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }
.when:hover:not([disabled]) { border-color: var(--navy); }
.when[aria-pressed="true"] { border-color: var(--navy); background: #eef4fc; box-shadow: inset 0 0 0 1px var(--navy); }
.when[disabled] { opacity: .45; cursor: not-allowed; background: var(--bg-soft); }
.when-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #7a4a00; font-size: .92rem; }

.summary { background: #eef4fc; border-radius: 10px; padding: 12px 14px; font-weight: 600; color: var(--navy-dark); margin-bottom: 18px; }
.summary.is-empty { background: var(--bg-soft); color: var(--muted); font-weight: 400; }

.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c8d1de; border-radius: 12px; font: inherit; background: #fbfcfe; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fb3cf; }
.form .btn--primary { width: 100%; padding: 14px 24px; font-size: 1.02rem; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background: #fff; outline: 3px solid #cfe0f6; }
.checks { display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: .95rem; cursor: pointer; width: fit-content; }
.check input { width: 15px; height: 15px; flex: none; margin: 0; accent-color: var(--navy); cursor: pointer; }
/* Case verrouillee (e-mail) : grisee, pour qu'on voie qu'on ne peut pas la decocher. */
.check.is-locked { cursor: not-allowed; color: #8a94a3; }
.check.is-locked input { cursor: not-allowed; accent-color: #a9b3c1; opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .95rem; margin: 0; }
.alert--error { background: #fdecea; color: #8a1f11; }
.alert--info { background: #fff4e5; color: #7a4a00; }
.confirm { text-align: center; max-width: 520px; margin: 48px auto 96px; padding: 40px 28px 36px; }
.confirm .tick { width: 64px; height: 64px; border-radius: 50%; background: #e3f6ea; color: #1b7a3d; display: grid; place-items: center; margin: 0 auto 18px; }
.confirm .tick svg { width: 32px; height: 32px; }
.confirm h2 { margin-bottom: 8px; }
.confirm-lead { color: var(--muted); margin: 0 0 20px; }
.confirm-recap { background: #eef4fc; border-radius: 12px; padding: 14px 16px; margin: 0 0 20px; display: grid; gap: 2px; }
.confirm-recap strong { color: var(--navy-dark); font-size: 1.05rem; }
.confirm-recap span { color: var(--ink); }
.confirm-text { font-size: .95rem; line-height: 1.7; margin: 0 0 24px; white-space: pre-line; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* Contact : 4 cartes sur une ligne (icone au-dessus), 2 sur tablette, 1 sur mobile */
@media (min-width: 761px) {
  .info-list li { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
}
@media (max-width: 1040px) { .info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .info-list { grid-template-columns: minmax(0, 1fr); gap: 12px; } }