/* ==========================================================================
   Hexa Trans Services — feuille de style principale
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #040f2e;
  --navy-900: #061640;
  --navy: #0a2463;
  --blue: #0d3c9e;
  --blue-500: #1e56c8;
  --blue-200: #bfd3f5;
  --blue-100: #e8eefa;
  --blue-50: #f4f7fd;
  --red: #e3121b;
  --red-700: #b00d14;
  --red-50: #fdecec;
  --ink: #0e1a36;
  --body: #3d4863;
  --muted: #65708a;
  --line: #e3e8f2;
  --white: #fff;
  --success: #12805c;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 36, 99, .06), 0 2px 8px rgba(10, 36, 99, .05);
  --shadow: 0 10px 30px -12px rgba(10, 36, 99, .22), 0 2px 6px rgba(10, 36, 99, .05);
  --shadow-lg: 0 30px 60px -24px rgba(6, 22, 64, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.35rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.45rem); }
h1, h2, h3 { text-wrap: balance; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-200); color: var(--navy); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 12px;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(10, 36, 99, .45); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-700); box-shadow: 0 12px 24px -10px rgba(227, 18, 27, .55); }
.btn--navy { --btn-bg: var(--navy); }
.btn--navy:hover { --btn-bg: var(--blue); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--navy); --btn-fg: var(--navy); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { --btn-fg: var(--red); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--outline-light:hover { --btn-bd: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .icon { width: 1.1em; height: 1.1em; color: var(--red); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy-900); color: #c9d5f0; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__text, .topbar__links { display: flex; align-items: center; gap: 8px 22px; margin: 0; flex-wrap: wrap; }
.topbar__text .icon { color: var(--red); }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; color: #c9d5f0; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(6, 22, 64, .4); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; padding-block: 6px; }
.brand img { width: 120px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; border-radius: 10px;
}
.main-nav > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav > a:hover { color: var(--navy); background: var(--blue-50); }
.main-nav > a[aria-current="page"] { color: var(--navy); }
.main-nav > a[aria-current="page"]::after, .main-nav > a:hover::after { transform: scaleX(1); }
.main-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.header-phone__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-100); color: var(--navy); transition: background .2s, color .2s; }
.header-phone__icon .icon { width: 19px; height: 19px; }
.header-phone:hover .header-phone__icon { background: var(--navy); color: #fff; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone__text small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.header-phone__text strong { font-size: 1.02rem; white-space: nowrap; }
.header-phone:hover strong { color: var(--red); }
.header-cta { min-height: 46px; padding-inline: 1.2em; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section--tint { background: var(--blue-50); }
.section--navy { background: var(--navy); color: #cdd8f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section--navy .section-head p { color: #b9c7e8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section--navy .eyebrow { color: #ff6b71; }

.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); padding-block: clamp(40px, 6vw, 72px) clamp(120px, 12vw, 150px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(13, 60, 158, .09) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 20%, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero__badge span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; }
.hero__badge .icon { width: 14px; height: 14px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; isolation: isolate; }
.hero h1 em::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .26em; background: rgba(227, 18, 27, .16); border-radius: 4px; z-index: -1; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; font-weight: 600; color: var(--ink); font-size: .96rem; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--blue-100); color: var(--blue); stroke-width: 3; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(10, 36, 99, .12)); }
.hero__float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .88rem; line-height: 1.3; color: var(--muted); animation: float 6s ease-in-out infinite;
}
.hero__float strong { display: block; font-size: .98rem; }
.hero__float-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red-50); color: var(--red); }
.hero__float--a { left: -4%; bottom: 14%; }
.hero__float--b { right: 0; top: 6%; animation-delay: -3s; }
.hero__float--b .hero__float-icon { background: var(--blue-100); color: var(--blue); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Formulaire rapide */
.quick-quote { position: relative; z-index: 5; margin-top: -86px; }
.quick-quote__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); }
.quick-quote__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.quick-quote__head h2 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.quick-quote__head h2 .icon { color: var(--red); }
.quick-quote__head p { margin: 0; font-size: .92rem; color: var(--muted); }
.quick-quote__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.quick-quote__form .btn { min-height: 54px; }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field > .label, fieldset > legend { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 13px 16px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #d5dcea; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #9aa4ba; }
.input:hover, .select:hover, .textarea:hover { border-color: #b7c2d8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 86, 200, .14); }
.textarea { min-height: 130px; resize: vertical; }
.select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2463' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 19px; height: 19px; pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field-error { font-size: .85rem; color: var(--red-700); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.choice-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1.5px solid #d5dcea; border-radius: 12px; background: #fff;
  font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice__box .icon { color: var(--blue); width: 22px; height: 22px; }
.choice__box small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.choice__box--stack { flex-direction: column; align-items: flex-start; gap: 8px; }
.choice input:hover + .choice__box { border-color: #b7c2d8; }
.choice input:focus-visible + .choice__box { box-shadow: 0 0 0 4px rgba(30, 86, 200, .2); }
.choice input:checked + .choice__box { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + .choice__box::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; }
.alert .icon { margin-top: 2px; }
.alert--error { background: var(--red-50); color: var(--red-700); border: 1px solid #f7c3c5; }
.form-note { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.form-note .icon { color: var(--success); margin-top: 2px; }

/* ---------- Bandeau atouts ---------- */
.assurances { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.assurance { display: flex; gap: 16px; align-items: flex-start; }
.assurance__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 10px 20px -10px rgba(10, 36, 99, .6); }
.assurance__icon .icon { width: 26px; height: 26px; }
.assurance h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.assurance p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.55; }

/* ---------- Cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); padding: 18px 18px 0; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.card__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.card__tag .icon { width: 14px; height: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .link-arrow { margin-top: auto; }
.card .link-arrow::before { content: ""; position: absolute; inset: 0; }

/* ---------- Formules ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.plan__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-100); color: var(--blue); margin-bottom: 18px; }
.plan__icon .icon { width: 28px; height: 28px; }
.plan__name { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 800; margin: 0 0 4px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 8px; }
.plan__desc { color: var(--muted); font-size: .96rem; min-height: 3.2em; }
.plan__list { list-style: none; padding: 20px 0 0; margin: 4px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: .95rem; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); line-height: 1.45; }
.plan__list .icon { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; stroke-width: 3; margin-top: 1px; }
.plan__list .is-in .icon { background: #e3f4ec; color: var(--success); }
.plan__list .is-out { color: #9aa4ba; }
.plan__list .is-out .icon { background: #f0f2f7; color: #9aa4ba; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-lg); translate: 0 -12px; }
.plan--featured h3, .plan--featured .plan__list li { color: #fff; }
.plan--featured .plan__desc { color: #b9c7e8; }
.plan--featured .plan__icon { background: rgba(255,255,255,.1); color: #fff; }
.plan--featured .plan__name { color: #ff6b71; }
.plan--featured .plan__list { border-color: rgba(255,255,255,.14); }
.plan--featured .plan__list .is-in .icon { background: var(--red); color: #fff; }
.plan--featured .plan__list .is-out { color: #7d8db5; }
.plan--featured .plan__list .is-out .icon { background: rgba(255,255,255,.08); color: #7d8db5; }
.plan__ribbon { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { position: sticky; top: 0; background: var(--blue-50); color: var(--ink); font-size: 1rem; }
.compare thead th small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.compare th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); }
.compare tbody tr:hover { background: #fafbfe; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare .col-featured { background: rgba(13, 60, 158, .05); }
.compare thead .col-featured { background: var(--navy); color: #fff; }
.compare thead .col-featured small { color: #b9c7e8; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.compare .yes { background: #e3f4ec; color: var(--success); }
.compare .no { background: #f0f2f7; color: #a3acc0; }
.compare .yes .icon, .compare .no .icon { width: 16px; height: 16px; stroke-width: 3; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100); color: var(--navy); box-shadow: var(--shadow-sm); }
.step__num .icon { width: 28px; height: 28px; }
.step__num::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; font-weight: 800; border: 2px solid #fff; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.section--navy .step__num { background: var(--navy-900); border-color: rgba(255,255,255,.14); color: #fff; }
.section--navy .step__num::after { border-color: var(--navy); }
.section--navy .steps::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 10px, transparent 10px 18px); }
.section--navy .step p { color: #b9c7e8; }

/* ---------- Bloc texte + image ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; }
.split__media--framed { background: var(--blue-50); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.split__content > p { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-100); color: var(--blue); }
.feature-list__icon .icon { width: 22px; height: 22px; }
.feature-list strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: .97rem; }
.bullets { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.bullets .icon { width: 20px; height: 20px; flex: none; padding: 3px; margin-top: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }

/* ---------- Zone d'intervention ---------- */
.zone { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zone__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-weight: 600; font-size: .93rem; }
.chip b { color: #ff6b71; }
.zone__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zone__stat { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.zone__stat .icon { width: 30px; height: 30px; color: #ff6b71; margin-bottom: 14px; }
.zone__stat strong { display: block; color: #fff; font-size: 1.12rem; margin-bottom: 4px; }
.zone__stat span { font-size: .95rem; color: #b9c7e8; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--blue-100); color: var(--navy); transition: transform .25s var(--ease), background .25s, color .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq .faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__answer p:last-child { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--navy); color: #cdd8f1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: clamp(32px, 5vw, 64px); }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 86, 200, .55), transparent 65%); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 34%, var(--blue-500) 34%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.1rem; color: #c3d0ee; max-width: 520px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-band__media img { width: 100%; max-width: 460px; margin-left: auto; }

/* ---------- En-tête de page ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #c3d0ee; padding-block: clamp(56px, 8vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.page-hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 18, 27, .35), transparent 65%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: 820px; }
.page-hero p { max-width: 680px; font-size: 1.15rem; margin: 0; }
.page-hero .eyebrow { color: #ff6b71; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6f82b3; }
.breadcrumb a { color: #c3d0ee; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* Navigation interne services */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: 6px; overflow-x: auto; list-style: none; padding: 12px 0; margin: 0; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none; background: var(--blue-50); }
.subnav a .icon { width: 17px; height: 17px; color: var(--blue); }
.subnav a:hover, .subnav a.is-active { background: var(--navy); color: #fff; }
.subnav a:hover .icon, .subnav a.is-active .icon { color: #fff; }

.service-block + .service-block { border-top: 1px solid var(--line); }
.service-block__num { font-size: .85rem; font-weight: 800; color: var(--red); letter-spacing: .14em; margin-bottom: 10px; display: block; }

/* ---------- Devis multi-étapes ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 44px); }
.progress { margin-bottom: 34px; }
.progress__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.progress__steps li { font-size: .8rem; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.progress__steps li::before { content: ""; height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.progress__steps li.is-done::before, .progress__steps li.is-current::before { background: var(--blue); }
.progress__steps li.is-current { color: var(--navy); }
.progress__label { font-size: .9rem; color: var(--muted); margin: 0; }

.quote-step { display: grid; gap: 22px; }
.quote-step + .quote-step { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.js .quote-step[hidden] { display: none; }
.js .quote-step + .quote-step { margin-top: 0; padding-top: 0; border-top: 0; }
.quote-step__title { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 1.45rem; }
.quote-step__title span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 1rem; flex: none; }
.quote-step__intro { margin: -12px 0 0; color: var(--muted); }
.quote-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote-nav [data-prev][hidden], .quote-nav [data-next][hidden], .quote-nav [data-submit][hidden] { display: none; }
.no-js .quote-nav [data-prev], .no-js .quote-nav [data-next] { display: none; }
.subfields { display: grid; gap: 18px; padding: 20px; border-radius: 14px; background: var(--blue-50); border: 1px dashed var(--blue-200); }
.subfields[hidden] { display: none; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-box { background: var(--blue-50); border-radius: var(--radius-lg); padding: 26px; }
.aside-box h2 { font-size: 1.15rem; margin-bottom: 14px; }
.aside-box--navy { background: var(--navy); color: #c3d0ee; }
.aside-box--navy h2 { color: #fff; }
.aside-box .bullets { margin: 0; }
.aside-box .bullets li { font-size: .95rem; }
.aside-phone { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 1.35rem; font-weight: 800; color: #fff; text-decoration: none; }
.aside-phone .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--red); }
.aside-phone:hover { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--body); transition: box-shadow .25s, transform .25s var(--ease); }
a.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--body); }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; }
.contact-card small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-card span { font-size: .95rem; }

/* ---------- Pages légales ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose ul { margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose .legal-card { background: var(--blue-50); border-radius: var(--radius); padding: 22px 26px; margin: 16px 0 20px; }
.prose .legal-card p { margin: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.toc h2 { font-size: 1rem; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }

/* ---------- Page merci / 404 ---------- */
.state { max-width: 640px; margin-inline: auto; text-align: center; }
.state__icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; background: #e3f4ec; color: var(--success); }
.state__icon .icon { width: 42px; height: 42px; stroke-width: 2.5; }
.state__icon--navy { background: var(--blue-100); color: var(--navy); }
.state .hero__actions { justify-content: center; margin-top: 30px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #9fb0d6; margin-top: 0; font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 72px 56px; }
.site-footer__logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 16px; margin-bottom: 20px; }
.site-footer__logo img { width: 150px; }
.site-footer__brand p { max-width: 340px; }
.site-footer__brand .btn { margin-top: 8px; }
.site-footer__title { color: #fff; font-size: 1.02rem; margin: 6px 0 18px; letter-spacing: 0; }
.site-footer__list, .site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: #c3d0ee; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--red); margin-top: 3px; width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; }
.site-footer__bottom p { margin: 0; }

.mobile-call { display: none; }

/* ---------- Animations d'apparition ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.no-reveal [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-phone__text { display: none; }
  .main-nav > a { padding-inline: 11px; }
  .main-nav > a::after { left: 11px; right: 11px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .brand img { width: 104px; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 16px var(--gutter) 24px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(6, 22, 64, .35);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { padding: 14px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > a::after { display: none; }
  .main-nav > a[aria-current="page"] { color: var(--red); }
  .main-nav__mobile-cta { display: grid; gap: 10px; margin-top: 18px; }
  .site-header__actions { margin-left: auto; }
  .topbar__links { display: none; }

  .hero__grid, .split, .zone, .cta-band { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 600px; margin-inline: auto; width: 100%; }
  .quick-quote__form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-quote__form .btn { grid-column: 1 / -1; }
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--featured { translate: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .steps::before { display: none; }
  .quote-layout, .contact-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__media img { margin: 0 auto; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .header-cta { display: none; }
  .hero { padding-bottom: 130px; }
  .hero__float { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .quick-quote__form, .form-grid, .form-grid--3, .check-list { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .assurances, .cards, .zone__stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .progress__steps li { font-size: 0; gap: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 40px; }
  .toc ol { columns: 1; }
  .quote-nav .btn { flex: 1; }
  .cta-band { border-radius: 24px; }
  .mobile-call { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 14px 30px -10px rgba(227, 18, 27, .7); }
  .mobile-call .icon { width: 26px; height: 26px; }
  .mobile-call:hover { color: #fff; }
}
