/* Auto-école Christoly — feuille de style commune */

:root {
  --bg: #edf2fa;
  --surface: #ffffff;
  --ink: #151a21;
  --ink-soft: #465367;
  --line: #d0d9e8;
  --dark: #151a21;
  --dark-2: #1d2737;
  --cobalt: #1757d2;
  --orange: #ff6a1a;
  --orange-dark: #bd4300;
  --cream: #e3ecfb;
  --radius-lg: 36px;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 18px 30px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-orange { background: var(--orange); color: #1d1f23; }
.btn-orange:hover { background: var(--orange-dark); }

.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.btn-ghost { color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-sm { padding: 13px 22px; font-size: 16px; border-radius: 12px; }

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

.site-header { position: relative; z-index: 20; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--line);
}

.brand {
  grid-column: 2;
  grid-row: 1;
  display: block;
  text-decoration: none;
}
.brand img { height: 80px; width: auto; border-radius: 6px; }

.nav { display: contents; }
.nav-left,
.nav-right {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-left { grid-column: 1; justify-self: start; }
.nav-right { grid-column: 3; justify-self: end; }
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.nav .btn-sm { padding: 13px 22px; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  width: 46px; height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s, background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (bloc arrondi) ---------- */

.hero { padding: 44px 0 28px; }

.hero-block {
  background: var(--dark);
  color: #fff;
  border-radius: 24px;
  padding: 56px 54px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* bande damier discrète, clin d'oeil au logo */
.hero-block::after {
  content: "";
  position: absolute;
  right: -40px; top: 0;
  width: 150px; height: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 12px, transparent 12px 24px);
  transform: skewX(-30deg);
  pointer-events: none;
}

.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.media-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 9px 12px;
  max-width: 170px;
  font-size: 11px;
  line-height: 1.35;
}
.media-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: -0.01em;
}

.hero-copy .eyebrow { color: #fff; font-size: 11px; }
.hero-copy h1 {
  font-size: clamp(28px, 3.1vw, 44px);
  margin: 14px 0 18px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}
.hero-block .btn { padding: 12px 20px; font-size: 15px; border-radius: 10px; }
.hero-block .btn svg { width: 15px; height: 15px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts svg { width: 16px; height: 16px; flex: none; }

/* hero de page intérieure */
.page-hero .hero-block {
  grid-template-columns: 1fr;
  padding: 54px;
}
.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 46px);
  margin: 12px 0 16px;
  max-width: 14em;
}
.page-hero h1.h1-large { max-width: none; }
.page-hero .hero-lead { max-width: 40em; }

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

.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-top: 16px;
  max-width: 14em;
}
@media (min-width: 641px) { .section-head h2.titre-ligne { max-width: none; white-space: nowrap; } }
.section-head.titre-centre { justify-content: center; align-items: center; text-align: center; }
.section-head p {
  max-width: 30em;
  color: var(--ink-soft);
}

/* ---------- Choix de formation ---------- */

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.choice {
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 44px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 340px;
  transition: border-color .2s, transform .2s;
}
.choice:hover { border-color: var(--ink); }
.choice.is-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.choice.is-dark:hover { border-color: var(--orange); }
.choice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.choice-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--orange-dark);
}
.choice.is-dark .choice-num { color: var(--orange); }
.choice h3 { font-size: 38px; }
.choice p { color: var(--ink-soft); max-width: 28em; }
.choice.is-dark p { color: rgba(255,255,255,.75); }
.choice-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-top: 20px;
  border-top: 1.5px solid var(--line);
}
.choice.is-dark .choice-bottom { border-color: rgba(255,255,255,.15); }
.price-from { font-size: 14px; color: var(--ink-soft); }
.choice.is-dark .price-from { color: rgba(255,255,255,.6); }
.price-from strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.choice.is-dark .price-from strong { color: #fff; }
.arrow-round {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .2s;
}
.arrow-round svg { width: 20px; height: 20px; }
.choice:hover .arrow-round { transform: rotate(-45deg); }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.mini {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s;
}
.mini:hover { border-color: var(--ink); }
.mini h4 { font-size: 20px; letter-spacing: -0.02em; }
.mini span { font-size: 15px; color: var(--ink-soft); }
.mini strong {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* ---------- Permis à 1 € ---------- */

.euro-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 44px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1.5px solid #f3d6c1;
  text-decoration: none;
  transition: border-color .2s;
}
.euro-band:hover { border-color: var(--orange); }
.euro-band:hover .arrow-round { transform: rotate(-45deg); }
.euro-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--orange-dark);
}
.euro-big small { font-size: 24px; letter-spacing: -0.02em; }
.euro-copy { display: flex; flex-direction: column; gap: 6px; }
.euro-copy strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.euro-copy > span:last-child { color: var(--ink-soft); max-width: 40em; }

/* ---------- Parcours ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--ink);
}
.step {
  padding: 28px 24px 0 0;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -8px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--bg);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}
.step h3 { font-size: 23px; letter-spacing: -0.02em; margin: 10px 0 10px; }
.step p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Bloc véhicule ---------- */

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.split-media img {
  border-radius: var(--radius);
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-media .tall { grid-row: span 2; aspect-ratio: auto; }
.split-copy h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 16px 0 22px;
}
.split-copy > p { color: var(--ink-soft); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 0;
}
.checklist li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1.5px solid var(--line);
}
.checklist li:last-child { border-bottom: 1.5px solid var(--line); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--orange-dark); margin-top: 2px; }
.checklist strong { font-family: var(--font-display); letter-spacing: -0.01em; }

/* ---------- Avis ---------- */

.review-score {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}
.review-score strong {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.review-score strong small { font-size: 24px; color: var(--ink-soft); letter-spacing: -0.02em; }
.review-score a {
  font-weight: 600;
  font-size: 15px;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.review-stars { display: inline-flex; gap: 2px; color: #f5a623; }
.review-stars svg { width: 18px; height: 18px; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  margin: 0;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1.5px solid var(--line);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}
.review figcaption strong { display: block; font-family: var(--font-display); letter-spacing: -0.01em; }
.review figcaption small { color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Cartes agences ---------- */

.agency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.agency {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.agency-body { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.agency-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.agency h3 { font-size: 36px; }
.agency dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 16px;
  font-size: 16px;
}
.agency dt { color: var(--ink-soft); }
.agency dd { margin: 0; font-weight: 500; }
.agency dd a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.agency .agency-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.agency-map {
  aspect-ratio: 16 / 9;
  background: var(--line);
  border: 0;
  width: 100%;
  display: block;
  filter: grayscale(.35);
}
.agency-photo { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  width: fit-content;
}
.status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #9a9a9a;
}
.status.is-open { background: #e6f4ea; color: #1e6b35; }
.status.is-open::before { background: #2ea44f; }
.status.is-closed { background: #f6e9e4; color: #8a3a1c; }
.status.is-closed::before { background: var(--orange-dark); }

/* ---------- Horaires ---------- */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.hours th, .hours td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1.5px solid var(--line);
  font-weight: 400;
}
.hours th { width: 40%; color: var(--ink-soft); }
.hours tr.is-today th,
.hours tr.is-today td { font-weight: 700; color: var(--ink); }
.hours tr.is-today th::after {
  content: "aujourd'hui";
  margin-left: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-dark);
}

/* ---------- Bande d'appel ---------- */

.cta-band {
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(34px, 4vw, 56px); }
.cta-band p { margin-top: 18px; font-size: 18px; max-width: 30em; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }
.cta-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}
.cta-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Tarifs ---------- */

.price-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.price-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-aside a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background .2s;
}
.price-aside a:hover { background: var(--surface); }
.price-aside .aside-note {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: #fff;
  font-size: 15px;
}
.price-aside .aside-note strong { font-family: var(--font-display); display: block; font-size: 18px; margin-bottom: 6px; }
.price-aside .aside-note a { padding: 0; color: var(--orange); }

.price-group { margin-bottom: 56px; scroll-margin-top: 24px; }
.price-group h2 {
  font-size: 34px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.price-group h2 span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.price-list {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-item { border-top: 1.5px solid var(--line); }
.price-item:first-child { border-top: 0; }
.price-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 28px;
  gap: 24px;
  align-items: center;
  padding: 24px 30px;
  cursor: pointer;
  transition: background .2s;
}
.price-item summary::-webkit-details-marker { display: none; }
.price-item summary:hover { background: #fbfaf7; }
.price-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.price-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: 4px;
}
.price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.price-value sup { font-size: 14px; font-weight: 600; margin-left: 2px; }
.chev {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform .25s, background .2s, border-color .2s;
}
.chev svg { width: 14px; height: 14px; }
.price-item[open] .chev { transform: rotate(180deg); background: var(--orange); border-color: var(--orange); }
.price-detail {
  padding: 0 30px 28px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 48em;
}
.price-detail ul { margin: 10px 0 0; padding-left: 20px; }
.price-detail li { margin: 4px 0; }

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--orange-dark);
  vertical-align: middle;
  margin-left: 8px;
}

.fine {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-layout > * { min-width: 0; }
.field select { width: 100%; min-width: 0; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  display: flex;
  gap: 20px;
  text-decoration: none;
}
a.contact-card:hover { border-color: var(--ink); }
.contact-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--orange-dark);
  display: grid; place-items: center;
  flex: none;
}
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 16px; }
.contact-card .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.form-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}
.form-card h2 { font-size: 36px; margin-bottom: 10px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 30px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.consent input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-msg { font-size: 15px; font-weight: 600; }
.form-msg.is-error { color: #b3261e; }
.form-msg.is-ok { color: #1e6b35; }

/* ---------- Pages légales ---------- */

.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 24px;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc a {
  text-decoration: none;
  padding: 7px 0;
  color: var(--ink-soft);
}
.legal-toc a:hover { color: var(--ink); }
.legal-body {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 64px;
  max-width: 820px;
}
.legal-body h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
  scroll-margin-top: 24px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: #3b3e44; font-size: 16px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 12px 0; }
.legal-body li { margin: 6px 0; }
.legal-body .id-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  margin: 8px 0;
}
.legal-body .id-table th,
.legal-body .id-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 0;
  border-bottom: 1.5px solid var(--line);
}
.legal-body .id-table th { width: 42%; font-weight: 600; padding-right: 16px; }
.todo {
  background: #fff3cd;
  border-radius: 4px;
  padding: 0 4px;
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.78);
  margin-top: 96px;
  padding: 80px 0 32px;
  font-size: 15.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand img { height: 56px; width: auto; border-radius: 4px; margin-bottom: 22px; }
.footer-brand p { max-width: 22em; }
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 16px; margin-top: 26px; }
.socials a {
  width: 64px; height: 64px;
  display: block;
  border-radius: 16px;
  transition: transform .2s;
}
.socials a:hover { transform: translateY(-3px); }
.socials svg { width: 64px; height: 64px; display: block; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Apparition au défilement ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-left, .nav-right { gap: 20px; }
  .brand img { height: 68px; }
  .hero-block { padding: 44px 38px; gap: 32px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; border-top: 0; }
  .step { border-top: 2px solid var(--ink); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-layout, .legal { grid-template-columns: 1fr; gap: 32px; }
  .price-aside, .legal-toc { position: static; }
  .price-aside { flex-direction: row; flex-wrap: wrap; }
  .price-aside .aside-note { flex-basis: 100%; }
  .legal-toc { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .nav-left, .nav-right { display: contents; }
  .nav {
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 12px; font-size: 18px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--orange-dark); }
  .nav .btn { margin-top: 8px; justify-content: center; }

  .hero-block { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 9; order: 2; }
  .choice-grid, .agency-grid, .split, .contact-layout, .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-actions { justify-self: start; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review-score { justify-items: start; text-align: left; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 56px; }
  .header-inner { padding-top: 16px; padding-bottom: 16px; }
  .hero { padding: 16px 0 12px; }
  .hero-block, .page-hero .hero-block { padding: 26px 18px; border-radius: 18px; gap: 22px; }
  .hero-lead { font-size: 14.5px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 64px 0; }
  .choice { padding: 28px; min-height: 0; }
  .choice h3 { font-size: 30px; }
  .mini-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
  }
  .review { scroll-snap-align: start; padding: 24px; }
  .agency-body { padding: 28px 24px; }
  .agency dl { grid-template-columns: 1fr; gap: 2px; }
  .agency dd { margin-bottom: 10px; }
  .cta-band { padding: 44px 24px; border-radius: 26px; }
  .euro-band { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; }
  .euro-band .arrow-round { display: none; }
  .euro-big { font-size: 56px; }
  .euro-copy strong { font-size: 24px; }
  .price-item summary { grid-template-columns: 1fr 28px; gap: 8px 16px; padding: 20px; }
  .price-value { grid-row: 2; font-size: 22px; }
  .chev { grid-row: 1 / span 2; grid-column: 2; }
  .price-detail { padding: 0 20px 22px; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-body { padding: 32px 20px; }
  .legal-body .id-table th { width: 45%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-media { grid-template-columns: 1fr 1fr; }
}

/* Identité Christoly */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: .9; color: var(--ink); }
.brand-main { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.055em; }
.brand-dot { color: var(--orange); }
.brand-sub { color: var(--cobalt); font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .28em; margin-top: 9px; }
.wordmark-light { color: #fff; text-decoration: none; margin-bottom: 24px; }
.wordmark-light .brand-sub { color: #9dbbff; }
.site-header {
  background: #193c80;
  color: #fff;
}
.header-inner { border-bottom: 0; }
.site-header .nav a:not(.btn),
.site-header .nav a[aria-current="page"] { color: #fff; }
.site-header .nav a:not(.btn)::after { background: var(--orange); }
.site-header .logo-brand img { filter: invert(1) brightness(1.25); }
.site-header .nav-toggle { border-color: rgba(255,255,255,.85); }
.site-header .nav-toggle span,
.site-header .nav-toggle span::before,
.site-header .nav-toggle span::after { background: #fff; }
@media (max-width: 900px) {
  .site-header .nav {
    background: #13264b;
    border-color: rgba(255,255,255,.2);
    box-shadow: 0 20px 40px rgba(5,13,28,.32);
  }
}
.btn-orange { color: #151a21; }
.btn-orange:hover { background: #f45c0a; }
.hero-block { background: linear-gradient(125deg, #151a21 15%, #192e57 100%); }
.hero-block::after { background: repeating-linear-gradient(90deg, rgba(255,106,26,.5) 0 12px, transparent 12px 24px); }
.hero-copy .eyebrow { color: #a8c2ff; font-size: 13px; }
.hero-lead { font-size: 17px; }
.car-hero { background: radial-gradient(circle at 53% 50%, #3163c1 0, #193c80 44%, #112343 100%); }
.car-hero img { object-fit: contain; padding: 22px 8px 55px; }
.media-tag { max-width: 245px; font-size: 13px; padding: 12px 16px; }
.media-tag strong { font-size: 15px; }
.info-band { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--cobalt); border-radius: var(--radius); padding: 28px 36px; text-decoration: none; }
.info-band > span:nth-child(2) { display: grid; gap: 5px; }
.info-band strong { font-family: var(--font-display); font-size: 25px; line-height: 1.2; }
.info-band span span:last-child { color: var(--ink-soft); }
.info-symbol { color: var(--cobalt); font-family: var(--font-display); font-weight: 800; font-size: 42px; line-height: .85; letter-spacing: -.06em; }
.info-symbol small { color: var(--orange-dark); font-size: 29px; }
.info-link { color: var(--cobalt); font-weight: 700; white-space: nowrap; }
.choice.is-dark { background: var(--cobalt); border-color: var(--cobalt); }
.choice.is-dark .choice-num { color: #fff; }
.choice.is-dark:hover { border-color: var(--dark); }
.choice .choice-bottom .btn { width: fit-content; }
.formation-note { margin-top: 24px; }
.car-gallery { margin-top: -1cm; }
.wrap.bloc-avis { margin-top: -1cm; }
.car-gallery img { background: #dce7f9; object-fit: contain; padding: 12px; }
.car-gallery img:nth-child(3) { object-fit: contain; padding: 12px; background: #dce7f9; }
.reviews { grid-template-columns: repeat(2, minmax(0,1fr)); }
.review-stars { font-family: Arial, sans-serif; font-size: 23px; color: var(--orange); letter-spacing: .04em; line-height: 1; }
.review-avatar { background: var(--cobalt); }
.hours-panel { padding: 36px 40px; display: grid; gap: 18px; }
.hours-panel h3 { margin: 0; }
.contact-layout-simple { grid-template-columns: 1fr 1fr; }
.contact-left { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.agency-photo { margin: 0; }
.agency-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
#contact > .contact-layout { margin-top: -1cm; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e1eafe; color: var(--cobalt); font-size: 25px; font-weight: 700; flex: none; }
.contact-mail { overflow-wrap: anywhere; font-size: 19px !important; }
.contact-side { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 38px; align-self: stretch; }
.contact-side h2 { font-size: clamp(28px, 3vw, 42px); margin: 12px 0 8px; }
.contact-side > .status { margin: 20px 0; }
.contact-side .btn { margin-top: 28px; }
.contact-form-wrap { margin-top: 28px; }
.contact-global-section { padding-top: 36px; }
.contact-form-card { width: 100%; }
.contact-form-card .eyebrow { color: var(--orange-dark); }
.contact-form-card .form-foot { justify-content: space-between; }
.merged-map-wrap { margin-top: 28px; }
.merged-map { aspect-ratio: 21 / 8; border-radius: var(--radius); }
.legal-single { max-width: 900px; }
.legal-single .legal-body { border: 1px solid var(--line); border-radius: var(--radius); }
.legal-single .legal-body h2 { margin-bottom: 24px; }
.legal-single .id-table { width: 100%; }
.legal-single .fine { margin-top: 24px; }
.legal-body p a, .legal-body li a { color: var(--cobalt); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-single .legal-body p + h2, .legal-single .legal-body ul + h2 { margin-top: 36px; }
.site-footer { background: var(--dark); }
.footer-brand .wordmark { display: inline-flex; }
.footer-brand p { max-width: 25em; }
@media (max-width: 900px) { .info-band { grid-template-columns: 80px 1fr; } .info-link { grid-column: 2; } .contact-layout-simple { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .brand-main { font-size: 23px; } .brand-sub { font-size: 9px; } .info-band { grid-template-columns: 1fr; padding: 24px; gap: 12px; } .info-symbol { font-size: 35px; } .info-symbol small { font-size: 24px; } .info-link { grid-column: 1; } .reviews { grid-template-columns: none; } .hours-panel, .contact-side { padding: 26px 22px; } .contact-card .big { font-size: 23px; } .hero-lead { font-size: 16px; } }

/* Accueil : ouverture sur toute la largeur et la hauteur de l’écran. */
.home-hero { padding: 0; }
.home-hero > .wrap { max-width: none; padding: 0; }
.home-hero .hero-block {
  min-height: calc(100svh - 160px);
  border-radius: 0;
  padding: clamp(42px, 5vw, 88px);
  gap: clamp(36px, 5vw, 80px);
  background: #193c80;
}
.home-hero .hero-block::after { display: none; }
.home-hero .hero-media { width: 100%; max-height: 680px; }
.home-hero .hero-copy h1 { font-size: clamp(40px, 4.4vw, 72px); text-align: center; }
@media (min-width: 901px) {
  .home-hero .car-hero img {
    padding: 0;
    transform: scale(1.22);
    transform-origin: 50% 58%;
  }
}
@media (max-width: 900px) {
  .home-hero .hero-block { min-height: calc(100svh - 160px); padding: 32px 24px; }
  .home-hero .hero-media { max-height: 360px; }
}
@media (max-width: 640px) {
  .home-hero .hero-block { min-height: calc(100svh - 129px); padding: 28px 18px 34px; gap: 20px; }
  .home-hero .hero-copy h1 { font-size: clamp(34px, 9vw, 46px); }
  .home-hero .hero-media { aspect-ratio: 16 / 9; max-height: 240px; }
  .home-hero .car-hero img { padding: 8px; }
  .home-hero .hero-actions { margin: 18px 0; }
}

/* Logo fourni par l'auto-école */
.logo-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo-brand img, .brand.logo-brand img { width: 116px; height: 116px; object-fit: contain; border-radius: 50%; flex: none; }
.logo-brand > span { font-family: var(--font-display); font-size: 12px; font-weight: 700; line-height: 1.12; letter-spacing: .02em; text-transform: uppercase; }
.logo-brand strong { display: block; font-size: 19px; letter-spacing: -.035em; text-transform: none; }
.footer-logo { color: #fff; margin-bottom: 22px; }
.footer-logo img { background: #fff; border-radius: 12px; padding: 4px; width: 84px; height: 84px; }
.footer-logo strong { font-size: 20px; }
.price-from small { display: block; font-size: 13px; font-weight: 500; line-height: 1.35; margin-top: 8px; }

/* Tarifs transmis : estimations distinctes du devis individuel */
.tariff-section-alt { background: #e2eaf7; }
.tariff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tariff-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; }
.tariff-card h3 { font-size: clamp(29px, 3vw, 40px); margin: 10px 0 20px; }
.tariff-price { color: var(--cobalt); font-family: var(--font-display); font-size: clamp(42px, 5vw, 64px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.tariff-price small { display: block; color: var(--ink-soft); font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-top: 8px; }
.tariff-card > p { color: var(--ink-soft); margin-top: 22px; }
.tariff-breakdown { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.tariff-breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.tariff-breakdown li strong { white-space: nowrap; }
.tariff-card .tariff-note { font-size: 14px; margin: 20px 0; }
.tariff-estimate { max-width: 40em; margin-top: 32px; color: var(--ink-soft); }
#permis-b .tariff-grid { margin-top: -1cm; }
.tariff-doc { color: var(--cobalt); font-weight: 700; text-underline-offset: 4px; margin-top: auto; }
.code-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.code-prices div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; display: grid; align-content: start; gap: 12px; }
.code-prices strong { color: var(--cobalt); font-family: var(--font-display); font-size: 32px; line-height: 1; }
.code-prices span { color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 900px) { .tariff-grid { grid-template-columns: 1fr; } .code-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .logo-brand { gap: 5px; } .logo-brand img, .brand.logo-brand img { width: 96px; height: 96px; } .logo-brand > span { font-size: 9px; } .logo-brand strong { font-size: 14px; } .footer-logo img { width: 84px; height: 84px; } .footer-logo strong { font-size: 18px; } .code-prices { grid-template-columns: 1fr 1fr; gap: 10px; } .code-prices div { padding: 18px; } .code-prices strong { font-size: 27px; } }

/* Appel immédiat, toujours à portée de main */
.floating-call {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 18px 10px 12px;
  border: 2px solid #7ea6ee;
  border-radius: 999px;
  background: #2a58b0;
  color: #fff;
  box-shadow: 0 10px 30px rgba(10, 24, 44, .28);
  font-family: var(--font-display);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.floating-call:hover { background: #3465c2; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10, 24, 44, .34); }
.floating-call:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.floating-call-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff; flex: none; }
.floating-call-icon svg { width: 23px; height: 23px; }
.floating-call-copy { display: grid; line-height: 1.2; }
.floating-call-copy strong { font-size: 16px; }
.floating-call-copy small { display: none; }
.site-footer { padding-bottom: 120px; }
@media (max-width: 640px) {
  .floating-call { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); min-height: 60px; padding: 8px 14px 8px 9px; gap: 9px; }
  .floating-call-icon { width: 40px; height: 40px; }
  .floating-call-copy strong { font-size: 15px; }
  .merged-map { aspect-ratio: 4 / 3; }
}

/* Réponses pratiques accessibles aux visiteurs et aux moteurs. */
.local-links { display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.text-link { color:var(--cobalt); font-weight:700; text-underline-offset:4px; }
.faq-list { max-width:940px; display:grid; gap:14px; }
.faq-list details { background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 26px; }
.faq-list summary { cursor:pointer; font-weight:700; font-size:1.1rem; line-height:1.5; }
.faq-list details p { margin:16px 0 0; color:var(--ink-soft); line-height:1.75; }
.faq-section .fine { margin-top:24px; }
@media(max-width:640px) { .faq-list details { padding:18px; } .local-links { gap:18px; } }

.site-footer .footer-heading { font-family:var(--font-display); font-size:15px; font-weight:700; line-height:1.4; letter-spacing:.12em; text-transform:uppercase; margin:0 0 18px; }
