/* =========================================================================
   Taxi AK5 — design system
   Repris du design "Taxi AK5.dc.html" (Claude Design).
   ========================================================================= */

/* ---------- Polices auto-hébergées --------------------------------------
   Roboto en police variable (graisses 300 à 900 dans un seul fichier),
   servie depuis le site : aucun appel à Google Fonts, l'IP des visiteurs
   ne part pas chez Google (RGPD). Fichiers sous licence Apache 2.0. */

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/roboto-latin-EEph2sr.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/roboto-latin-ext-A4Xa4gb.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Fonds */
    --bg: #08090b;
    --bg-panel: #0b0d11;
    --bg-panel-alt: #0c0e12;
    --bg-panel-hi: #0f1218;
    --bg-head: #12151c;
    --bg-card-from: #101319;
    --bg-card-to: #0a0c10;

    /* Texte */
    --title: #f5f7fa;
    --title-2: #f2f4f7;
    --title-3: #edeff2;
    --text: #d8dbe0;
    --text-strong: #dde1e6;
    --text-soft: #c8ccd2;
    --muted: #a8aeb6;
    --muted-2: #969ca4;
    --muted-3: #8b9199;
    --muted-4: #7e848c;
    --muted-5: #6b7078;
    --muted-6: #5e636a;

    /* Or */
    --gold: #e3c77a;
    --gold-hi: #f3dfa6;
    --gold-mid: #d9b85c;
    --gold-deep: #c79e3c;
    --gold-grad: linear-gradient(135deg, #e3c77a 0%, #c79e3c 55%, #9f7c25 100%);
    --on-gold: #14100a;

    /* Bleu */
    --blue: #4c86f0;

    /* Bordures */
    --line: rgba(200, 204, 210, 0.1);
    --line-2: rgba(200, 204, 210, 0.14);
    --line-3: rgba(200, 204, 210, 0.18);
    --line-4: rgba(200, 204, 210, 0.28);
    --gold-line: rgba(227, 199, 122, 0.35);

    --wrap: 1200px;
    --radius: 3px;
}

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

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
}

/* Une règle `display` d'auteur l'emporte sur l'attribut hidden : sans ceci,
   les panneaux d'onglets et la modale resteraient visibles. */
[hidden] {
    display: none !important;
}

body {
    font-family: Roboto, system-ui, sans-serif;
    background: linear-gradient(180deg, #08090b 0%, #0a0b0f 22%, #090a0d 48%, #0b0c10 74%, #08090b 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--gold-hi);
}

img {
    max-width: 100%;
}

input,
select,
textarea,
button {
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-5);
}

input[type='checkbox'] {
    accent-color: var(--gold-deep);
}

::selection {
    background: rgba(227, 199, 122, 0.3);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ---------- Utilitaires ------------------------------------------------- */

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

.eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 14px;
}

.lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted-2);
    margin: 0;
}

.mb-28 {
    margin-bottom: 28px;
}

.mb-30 {
    margin-bottom: 30px;
}

.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;
}

h1,
h2,
h3 {
    font-weight: 500;
    color: var(--title-2);
}

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

.btn {
    display: inline-block;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
}

.btn:active {
    transform: scale(0.97);
}

.btn--gold {
    padding: 12px 20px;
    background: var(--gold-grad);
    color: var(--on-gold);
    box-shadow: 0 6px 22px rgba(199, 158, 60, 0.22);
}

.btn--gold:hover {
    color: #000;
}

.btn--gold-lg {
    padding: 16px 30px;
    font-size: 13.5px;
    letter-spacing: 0.06em;
}

.btn--outline {
    padding: 15px 26px;
    border: 1px solid rgba(227, 199, 122, 0.45);
    background: transparent;
    color: var(--gold);
    font-size: 12.5px;
    letter-spacing: 0.06em;
}

.btn--outline:hover {
    background: rgba(227, 199, 122, 0.1);
}

.btn--block {
    display: block;
    width: 100%;
}

/* Numéro de téléphone en bouton */
.phone {
    display: inline-block;
    border-radius: var(--radius);
    border: 1px solid var(--line-4);
    color: var(--text-soft);
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 11px 16px;
    font-size: 15px;
}

.phone:hover {
    border-color: rgba(227, 199, 122, 0.55);
    color: var(--gold-hi);
}

.phone:active {
    transform: scale(0.97);
}

.phone--lg {
    padding: 16px 30px;
    font-size: 20px;
    color: #e6e9ed;
    letter-spacing: 0.01em;
}

.phone--plain {
    border: none;
    padding: 0;
    color: var(--gold);
}

/* ---------- Barre haute + en-tête --------------------------------------- */

.bar {
    position: sticky;
    top: 0;
    z-index: 60;
}

.topbar {
    background: linear-gradient(90deg, #0e1015 0%, #14171e 50%, #0e1015 100%);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #9aa0a8;
}

.topbar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.topbar__left {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2ec474;
    animation: ak5-pulse 1.8s ease-out infinite;
    flex-shrink: 0;
}

/* Pendant les congés : pastille rouge, sans pulsation. */
.topbar__status.is-closed {
    color: #e8a3a3;
}

.topbar__status.is-closed .topbar__dot {
    background: #e05c5c;
    animation: none;
    box-shadow: 0 0 0 3px rgba(224, 92, 92, 0.18);
}

.topbar__tag {
    color: var(--muted-5);
}

.topbar__right {
    display: flex;
    gap: 18px;
    align-items: center;
}

.topbar__phone {
    color: var(--gold-hi);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.topbar__mail {
    color: var(--text-soft);
}

.site-header {
    background: rgba(8, 9, 11, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header__row {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    display: block;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand__name {
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 0.06em;
    color: var(--title-2);
}

.brand__name em {
    font-style: normal;
    color: var(--gold-mid);
}

.brand__tagline {
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--muted-4);
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    padding: 9px 13px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    white-space: nowrap;
    color: var(--muted);
}

.nav a:hover {
    color: var(--gold-hi);
}

.nav a.is-active {
    color: var(--gold-hi);
    background: rgba(227, 199, 122, 0.08);
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

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

/* Les sections se distinguent par leur fond, sans trait de séparation. */
.section {
    border-bottom: none;
}

.section__inner {
    padding-top: 88px;
    padding-bottom: 88px;
}

.section--routes {
    background: linear-gradient(180deg, #0a0c11 0%, #0b0e14 100%);
}

.section--estimate {
    background:
        radial-gradient(820px 460px at 88% 24%, rgba(47, 107, 224, 0.1), transparent 66%),
        linear-gradient(180deg, #0a0d13 0%, #0c0f16 100%);
}

.section--vehicle {
    background:
        radial-gradient(760px 420px at 88% 30%, rgba(199, 158, 60, 0.09), transparent 68%),
        linear-gradient(180deg, #0b0a09 0%, #0a0a0c 100%);
}

.section--cpam {
    background:
        radial-gradient(820px 460px at 12% 20%, rgba(47, 107, 224, 0.1), transparent 66%),
        linear-gradient(180deg, #0a0d13 0%, #0c0f16 100%);
}

.section--blue-top {
    background: radial-gradient(900px 400px at 20% 0%, rgba(47, 107, 224, 0.13), transparent 70%);
}

.section--gold-top {
    background: radial-gradient(900px 400px at 80% 0%, rgba(199, 158, 60, 0.11), transparent 70%);
}

.section--dark {
    background: linear-gradient(180deg, #0a0d13 0%, #0c0f16 100%);
}

.section--top-line {
    border-top: 1px solid rgba(200, 204, 210, 0.08);
}

.section__title {
    font-size: 30px;
    margin: 0 0 30px;
}

.section__title--sm {
    font-size: 28px;
    margin: 0 0 22px;
}

.section__title--md {
    font-size: 34px;
    margin: 0 0 18px;
    line-height: 1.15;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.section__head h2 {
    font-size: 40px;
    margin: 0 0 10px;
}

.section__head p {
    font-size: 15.5px;
    color: var(--muted-2);
    margin: 0;
    line-height: 1.7;
}

.section__head-phone {
    font-weight: 700;
    font-size: 28px;
    color: var(--gold);
    white-space: nowrap;
}

.section__head-phone:active {
    transform: scale(0.97);
}

/* Titre de page (bandeau haut des pages intérieures) */
.page-head {
    padding-top: 76px;
    padding-bottom: 60px;
}

.page-head h1 {
    font-size: 46px;
    margin: 0 0 18px;
    color: var(--title);
    max-width: 800px;
    line-height: 1.12;
}

.page-head p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 660px;
    margin: 0;
}

/* ---------- Hero -------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
}

/* Fond photo plein cadre du premier encart, avec défilement en fondu */
.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}

.hero__bg-img.is-active {
    opacity: 1;
}

/* Voile sombre : sans lui, le texte clair devient illisible sur la photo. */
.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 9, 11, 0.78) 0%, rgba(8, 9, 11, 0.5) 45%, rgba(8, 9, 11, 0.82) 100%),
        linear-gradient(90deg, rgba(8, 9, 11, 0.72) 0%, rgba(8, 9, 11, 0.28) 60%, rgba(8, 9, 11, 0.55) 100%);
}

.hero--photo .hero__glow {
    opacity: 0.7;
}

.hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 520px at 78% 8%, rgba(47, 107, 224, 0.16), transparent 65%),
        radial-gradient(760px 420px at 12% 92%, rgba(199, 158, 60, 0.12), transparent 70%);
}

.hero__grid {
    padding-top: 72px;
    padding-bottom: 84px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 56px;
    align-items: start;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid rgba(227, 199, 122, 0.28);
    border-radius: 999px;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-mid);
    margin-bottom: 26px;
    width: fit-content;
}

.hero__grid h1 {
    font-size: 52px;
    line-height: 1.1;
    margin: 0 0 22px;
    color: var(--title);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.hero__grid p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 540px;
    margin: 0 0 32px;
    text-wrap: pretty;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.trust__value {
    font-weight: 500;
    font-size: 24px;
    color: var(--gold-mid);
}

.trust__label {
    font-size: 12.5px;
    color: var(--muted-4);
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* ---------- Onglets + cartes trajets ------------------------------------ */

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    padding: 13px 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(200, 204, 210, 0.24);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.tab[aria-selected='true'] {
    background: var(--gold-grad);
    color: var(--on-gold);
    border-color: transparent;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    border: 1px solid rgba(200, 204, 210, 0.12);
    background: linear-gradient(160deg, var(--bg-card-from) 0%, var(--bg-card-to) 100%);
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: rgba(227, 199, 122, 0.42);
}

.card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.card__body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.card__city {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.card__index {
    font-weight: 500;
    font-size: 15px;
    color: #55595f;
}

.card h3 {
    font-size: 21px;
    margin: 0;
    color: var(--title-3);
    line-height: 1.3;
}

.card__address {
    font-size: 13.5px;
    color: var(--muted-3);
    line-height: 1.6;
}

.card__note {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    color: var(--muted);
}

.card__cta {
    display: none;
    width: 100%;
    margin-top: 16px;
    padding: 14px 18px;
    letter-spacing: 0.06em;
}

/* ---------- Emplacement image ------------------------------------------- */

.slot {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        135deg,
        rgba(200, 204, 210, 0.035) 0 10px,
        transparent 10px 20px
    );
    color: var(--muted-5);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.slot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slot--contain img {
    object-fit: contain;
}

.frame {
    position: relative;
    width: 100%;
    border: 1px solid var(--line-2);
}

.frame--4x3 {
    aspect-ratio: 4 / 3;
}

.frame--square {
    aspect-ratio: 1;
}

/* ---------- Véhicule + galerie ------------------------------------------ */

.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
    padding-top: 88px;
    padding-bottom: 88px;
}

.split--cpam {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 0;
}

.bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bullet {
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-size: 15px;
    color: var(--text-soft);
}

.bullet::before {
    content: '◆';
    color: var(--gold-deep);
    font-size: 12px;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery__main {
    border-color: rgba(200, 204, 210, 0.16);
}

.gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(200, 204, 210, 0.12);
    padding: 0;
    background: none;
    cursor: pointer;
}

.gallery__zoom {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    width: 26px;
    height: 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(227, 199, 122, 0.45);
    background: rgba(8, 9, 11, 0.82);
    color: var(--gold);
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__thumb:hover .gallery__zoom {
    background: var(--gold);
    color: var(--on-gold);
}

/* ---------- CPAM -------------------------------------------------------- */

.steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 16px;
    align-items: start;
}

.step__num {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(76, 134, 240, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--blue);
    flex-shrink: 0;
}

.step h3 {
    font-size: 19px;
    margin: 0 0 6px;
    color: var(--title-3);
}

.step p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted-2);
    margin: 0;
}

/* ---------- Avis (défilement) ------------------------------------------- */

.section--reviews {
    background: #090909;
}

.reviews__eyebrow {
    text-align: center;
    margin-bottom: 34px;
}

/* Grille statique de 3 avis, tirés au hasard à chaque affichage. */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review {
    background: linear-gradient(160deg, var(--bg-card-from) 0%, var(--bg-card-to) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- Bandeau d'avis défilant (au-delà de 4 avis) ------------------ */

.reviews-marquee {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: reviews-scroll var(--marquee-duration, 40s) linear infinite;
}

.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track {
    animation-play-state: paused;
}

.reviews-group {
    display: flex;
    gap: 22px;
}

.reviews-track .review {
    width: 340px;
    flex-shrink: 0;
}

/* La liste étant doublée, -50 % ramène exactement au point de départ. */
@keyframes reviews-scroll {
    to {
        transform: translateX(calc(-50% - 11px));
    }
}

/* Sans animation : défilement manuel au doigt ou à la molette. */
@media (prefers-reduced-motion: reduce) {
    .reviews-marquee {
        overflow-x: auto;
    }

    .reviews-track {
        animation: none;
    }
}

.review__stars {
    color: var(--gold-mid);
    letter-spacing: 0.3em;
    font-size: 12px;
}

.review p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-strong);
    margin: 0;
    text-wrap: pretty;
}

.review__author {
    margin-top: auto;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-4);
}

/* Signature cliquable quand l'avis a un lien vers sa source. */
.review__author a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Zones ------------------------------------------------------- */

.zones-split {
    padding-top: 64px;
    padding-bottom: 76px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
}

.hairline-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.hairline-list > * {
    background: var(--bg-panel);
    padding: 30px;
}

.hairline-list h2,
.hairline-list h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--title-3);
}

.hairline-list p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted-2);
    margin: 0;
}

.grid-hairline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.grid-hairline > * {
    background: var(--bg-panel-alt);
    padding: 26px 24px;
}

.zone__name {
    font-weight: 500;
    font-size: 18px;
    color: var(--title-3);
    margin-bottom: 6px;
}

.zone__detail {
    font-size: 12.5px;
    color: var(--muted-4);
    letter-spacing: 0.04em;
}

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

.tariffs {
    border: 1px solid var(--line-2);
    overflow: hidden;
}

.tariffs__head,
.tariff-row {
    display: grid;
    grid-template-columns: 78px 1.5fr 1fr 0.9fr 0.9fr 0.9fr;
    gap: 20px;
}

.tariffs__head {
    padding: 18px 26px;
    background: var(--bg-head);
    border-bottom: 1px solid var(--line-2);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-3);
}

.tariff-row {
    padding: 22px 26px;
    border-bottom: 1px solid rgba(200, 204, 210, 0.08);
    align-items: center;
    background: var(--bg-panel);
}

.tariff-row:hover {
    background: var(--bg-panel-hi);
}

.tariff__letter {
    font-weight: 700;
    font-size: 26px;
    color: var(--gold-mid);
}

.tariff__period {
    font-size: 15px;
    color: var(--text-strong);
}

.tariff__return {
    font-size: 14px;
    color: var(--muted-2);
}

.tariff__price {
    font-size: 16px;
    color: var(--title-3);
    white-space: nowrap;
}

.tariff__label {
    display: none;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-3);
}

.tariffs__min {
    display: grid;
    grid-template-columns: 78px 1fr auto;
    gap: 20px;
    padding: 22px 26px;
    background: var(--bg-head);
    align-items: center;
}

.tariffs__min-key {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-3);
}

.tariffs__min-text {
    font-size: 15px;
    color: var(--text-strong);
}

.tariffs__min-price {
    font-size: 18px;
    color: var(--gold-mid);
}

.note {
    font-size: 13px;
    color: var(--muted-5);
    margin: 18px 0 0;
    line-height: 1.7;
}

.note--lg {
    font-size: 14.5px;
    color: var(--muted-2);
    margin-top: 24px;
}

.prices-split {
    padding-top: 76px;
    padding-bottom: 76px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.flat-rate {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: baseline;
}

.flat-rate span:first-child {
    font-size: 15px;
    color: var(--text-soft);
}

.flat-rate span:last-child {
    font-size: 18px;
    color: var(--gold-mid);
    white-space: nowrap;
}

.hairline-list--tight > * {
    padding: 20px 24px;
}

.callout {
    border: 1px solid rgba(76, 134, 240, 0.28);
    background: rgba(47, 107, 224, 0.06);
    padding: 26px;
}

.callout h3 {
    font-size: 19px;
    margin: 0 0 10px;
    color: var(--title-3);
}

.callout p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

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

.contact-grid {
    padding-top: 60px;
    padding-bottom: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.contact-card {
    background: var(--bg-panel);
    padding: 40px 34px;
}

.contact-card__key {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-4);
    margin-bottom: 16px;
}

.contact-card__value {
    font-weight: 500;
    font-size: 22px;
    color: var(--title-3);
    word-break: break-word;
}

.contact-card__value--phone {
    font-weight: 700;
    font-size: 32px;
}

.contact-card p {
    font-size: 14px;
    color: var(--muted-2);
    line-height: 1.7;
    margin: 16px 0 0;
}

.contact-form-split {
    padding-top: 48px;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* ---------- Formulaires ------------------------------------------------- */

.form-card {
    border: 1px solid var(--line-2);
    background: linear-gradient(165deg, var(--bg-card-from) 0%, var(--bg-card-to) 100%);
    padding: 36px 34px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.form-card h2,
.form-card h3 {
    font-size: 25px;
    margin: 0;
    color: var(--title-2);
}

.form-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.form-card__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
    padding: 14px 18px;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--gold);
}

.form-card__phone:hover {
    background: rgba(227, 199, 122, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Champ sur toute la largeur de la grille (sans effet en une colonne). */
.field--wide {
    grid-column: 1 / -1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-3);
}

.field input,
.field select,
.field textarea {
    background: var(--bg-panel);
    border: 1px solid var(--line-3);
    border-radius: var(--radius);
    padding: 14px 15px;
    color: var(--title-3);
    font-size: 15px;
    outline: none;
    width: 100%;
}

.field input[type='date'],
.field input[type='datetime-local'] {
    padding: 13px 15px;
    /* Icône et panneau du calendrier natif en thème sombre : sans cela,
       l'icône est invisible sur le fond sombre du formulaire. */
    color-scheme: dark;
}

.field textarea {
    resize: vertical;
    line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(227, 199, 122, 0.6);
}

.field--full {
    margin-top: 18px;
}

.form-required-note {
    font-size: 12.5px;
    color: var(--muted-4);
    margin: 22px 0 0;
}

.form-notice {
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted-5);
    margin: 14px 0 0;
}

.req,
.field__label .req {
    color: var(--gold-mid);
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 26px 0 0;
    cursor: pointer;
}

.consent input {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.consent span {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted-2);
}

.form-submit {
    width: 100%;
    margin-top: 26px;
    padding: 17px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--gold-grad);
    color: var(--on-gold);
    box-shadow: 0 10px 28px rgba(199, 158, 60, 0.22);
}

.form-submit:active {
    transform: scale(0.97);
}

.form-submit:disabled {
    cursor: not-allowed;
    background: #1a1d23;
    color: var(--muted-5);
    box-shadow: none;
    transform: none;
}

.legal {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted-5);
    margin: 20px 0 0;
}

.form-errors {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(224, 92, 92, 0.4);
    background: rgba(224, 92, 92, 0.08);
    color: #e8a3a3;
    font-size: 13.5px;
    line-height: 1.7;
    list-style: none;
}

.form-done {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 0;
    text-align: center;
    align-items: center;
}

.form-done__check {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(227, 199, 122, 0.5);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.form-done h2,
.form-done h3 {
    font-size: 24px;
    margin: 0;
}

.form-done p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-2);
    margin: 0;
    max-width: 400px;
}

.form-done__phone {
    margin-top: 6px;
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
}

/* Réservation fermée pendant les congés */
.form-closed {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0 6px;
    align-items: flex-start;
}

.form-closed__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border: 1px solid rgba(224, 92, 92, 0.4);
    border-radius: 999px;
    background: rgba(224, 92, 92, 0.08);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e8a3a3;
}

.form-closed__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e05c5c;
    flex-shrink: 0;
}

.form-closed h2,
.form-closed h3 {
    font-size: 24px;
    margin: 0;
}

.form-closed p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-2);
    margin: 0;
}

.form-closed__hint {
    font-size: 13.5px !important;
    color: var(--muted-4) !important;
}

/* ---------- Estimateur -------------------------------------------------- */

/* Estimateur — élément central de l'accueil, mis en avant. */
.estimate-block {
    max-width: 980px;
}

.estimate-block__head {
    text-align: center;
    margin-bottom: 32px;
}

.estimate-block__head h2 {
    font-size: 40px;
    margin: 0 0 12px;
    color: var(--title);
    letter-spacing: -0.01em;
}

.estimate-block__head p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 auto;
    max-width: 640px;
}

.estimator {
    border-top: 2px solid var(--gold-deep);
    background: linear-gradient(165deg, var(--bg-card-from) 0%, var(--bg-card-to) 100%);
    padding: 34px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.estimator__row {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr 1.1fr auto;
    gap: 18px;
    align-items: end;
}

.estimator__action {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.estimator__check {
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13.5px;
    color: var(--text-soft);
}

.estimator__check input {
    width: 16px;
    height: 16px;
}

.estimator__submit {
    padding: 14px 26px;
}

/* Champ avec suggestions d'adresses */
.combo {
    position: relative;
    display: block;
}

.combo__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    margin: 0;
    padding: 4px;
    list-style: none;
    max-height: 260px;
    overflow-y: auto;
    background: #0b0d11;
    border: 1px solid rgba(227, 199, 122, 0.35);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.combo__option {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-soft);
    border-radius: 2px;
    cursor: pointer;
}

.combo__option:hover,
.combo__option.is-highlighted {
    background: rgba(227, 199, 122, 0.12);
    color: var(--gold-hi);
}

.estimator__message {
    margin-top: 16px;
    font-size: 13.5px;
    color: #c08f5c;
    line-height: 1.6;
}

.estimator__result {
    margin-top: 24px;
    padding: 24px 26px;
    border: 1px solid rgba(227, 199, 122, 0.3);
    background: rgba(227, 199, 122, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.estimator__result-title {
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-3);
    margin-bottom: 8px;
}

.estimator__route {
    font-size: 14px;
    color: var(--muted-2);
}

.estimator__figures {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.estimator__price {
    font-size: 40px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.estimator__disclaimer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0 0;
}

.estimator__disclaimer svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.estimator__disclaimer p {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--muted-5);
    margin: 0;
}

/* ---------- Bandeau CTA + pied de page ---------------------------------- */

.cta-band {
    border-top: 1px solid var(--line);
    background: linear-gradient(90deg, #0d0f14, #12151c, #0d0f14);
}

.cta-band__row {
    padding-top: 54px;
    padding-bottom: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: 30px;
    margin: 0;
    max-width: 620px;
    line-height: 1.25;
}

.cta-band__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-band .phone {
    padding: 16px 28px;
    font-size: 19px;
    color: #e6e9ed;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.site-footer__grid {
    padding-top: 52px;
    padding-bottom: 34px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.site-footer__brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(227, 199, 122, 0.3);
}

.site-footer__brand span {
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--title-2);
}

.site-footer__brand em {
    font-style: normal;
    color: var(--gold-mid);
}

.site-footer p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--muted-4);
    margin: 0;
    max-width: 340px;
}

.site-footer__key {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-6);
    margin-bottom: 16px;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.site-footer__links a {
    color: var(--muted);
}

.site-footer__phone {
    color: var(--gold);
    font-size: 17px;
    font-weight: 700;
}

.site-footer__legal {
    padding-top: 22px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(200, 204, 210, 0.08);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--muted-6);
}

.site-footer__legal a {
    color: var(--muted-6);
}

.site-footer__legal span:last-child {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

/* ---------- Modale de réservation --------------------------------------- */

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    background: rgba(4, 5, 7, 0.78);
    backdrop-filter: blur(6px);
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 660px;
    margin: auto;
}

.modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-4);
    background: var(--bg-panel);
    color: var(--text-soft);
    font-size: 17px;
    cursor: pointer;
}

.modal__close:hover {
    border-color: rgba(227, 199, 122, 0.6);
    color: var(--gold-hi);
}

/* ---------- Page « site en maintenance » -------------------------------- */

.maintenance {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 24px;
    text-align: center;
}

.maintenance__logo {
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    margin-bottom: 8px;
}

.maintenance h1 {
    font-size: 34px;
    margin: 0;
    color: var(--title);
}

.maintenance p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 460px;
    margin: 0;
}

.maintenance__phone {
    font-family: Roboto, system-ui, sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--gold);
    margin: 8px 0;
}

.maintenance__note {
    font-size: 13px !important;
    color: var(--muted-4) !important;
    letter-spacing: 0.02em;
    margin-top: 8px !important;
}

/* ---------- Connexion au back-office ------------------------------------ */

.login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 40px 20px;
}

.login .form-card {
    width: 100%;
    max-width: 420px;
}

.login .form-card h3 {
    margin-bottom: 8px;
}

.login__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login__back {
    font-size: 13.5px;
    color: var(--muted-4);
}

.login__notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(227, 199, 122, 0.35);
    background: rgba(227, 199, 122, 0.08);
    color: var(--gold-hi);
    font-size: 13.5px;
    line-height: 1.6;
    border-radius: var(--radius);
}

/* ---------- Bandeau cookies --------------------------------------------- */

/* Barre flottante volontairement effacée : semi-transparente, petite, en bas
   de page. Elle se renforce légèrement au survol pour rester lisible. */
.cookies {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    z-index: 220;
    width: calc(100% - 28px);
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid rgba(200, 204, 210, 0.12);
    border-radius: 4px;
    background: rgba(11, 13, 17, 0.62);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    opacity: 0.82;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.cookies:hover,
.cookies:focus-within {
    opacity: 1;
    background: rgba(11, 13, 17, 0.88);
}

.cookies__text {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted-4);
    margin: 0;
    flex: 1 1 240px;
}

.cookies__text a {
    color: var(--muted-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookies__text a:hover {
    color: var(--gold);
}

.cookies__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Refus et acceptation au même niveau de visibilité, comme l'exige la CNIL. */
.cookies__btn {
    padding: 6px 14px;
    border: 1px solid rgba(200, 204, 210, 0.22);
    border-radius: 3px;
    background: transparent;
    color: var(--text-soft);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
}

.cookies__btn:hover {
    border-color: rgba(227, 199, 122, 0.5);
    color: var(--gold-hi);
}

.cookies__btn:active {
    transform: scale(0.97);
}

.cookies__btn--accept {
    border-color: rgba(227, 199, 122, 0.45);
    color: var(--gold);
}

@media (max-width: 620px) {
    .cookies {
        gap: 10px;
        bottom: 10px;
    }

    .cookies__actions {
        flex: 1 1 100%;
    }

    .cookies__btn {
        flex: 1 1 0;
    }
}

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

.legal-body {
    padding-top: 56px;
    padding-bottom: 90px;
    max-width: 820px;
}

.legal-body h2 {
    font-size: 22px;
    margin: 40px 0 14px;
    color: var(--title-3);
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    font-size: 17px;
    margin: 28px 0 10px;
    color: var(--text-soft);
}

.legal-body p {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 16px;
}

.legal-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.8;
}

.legal-body strong {
    color: var(--text-soft);
    font-weight: 500;
}

/* ---------- Animations -------------------------------------------------- */

@keyframes ak5-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 196, 116, 0.55);
    }
    70% {
        transform: scale(1.12);
        box-shadow: 0 0 0 10px rgba(46, 196, 116, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 196, 116, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .topbar__dot {
        animation: none;
    }
}

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

@media (max-width: 1000px) {
    .site-header__row {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 18px;
    }

    .nav {
        order: 3;
        width: 100%;
        gap: 2px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .nav a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .header-cta {
        flex-wrap: wrap;
    }

    .topbar__row {
        padding: 8px 18px;
        gap: 10px;
    }

    .topbar__tag {
        display: none;
    }

    .wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cards,
    .grid-hairline,
    .split,
    .split--cpam,
    .zones-split,
    .contact-grid,
    .contact-form-split,
    .site-footer__grid,
    .prices-split,
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }

    .step {
        grid-template-columns: 30px 1fr;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__copy {
        display: contents;
    }

    .hero__below {
        order: 3;
    }

    [data-m-form='top'] .hero__form {
        order: -1;
        margin-bottom: 4px;
    }

    [data-m-form='after-title'] .hero__form {
        order: 2;
    }

    [data-m-form='bottom'] .hero__form {
        order: 9;
    }

    .hero__grid h1 {
        font-size: 36px;
    }

    .section__inner,
    .split,
    .zones-split,
    .contact-grid,
    .contact-form-split,
    .prices-split,
    .page-head {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .page-head h1 {
        font-size: 34px;
    }

    .section__head h2 {
        font-size: 27px;
    }

    .tariffs__head {
        display: none;
    }

    .tariff-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
    }

    .tariff-row > div:not(.tariff__letter) {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .tariff__label {
        display: block;
    }

    .review {
        width: 280px;
    }

    .trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split--cpam .frame {
        order: 2;
    }

    .card__cta {
        display: block;
    }

    .estimator__row {
        grid-template-columns: 1fr 1fr;
    }

    .estimator__action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    [data-m-header='center'] .site-header__row {
        justify-content: center;
    }

    [data-m-header='center'] .brand {
        width: 100%;
        justify-content: center;
    }

    [data-m-header='center'] .brand__text {
        text-align: center;
    }

    [data-m-header='center'] .nav {
        justify-content: center;
    }

    [data-m-header='center'] .header-cta {
        width: 100%;
        justify-content: center;
    }

    [data-m-header='center'] .topbar__row {
        justify-content: center;
        text-align: center;
    }

    [data-m-header='center'] .topbar__row > div {
        justify-content: center;
        width: 100%;
    }

    [data-m-topbar='hidden'] .topbar {
        display: none;
    }

    .hero__grid {
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .topbar__row {
        padding: 5px 14px;
        font-size: 12px;
    }

    .site-header__row {
        padding: 10px 16px;
        gap: 8px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .hero__grid h1 {
        font-size: 30px;
    }

    .hero__grid p {
        font-size: 15.5px;
    }

    .trust {
        gap: 20px 12px;
        justify-items: center;
        text-align: center;
    }

    /* Numéro de téléphone du hero centré, comme le reste du contenu. */
    .hero__actions {
        justify-content: center;
    }

    .hero__actions .phone {
        flex: 1 1 100%;
        text-align: center;
    }

    .estimator__row {
        grid-template-columns: 1fr;
    }

    .estimator {
        padding: 24px 18px;
    }

    .estimator__result {
        flex-direction: column;
        align-items: flex-start;
    }

    .estimator__price {
        font-size: 34px;
    }
}

@media (max-width: 620px) {
    .topbar__mail {
        display: none;
    }

    .header-cta > * {
        flex: 1 1 100%;
        text-align: center;
    }

    .gallery__thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tariff-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
