/* ==========================================================================
   AUTO MOTO ECOLE Neuilly RER — feuille de style
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  /* Palette « façade » : anthracite et blanc, rouge réservé aux actions */
  --anthracite-900: #0e0e10;
  --anthracite-800: #17171a;
  --anthracite: #1e1e22;
  --anthracite-600: #34343a;
  --anthracite-200: #d6d6db;
  --anthracite-100: #eaeaed;
  --anthracite-50: #f5f5f6;

  --rouge: #d3172e;
  --rouge-hover: #b3102a;
  --rouge-50: #fdeef0;

  --ink: #17171a;
  --muted: #5a5a61;
  --line: #e4e4e7;
  --gris-50: #f6f6f6;
  --gris-100: #ececed;
  --white: #ffffff;

  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px -12px rgba(0, 0, 0, .16);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .05), 0 24px 48px -20px rgba(0, 0, 0, .35);

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --header-h: 76px;
  --mobilebar-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--anthracite); text-underline-offset: .18em; }
a:hover { color: var(--rouge); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--anthracite);
  font-weight: 800;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

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

::selection { background: var(--anthracite-200); color: var(--anthracite-900); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--anthracite);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--rouge);
  --btn-fg: var(--white);
  --btn-bd: var(--rouge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .8rem 1.35rem;
  border: 2px solid var(--btn-bd);
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover {
  --btn-bg: var(--rouge-hover);
  --btn-bd: var(--rouge-hover);
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(179, 16, 42, .55);
}
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--anthracite);
  --btn-bd: var(--anthracite);
}
.btn--outline:hover {
  --btn-bg: var(--anthracite);
  --btn-fg: var(--white);
  --btn-bd: var(--anthracite);
  box-shadow: none;
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--anthracite);
  --btn-bd: var(--white);
}
.btn--light:hover {
  --btn-bg: var(--anthracite-100);
  --btn-fg: var(--anthracite-900);
  --btn-bd: var(--anthracite-100);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, .55);
}
.btn--ghost-light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--anthracite);
  --btn-bd: var(--white);
  box-shadow: none;
}

.btn--sm { min-height: 42px; padding: .55rem 1rem; font-size: .93rem; border-radius: 10px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Emplacement de l'en-tête avant son affichage (évite un décalage) */
#site-header { min-height: var(--header-h); }

/* ---------- Barre d'informations (ordinateur) ---------- */
.topbar {
  display: none;
  background: var(--anthracite-900);
  color: rgba(255, 255, 255, .86);
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
}
.topbar__group { display: flex; align-items: center; gap: 1.5rem; }
.topbar a, .topbar span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: inherit;
  text-decoration: none;
}
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar .icon { width: 1rem; height: 1rem; opacity: .8; }

@media (min-width: 1180px) {
  .topbar { display: block; }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Signature typographique */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  color: var(--anthracite);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: var(--anthracite); }
.brand__mark {
  width: 44px; height: 44px;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; gap: .28rem; }
.brand__top {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--rouge);
}
.brand__name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* Navigation */
.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--anthracite); background: var(--anthracite-50); }
.nav__link[aria-current] { color: var(--anthracite); }
.nav__link[aria-current]::after {
  content: "";
  position: absolute;
  left: .7rem; right: .7rem; bottom: .15rem;
  height: 3px;
  border-radius: 3px;
  background: var(--rouge);
}

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: .5rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--anthracite);
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--anthracite-200); background: var(--anthracite-50); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menu mobile (déroulant) */
.mobile-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35);
}
.mobile-menu__list {
  margin: 0;
  padding: .5rem var(--gutter) 1rem;
  list-style: none;
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: .5rem 0;
  border-bottom: 1px solid var(--gris-100);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.mobile-menu__link[aria-current] { color: var(--rouge); }
.mobile-menu__link .icon { color: var(--muted); }
.mobile-menu__footer {
  display: grid;
  gap: .6rem;
  padding: 0 var(--gutter) 1.25rem;
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1180px) {
  .nav { display: block; }
  .nav-toggle, .mobile-menu { display: none !important; }
  .site-header__inner { gap: 1.25rem; }
}

@media (max-width: 400px) {
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.1rem; }
  .brand__top { font-size: .6rem; }
  /* Libellé masqué visuellement mais toujours lu par les lecteurs d'écran */
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--gris-50); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--sombre {
  background: var(--anthracite);
  color: rgba(255, 255, 255, .88);
}
.section--sombre h2, .section--sombre h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--rouge);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 3px;
  background: currentColor;
}
.section--sombre .eyebrow, .contact-cta .eyebrow { color: #ff6b7d; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
}
.section-head--split > div { max-width: 680px; }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--muted);
  line-height: 1.65;
}
.section-head .lead { margin-bottom: 0; }
.section--sombre .lead { color: rgba(255, 255, 255, .82); }

/* ---------- Accueil : première section ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(900px 420px at 100% 0%, var(--anthracite-50), transparent 70%),
    linear-gradient(180deg, var(--white), var(--gris-50));
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .45rem .85rem .45rem .6rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--anthracite-100);
  box-shadow: var(--shadow-sm);
  color: var(--anthracite);
  font-size: .9rem;
  font-weight: 700;
}
.hero__location .icon { color: var(--rouge); width: 1.1rem; height: 1.1rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.hero__tags .hero__location { margin: 0; }
.hero__flash {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .75rem .45rem .6rem;
  border-radius: 999px;
  background: var(--rouge);
  box-shadow: var(--shadow-sm);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s;
}
.hero__flash:hover { background: var(--rouge-hover); }
.hero__flash strong { font-weight: 800; }
.hero__flash .icon { flex: none; width: 1.1rem; height: 1.1rem; }
.hero__flash .icon:first-child { fill: #ffd36b; stroke: #ffd36b; }
.hero__flash .icon:last-child { width: 1rem; height: 1rem; opacity: .85; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--rouge); }
.hero__lead { max-width: 560px; margin-bottom: 1.75rem; }
.hero__actions { margin-bottom: 1.5rem; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 auto; } }
.hero__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.hero__quick a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  text-decoration: none;
}
.hero__quick a:hover { text-decoration: underline; }
.hero__quick .icon { width: 1.1rem; height: 1.1rem; color: var(--rouge); }

.hero__media { position: relative; }
.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 6 / 5;
  background: var(--anthracite-50);
}
.hero__visual img, .hero__visual svg {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: .88rem;
  line-height: 1.3;
}
.hero__badge strong { display: block; color: var(--anthracite); font-size: .95rem; }
.hero__badge span { color: var(--muted); }
.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--rouge-50);
  color: var(--rouge);
  flex: none;
}
.hero__badge--a { left: -14px; bottom: 28px; }
.hero__badge--b { right: -10px; top: 26px; }

@media (max-width: 559px) {
  .hero__badge--b { display: none; }
  .hero__badge--a { left: 12px; bottom: 12px; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

/* ---------- Bandeau d'informations ---------- */
.infoband {
  background: var(--anthracite);
  color: var(--white);
}
.infoband__grid {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.infoband__item {
  display: flex;
  gap: .9rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.infoband__item:last-child { border-bottom: 0; }
.infoband__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  flex: none;
}
.infoband__item strong { display: block; font-size: 1rem; }
.infoband__item span, .infoband__item a {
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  line-height: 1.45;
}
.infoband__item a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.infoband__item a:hover { color: var(--white); }

@media (min-width: 640px) {
  .infoband__grid { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .infoband__item:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .infoband__grid { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .infoband__item {
    padding: 1.6rem 1.5rem;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, .14);
  }
  .infoband__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Cartes formations ---------- */
.formation-group + .formation-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.formation-group__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.formation-group__head h3 {
  margin: 0;
  font-size: 1.45rem;
}
.formation-group__head .link-arrow { margin-left: auto; font-size: .95rem; }
@media (max-width: 559px) {
  .formation-group__head { flex-wrap: wrap; }
  .formation-group__head .link-arrow { margin-left: 0; width: 100%; }
}
.formation-group__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--anthracite);
  color: var(--white);
}

/* Version compacte (accueil) */
.fgroups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 2rem; }
.fgroups .formation-group + .formation-group { margin-top: 0; }
@media (min-width: 900px) { .fgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.flist {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.flist li + li { border-top: 1px solid var(--line); }
.frow {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 64px;
  padding: .8rem 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.frow:hover { background: var(--anthracite-50); }
.frow:focus-visible { outline: 3px solid var(--rouge); outline-offset: -3px; }
.frow__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--anthracite-50);
  color: var(--anthracite);
}
.frow__body { display: flex; flex-direction: column; min-width: 0; }
.frow__name { font-weight: 700; line-height: 1.3; }
.frow__note { margin-top: .15rem; font-size: .82rem; color: var(--muted); }
.frow__price { margin-left: auto; padding-left: .5rem; font-size: 1.15rem; font-weight: 800; color: var(--anthracite); white-space: nowrap; }
.frow .frow__arrow { flex: none; width: 1.1rem; height: 1.1rem; color: var(--rouge); transition: transform .2s var(--ease); }
.frow:hover .frow__arrow { transform: translateX(3px); }
.fgroups__note { margin: 1.25rem 0 0; font-size: .88rem; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--anthracite-100);
  color: var(--anthracite);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.nowrap { white-space: nowrap; }

/* Cartes larges : prix et bouton côte à côte */
@media (min-width: 1000px) {
  .card.fcard { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 1.25rem; }
  .fcard > .fcard__icon { grid-row: span 2; margin-bottom: 0; }
  .fcard > .fcard__title { align-self: end; }
  .fcard > .fcard__desc { grid-column: 2; }
  .fcard > .fcard__price { grid-column: 1 / -1; align-self: end; }
  .fcard > .fcard__cta { grid-column: 1 / -1; justify-self: start; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  border-color: var(--anthracite-200);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.fcard__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--anthracite-50);
  color: var(--anthracite);
}
.fcard__icon .icon { width: 28px; height: 28px; }
.fcard__title { margin-bottom: .4rem; font-size: 1.15rem; }
.fcard__desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.fcard__price { margin-top: auto; }
.fcard__cta { margin-top: 1.25rem; align-self: flex-start; }
.fcard__cta:hover { transform: none; }
/* Toute la carte est cliquable ; le bouton reste le seul lien */
.fcard__cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:hover .fcard__cta { --btn-bg: var(--anthracite); --btn-fg: var(--white); }

/* ---------- Bloc prix ---------- */
.price { padding-top: 1rem; border-top: 1px dashed var(--line); }
.price__label {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price__amount {
  display: block;
  color: var(--anthracite);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.price__note { margin: .6rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.price__content { margin: .75rem 0 0; padding: 0; list-style: none; font-size: .9rem; display: grid; gap: .3rem; }
.price__content li { display: flex; gap: .45rem; align-items: flex-start; }
.price__content .icon { width: 1rem; height: 1rem; margin-top: .25rem; color: var(--rouge); }

.extras {
  margin: .9rem 0 0;
  padding: .85rem .95rem;
  border-radius: 10px;
  background: var(--rouge-50);
  border: 1px solid #f7d3d8;
  font-size: .88rem;
  list-style: none;
}
.extras__title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .45rem;
  color: var(--rouge-hover);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.extras__title .icon { width: 1rem; height: 1rem; }
.extras ul { margin: 0; padding: 0; list-style: none; }
.extras li, .extras__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .2rem 0;
  font-variant-numeric: tabular-nums;
}
.extras li span:last-child, .extras__total span:last-child { font-weight: 800; white-space: nowrap; }
.extras__total {
  margin-top: .35rem;
  padding-top: .5rem;
  border-top: 1px solid #f1c3ca;
  color: var(--anthracite);
  font-weight: 800;
}
.extras__foot { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table th, .price-table td {
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 800; }
.price-table tr.is-main td { color: var(--anthracite); font-size: 1.05rem; }
.price-table tfoot td {
  border-bottom: 0;
  padding-top: .9rem;
  color: var(--anthracite);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---------- Atouts ---------- */
.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--rouge);
  color: var(--white);
}
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.feature { display: flex; flex-direction: column; }
.feature .feature__proof {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--anthracite);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.4;
}
.feature__proof .icon { flex: none; width: 1rem; height: 1rem; margin-top: .05rem; fill: #f4b000; stroke: #f4b000; }
.features__source { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Permis accéléré ---------- */
.promo {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 2px solid var(--rouge);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--rouge-50), var(--white) 75%);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .promo { grid-template-columns: auto minmax(0, 1fr) auto; }
}
.promo__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--rouge);
  color: #ffd36b;
}
.promo__icon .icon { width: 2rem; height: 2rem; fill: currentColor; }
.promo__eyebrow { margin: 0 0 .35rem; color: var(--rouge); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.promo__title { margin: 0 0 .5rem; font-size: clamp(1.45rem, 3.4vw, 2.05rem); }
.promo__body > p:not([class]) { max-width: 60ch; margin: 0 0 .6rem; }
.promo__note { display: flex; gap: .4rem; align-items: flex-start; margin: 0; font-size: .85rem; color: var(--muted); }
.promo__note .icon { flex: none; width: 1rem; height: 1rem; margin-top: .15rem; }
.promo__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) {
  .promo__actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 559px) {
  .promo__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Accès en transports ---------- */
.access-title { margin: 0 0 .9rem; font-size: 1.05rem; }
.access-list { display: grid; gap: .85rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.access-list li { display: flex; gap: .85rem; align-items: center; }
.access-list__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--anthracite-100);
  border-radius: 12px;
  background: var(--anthracite-50);
  color: var(--rouge);
}
.access-list li:first-child .access-list__icon { border-color: var(--rouge); background: var(--rouge); color: var(--white); }
.access-list__icon .icon { width: 1.25rem; height: 1.25rem; }
.access-list strong { display: block; color: var(--ink); font-weight: 800; line-height: 1.3; }
.access-list span { color: var(--muted); font-size: .95rem; }
.side-card .access-list { margin-bottom: 0; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Parcours ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem; top: 1.35rem;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--anthracite);
  font-weight: 800;
  font-size: 1.05rem;
}
.step h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.step p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .95rem; line-height: 1.55; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 3.75rem; }
  .steps::before {
    content: "";
    position: absolute;
    left: 20px; right: 20px; top: 20px;
    height: 4px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 22px, transparent 22px 40px);
    border-radius: 4px;
  }
  .step { padding: 1.5rem; background: transparent; border: 0; padding: 0; }
  .step::before {
    top: -3.75rem; left: 0;
    width: 44px; height: 44px;
    box-shadow: 0 0 0 6px var(--anthracite);
  }
}

/* ---------- Agence ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.checklist {
  display: grid;
  gap: .65rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.checklist .icon {
  margin-top: .2rem;
  color: var(--rouge);
  width: 1.15rem; height: 1.15rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.photo-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gris-100);
  aspect-ratio: 4 / 3;
}
.photo-grid figure:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }

.agency-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--anthracite);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.agency-card__art { aspect-ratio: 16 / 10; background: var(--anthracite-800); }
.agency-card__art svg { width: 100%; height: 100%; }
.agency-card__body { padding: 1.5rem 1.6rem 1.7rem; }
.agency-card__body h3 { color: var(--white); margin-bottom: .25rem; }
.agency-card__body p { margin: 0; color: rgba(255, 255, 255, .8); }
.agency-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1rem;
  font-size: .92rem;
}
.agency-card__meta a { color: var(--white); font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }

.team {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.team figure { margin: 0; text-align: center; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: .75rem; }
.team figcaption strong { display: block; color: var(--anthracite); }
.team figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------- Avis ---------- */
.reviews {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.review { margin: 0; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1rem; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }

/* ---------- Avis Google ---------- */
.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; vertical-align: middle; }
.stars__bg, .stars__fg { display: inline-flex; gap: .12em; }
.stars__bg { color: #e2e2e6; }
.stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #f4b000; }
.stars svg { flex: none; width: 1.2em; height: 1.2em; fill: currentColor; }
.stars--sm { font-size: .85rem; }
.stars--lg { font-size: 1.5rem; }

.gscore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(500px 240px at 100% 100%, rgba(211, 23, 46, .22), transparent 70%),
    linear-gradient(135deg, #2a2a2f, var(--anthracite-900));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.gscore .stars__bg { color: rgba(255, 255, 255, .22); }
.gscore__main { display: flex; align-items: center; gap: 1rem; }
.gscore__note { margin: 0; line-height: 1; white-space: nowrap; }
.gscore__note strong { font-size: clamp(3rem, 9vw, 4.25rem); font-weight: 800; letter-spacing: -.03em; }
.gscore__note span { margin-left: .15rem; font-size: 1.25rem; font-weight: 700; opacity: .75; }
.gscore__count { margin: .45rem 0 0; font-weight: 700; }
.gscore__five { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.gscore__five strong { display: block; font-size: 2rem; font-weight: 800; color: #ffd36b; }
.gscore .btn { margin-left: auto; }
.gscore .btn .icon { width: 1rem; height: 1rem; }
.gscore__source { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 760px) {
  .gscore__five { padding-left: 2.5rem; border-left: 1px solid rgba(255, 255, 255, .2); }
}
@media (max-width: 559px) {
  .gscore .btn { margin-left: 0; width: 100%; justify-content: center; }
}
.gscore__src { flex-basis: 100%; margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.gscores { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .gscores--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gscores--2 .gscore { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .gscores--2 .gscore__five { align-self: stretch; padding: 1rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .gscores--2 .gscore__five strong { display: inline; font-size: 1.5rem; margin-right: .3rem; }
  .gscores--2 .gscore .btn { margin: auto 0 0; }
}
.avis-google .reviews { margin-top: 1.75rem; }
.review .stars { margin-bottom: .9rem; }

/* Pastille de note dans la première section */
.hero__score { margin: 0 0 1.5rem; }
.hero__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: .92rem;
  text-decoration: none;
}
.hero__rating strong { font-weight: 800; }
.hero__rating-item { display: inline-flex; align-items: center; gap: .45rem; }
.hero__rating-item > span:last-child { color: var(--muted); font-weight: 600; }
.hero__rating-item + .hero__rating-item { padding-top: .4rem; border-top: 1px solid var(--line); }
.hero__rating:has(.hero__rating-item + .hero__rating-item) { display: inline-grid; gap: .4rem; padding: .55rem .95rem; border-radius: 14px; }
.hero__rating:hover { border-color: var(--anthracite-200); }

/* ---------- FAQ (accordéons natifs, utilisables au clavier) ---------- */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq--center { margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--anthracite-200); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 1.25rem;
  color: var(--anthracite);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--anthracite-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e1423' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--rouge-50);
}
.faq summary:hover { background: var(--anthracite-50); }
.faq__answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }
.faq__answer strong { color: var(--ink); }

/* ---------- Bloc contact (fin de page) ---------- */
.contact-cta {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(211, 23, 46, .35), transparent 70%),
    var(--anthracite);
  color: rgba(255, 255, 255, .88);
  overflow: hidden;
}
.contact-cta h2 { color: var(--white); }
.contact-cta .lead { color: rgba(255, 255, 255, .85); }
.contact-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: .25rem 0 1.5rem;
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
.contact-cta__phone:hover { color: var(--white); text-decoration: underline; }
.contact-cta__hours {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
}
.contact-cta__hours h3 { font-size: 1.05rem; color: var(--white); display: flex; gap: .5rem; align-items: center; }

@media (min-width: 900px) {
  .contact-cta { grid-template-columns: 1.2fr .8fr; align-items: center; }
}

/* ---------- Horaires ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .45rem 0; text-align: left; vertical-align: top; }
.hours th { font-weight: 700; padding-right: 1rem; white-space: nowrap; }
.hours td { text-align: right; }
.hours td span { display: block; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--rouge); }
.hours--light th, .hours--light td { color: rgba(255, 255, 255, .9); }
.hours--light tr + tr th, .hours--light tr + tr td { border-top-color: rgba(255, 255, 255, .14); }
.hours--light tr.is-today th, .hours--light tr.is-today td { color: #ffd36b; }
.hours-note { margin: .75rem 0 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.hours--light + .hours-note { color: rgba(255, 255, 255, .65); }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.25rem, 7vw, 5rem);
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(211, 23, 46, .3), transparent 70%),
    var(--anthracite);
  color: rgba(255, 255, 255, .86);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 34px, transparent 34px 62px);
}
.page-hero h1 { color: var(--white); max-width: 820px; margin-bottom: .75rem; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 720px; margin: 0; }
.page-hero .btn-row { margin-top: 1.75rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: .88rem;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); font-weight: 700; }

/* ---------- Pages formation ---------- */
.detail {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 980px) {
  .detail { grid-template-columns: minmax(0, 1fr) 380px; }
  /* Sur mobile, le tarif s'affiche en premier ; sur ordinateur, il passe à droite */
  .detail__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .detail__content { grid-column: 1; grid-row: 1; }
}

.steps-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.steps-list li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.6rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}
.steps-list li::before {
  counter-increment: etape;
  content: counter(etape);
  position: absolute;
  left: 1rem; top: .95rem;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--anthracite);
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
}
.steps-list strong { display: block; color: var(--anthracite); }

/* Cartes d'orientation (« Quelle formation choisir ? ») */
.guide-card { gap: .35rem; }
.guide-card__who { color: var(--muted); font-size: .92rem; font-weight: 600; margin: 0; }
.guide-card h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.guide-card h3 a { color: inherit; text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.guide-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.guide-card .link-arrow { margin-top: .75rem; }

.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 0; padding: 0; list-style: none; }
.fact { padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.fact strong { display: block; color: var(--anthracite); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.fact span { color: var(--muted); font-size: .92rem; }

.stack > * + * { margin-top: 1.25rem; }
.detail__content > section + section { margin-top: clamp(2.25rem, 4vw, 3rem); }
.detail__content h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.detail__content p, .detail__content li { color: #3a3a40; }

.info-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.info-list li {
  display: flex;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--gris-50);
  border: 1px solid var(--line);
}
.info-list .icon { color: var(--rouge); margin-top: .15rem; }
.info-list strong { color: var(--ink); }

.source {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-top: .9rem;
  font-size: .85rem;
  color: var(--muted);
}
.source .icon { width: 1rem; height: 1rem; margin-top: .2rem; }

.notice {
  display: flex;
  gap: .85rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  background: var(--anthracite-50);
  border: 1px solid var(--anthracite-100);
  color: var(--ink);
}
.notice .icon { color: var(--anthracite); margin-top: .15rem; }
.notice p { margin: 0; }
.notice p + p { margin-top: .5rem; }

.price-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.price-card h2 { font-size: 1.2rem; margin-bottom: .75rem; }
.price-card .price { border-top: 0; padding-top: 0; }
.price-card .price__amount { font-size: 2.5rem; }
.price-card__actions { display: grid; gap: .65rem; margin-top: 1.4rem; }
.price-card__contact {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.price-card__contact a { font-weight: 800; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }

.related { margin-top: 1rem; }

/* ---------- Onglets (page Tarifs) ---------- */
.tabs__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 2rem;
  padding: .35rem;
  border-radius: 14px;
  background: var(--gris-100);
}
.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: .55rem 1.25rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tabs__tab:hover { color: var(--anthracite); }
.tabs__tab[aria-selected="true"] {
  background: var(--white);
  color: var(--anthracite);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}
.tabs__panel:focus-visible { outline-offset: 8px; }

.tcard__head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.tcard__head .fcard__icon { margin: 0; width: 46px; height: 46px; }
.tcard__head h3 { margin: 0; font-size: 1.1rem; }
.tcard__content { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }
.tcard__content ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.tcard__actions { margin-top: auto; padding-top: 1.25rem; display: grid; gap: .5rem; }
.tcard__actions .link-arrow { justify-content: center; font-size: .92rem; padding: .35rem; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed var(--anthracite-200);
  border-radius: var(--radius);
  background: var(--anthracite-50);
}
.empty-state p { margin: 0; font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.empty-state > .icon { width: 32px; height: 32px; color: var(--anthracite); }

/* ---------- Formulaire ---------- */
.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}
@media (min-width: 980px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) 400px; }
}

.form-card {
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

.form-mode {
  display: flex;
  gap: .7rem;
  margin: 0 0 1.5rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: var(--gris-50);
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.form-mode .icon { color: var(--anthracite); margin-top: .1rem; }

.req-types {
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}
.req-types legend { margin-bottom: .6rem; font-weight: 700; }
.req-type { position: relative; }
.req-type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.req-type label {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  height: 100%;
  padding: .9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.req-type label strong { color: var(--anthracite); display: flex; align-items: center; gap: .45rem; }
.req-type label span { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.req-type input:hover + label { border-color: var(--anthracite-200); }
.req-type input:checked + label {
  border-color: var(--rouge);
  background: var(--rouge-50);
  box-shadow: 0 0 0 1px var(--rouge);
}
.req-type input:focus-visible + label { outline: 3px solid var(--rouge); outline-offset: 2px; }

.form-grid { display: grid; gap: 1.1rem 1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .req { color: var(--rouge); font-weight: 800; }
.field .opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
.field .hint { color: var(--muted); font-size: .85rem; line-height: 1.4; }

.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  border: 1.5px solid #cfcfd4;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e1423' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat;
}
.input:hover, .select:hover, .textarea:hover { border-color: #a9a9b0; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--anthracite);
  box-shadow: 0 0 0 4px var(--anthracite-100);
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--rouge); }
.field__error {
  display: flex;
  gap: .35rem;
  align-items: center;
  color: var(--rouge-hover);
  font-size: .88rem;
  font-weight: 700;
}
.field__error .icon { width: 1rem; height: 1rem; }

.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; border: 0; }
.choice-row legend { margin-bottom: .4rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 46px;
  padding: .5rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
.choice:has(input:checked) { border-color: var(--anthracite); background: var(--anthracite-50); color: var(--anthracite); }
.choice input { width: 18px; height: 18px; accent-color: var(--anthracite); margin: 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-legal { margin: 1.25rem 0; font-size: .85rem; color: var(--muted); line-height: 1.55; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-required-note { font-size: .85rem; color: var(--muted); margin: 0 0 1.25rem; }

.alert {
  display: flex;
  gap: .8rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.alert .icon { margin-top: .15rem; }
.alert p { margin: 0; }
.alert p + p { margin-top: .4rem; }
.alert--success { background: #ecf7ef; border: 1px solid #bfe3c9; color: #14532d; }
.alert--error { background: var(--rouge-50); border: 1px solid #f3bcc4; color: #7f1020; }
.alert--info { background: var(--anthracite-50); border: 1px solid var(--anthracite-100); color: var(--ink); }
.alert--info .icon { color: var(--anthracite); }

.eval-note {
  display: flex;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: var(--rouge-50);
  color: #7f1020;
  font-size: .92rem;
  font-weight: 600;
}

/* Coordonnées */
.coords { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.coords li { display: flex; gap: .9rem; align-items: flex-start; }
.coords__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--anthracite-50);
  color: var(--anthracite);
  flex: none;
}
.coords strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 700; }
.coords a, .coords span { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.coords a:hover { color: var(--rouge); text-decoration: underline; }

.side-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.side-card + .side-card { margin-top: 1.25rem; }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }

/* Carte */
.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--gris-100);
}
.map iframe { display: block; width: 100%; height: 400px; border: 0; }
.map__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.map__bar address { display: flex; align-items: center; gap: .4rem; font-style: normal; font-weight: 700; color: var(--anthracite); }
.map__bar address .icon { color: var(--rouge); }
.map__credit { font-size: .78rem; color: var(--muted); padding: .4rem 1.25rem .8rem; background: var(--white); margin: 0; }

/* ---------- Contenu éditorial (mentions, confidentialité) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3a3a40; }
.prose dl { display: grid; grid-template-columns: 1fr; gap: .15rem 1.25rem; margin: 0 0 1em; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0 0 .6rem; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .prose dl { grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; }
  .prose dd { margin: 0; }
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--anthracite-900);
  color: rgba(255, 255, 255, .78);
  font-size: .93rem;
}
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__main {
  display: grid;
  gap: 2.25rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 720px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer__main { grid-template-columns: 1.3fr 1fr .8fr .8fr; gap: 3rem; }
}
.footer__brand .brand { color: var(--white); margin-bottom: 1.25rem; }
.footer__brand .brand__top { color: #ff6b7d; }
.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { width: 1.05rem; height: 1.05rem; margin-top: .25rem; opacity: .75; }
.footer__agrement {
  display: inline-block;
  margin-top: 1.25rem;
  padding: .5rem .8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; }

/* ---------- Barre mobile fixe ---------- */
.mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobilebar .btn { min-height: 48px; padding-inline: .6rem; font-size: .95rem; white-space: nowrap; }
.mobilebar__call { min-width: 48px; }
@media (max-width: 559px) {
  .mobilebar__call { width: 48px; padding-inline: 0; }
  .mobilebar__call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1179px) {
  body { padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom)); }
}
@media (min-width: 1180px) {
  .mobilebar { display: none; }
}

/* ---------- Fenêtre « Être rappelé » (formulaire Permily) ---------- */
html.has-modal { overflow: hidden; }
.modal {
  width: min(568px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(0, 0, 0, .55); }
.modal[open] { animation: modal-in .25s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem .9rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.modal__head h2 { margin: 0; font-size: 1.25rem; }
.modal__close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--anthracite);
  cursor: pointer;
}
.modal__close:hover { background: var(--anthracite-50); border-color: var(--anthracite-200); }
.modal__body { display: flex; justify-content: center; padding: 1rem 1.5rem; }
.modal__body iframe, .rappel-embed iframe { display: block; }
.modal__alt, .rappel-embed__alt { margin: 0; padding: 0 1.5rem 1.25rem; text-align: center; font-size: .92rem; color: var(--muted); }
.modal__alt a, .rappel-embed__alt a { font-weight: 800; }

.rappel-embed { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.rappel-embed__alt { padding: 0; }

@media (max-width: 480px) {
  .modal__head { padding-left: 1.1rem; }
  .modal__body { padding: .75rem; }
}

/* ---------- Mode administration (?admin=1) ---------- */
.admin-only { display: none !important; }
html.is-admin .admin-only { display: block !important; }
html.is-admin [data-admin-reveal] { display: block !important; }
html.is-admin section[data-admin-reveal] { display: block !important; }

.admin-bar {
  position: fixed;
  left: 50%; top: .75rem;
  z-index: 500;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .6rem .5rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.admin-bar a { color: #ffd34d; }
.todo {
  display: block;
  margin: .75rem 0;
  padding: .85rem 1rem;
  border: 2px dashed #e0a800;
  border-radius: 10px;
  background: #fff8e1;
  color: #5c4500;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
}
.todo::before { content: "À compléter — "; font-weight: 800; }
.todo-slot {
  display: grid;
  place-items: center;
  min-height: 140px;
  border: 2px dashed #e0a800;
  border-radius: var(--radius);
  background: #fff8e1;
  color: #5c4500;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Sans JavaScript ---------- */
.noscript-bar {
  padding: .9rem var(--gutter);
  background: var(--anthracite);
  color: var(--white);
  text-align: center;
  font-weight: 600;
}
.noscript-bar a { color: var(--white); }

/* ---------- Impression ---------- */
@media print {
  .topbar, .site-header, .mobilebar, .site-footer, .btn, .map iframe { display: none !important; }
  body { padding: 0; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}
.modal__legal, .rappel-embed__legal { margin: 0; padding: 0 1.5rem 1.25rem; text-align: center; font-size: .8rem; color: var(--muted); }
.modal__alt { padding-bottom: .5rem; }
.rappel-embed__legal { padding: 0; }

/* ---------- Page Contact : inscription en ligne ---------- */
.inscription-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  padding: 1.5rem;
  border: 1px solid var(--anthracite-100);
  border-radius: var(--radius);
  background: var(--anthracite-50);
}
.inscription-panel h3, .inscription-panel p { margin: 0; }
.inscription-panel__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white);
  color: var(--rouge);
  box-shadow: var(--shadow-sm);
}
.inscription-panel .rappel-embed__legal { text-align: left; }
