/* ==========================================================================
   assuranceauto-alcoolemie.fr — Refonte 2026
   Fichier CSS UNIQUE pour toutes les nouvelles sections et pages.
   Direction artistique : « La route reprend »
   - Nuit (bleu marine profond) = la situation difficile
   - Ambre (jaune de marquage routier, couleur historique #ffbb38) = le cap, la solution
   - Papier chaud = clarté, conseil, confiance
   Motif signature : la ligne discontinue de marquage au sol (.ax-dash).
   Toutes les classes sont préfixées « ax- » et limitées à .ax-page pour ne
   pas entrer en conflit avec style.css (header / footer existants).
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ax-night: #07132e;
  --ax-ink: #0b1b3f;
  --ax-ink-2: #16285a;
  --ax-amber: #ffbb38;
  --ax-amber-deep: #e0950b;
  --ax-amber-soft: #fff3d6;
  --ax-paper: #f7f3ea;
  --ax-paper-2: #efe8da;
  --ax-white: #ffffff;
  --ax-text: #273049;
  --ax-muted: #5b6479;
  --ax-line: #e2dacb;
  --ax-line-dark: rgba(255, 255, 255, .14);
  --ax-ok: #0d7a4e;
  --ax-alert: #b23a2c;

  --ax-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ax-font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ax-radius-s: 10px;
  --ax-radius: 18px;
  --ax-radius-l: 28px;
  --ax-shadow: 0 18px 40px -18px rgba(7, 19, 46, .28);
  --ax-shadow-strong: 0 30px 60px -24px rgba(7, 19, 46, .45);

  --ax-wrap: 1200px;
  --ax-gutter: clamp(16px, 4vw, 32px);
  --ax-section: clamp(64px, 9vw, 120px);
  --ax-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base (scopée) ---------- */
.ax-page {
  font-family: var(--ax-font-body);
  color: var(--ax-text);
  background: var(--ax-paper);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
.ax-page *, .ax-page *::before, .ax-page *::after { box-sizing: border-box; }
.ax-page img { max-width: 100%; height: auto; display: block; }
.ax-page h1, .ax-page h2, .ax-page h3, .ax-page h4 {
  font-family: var(--ax-font-display);
  color: var(--ax-ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
.ax-page h2 { font-size: clamp(30px, 4.2vw, 48px); }
.ax-page h3 { font-size: clamp(20px, 2.2vw, 25px); }
.ax-page h4 { font-size: 18px; font-family: var(--ax-font-body); font-weight: 700; letter-spacing: 0; }
.ax-page p { margin: 0 0 1em; }
.ax-page a { color: var(--ax-ink); text-decoration-color: var(--ax-amber-deep); text-underline-offset: 3px; }
.ax-page a:hover { color: var(--ax-amber-deep); }
.ax-page strong { color: var(--ax-ink); font-weight: 700; }
.ax-page :focus-visible { outline: 3px solid var(--ax-amber); outline-offset: 3px; border-radius: 4px; }

.ax-wrap { width: 100%; max-width: var(--ax-wrap); margin: 0 auto; padding: 0 var(--ax-gutter); }
.ax-section { padding: var(--ax-section) 0; position: relative; }
.ax-section--white { background: var(--ax-white); }
.ax-section--sand { background: var(--ax-paper-2); }
.ax-section--night { background: var(--ax-night); color: #c9d1e6; }
.ax-section--night h2, .ax-section--night h3, .ax-section--night h4, .ax-section--night strong { color: #fff; }
.ax-section--night a { color: var(--ax-amber); }

/* Sur-titre avec le motif de marquage routier */
.ax-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ax-font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ax-amber-deep); margin-bottom: 18px;
}
.ax-kicker::before {
  content: ""; width: 42px; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 12px, transparent 12px 18px);
}
.ax-section--night .ax-kicker, .ax-hero .ax-kicker { color: var(--ax-amber); }

.ax-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ax-muted); max-width: 62ch; }
.ax-section--night .ax-lead { color: #aeb8d3; }
.ax-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.ax-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ax-head--center .ax-lead { margin-left: auto; margin-right: auto; }

/* Ligne de marquage (séparateur signature) */
.ax-dash {
  height: 6px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg, var(--ax-amber) 0 46px, transparent 46px 78px);
  opacity: .9;
}

/* ---------- 3. Boutons ---------- */
.ax-btn {
  --b-bg: var(--ax-amber); --b-fg: var(--ax-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  background: var(--b-bg); color: var(--b-fg) !important;
  font-family: var(--ax-font-body); font-size: 15px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none !important; line-height: 1.2; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(224, 149, 11, .8);
  transition: transform .25s var(--ax-ease), box-shadow .25s var(--ax-ease), background .25s;
}
.ax-btn i { transition: transform .25s var(--ax-ease); }
.ax-btn:hover { transform: translateY(-2px); background: #ffc85c; box-shadow: 0 16px 30px -12px rgba(224, 149, 11, .9); }
.ax-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.ax-btn--ghost { --b-bg: transparent; --b-fg: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.ax-btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; border-color: #fff; }
.ax-btn--ink { --b-bg: var(--ax-ink); --b-fg: #fff; box-shadow: var(--ax-shadow); }
.ax-btn--ink:hover { background: var(--ax-ink-2); }
.ax-btn--line { --b-bg: transparent; --b-fg: var(--ax-ink); border-color: var(--ax-ink); box-shadow: none; }
.ax-btn--line:hover { background: var(--ax-ink); color: #fff !important; box-shadow: none; }
.ax-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.ax-link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px;
  text-decoration: none !important; color: var(--ax-ink);
  border-bottom: 2px solid var(--ax-amber); padding-bottom: 2px;
}
.ax-link-arrow i { transition: transform .25s var(--ax-ease); }
.ax-link-arrow:hover i { transform: translateX(4px); }
.ax-section--night .ax-link-arrow { color: #fff; }

/* ---------- 4. HERO (page d'accueil) ---------- */
.ax-hero {
  position: relative; background: var(--ax-night); color: #d6dcec;
  padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 10vw, 130px);
  overflow: hidden; isolation: isolate;
}
.ax-hero::after { /* lueur de phares */
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -25vw; top: -30vw;
  background: radial-gradient(circle, rgba(255, 187, 56, .18), transparent 60%);
}
.ax-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ax-hero h1 {
  color: #fff; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.04; margin-bottom: 22px; font-weight: 600;
}
.ax-hero h1 em { font-style: italic; color: var(--ax-amber); font-weight: 500; }
.ax-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #b9c3dc; max-width: 54ch; margin-bottom: 30px; }
.ax-hero__checks { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 10px; }
.ax-hero__checks li { display: flex; gap: 12px; align-items: flex-start; color: #e3e8f4; font-weight: 500; }
.ax-hero__checks i { color: var(--ax-amber); margin-top: 5px; }
.ax-hero__media { position: relative; }
.ax-hero__img {
  border-radius: var(--ax-radius-l) var(--ax-radius-l) var(--ax-radius-l) 120px;
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover; box-shadow: var(--ax-shadow-strong);
}
.ax-hero__ticket {
  position: absolute; left: -36px; bottom: 40px; width: min(290px, 80%);
  background: #fff; color: var(--ax-text); border-radius: var(--ax-radius);
  padding: 20px 22px; box-shadow: var(--ax-shadow-strong);
  animation: ax-float 6s ease-in-out infinite;
}
.ax-hero__ticket small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-muted); font-weight: 700; }
.ax-hero__ticket strong { display: block; font-family: var(--ax-font-display); font-size: 24px; margin: 4px 0 10px; }
.ax-hero__ticket .ax-meter { height: 8px; border-radius: 8px; background: var(--ax-paper-2); overflow: hidden; }
.ax-hero__ticket .ax-meter span { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, var(--ax-amber), var(--ax-amber-deep)); }
.ax-hero__ticket p { margin: 10px 0 0; font-size: 13px; color: var(--ax-muted); line-height: 1.5; }
.ax-hero__badge {
  position: absolute; right: -14px; top: 28px; width: 112px; height: 112px; border-radius: 50%;
  background: var(--ax-amber); color: var(--ax-ink); display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 12px; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(10deg); box-shadow: 0 14px 30px -10px rgba(255, 187, 56, .7);
}
.ax-hero__badge b { display: block; font-family: var(--ax-font-display); font-size: 28px; letter-spacing: -.02em; text-transform: none; }
.ax-hero__road { position: absolute; left: 0; right: 0; bottom: 34px; }
@keyframes ax-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 5. Hero de page intérieure ---------- */
.ax-pagehero { position: relative; background: var(--ax-night); color: #c9d1e6; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 8vw, 110px); }
.ax-pagehero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ax-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--ax-night) 30%, rgba(7, 19, 46, .55) 100%); }
.ax-pagehero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); max-width: 18ch; }
.ax-pagehero h1 em { color: var(--ax-amber); font-weight: 500; }
.ax-pagehero .ax-lead { color: #c3cbe0; }
.ax-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; font-size: 13px; }
.ax-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.ax-crumbs a { color: #c3cbe0; text-decoration: none; }
.ax-crumbs a:hover { color: var(--ax-amber); }
.ax-crumbs [aria-current] { color: var(--ax-amber); }

/* ---------- 6. Bandeau de réassurance ---------- */
.ax-trust { position: relative; z-index: 2; margin-top: -58px; }
.ax-trust__bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--ax-radius); box-shadow: var(--ax-shadow-strong); overflow: hidden;
}
.ax-trust__item { padding: 26px 24px; display: flex; gap: 16px; align-items: center; }
.ax-trust__item + .ax-trust__item { border-left: 1px solid var(--ax-line); }
.ax-trust__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--ax-amber-soft); color: var(--ax-amber-deep); display: grid; place-items: center; font-size: 19px; }
.ax-trust__item div strong { display: block; font-size: 15px; line-height: 1.3; }
.ax-trust__item div span { font-size: 13px; color: var(--ax-muted); line-height: 1.4; display: block; }

/* ---------- 7. Profils (bento asymétrique) ---------- */
.ax-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.ax-tile {
  position: relative; grid-column: span 2; border-radius: var(--ax-radius); padding: 28px;
  background: #fff; border: 1px solid var(--ax-line); text-decoration: none !important; color: var(--ax-text);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ax-ease), box-shadow .35s var(--ax-ease), border-color .35s;
}
.ax-tile:hover { transform: translateY(-5px); box-shadow: var(--ax-shadow); border-color: transparent; color: var(--ax-text); }
.ax-tile__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-amber-deep); margin-bottom: 10px; }
.ax-tile h3 { margin-bottom: 10px; }
.ax-tile p { font-size: 14.5px; color: var(--ax-muted); margin-bottom: 18px; }
.ax-tile .ax-link-arrow { margin-top: auto; align-self: flex-start; }
.ax-tile--feature { grid-column: span 3; grid-row: span 2; color: #fff; background: var(--ax-ink); border: 0; justify-content: flex-end; min-height: 440px; }
.ax-tile--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ax-ease); }
.ax-tile--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 19, 46, .05) 20%, rgba(7, 19, 46, .92) 82%); }
.ax-tile--feature:hover { color: #fff; }
.ax-tile--feature:hover img { transform: scale(1.05); }
.ax-tile--feature h3 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.ax-tile--feature p { color: #d3d9e8; font-size: 15.5px; max-width: 46ch; }
.ax-tile--feature .ax-tile__tag { color: var(--ax-amber); }
.ax-tile--feature .ax-link-arrow { color: #fff; }
.ax-tile--wide { grid-column: span 3; }
.ax-tile--amber { background: var(--ax-amber); border: 0; }
.ax-tile--amber .ax-tile__tag { color: var(--ax-ink); opacity: .7; }
.ax-tile--amber p { color: #3b3420; }
.ax-tile--amber .ax-link-arrow { border-color: var(--ax-ink); }
.ax-tile__icon { position: absolute; right: 22px; top: 22px; font-size: 26px; color: var(--ax-line); transition: color .3s, transform .3s var(--ax-ease); }
.ax-tile:hover .ax-tile__icon { color: var(--ax-amber); transform: rotate(-8deg) scale(1.1); }
.ax-tile--amber .ax-tile__icon, .ax-tile--amber:hover .ax-tile__icon { color: rgba(11, 27, 63, .25); }

/* ---------- 8. Split éditorial (image + texte) ---------- */
.ax-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.ax-split--reverse .ax-split__media { order: 2; }
.ax-split__media { position: relative; }
.ax-split__media img { width: 100%; border-radius: var(--ax-radius-l); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--ax-shadow); }
.ax-split__media--tall img { aspect-ratio: 4 / 5; }
.ax-split__media::before { /* cadre décalé */
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px dashed var(--ax-amber);
  border-radius: var(--ax-radius-l); z-index: 0;
}
.ax-split__media img { position: relative; z-index: 1; }
.ax-split--reverse .ax-split__media::before { inset: 22px 22px -22px -22px; }
.ax-split__note {
  position: absolute; z-index: 2; right: -18px; bottom: -26px; max-width: 250px;
  background: var(--ax-ink); color: #dfe4f1; border-radius: var(--ax-radius); padding: 18px 20px;
  font-size: 13.5px; line-height: 1.5; box-shadow: var(--ax-shadow-strong);
}
.ax-split__note b { display: block; font-family: var(--ax-font-display); color: var(--ax-amber); font-size: 30px; line-height: 1; margin-bottom: 6px; }
.ax-split--reverse .ax-split__note { right: auto; left: -18px; }

.ax-checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.ax-checklist li { position: relative; padding-left: 36px; }
.ax-checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px;
  position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ax-amber-soft); color: var(--ax-amber-deep); display: grid; place-items: center;
}
.ax-section--night .ax-checklist li::before { background: rgba(255, 187, 56, .15); color: var(--ax-amber); }

/* ---------- 9. Barème légal (tableau) ---------- */
.ax-law { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--ax-radius-l); overflow: hidden; box-shadow: var(--ax-shadow); background: #fff; }
.ax-law__col { padding: 34px 30px; position: relative; }
.ax-law__col + .ax-law__col { border-left: 1px solid var(--ax-line); }
.ax-law__level { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.ax-law__col:nth-child(1) .ax-law__level { background: var(--ax-amber-soft); color: #8a5a00; }
.ax-law__col:nth-child(2) .ax-law__level { background: #fde4df; color: var(--ax-alert); }
.ax-law__col:nth-child(3) { background: var(--ax-ink); color: #c9d1e6; }
.ax-law__col:nth-child(3) h3, .ax-law__col:nth-child(3) strong { color: #fff; }
.ax-law__col:nth-child(3) .ax-law__level { background: var(--ax-alert); color: #fff; }
.ax-law__rate { font-family: var(--ax-font-display); font-size: clamp(30px, 3.4vw, 42px); color: var(--ax-ink); line-height: 1.05; margin-bottom: 4px; }
.ax-law__col:nth-child(3) .ax-law__rate { color: var(--ax-amber); }
.ax-law__sub { font-size: 13px; color: var(--ax-muted); margin-bottom: 20px; }
.ax-law__col:nth-child(3) .ax-law__sub { color: #9aa6c4; }
.ax-law dl { margin: 0; display: grid; gap: 12px; font-size: 14.5px; }
.ax-law dt { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-muted); }
.ax-law__col:nth-child(3) dt { color: #8f9bbb; }
.ax-law dd { margin: 2px 0 0; }
.ax-footnote { font-size: 13px; color: var(--ax-muted); margin-top: 22px; }
.ax-footnote i { color: var(--ax-amber-deep); margin-right: 6px; }

/* ---------- 10. Timeline « route » verticale ---------- */
.ax-route { position: relative; list-style: none; margin: 0; padding: 0; max-width: 920px; margin-inline: auto; }
.ax-route::before { /* la route */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 34px; transform: translateX(-50%);
  background: #1d2c55; border-radius: 17px;
}
.ax-route::after { /* la ligne centrale */
  content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 4px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--ax-amber) 0 20px, transparent 20px 36px);
}
.ax-route::before, .ax-route::after { z-index: 0; }
.ax-route__step { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 34px; }
.ax-route__step:last-child { margin-bottom: 0; }
.ax-route__dot {
  grid-column: 2; justify-self: center; position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ax-amber); color: var(--ax-ink); font-family: var(--ax-font-display); font-weight: 700; font-size: 22px;
  display: grid; place-items: center; box-shadow: 0 0 0 7px var(--ax-night);
}
.ax-route__card { background: rgba(255, 255, 255, .05); border: 1px solid var(--ax-line-dark); border-radius: var(--ax-radius); padding: 24px 26px; backdrop-filter: blur(4px); }
.ax-route__card h3 { font-size: 21px; margin-bottom: 8px; }
.ax-route__card p { margin: 0; font-size: 15px; }
.ax-route__when { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-amber); margin-bottom: 6px; }
.ax-route__step:nth-child(odd) .ax-route__card { grid-column: 1; grid-row: 1; text-align: right; }
.ax-route__step:nth-child(even) .ax-route__card { grid-column: 3; grid-row: 1; }

/* ---------- 11. Étapes horizontales (process devis) ---------- */
.ax-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: ax-step; position: relative; }
.ax-steps::before {
  content: ""; position: absolute; top: 33px; left: 8%; right: 8%; height: 4px;
  background: repeating-linear-gradient(90deg, var(--ax-amber) 0 22px, transparent 22px 36px);
}
.ax-steps li { position: relative; padding: 0 clamp(14px, 2.5vw, 34px); text-align: center; }
.ax-steps li::before {
  counter-increment: ax-step; content: "0" counter(ax-step);
  position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 24px;
  width: 70px; height: 70px; border-radius: 50%; background: var(--ax-ink); color: var(--ax-amber);
  font-family: var(--ax-font-display); font-size: 24px; font-weight: 700; box-shadow: 0 0 0 8px var(--ax-paper);
}
.ax-section--white .ax-steps li::before { box-shadow: 0 0 0 8px #fff; }
.ax-steps h3 { font-size: 22px; }
.ax-steps p { color: var(--ax-muted); font-size: 15px; }
.ax-steps .ax-chip { margin-top: 4px; }
.ax-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ax-ok); background: #e3f3eb; padding: 6px 12px; border-radius: 999px; }

/* ---------- 12. Bandeau CTA ---------- */
.ax-cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--ax-radius-l);
  background: var(--ax-ink); color: #c9d1e6; padding: clamp(34px, 5vw, 60px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.ax-cta::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 187, 56, .12); }
.ax-cta h2, .ax-cta h3 { color: #fff; margin-bottom: 10px; }
.ax-cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.ax-cta p { margin: 0; color: #b9c3dc; }
.ax-cta .ax-btn-row { justify-content: flex-end; }
.ax-cta--amber { background: var(--ax-amber); color: #3b3420; }
.ax-cta--amber h2, .ax-cta--amber h3 { color: var(--ax-ink); }
.ax-cta--amber p { color: #4a4128; }
.ax-cta--amber::before { border-color: rgba(11, 27, 63, .08); }
.ax-cta--amber .ax-btn { --b-bg: var(--ax-ink); --b-fg: #fff; box-shadow: var(--ax-shadow); }
.ax-cta--amber .ax-btn--line { --b-bg: transparent; --b-fg: var(--ax-ink); }

/* ---------- 13. Comparatif des formules ---------- */
.ax-compare-wrap { overflow-x: auto; border-radius: var(--ax-radius-l); box-shadow: var(--ax-shadow); background: #fff; -webkit-overflow-scrolling: touch; }
.ax-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; }
.ax-compare th, .ax-compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--ax-line); }
.ax-compare th:first-child, .ax-compare td:first-child { text-align: left; }
.ax-compare thead th { font-family: var(--ax-font-display); font-size: 20px; color: var(--ax-ink); font-weight: 600; padding-top: 28px; vertical-align: bottom; }
.ax-compare thead th small { display: block; font-family: var(--ax-font-body); font-size: 12px; font-weight: 600; color: var(--ax-muted); margin-top: 4px; }
.ax-compare thead th.is-pick { background: var(--ax-amber-soft); position: relative; }
.ax-compare thead th.is-pick::before { content: "Le plus demandé"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-family: var(--ax-font-body); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a5a00; white-space: nowrap; }
.ax-compare td.is-pick { background: #fffaf0; }
.ax-compare tbody tr:hover td { background: #fbf8f2; }
.ax-compare tbody tr:hover td.is-pick { background: #fff4dc; }
.ax-compare .yes { color: var(--ax-ok); font-size: 17px; }
.ax-compare .no { color: #c8c1b3; font-size: 17px; }
.ax-compare .opt { font-size: 12px; font-weight: 700; color: var(--ax-muted); text-transform: uppercase; letter-spacing: .06em; }
.ax-compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- 14. Avantages (liste éditoriale + image collante) ---------- */
.ax-perks { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.ax-perks__aside { position: sticky; top: 110px; }
.ax-perks__aside img { border-radius: var(--ax-radius-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-top: 28px; box-shadow: var(--ax-shadow); }
.ax-perks__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ax-perk { padding: 28px 26px 28px 0; border-top: 1px solid var(--ax-line); }
.ax-perk:nth-child(even) { padding: 28px 0 28px 26px; border-left: 1px solid var(--ax-line); }
.ax-perk__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ax-ink); color: var(--ax-amber); font-size: 18px; margin-bottom: 16px; transition: transform .3s var(--ax-ease), background .3s; }
.ax-perk:hover .ax-perk__icon { transform: rotate(-6deg); background: var(--ax-amber); color: var(--ax-ink); }
.ax-perk h3 { font-size: 20px; margin-bottom: 8px; }
.ax-perk p { font-size: 14.5px; color: var(--ax-muted); margin: 0; }

/* ---------- 15. Documents (dossier) ---------- */
.ax-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: ax-doc; }
.ax-doc { position: relative; background: #fff; border-radius: var(--ax-radius); padding: 26px 24px 24px; border-left: 5px solid var(--ax-amber); box-shadow: 0 8px 24px -16px rgba(7, 19, 46, .3); transition: transform .3s var(--ax-ease); }
.ax-doc:hover { transform: translateY(-4px); }
.ax-doc::after { counter-increment: ax-doc; content: counter(ax-doc, decimal-leading-zero); position: absolute; right: 20px; top: 16px; font-family: var(--ax-font-display); font-size: 34px; font-weight: 700; color: var(--ax-paper-2); }
.ax-doc h3 { font-size: 18px; font-family: var(--ax-font-body); font-weight: 700; margin-bottom: 8px; padding-right: 40px; }
.ax-doc p { font-size: 14px; color: var(--ax-muted); margin: 0; }
.ax-doc .ax-chip { margin-top: 12px; }
.ax-chip--must { color: var(--ax-alert); background: #fde4df; }

/* ---------- 16. Conseils (bandeau numéroté sur fond sombre) ---------- */
.ax-tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ax-line-dark); }
.ax-tip { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--ax-line-dark); }
.ax-tip:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--ax-line-dark); }
.ax-tip__n { font-family: var(--ax-font-display); font-size: 44px; line-height: 1; color: var(--ax-amber); font-weight: 600; }
.ax-tip h3 { font-size: 20px; margin-bottom: 6px; }
.ax-tip p { margin: 0; font-size: 15px; }

/* ---------- 17. Bande « chiffres clés » ---------- */
.ax-figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ax-figure { padding: 26px 22px; border-radius: var(--ax-radius); background: #fff; border: 1px solid var(--ax-line); }
.ax-figure b { display: block; font-family: var(--ax-font-display); font-size: clamp(30px, 3.4vw, 42px); color: var(--ax-ink); line-height: 1; margin-bottom: 10px; }
.ax-figure b span { color: var(--ax-amber-deep); }
.ax-figure p { margin: 0; font-size: 14px; color: var(--ax-muted); line-height: 1.5; }

/* ---------- 18. FAQ (accordéon natif <details>) ---------- */
.ax-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.ax-faq__aside { position: sticky; top: 110px; }
.ax-faq__list { display: grid; gap: 12px; }
.ax-faq details { background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); transition: box-shadow .3s, border-color .3s; }
.ax-faq details[open] { box-shadow: var(--ax-shadow); border-color: transparent; }
.ax-faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-family: var(--ax-font-display); font-size: 18.5px; font-weight: 600; color: var(--ax-ink); line-height: 1.35;
}
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--ax-amber-soft); color: var(--ax-amber-deep);
  display: grid; place-items: center; font-family: var(--ax-font-body); font-size: 20px; font-weight: 600; transition: transform .3s var(--ax-ease), background .3s;
}
.ax-faq details[open] summary::after { content: "−"; background: var(--ax-amber); color: var(--ax-ink); }
.ax-faq summary:hover { color: var(--ax-amber-deep); }
.ax-faq__body { padding: 0 24px 22px; font-size: 15px; color: var(--ax-muted); }
.ax-faq__body p:last-child { margin-bottom: 0; }

/* ---------- 19. Contact ---------- */
.ax-contact { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--ax-radius-l); overflow: hidden; background: #fff; box-shadow: var(--ax-shadow-strong); }
.ax-contact__main { padding: clamp(32px, 5vw, 56px); }
.ax-contact__media { position: relative; min-height: 360px; background: var(--ax-ink); }
.ax-contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-contact__phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--ax-font-display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; color: var(--ax-ink) !important; text-decoration: none !important; margin: 8px 0 4px; }
.ax-contact__phone i { font-size: .6em; width: 52px; height: 52px; border-radius: 50%; background: var(--ax-amber); display: grid; place-items: center; }
.ax-contact__hours { font-size: 14px; color: var(--ax-muted); margin-bottom: 28px; }
.ax-contact address { font-style: normal; display: grid; gap: 14px; margin-bottom: 28px; }
.ax-contact address div { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.ax-contact address i { color: var(--ax-amber-deep); margin-top: 5px; width: 18px; text-align: center; }
.ax-values { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.ax-values li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ax-paper); border: 1px solid var(--ax-line); font-size: 13.5px; font-weight: 600; color: var(--ax-ink); }
.ax-values i { color: var(--ax-amber-deep); }

/* ---------- 20. Pages intérieures : article + sommaire ---------- */
.ax-article { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.ax-toc { position: sticky; top: 110px; background: #fff; border-radius: var(--ax-radius); padding: 24px; border: 1px solid var(--ax-line); font-size: 14px; }
.ax-toc strong { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-muted); margin-bottom: 12px; }
.ax-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: ax-toc; display: grid; gap: 4px; }
.ax-toc li { counter-increment: ax-toc; }
.ax-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; text-decoration: none; color: var(--ax-text); line-height: 1.35; transition: background .2s; }
.ax-toc a::before { content: counter(ax-toc, decimal-leading-zero); font-weight: 700; color: var(--ax-amber-deep); font-size: 12px; padding-top: 1px; }
.ax-toc a:hover { background: var(--ax-paper); color: var(--ax-ink); }
.ax-prose { max-width: 760px; }
.ax-prose > section { scroll-margin-top: 110px; padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--ax-line); }
.ax-prose > section:last-child { border-bottom: 0; margin-bottom: 0; }
.ax-prose h2 { font-size: clamp(26px, 3vw, 36px); }
.ax-prose h3 { margin-top: 1.4em; font-size: 21px; }
.ax-prose ul:not([class]) { padding-left: 1.2em; margin: 0 0 1.2em; }
.ax-prose ul:not([class]) li { margin-bottom: 6px; }
.ax-prose ul:not([class]) li::marker { color: var(--ax-amber-deep); }
.ax-prose figure { margin: 30px 0; }
.ax-prose figure img { border-radius: var(--ax-radius); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ax-prose figcaption { font-size: 13px; color: var(--ax-muted); margin-top: 10px; }
.ax-callout { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: var(--ax-amber-soft); border-radius: var(--ax-radius); padding: 22px 24px; margin: 24px 0; font-size: 15px; }
.ax-callout i { width: 44px; height: 44px; border-radius: 12px; background: var(--ax-amber); color: var(--ax-ink); display: grid; place-items: center; font-size: 18px; }
.ax-callout p:last-child { margin: 0; }
.ax-callout--ink { background: var(--ax-ink); color: #c9d1e6; }
.ax-callout--ink strong { color: #fff; }
.ax-table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--ax-radius); border: 1px solid var(--ax-line); background: #fff; }
.ax-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.ax-table th { background: var(--ax-ink); color: #fff; text-align: left; padding: 14px 16px; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.ax-table td { padding: 14px 16px; border-top: 1px solid var(--ax-line); vertical-align: top; }
.ax-table tr:nth-child(even) td { background: #fcfaf6; }

/* Pages liées (maillage interne) */
.ax-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ax-related a { display: flex; flex-direction: column; background: #fff; border-radius: var(--ax-radius); overflow: hidden; text-decoration: none; color: var(--ax-text); border: 1px solid var(--ax-line); transition: transform .3s var(--ax-ease), box-shadow .3s; }
.ax-related a:hover { transform: translateY(-4px); box-shadow: var(--ax-shadow); color: var(--ax-text); }
.ax-related img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ax-related div { padding: 20px 22px 24px; }
.ax-related span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-amber-deep); }
.ax-related h3 { font-size: 19px; margin: 6px 0 0; }

/* Crédits photos */
.ax-credits { font-size: 12px; color: var(--ax-muted); text-align: center; padding: 18px var(--ax-gutter); background: var(--ax-paper-2); margin: 0; }
.ax-credits a { color: inherit; }

/* ---------- 21. Barre d'action mobile ---------- */
.ax-mobilebar { display: none; }

/* ---------- 22. Animations d'apparition (activées par JS uniquement) ---------- */
.ax-js .ax-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ax-ease), transform .8s var(--ax-ease); transition-delay: var(--d, 0s); }
.ax-js .ax-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ax-page *, .ax-page *::before, .ax-page *::after { animation: none !important; transition: none !important; }
  .ax-js .ax-reveal { opacity: 1; transform: none; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1100px) {
  .ax-hero__ticket { left: 16px; }
  .ax-hero__badge { right: 8px; }
  .ax-trust__bar { grid-template-columns: repeat(2, 1fr); }
  .ax-trust__item:nth-child(3) { border-left: 0; }
  .ax-trust__item:nth-child(n+3) { border-top: 1px solid var(--ax-line); }
  .ax-bento { grid-template-columns: repeat(2, 1fr); }
  .ax-tile, .ax-tile--wide { grid-column: span 1; }
  .ax-tile--feature { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .ax-figures { grid-template-columns: repeat(2, 1fr); }
  .ax-related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ax-hero__grid, .ax-split, .ax-perks, .ax-faq, .ax-cta, .ax-contact, .ax-article { grid-template-columns: 1fr; }
  .ax-hero__media { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .ax-hero__img { aspect-ratio: 5 / 4; }
  .ax-split--reverse .ax-split__media { order: 0; }
  .ax-split__media::before { inset: 14px -10px -14px 14px; }
  .ax-split--reverse .ax-split__media::before { inset: 14px 14px -14px -10px; }
  .ax-split__note { right: 10px; }
  .ax-split--reverse .ax-split__note { left: 10px; }
  .ax-perks__aside, .ax-faq__aside, .ax-toc { position: static; }
  .ax-perks__aside img { aspect-ratio: 16 / 9; }
  .ax-law { grid-template-columns: 1fr; }
  .ax-law__col + .ax-law__col { border-left: 0; border-top: 1px solid var(--ax-line); }
  .ax-docs { grid-template-columns: 1fr 1fr; }
  .ax-cta .ax-btn-row { justify-content: flex-start; }
  .ax-contact__media { min-height: 240px; order: -1; }
  .ax-steps { grid-template-columns: 1fr; gap: 34px; }
  .ax-steps::before { top: 0; bottom: 0; left: 34px; right: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--ax-amber) 0 20px, transparent 20px 34px); }
  .ax-steps li { text-align: left; padding: 0 0 0 100px; min-height: 70px; }
  .ax-steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .ax-route::before { left: 26px; transform: none; width: 26px; }
  .ax-route::after { left: 37px; transform: none; }
  .ax-route__step { grid-template-columns: 78px 1fr; }
  .ax-route__dot { grid-column: 1; grid-row: 1; justify-self: start; margin-left: 12px; width: 50px; height: 50px; }
  .ax-route__step:nth-child(odd) .ax-route__card,
  .ax-route__step:nth-child(even) .ax-route__card { grid-column: 2; text-align: left; }
}

@media (max-width: 640px) {
  .ax-page { font-size: 15.5px; }
  .ax-hero { padding-bottom: 96px; }
  .ax-hero .ax-btn-row .ax-btn { width: 100%; }
  .ax-hero__badge { width: 88px; height: 88px; font-size: 10px; top: -14px; }
  .ax-hero__badge b { font-size: 22px; }
  .ax-hero__ticket { position: relative; left: auto; bottom: auto; width: auto; margin: -50px 16px 0; }
  .ax-trust { margin-top: -40px; }
  .ax-trust__bar { grid-template-columns: 1fr; }
  .ax-trust__item + .ax-trust__item { border-left: 0; border-top: 1px solid var(--ax-line); }
  .ax-bento, .ax-docs, .ax-figures, .ax-related, .ax-perks__list, .ax-tips { grid-template-columns: 1fr; }
  .ax-tile--feature { grid-column: span 1; min-height: 340px; }
  .ax-perk, .ax-perk:nth-child(even) { padding: 24px 0; border-left: 0; }
  .ax-tip, .ax-tip:nth-child(even) { padding: 24px 0; border-left: 0; grid-template-columns: 52px 1fr; }
  .ax-tip__n { font-size: 36px; }
  .ax-cta .ax-btn-row .ax-btn { width: 100%; }
  .ax-split__note { position: relative; right: auto; left: auto !important; bottom: auto; margin: -30px 14px 0; max-width: none; }

  .ax-mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 999; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 19, 46, .96); backdrop-filter: blur(8px);
    transform: translateY(110%); transition: transform .35s var(--ax-ease);
  }
  .ax-mobilebar.is-visible { transform: none; }
  .ax-mobilebar .ax-btn { padding: 13px 12px; font-size: 14px; }
  .ax-page { padding-bottom: 0; }
}
