/* ==========================================================================
   Achouri Consulting · feuille de style commune
   Style alpin bleu nuit et or · titres Cormorant Garamond · texte Plus Jakarta Sans
   ========================================================================== */

:root {
  --navy: #0B2550;
  --navy-deep: #081C3D;
  --navy-mid: #12305F;
  --blue: #2A5BB8;
  --blue-ink: #1E4FA8;
  --blue-soft: #EAF0FB;
  --gold: #D9A23A;
  --gold-ink: #C28E2C;
  --gold-light: #E8B95A;
  --gold-btn-top: #E8B95A;
  --gold-btn-bottom: #C9922E;
  --sand: #F4EAD3;
  --bg: #F5F6F9;
  --white: #FFFFFF;
  --ink: #14213D;
  --muted: #46536E;
  --muted-2: #5B6782;
  --line: #E5E8EF;
  --line-2: #DDE2EC;
  --danger: #B42318;
  --swiss: #D52B1E;

  --font-title: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-text: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow-card: 0 14px 36px rgba(11, 37, 80, 0.07);
  --shadow-lift: 0 26px 60px rgba(11, 37, 80, 0.16);
  --wrap: 1240px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-ink); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { position: relative; padding-block: 96px; overflow-x: clip; }
.section--white { background: var(--white); }
.section--tight { padding-block: 64px; }

/* Lueurs */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.glow--gold { background: rgba(226, 178, 74, 0.30); filter: blur(110px); }
.glow--blue { background: rgba(46, 98, 214, 0.18); filter: blur(110px); }
.relative { position: relative; z-index: 1; }

/* Typographie */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin: 0; }
.eyebrow--blue { color: var(--blue-ink); }
.swiss-flag { width: 22px; height: 22px; background: var(--swiss); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.h-display { font-family: var(--font-title); font-weight: 700; color: var(--navy); line-height: 1.0; letter-spacing: -0.01em; margin: 0; }
.h1 { font-size: clamp(46px, 7vw, 78px); }
.h2 { font-size: clamp(38px, 5vw, 58px); line-height: 1.02; }
.h3 { font-size: clamp(26px, 3vw, 32px); line-height: 1.1; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.gold-word { position: relative; display: inline-block; color: var(--gold-ink); }
.gold-word svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 22px; }
.section-head { display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-head > div { max-width: 660px; }
.section-head .h2 { margin-top: 12px; }
.section-head p { margin: 0; max-width: 400px; color: var(--muted); }
.center { text-align: center; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 12px; font-family: var(--font-text); font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }
.btn--gold { background: linear-gradient(180deg, var(--gold-btn-top), var(--gold-btn-bottom)); color: var(--navy); box-shadow: 0 14px 32px rgba(201, 146, 46, 0.42); }
.btn--gold:hover { color: var(--navy); box-shadow: 0 16px 36px rgba(201, 146, 46, 0.5); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 0 12px 28px rgba(11, 37, 80, 0.3); }
.btn--navy:hover { color: var(--white); background: var(--navy-mid); }
.btn--outline { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }
.btn--outline:hover { color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.5); }
.btn--ghost-light:hover { color: var(--white); border-color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ================= En-tête ================= */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-dropdown { position: relative; }
.nav-dropdown > button { font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.nav-dropdown__menu { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); padding: 8px; display: none; }
.nav-dropdown.open .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a { display: block; padding: 10px 14px; border-radius: 10px; }
.nav-dropdown__menu a:hover { background: var(--bg); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-actions .btn { min-height: 46px; padding: 11px 20px; font-size: 15px; border-radius: 10px; }
.header-espace { display: none !important; gap: 7px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .header-rdv { display: none !important; }
  .header-espace { display: inline-flex !important; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 18px; box-shadow: 0 20px 40px rgba(11, 37, 80, 0.1); }
  .nav.open { display: flex; }
  .nav a, .nav-dropdown > button { padding: 13px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-dropdown__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-dropdown > button svg { display: none; }
}
@media (max-width: 560px) {
  .brand img { height: 46px; }
  .header-actions .btn { padding: 10px 14px; font-size: 14px; }
}

/* ================= Héros (accueil) ================= */
.hero { position: relative; padding: 72px 0 140px; overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 999 1 520px; min-width: 0; }
.hero__text .h1 { margin-top: 22px; }
.hero__text .lead { margin-top: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; color: var(--muted); }
.checks li { display: flex; gap: 8px; align-items: center; }
.hero__form { flex: 1 1 380px; min-width: 0; max-width: 460px; position: relative; }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; pointer-events: none; }

/* Carte formulaire */
.halo { position: absolute; border-radius: 28px; background: linear-gradient(160deg, rgba(226, 178, 74, 0.75), rgba(46, 98, 214, 0.55)); filter: blur(40px); z-index: 0; }
.form-card { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius); padding: 34px 32px 30px; box-shadow: var(--shadow-lift); border-top: 5px solid var(--gold); }
.form-card h2 { font-family: var(--font-title); font-size: 34px; font-weight: 700; line-height: 1.05; color: var(--navy); margin: 0; }
.form-card > p { margin: 8px 0 20px; font-size: 14.5px; color: var(--muted-2); }
.trust-chips { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.trust-chip { background: var(--white); border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(11, 37, 80, 0.12); display: flex; gap: 10px; align-items: center; min-width: 0; text-decoration: none; color: inherit; }
.trust-chip__icon { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.trust-chip__label { display: block; font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; }
.trust-chip__value { display: block; font-weight: 800; color: var(--navy); font-size: 13px; line-height: 1.3; }
.trust-chip__big { font-family: var(--font-title); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* Champs */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .field-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.input, .select { font: inherit; font-size: 16px; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); color-scheme: light; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 91, 184, 0.14); }
.input.is-invalid, .select.is-invalid { border-color: var(--danger); }
.form-grid { display: flex; flex-direction: column; gap: 13px; }
.field-row { display: flex; gap: 12px; }
.field-row > .field { flex: 1 1 0; }
.field-row > .field--npa { flex: 0 0 110px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted-2); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.form-error { color: var(--danger); font-size: 13.5px; font-weight: 600; margin: 0; }
.form-error[hidden] { display: none; }

/* ================= Bande chiffres ================= */
.stats-band { position: relative; z-index: 2; margin-top: -60px; }
.stats { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 34px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); box-shadow: 0 24px 60px rgba(11, 37, 80, 0.28); }
.stat { position: relative; padding: 6px 28px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stat__value { font-family: var(--font-title); font-size: 50px; font-weight: 700; line-height: 1; color: var(--gold-light); }
.stat__label { margin-top: 8px; font-size: 15px; color: #C9D3E6; font-weight: 600; }
@media (max-width: 560px) { .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; margin-top: 12px; } }

/* ================= Services ================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.service-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px 30px 58px; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(11, 37, 80, 0.12); color: var(--ink); }
.service-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.service-card__title { font-family: var(--font-title); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.05; }
.service-card__text { font-size: 15.5px; color: var(--muted); }
.service-card__cta { margin-top: auto; font-weight: 700; color: var(--blue-ink); font-size: 15px; }
.service-card__ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40px; }
.service-card--featured { grid-row: span 2; color: var(--white); background: var(--navy); border: 0; padding: 36px; gap: 16px; box-shadow: 0 26px 60px rgba(11, 37, 80, 0.30); }
.service-card--featured:hover { color: var(--white); }
.service-card--featured .service-card__title { color: var(--white); font-size: 44px; }
.service-card--featured .service-card__text { color: #C9D3E6; font-size: 17px; }
.badge-gold { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--gold-light); padding: 6px 12px; border-radius: 6px; }

/* ================= Étapes ================= */
.ridge-divider { display: block; width: 100%; line-height: 0; }
.ridge-divider svg { display: block; width: 100%; }
.timeline { position: relative; margin-top: 56px; }
.timeline__line { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue)); }
.timeline ol { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.timeline li { display: flex; flex-direction: column; gap: 10px; }
.timeline__num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 28px; font-weight: 700; box-shadow: 0 8px 22px rgba(217, 162, 58, 0.35); }
.timeline__title { margin-top: 8px; font-size: 19px; font-weight: 800; color: var(--navy); }
.timeline__text { color: var(--muted); font-size: 15.5px; }
@media (max-width: 560px) { .timeline__line { display: none; } }

/* ================= Bloc garanties ================= */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split__main { flex: 999 1 480px; min-width: 0; }
.split__side { flex: 1 1 380px; min-width: 0; position: relative; }
.panel { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-lift); }
.panel__label { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.fact { background: var(--bg); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.fact--wide { grid-column: 1 / -1; }
.fact__label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #6A7690; }
.fact__value { margin-top: 4px; font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.3; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; color: var(--navy); }

/* ================= Avis ================= */
.rating-inline { display: flex; align-items: center; gap: 14px; }
.rating-inline__value { font-family: var(--font-title); font-size: 56px; font-weight: 700; color: var(--navy); line-height: 1; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); }
.review--placeholder { border: 1.5px dashed #CBD3E2; box-shadow: none; }
.review__quote { font-family: var(--font-title); font-size: 64px; line-height: 0.6; color: var(--gold); }
.review blockquote { margin: 0; color: var(--muted); }
.review--placeholder blockquote { font-style: italic; color: var(--muted-2); }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--ink); font-weight: 700; }

/* ================= Appel final ================= */
.cta-final { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding-top: 96px; }
.cta-final .h2 { color: var(--white); }
.cta-final p { color: #C9D3E6; font-size: 18px; max-width: 600px; margin: 18px auto 0; }
.cta-final .hero__ctas { justify-content: center; }
.cta-final__mountains { position: relative; display: block; width: 100%; height: 160px; margin-top: 60px; }

/* ================= Pied de page ================= */
.site-footer { background: var(--navy-deep); color: #AEB9CF; font-size: 15px; }
.site-footer a { color: #AEB9CF; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-block: 40px 28px; }
.footer-grid h2 { color: var(--white); font-family: var(--font-text); font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-logo img { height: 66px; width: auto; }
.footer-bottom { border-top: 1px solid #1C2D55; padding-block: 18px 30px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ================= Pages intérieures ================= */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 120px; }
.page-hero .h1 { margin-top: 18px; font-size: clamp(42px, 6vw, 66px); }
.page-hero .lead { margin-top: 22px; }
.breadcrumb { font-size: 13.5px; color: var(--muted-2); margin: 0; }
.breadcrumb a { color: var(--muted-2); }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-title); font-size: 34px; line-height: 1.1; color: var(--navy); margin: 48px 0 12px; }
.prose h3 { font-size: 19px; color: var(--navy); margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); }
.table-scroll { overflow-x: auto; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); }
.note { background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; padding: 16px 20px; color: var(--muted); margin: 0 0 1em; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); padding: 16px 30px 16px 0; position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--gold-ink); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.post-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 58px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); transition: transform .2s; }
.post-card:hover { transform: translateY(-3px); color: var(--ink); }
.post-card__tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.post-card__title { font-family: var(--font-title); font-size: 28px; font-weight: 700; line-height: 1.1; color: var(--navy); }
.post-card__text { color: var(--muted); font-size: 15.5px; }
.article-cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px; margin: 40px 0; }
.article-cta h2 { color: var(--white) !important; margin-top: 0 !important; }
.article-cta p { color: #C9D3E6 !important; }
.related { margin-top: 48px; }

/* ================= Tunnels ================= */
.tunnel-page { position: relative; overflow: hidden; padding: 40px 0 120px; min-height: 70vh; }
.tunnel { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.tunnel__head { text-align: center; }
.tunnel__head .h-display { font-size: clamp(34px, 5vw, 48px); margin-top: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 22px; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.progress__row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted-2); margin-bottom: 8px; }
.progress__pct { color: var(--gold-ink); }
.progress__track { height: 8px; background: #E3E7EF; border-radius: 999px; overflow: hidden; }
.progress__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--blue)); transition: width .5s cubic-bezier(.4, 0, .2, 1); }
.tunnel-card-wrap { position: relative; margin-top: 26px; }
.tunnel-card-wrap .halo { inset: 30px 20px -18px 20px; opacity: .7; }
.tunnel-card { position: relative; z-index: 1; overflow: hidden; background: var(--white); border-radius: 26px; padding: 34px 32px 76px; box-shadow: var(--shadow-lift); border-top: 5px solid var(--gold); }
.tunnel-card__ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; pointer-events: none; }
.step { display: none; }
.step.active { display: block; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step__kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); text-align: center; margin: 0 0 6px; }
.step__title { font-family: var(--font-title); font-size: 34px; font-weight: 700; line-height: 1.08; color: var(--navy); text-align: center; margin: 0 0 6px; }
.step__sub { text-align: center; color: var(--muted-2); font-size: 15px; margin: 0 auto 24px; max-width: 460px; }
.step .field + .field, .step .field + .options, .step .options + .field, .step .group + .group { margin-top: 16px; }
.group__label { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.options--single { grid-template-columns: 1fr; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--line-2); background: var(--white); border-radius: 14px; padding: 14px 16px; min-height: 56px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: var(--gold); }
.opt__dot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.opt[aria-checked="true"] { border-color: var(--navy); background: #F3F6FC; box-shadow: 0 0 0 3px rgba(11, 37, 80, 0.08); }
.opt[aria-checked="true"] .opt__dot, .pack[aria-checked="true"] .opt__dot { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 4px var(--white); }
.opt__desc { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
.packs { display: flex; flex-direction: column; gap: 10px; }
.pack { text-align: left; display: block; width: 100%; border: 1.5px solid var(--line-2); background: var(--white); border-radius: 14px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s; }
.pack:hover { border-color: var(--gold); }
.pack[aria-checked="true"] { border-color: var(--navy); background: #F3F6FC; }
.pack__row { display: flex; align-items: center; gap: 12px; }
.pack__title { font-weight: 800; color: var(--navy); font-size: 16px; }
.pack__badge { font-size: 10.5px; font-weight: 800; background: var(--sand); color: #8A6111; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; }
.pack__price { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.pack__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 32px; }
.pack__tag { font-size: 11.5px; background: var(--bg); color: var(--muted); font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.pack__more { margin: 8px 0 0 32px; background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--blue-ink); font-weight: 700; cursor: pointer; }
.pack__detail { margin: 8px 0 0 32px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.pack__warn { color: #9A4A0B; font-weight: 700; }
.slider__value { text-align: center; font-family: var(--font-title); font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; margin: 6px 0 14px; }
.slider__value span { font-family: var(--font-text); font-size: 15px; color: var(--muted-2); font-weight: 600; }
input[type=range] { width: 100%; height: 6px; border-radius: 999px; background: #E3E7EF; appearance: none; -webkit-appearance: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold-light); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold-light); cursor: pointer; }
.slider__labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); font-weight: 600; margin-top: 8px; }
.tip { display: flex; gap: 10px; background: #FBF5E7; border: 1px solid #F0DDB1; border-radius: 12px; padding: 12px 14px; margin-top: 16px; font-size: 13.5px; color: #6E5214; font-weight: 600; line-height: 1.45; }
.date-row { display: flex; gap: 8px; }
.date-row .input:nth-child(1), .date-row .input:nth-child(2) { flex: 0 0 76px; }
.date-row .input:nth-child(3) { flex: 1 1 auto; min-width: 0; }
.field-hint { font-size: 12.5px; color: #9A4A0B; font-weight: 600; margin: 4px 0 0; }
.tunnel-actions { display: flex; gap: 10px; margin-top: 26px; }
.tunnel-actions .btn--back { flex: 0 0 64px; background: var(--white); border: 1.5px solid var(--line-2); color: var(--muted); padding: 0; }
.tunnel-actions .btn--back:hover { color: var(--navy); border-color: var(--navy); }
.tunnel-actions .btn--gold, .tunnel-actions .btn--navy { flex: 1 1 auto; }
.tunnel-legal { text-align: center; font-size: 12.5px; color: var(--muted-2); font-weight: 600; margin: 18px 0 0; }
.reassure { font-size: 13px; color: var(--muted-2); margin: 10px 0 0; display: flex; gap: 8px; align-items: center; }
.tunnel-aside { max-width: 620px; margin: 36px auto 0; }
@media (max-width: 480px) {
  .tunnel-card { padding: 28px 18px 70px; border-radius: 22px; }
  .step__title { font-size: 29px; }
  .opt { padding: 12px; font-size: 14px; }
}

/* Confirmation */
.confirm { text-align: center; max-width: 560px; margin: 0 auto; }
.confirm__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(11, 37, 80, 0.3); }

/* Bandeau cookies */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 100; max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lift); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.cookie-bar p { margin: 0; font-size: 14px; color: var(--muted); }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar__actions .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; flex: 1 1 140px; }

/* ==========================================================================
   Or lumineux : dégradés animés dans les titres, chiffres et boutons
   ========================================================================== */
.text-gold {
  background: linear-gradient(100deg, #A9781C 0%, #D9A23A 28%, #F2C35A 42%, #FFE6A0 50%, #F2C35A 58%, #D9A23A 72%, #A9781C 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(240, 180, 60, 0.38));
  animation: goldShine 7s linear infinite;
}
.text-gold--bright {
  background-image: linear-gradient(100deg, #E9B44C 0%, #FFD36B 30%, #FFF1C2 48%, #FFD36B 62%, #F2B640 80%, #E9B44C 100%);
  filter: drop-shadow(0 0 18px rgba(255, 200, 80, 0.55));
}
@keyframes goldShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.gold-word.text-gold svg path { stroke: #E8B44A; }
.gold-word svg { filter: drop-shadow(0 0 8px rgba(240, 180, 60, 0.6)); }

/* Eyebrows dorés plus lumineux */
.eyebrow:not(.eyebrow--blue) { background: linear-gradient(90deg, #B8862A, #E8B44A, #B8862A); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Boutons or : halo et reflet qui passe */
.btn--gold { position: relative; overflow: hidden; background: linear-gradient(180deg, #F6CD6A 0%, #E8B95A 45%, #C9922E 100%); box-shadow: 0 0 0 1px rgba(255, 226, 150, 0.6) inset, 0 14px 34px rgba(232, 170, 50, 0.5), 0 0 26px rgba(255, 200, 90, 0.35); }
.btn--gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent); transform: skewX(-20deg); animation: btnSheen 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes btnSheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn--gold:hover { box-shadow: 0 0 0 1px rgba(255, 226, 150, 0.8) inset, 0 16px 40px rgba(232, 170, 50, 0.6), 0 0 36px rgba(255, 200, 90, 0.5); }

/* Chiffres clés en or vif */
.stat__value { background: linear-gradient(100deg, #E9B44C, #FFD36B 35%, #FFF1C2 50%, #FFD36B 65%, #E9B44C); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 16px rgba(255, 200, 80, 0.45)); animation: goldShine 8s linear infinite; }

/* Liseré or sous l'en-tête */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, #D9A23A 20%, #FFE6A0 50%, #D9A23A 80%, transparent); background-size: 200% 100%; animation: goldShine 9s linear infinite; opacity: .9; }

/* Numéros des étapes, badge et barre de progression qui brillent */
.timeline__num { box-shadow: 0 0 0 4px rgba(255, 214, 120, 0.25), 0 8px 26px rgba(232, 170, 50, 0.45); }
.badge-gold { background: linear-gradient(100deg, #F2C35A, #FFE6A0, #E8B44A); box-shadow: 0 0 18px rgba(255, 200, 80, 0.55); }
.progress__fill { box-shadow: 0 0 14px rgba(240, 180, 60, 0.55); }
.form-card, .tunnel-card { border-top: 0; padding-top: 39px; }
.form-card::before, .tunnel-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, #C9922E, #FFE6A0, #D9A23A, #FFE6A0, #C9922E); background-size: 200% 100%; animation: goldShine 6s linear infinite; box-shadow: 0 0 16px rgba(255, 200, 80, 0.6); }

/* ==========================================================================
   Bandeau des compagnies partenaires (défilement continu)
   ========================================================================== */
.partners { position: relative; z-index: 1; }
.partners__label { text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding-block: 10px 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-card { flex: none; margin-right: 18px; height: 78px; min-width: 170px; padding: 14px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(11, 37, 80, 0.07); }
.logo-card img { max-height: 40px; max-width: 150px; width: auto; height: auto; }
.marquee--compact .logo-card { height: 64px; min-width: 140px; padding: 10px 20px; }
.marquee--compact .logo-card img { max-height: 32px; max-width: 120px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tunnel .partners { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .btn--gold::after { display: none; }
}

/* ==========================================================================
   Corrections affichage (Safari) et plus de couleur
   ========================================================================== */
/* Montagnes : proportions conservées, jamais rognées */
.mountains { height: auto; }
.cta-final__mountains { height: auto; }
.ridge-divider svg { height: auto; }
/* Lueurs : dégradés radiaux, sans grand flou */
.glow--gold { background: radial-gradient(closest-side, rgba(226, 178, 74, 0.42), rgba(226, 178, 74, 0)); filter: none; }
.glow--blue { background: radial-gradient(closest-side, rgba(46, 98, 214, 0.30), rgba(46, 98, 214, 0)); filter: none; }
/* Textes or : sans filtre (évite le rectangle derrière le texte dans Safari) */
.text-gold, .text-gold--bright, .stat__value { filter: none; }

/* Fonds plus colorés */
.hero, .page-hero, .tunnel-page { background: linear-gradient(135deg, #DCE6FA 0%, #EEF1F8 40%, #F8EFD9 78%, #F6E3B8 100%); }
.stats { background: linear-gradient(120deg, #0B2550 0%, #143A7A 55%, #1E4FA8 100%); }
.section--navy { background: var(--navy); color: var(--white); overflow-x: clip; }
.section--navy .h2 { color: var(--white); }
.section--navy .timeline__num { background: #12305F; color: #FFE6A0; border-color: #E8B95A; }
.section--navy .timeline__title { color: var(--white); }
.section--navy .timeline__text { color: #C9D3E6; }
.section--navy .timeline__line { background: linear-gradient(90deg, #E8B95A, #FFE6A0, #4C7FE0); box-shadow: 0 0 12px rgba(255, 200, 80, 0.5); }
#services { background: linear-gradient(180deg, transparent 0%, rgba(232, 185, 90, 0.10) 100%); }
#avis { background: linear-gradient(180deg, transparent, rgba(46, 98, 214, 0.08)); }

/* Icônes des services en or */
.service-card__icon { background: linear-gradient(135deg, #FFE6A0, #E8B95A 60%, #C9922E); box-shadow: 0 8px 20px rgba(232, 170, 50, 0.4); }
.service-card:hover { border-color: #E8B95A; }
.service-card--featured { background: linear-gradient(160deg, #0B2550 0%, #143A7A 70%, #1E4FA8 100%); }

/* Boutons contour en bleu roi */
.btn--outline { border-color: var(--blue); color: var(--blue-ink); }
.btn--outline:hover { background: var(--blue-soft); color: var(--navy); }

/* Badges et pastilles de garanties un peu plus vivants */
.badge { border-color: #F0DDB1; }
.fact { background: linear-gradient(135deg, #F5F7FC, #FBF4E4); }
.trust-chip__icon { background: linear-gradient(135deg, #0B2550, #1E4FA8); }
.confirm__icon { background: linear-gradient(135deg, #0B2550, #1E4FA8); }
.opt[aria-checked="true"], .pack[aria-checked="true"] { background: linear-gradient(135deg, #EEF3FD, #FBF4E4); }

/* Alignement des champs côte à côte (corrige le décalage de la 2e case) */
.field-row { align-items: flex-start; }
.field-row > .field + .field, .step .field-row > .field + .field { margin-top: 0; }
.field-row + .field, .field + .field-row { margin-top: 16px; }
/* Cases à cocher toujours claires, même en mode sombre */
.consent input[type="checkbox"] { color-scheme: light; background: #FFFFFF; accent-color: var(--navy); }
@media (max-width: 420px) {
  .step .field-row { flex-wrap: wrap; }
  .step .field-row > .field { flex: 1 1 100%; }
  .step .field-row > .field + .field { margin-top: 14px; }
}
/* Même hauteur pour tous les champs et listes déroulantes */
.input, .select { height: 52px; min-height: 52px; box-sizing: border-box; }

/* ---------- Panneau « Mes garanties » (v2) ---------- */
.g-list { list-style: none; margin: 14px 0 0; padding: 0; }
.g-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.g-row:first-child { padding-top: 6px; }
.g-row__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FBF4E4, #F5EBD2); }
.g-row__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.g-row__label { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.g-row__sub { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.g-row__value { margin-top: 3px; font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: 0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-partners { margin-top: 18px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #F5F7FC, #FBF4E4); }
.g-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.g-logo { grid-column: span 2; height: 52px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 8px 10px; }
.g-logo:nth-child(4) { grid-column: 2 / span 2; }
.g-logo img { max-width: 100%; max-height: 26px; width: auto; height: auto; object-fit: contain; }
.g-link { display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 700; }
@media (max-width: 420px) {
  .g-row { gap: 12px; }
  .g-row__icon { width: 36px; height: 36px; }
  .g-row__value { font-size: 16px; }
}

/* ---------- Grille des services : carte maladie à gauche, 4 cartes en 2 x 2 à droite ---------- */
.section-head--stack { display: block; }
.section-head--stack > div { max-width: 720px; }
.section-head--stack .section-head__lead { margin-top: 16px; max-width: 560px; font-size: 17px; color: var(--muted); }
.services-grid--featured { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; }
.services-grid--featured .service-card--featured { grid-column: 1; grid-row: 1 / span 2; }
@media (max-width: 1060px) {
  .services-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid--featured .service-card--featured { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .services-grid--featured { grid-template-columns: minmax(0, 1fr); }
}
.feat-list { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.feat-list__item { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 600; color: #E6ECF7; line-height: 1.35; }
.feat-list__item svg { flex: none; margin-top: 2px; }
@media (max-width: 640px) {
  .services-grid, .services-grid--featured { grid-auto-rows: auto; gap: 14px; }
  .service-card { padding: 22px 22px 46px; gap: 8px; }
  .service-card__icon { width: 42px; height: 42px; }
  .service-card__title { font-size: 26px; }
  .service-card__text { font-size: 15px; }
  .service-card__cta { margin-top: 6px; }
  .service-card__ridge { height: 30px; }
  .service-card--featured { padding: 28px 24px; }
  .service-card--featured .service-card__title { font-size: 36px; }
  .service-card--featured .service-card__text { font-size: 16px; }
  .feat-list { margin-bottom: 16px; }
}
.service-card__btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 10px 18px; font-size: 14.5px; border-radius: 10px; gap: 8px; position: relative; z-index: 1; }
.service-card:hover .service-card__btn { transform: translateY(-1px); }
@media (max-width: 640px) { .service-card__btn { margin-top: 8px; } }

/* ---------- Haut de page : tunnels à la place du formulaire ---------- */
.hero__tunnels { max-width: 500px; flex-basis: 440px; }
.ht { position: relative; z-index: 1; }
.ht-main { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 26px; border-radius: var(--radius); text-decoration: none; color: var(--white); background: linear-gradient(160deg, #0B2550 0%, #143A7A 70%, #1E4FA8 100%); box-shadow: 0 26px 60px rgba(11, 37, 80, 0.30); transition: transform .2s ease; }
.ht-main:hover { color: var(--white); transform: translateY(-3px); }
.ht-main__title { font-family: var(--font-title); font-size: 40px; font-weight: 700; line-height: 1; color: var(--white); }
.ht-main__text { font-size: 15.5px; color: #C9D3E6; max-width: 360px; }
.ht-main__btn { align-self: flex-start; margin-top: 6px; }
.ht-label { margin: 22px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.ht-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ht-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s ease; }
.ht-card:hover { transform: translateY(-2px); border-color: #E8B95A; color: var(--ink); }
.ht-card__icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FFE6A0, #E8B95A 60%, #C9922E); box-shadow: 0 6px 16px rgba(232, 170, 50, 0.35); }
.ht-card__title { font-family: var(--font-title); font-size: 23px; font-weight: 700; line-height: 1.05; color: var(--navy); }
.ht-card__btn { margin-top: auto; align-self: stretch; justify-content: space-between; min-height: 40px; padding: 8px 12px; font-size: 13px; border-radius: 10px; gap: 6px; }
@media (max-width: 1060px) { .hero__tunnels { max-width: 560px; margin: 0 auto; } }
@media (max-width: 420px) {
  .ht-main { padding: 24px 22px; }
  .ht-main__title { font-size: 34px; }
  .ht-grid { gap: 10px; }
  .ht-card { padding: 14px; }
  .ht-card__title { font-size: 20px; }
  .ht-card__btn { font-size: 12.5px; padding: 8px 10px; }
}
.ht-card__btn { white-space: nowrap; font-size: 14px; }
@media (min-width: 1061px) { .hero__tunnels { margin-top: 40px; } }

/* Lien Espace client dans le menu */
.nav-espace { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px !important; border: 1.5px solid #E8B95A; border-radius: 999px; color: var(--navy) !important; font-weight: 700; }
.nav-espace svg { color: #C28E2C; }
.nav-espace:hover { background: #FBF4E4; }

/* ---------- Accueil : chiffres dans le flux (après les garanties) ---------- */
.stats-band--flow { margin-top: 0; padding: 20px 0 70px; }

/* ---------- Accueil : bandeau des caisses (répétitions masquées si le défilement est coupé) ---------- */
@media (prefers-reduced-motion: reduce) { .marquee__track .is-repeat { display: none; } }

/* ---------- Accueil : bloc Espace client ---------- */
.ecp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ecp .eyebrow svg { vertical-align: -2px; }
.ec-hint { margin: 12px 0 0; font-size: 13.5px; color: var(--muted-2); }
.ecp__visual { position: relative; padding: 10px 0 40px; }
.ecp__visual::before { content: ""; position: absolute; inset: 30px -10px 10px 30px; border-radius: 28px; background: linear-gradient(160deg, rgba(46,98,214,.45), rgba(226,178,74,.55)); filter: blur(40px); z-index: 0; }
.ecp__screen { position: relative; z-index: 1; background: #F5F6F9; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(11,37,80,.28); border: 1px solid rgba(255,255,255,.7); transform: rotate(-1.2deg); }
.ecp__top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.ecp__dot { width: 9px; height: 9px; border-radius: 50%; background: #E5E8EF; }
.ecp__dot:first-child { background: #F3B5AE; } .ecp__dot:nth-child(2) { background: #F6D79A; } .ecp__dot:nth-child(3) { background: #B9DEC6; }
.ecp__bar { margin-left: 10px; height: 9px; flex: 1; border-radius: 6px; background: #F1F3F8; }
.ecp__hero { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 34px; color: #fff; background: linear-gradient(160deg, #0B2550 0%, #143A7A 70%, #1E4FA8 100%); }
.ecp__eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.ecp__title { font-family: var(--font-title); font-size: 28px; font-weight: 700; line-height: 1; }
.ecp__kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 8px; }
.ecp__kpis span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 7px 9px; font-size: 11px; color: #C9D3E6; }
.ecp__kpis b { display: block; font-size: 18px; color: var(--gold-light); line-height: 1.1; }
.ecp__mtn { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 26px; }
.ecp__body { display: flex; flex-direction: column; gap: 9px; padding: 6px 14px 16px; }
.ecp__row, .ecp__resil { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ecp__resil { flex-wrap: wrap; }
.ecp__logo { flex: none; width: 52px; height: 30px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.ecp__logo img { max-width: 100%; max-height: 18px; }
.ecp__lines { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ecp__lines b { font-size: 12.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecp__lines i { font-style: normal; font-size: 11px; color: var(--muted-2); }
.ecp__pill { flex: none; font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.ecp__pill--ok { background: #E5F5EC; color: #1C7A45; }
.ecp__pill--wait { background: #EEF0F6; color: #46536E; }
.ecp__steps { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ecp__steps span { position: relative; padding-top: 16px; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--navy); }
.ecp__steps span::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg,#FFE6A0,#E8B95A 60%,#C9922E); }
.ecp__steps span + span::after { content: ""; position: absolute; top: 4.5px; right: 50%; width: calc(100% + 6px); height: 2px; background: #E8B95A; z-index: 1; }
.ecp__proof { margin-top: 2px; font-size: 11px; font-weight: 800; color: var(--navy); padding: 6px 10px; border-radius: 8px; background: linear-gradient(180deg,#F6CD6A,#E8B95A 45%,#C9922E); }
.ecp__bubble { position: absolute; z-index: 2; right: -8px; bottom: 0; max-width: 250px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.4; padding: 12px 14px; border-radius: 16px 16px 4px 16px; box-shadow: 0 16px 34px rgba(11,37,80,.3); }
.ecp__bubble small { display: block; margin-top: 4px; font-size: 11px; color: var(--gold-light); font-weight: 700; }
@media (max-width: 980px) { .ecp { grid-template-columns: minmax(0,1fr); gap: 34px; } .ecp__visual { max-width: 520px; margin: 0 auto; width: 100%; } }
@media (max-width: 480px) { .ecp__bubble { right: 0; max-width: 210px; font-size: 12px; } .ecp__screen { transform: none; } }

/* Avis Google réels */
.rv-head { align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.rv-score { display: inline-flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px 10px 14px; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; }
.rv-score > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.rv-score__note { font-family: var(--font-title); font-size: 34px; font-weight: 600; line-height: 1; }
.rv-score__nb { font-size: 13px; color: var(--muted); }
.rv-stars { color: #F5B731; letter-spacing: 2px; font-size: 16px; }
.rv-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
.rv { padding: 24px; gap: 12px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; }
.rv blockquote { color: var(--ink); font-size: 16px; line-height: 1.55; }
.rv figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-av { width: 32px; height: 32px; border-radius: 50%; background: var(--navy, #0B2550); color: #fff; display: inline-grid; place-items: center; font-size: 14px; font-weight: 700; }
.rv-src { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.rv-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 26px; }
@media (max-width: 640px) { .rv-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-top: 6px; padding-bottom: 22px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; } .rv-grid .rv { flex: 0 0 82%; scroll-snap-align: start; } }
.rv-cta { text-decoration: none; color: var(--ink); background: linear-gradient(160deg, #FFF8EA, #fff 60%); border-color: #F0DDB0; }
.rv-cta__g { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.rv-cta__t { font-family: var(--font-title); font-size: 24px; font-weight: 600; line-height: 1.15; }

/* Coordonnées + plan */
.ct { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow-card); }
.ct-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.ct-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ct-row:last-child { border-bottom: 0; }
.ct-row__ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: #FBF1DC; display: grid; place-items: center; }
.ct-row__label { display: block; font-size: 13px; color: var(--muted); }
.ct-row__value { display: block; font-weight: 700; color: var(--ink); }
.ct-row__value a { color: inherit; text-decoration: none; }
.ct-row__value a:hover { color: var(--gold); }
.ct-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ct-btns .btn { display: inline-flex; align-items: center; gap: 8px; }
.ct-wa { background: #25D366; color: #fff; border: 0; }
.ct-wa:hover { background: #1EBE5A; color: #fff; }
.ct-map { position: relative; min-height: 380px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #0B2550, #1D4FA8); }
.ct-map::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 34px 34px; transform: rotate(-8deg) scale(1.3); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-map__facade { position: relative; height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px; color: #fff; }
.ct-map__pin { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(180deg, #F3CF7A, #D9A440); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(226,178,74,.5); }
.ct-map__addr { margin: 0; color: #fff; line-height: 1.5; }
.ct-map__facade .btn--navy { background: #fff; color: #0B2550; }
.ct-map__dir { color: #F3CF7A; font-weight: 700; font-size: 14px; text-decoration: none; }
.ct-map__note { margin: 0; font-size: 12px; color: rgba(255,255,255,.65); max-width: 300px; }
@media (max-width: 860px) { .ct { grid-template-columns: 1fr; padding: 24px; } .ct-btns .btn { flex: 1 1 auto; justify-content: center; } }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Menu mobile : « Espace client » en haut, bien visible, sans bord coupé */
@media (max-width: 1060px) {
  .nav .nav-espace { box-sizing: border-box; width: 100%; justify-content: center; gap: 8px; margin: 16px 0 4px; padding: 14px 16px !important; border: 0 !important; border-radius: 12px; background: linear-gradient(135deg, #FFE6A0, #E8B95A 60%, #C9922E); color: var(--navy) !important; font-size: 16px; box-shadow: 0 8px 20px rgba(201, 146, 46, .25); }
  .nav .nav-espace svg { color: var(--navy); }
}
/* Accueil : badge « Le plus demandé » vert brillant, icônes des services sans or */
.ht-main .badge-gold { color: #fff; background: linear-gradient(100deg, #12A150 0%, #3DDC84 45%, #12A150 90%); background-size: 220% 100%; box-shadow: 0 0 0 1px rgba(160, 255, 200, .45) inset, 0 0 18px rgba(61, 220, 132, .55); text-shadow: 0 1px 1px rgba(0, 60, 25, .35); animation: badgeShine 3.2s ease-in-out infinite; }
@keyframes badgeShine { 0%, 100% { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(160,255,200,.45) inset, 0 0 14px rgba(61,220,132,.45); } 50% { background-position: 0 0; box-shadow: 0 0 0 1px rgba(160,255,200,.6) inset, 0 0 26px rgba(61,220,132,.8); } }
@media (prefers-reduced-motion: reduce) { .ht-main .badge-gold { animation: none; } }
.ht-card__icon { background: #EEF2F8; box-shadow: none; border: 1px solid #DDE3EE; }
/* Accueil : 4 boutons des autres services en bleu marine (l'or reste pour le bouton principal) */
.ht-card__btn.btn--gold { background: #0B2550; color: #fff; box-shadow: 0 8px 18px rgba(11, 37, 80, .22); border: 0; }
.ht-card__btn.btn--gold::before, .ht-card__btn.btn--gold::after { display: none; }
.ht-card:hover .ht-card__btn.btn--gold { background: #143A7A; }
