/* ========== VARIABLES ========== */
:root {
    --blue-dark: #0B1030;
    --blue-mid: #141A45;
    --blue-light: #1E2660;
    --yellow: #D4A830;
    --yellow-light: #F0D060;
    --yellow-glow: rgba(212, 168, 48, 0.3);
    --white: #FFFFFF;
    --white-muted: #B0B8D0;
    --gray-dark: #0A0D28;
    --success: #22C55E;
    --danger: #EF4444;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--blue-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-accent { color: var(--yellow); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--white-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, background-color 0.22s ease-out, border-color 0.22s ease-out;
    will-change: transform;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--yellow);
    color: var(--blue-dark);
    border-color: var(--yellow);
    box-shadow: 0 4px 20px var(--yellow-glow);
}
.btn--primary:hover {
    background: var(--yellow-light);
    border-color: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 34px var(--yellow-glow);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn--lg { padding: 1.05rem 2.6rem; font-size: 1.1rem; }

.btn--whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}
.btn--whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* ========== HEADER ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(11, 16, 48, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease;
}
.header__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    height: 80px;
    display: flex; align-items: center; justify-content: space-between;
}
.header__logo img { height: 56px; width: auto; }
.header__nav { display: flex; gap: 2rem; }
.header__link {
    font-size: 0.95rem; font-weight: 500; color: var(--white-muted);
    transition: color 0.2s; position: relative;
}
.header__link:hover { color: var(--white); }
.header__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--yellow);
    transition: width 0.3s ease;
}
.header__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 1rem; }

/* Tél discret dans le header (pas un CTA principal) */
.header__phone--ghost {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem; font-weight: 500;
    color: var(--white-muted);
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.header__phone--ghost:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.header__phone--ghost svg { opacity: 0.7; }

.header__burger {
    display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.header__burger span {
    display: block; width: 24px; height: 2px; background: var(--white);
    transition: all 0.3s ease;
}

/* ========== HERO ========== */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero {
    min-height: 100svh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 96px 0 4rem;
    animation: heroFadeIn 0.5s ease-out;
}
.hero__bg-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
}
.hero__inner {
    position: relative; z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Sous-grille : h1+subtitle à gauche, image à droite — stretch = même hauteur */
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}
.hero__text { animation: fadeInUp 0.8s ease-out; }

.hero__social-proof {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.45rem 0.95rem;
    background: rgba(212,168,48,0.08);
    border: 1px solid rgba(212,168,48,0.25);
    border-radius: 999px;
    font-size: 0.9rem;
}
.hero__stars {
    color: var(--yellow);
    letter-spacing: 2px;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(212,168,48,0.4);
}
.hero__proof-text {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.hero__title--accent {
    color: var(--yellow);
    display: inline-block;
}
.hero__title--white {
    color: var(--white);
    display: inline;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--white-muted);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.6;
}
.hero__subtitle strong {
    color: var(--white);
    font-weight: 600;
}

.hero__cta-group {
    display: flex; gap: 1rem; flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s both;
    will-change: transform, opacity;
}
.hero__visual picture {
    display: block;
    height: 100%; /* suit exactement la hauteur du texte (h1 + subtitle) */
    min-height: 300px;
}
.hero__visual picture img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* ========== BÉNÉFICES ========== */
.benefices {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    position: relative;
}

.benefices__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.benefices__card {
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.28s ease-out, box-shadow 0.28s ease-out;
    will-change: transform;
}
.benefices__card::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.70);
    transition: background 0.35s ease;
    border-radius: 18px;
}
.benefices__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 50px rgba(0,0,0,0.4);
}
.benefices__card:hover::before {
    background: rgba(0,0,0,0.55);
}
.benefices__card__content {
    position: relative; z-index: 1;
    padding: 1.75rem;
    width: 100%;
}
.benefices__card__content h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
    color: var(--white);
}
.benefices__card__content p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.5;
}


/* ========== SERVICES ========== */
.services { padding: 6rem 0; }
.services__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.services__item {
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    will-change: transform;
}
.services__item::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.70);
    transition: background 0.3s ease;
}
.services__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.services__item:hover::before {
    background: rgba(0,0,0,0.55);
}
.services__item__content {
    position: relative; z-index: 1;
    padding: 2rem 1.25rem 1.5rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services__icon {
    width: 64px; height: 64px;
    background: rgba(212,168,48,0.15);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--yellow);
}
.services__item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
    color: var(--white);
}
.services__item p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========== PRÉSENTATION ========== */
.presentation {
    padding: 7rem 0;
    background: var(--blue-mid);
}
.presentation__inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: center;
}
.presentation__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.0;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.presentation__text p {
    color: var(--white-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.presentation__text .btn { margin-top: 1rem; }
.presentation__gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
}
.presentation__gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.presentation__gallery-grid img:first-child {
    grid-column: 1 / -1;
    height: 220px;
}

/* ========== AVANT / APRÈS ========== */
.avant-apres { padding: 6rem 0; }
.avant-apres__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ba-slider {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #000;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    --pos: 50%;
}
.ba-slider__before,
.ba-slider__after {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
    pointer-events: none;
}
.ba-slider__before img,
.ba-slider__after img {
    width: 100%; height: 100%; object-fit: cover;
}
.ba-slider__after {
    clip-path: inset(0 0 0 var(--pos));
}
.ba-slider__handle {
    position: absolute; top: 0; bottom: 0;
    left: var(--pos);
    width: 3px;
    background: var(--yellow);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 0 18px rgba(212,168,48,0.6);
}
.ba-slider__handle span {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--yellow);
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.75rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: -1px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.ba-slider__label {
    position: absolute; top: 12px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}
.ba-slider__label--before {
    left: 12px;
    background: rgba(239,68,68,0.85);
    color: #fff;
}
.ba-slider__label--after {
    right: 12px;
    background: rgba(34,197,94,0.85);
    color: #fff;
}

/* ========== STEPS ========== */
.steps {
    padding: 6rem 0;
    background: var(--blue-mid);
}
.steps__track {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}
.steps__line {
    position: absolute;
    left: 28px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--yellow), rgba(212,168,48,0.1));
}
.steps__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
}
.steps__number {
    width: 56px; height: 56px; min-width: 56px;
    background: var(--yellow);
    color: var(--blue-dark);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    position: relative; z-index: 1;
}
.steps__content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    padding-top: 0.25rem;
}
.steps__content p { color: var(--white-muted); }

/* ========== DEVIS ========== */
.devis { padding: 6rem 0; }

.devis__wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: var(--blue-mid);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
}

.devis__progress { margin-bottom: 2rem; }
.devis__progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}
.devis__progress-bar::after {
    content: '';
    position: absolute; left: 0; top: 0;
    height: 100%; width: 20%;
    background: var(--yellow);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.devis__steps-indicators { display: flex; justify-content: space-between; }
.devis__step-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white-muted);
    font-size: 0.8rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.devis__step-dot.active { background: var(--yellow); color: var(--blue-dark); }
.devis__step-dot.completed { background: var(--success); color: var(--white); }

.devis__step { display: none; animation: fadeInUp 0.3s ease-out; }
.devis__step.active { display: block; }

.devis__step-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}
.devis__step-hint {
    color: var(--white-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.devis__field { margin-bottom: 1.25rem; }
.devis__field label {
    display: block;
    font-size: 0.9rem; font-weight: 500;
    color: var(--white-muted);
    margin-bottom: 0.5rem;
}
.devis__field input,
.devis__field select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.devis__field input:focus,
.devis__field select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(212,168,48,0.15);
}
.devis__field input::placeholder { color: rgba(176,184,208,0.5); }
.devis__field select option { background: var(--blue-dark); color: var(--white); }
.devis__field input.error,
.devis__field select.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.devis__field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Dommage / Assurance radios */
.devis__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.devis__options--row { grid-template-columns: repeat(2, 1fr); }
.devis__options--2x2 { grid-template-columns: repeat(2, 1fr); }
.devis__option input { display: none; }
.devis__option-card {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.6rem;
    padding: 1.25rem 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: var(--white-muted);
    min-height: 110px;
    justify-content: center;
}
.devis__option-card:hover {
    border-color: rgba(212,168,48,0.3);
    background: rgba(212,168,48,0.05);
}
.devis__option input:checked + .devis__option-card {
    border-color: var(--yellow);
    background: rgba(212,168,48,0.1);
    color: var(--white);
}
.damage-svg {
    width: 44px; height: 44px;
    color: var(--yellow);
}

/* Multi-grid vitres (étape 1) */
.devis__group-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yellow);
    margin: 1.25rem 0 0.6rem;
    opacity: 0.85;
}
.devis__multi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.devis__multi-grid--2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.devis__check-card input { display: none; }
.devis__check-card__inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
    padding: 0.9rem 0.5rem;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease-out, background-color 0.2s ease-out, color 0.2s ease-out;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    color: var(--white-muted);
    min-height: 140px;
    justify-content: center;
    line-height: 1.3;
}
.devis__check-card__inner em {
    font-style: normal;
    color: var(--yellow);
    font-weight: 600;
    display: block;
    font-size: 0.75rem;
}
.devis__check-card__inner:hover {
    border-color: rgba(212,168,48,0.35);
    background: rgba(212,168,48,0.06);
}
.devis__check-card input:checked + .devis__check-card__inner {
    border-color: var(--yellow);
    background: rgba(212,168,48,0.12);
    color: var(--white);
}

/* Schéma voiture dans les check-cards */
.car-schema {
    width: 68px; height: 68px;
    color: var(--white-muted);
    transition: color 0.2s;
}
.devis__check-card__inner:hover .car-schema { color: var(--white); }
.devis__check-card input:checked + .devis__check-card__inner .car-schema {
    color: var(--white);
}
.car-schema .zone {
    fill: transparent;
    stroke: none;
    transition: fill 0.25s ease;
}
.devis__check-card__inner:hover .car-schema .zone {
    fill: rgba(212,168,48,0.35);
}
.devis__check-card input:checked + .devis__check-card__inner .car-schema .zone {
    fill: var(--yellow);
}

/* Conditional wrapper (assurance) */
.devis__conditional {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
    margin-top: 0;
}
.devis__conditional.is-open {
    max-height: 200px;
    opacity: 1;
    margin-top: 1.25rem;
}

.devis__recap {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.devis__recap h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    color: var(--yellow);
}
#recap-content p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}
#recap-content p span:first-child { color: var(--white-muted); flex-shrink: 0; }
#recap-content p span:last-child { text-align: right; }

.devis__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}
.devis__nav .btn { flex: 1; }

/* ========== AVIS GOOGLE ========== */
.avis-google {
    padding: 6rem 0;
    background: var(--blue-mid);
}
.avis-google__card {
    max-width: 560px;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
}
.avis-google__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(11,30,55,0.70), rgba(11,30,55,0.75)),
        url('assets/avis/avis-bg.png') center/cover no-repeat;
    border-radius: 24px;
    z-index: 0;
}
.avis-google__card > * {
    position: relative;
    z-index: 1;
}
.avis-google__score {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.avis-google__rating {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--yellow);
    letter-spacing: 0.02em;
}
.avis-google__rating span {
    font-size: 1.5rem;
    color: var(--white-muted);
    font-family: var(--font-body);
    font-weight: 500;
    margin-left: 0.2rem;
}
.avis-google__stars-lg {
    color: var(--yellow);
    font-size: 1.6rem;
    letter-spacing: 4px;
    text-shadow: 0 0 12px rgba(212,168,48,0.4);
}
.avis-google__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.avis-google__subtext {
    color: var(--white-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}
.avis-google__actions {
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.avis-google__secondary {
    color: var(--white-muted);
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.avis-google__secondary:hover { color: var(--yellow); }


/* ========== ASSURANCES ========== */
.assurances { padding: 3rem 0; overflow: hidden; }
.assurances__label {
    text-align: center;
    color: var(--white-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}
.assurances__marquee {
    overflow: hidden;
    mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.assurances__track {
    display: flex; gap: 3rem;
    animation: marquee 20s linear infinite;
    width: max-content;
}
.assurances__logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--yellow);
    opacity: 0.6;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== ZONE ========== */
.zone { padding: 6rem 0; background: var(--blue-mid); }
.zone__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.zone__svg { max-width: 400px; width: 100%; margin: 0 auto; }
.zone__info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}
.zone__list { list-style: none; }
.zone__list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--white-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.zone__list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--yellow); font-weight: 700;
}
.zone__list li strong { color: var(--yellow); }

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-dark);
    padding: 4rem 0 6rem; /* extra bottom padding pour laisser la place au sticky CTA */
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer__brand p { color: var(--white-muted); font-size: 0.9rem; line-height: 1.6; }
.footer__info h4, .footer__hours h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--yellow);
}
.footer__info p {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--white-muted);
}
.footer__info a { color: var(--white-muted); transition: color 0.2s; }
.footer__info a:hover { color: var(--yellow); }
.footer__hours p { color: var(--white-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--white-muted);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal-btn {
    font-size: 0.85rem;
    color: var(--white-muted);
    transition: color 0.2s;
}
.footer__legal-btn:hover { color: var(--yellow); }

/* ========== MODALS ========== */
.modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.modal__content {
    position: relative;
    background: var(--blue-mid);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.modal__content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--yellow);
    margin-bottom: 1.5rem;
}
.modal__content p {
    color: var(--white-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}
.modal__close {
    position: absolute; top: 1rem; right: 1.5rem;
    font-size: 1.5rem;
    color: var(--white-muted);
    transition: color 0.2s;
}
.modal__close:hover { color: var(--white); }

/* ========== STICKY CTA MOBILE ========== */
.cta-sticky {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 1.05rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-align: center;
    box-shadow: 0 -6px 28px rgba(0,0,0,0.35);
    border-top: 2px solid var(--yellow-light);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cta-sticky.is-visible { transform: translateY(0); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}
[data-animate][data-animate-direction="left"]  { transform: translateX(-36px); }
[data-animate][data-animate-direction="right"] { transform: translateX(36px); }
[data-animate][data-animate-direction="scale"] { transform: scale(0.92); opacity: 0; }
[data-animate].visible                          { opacity: 1; transform: translateY(0); }
[data-animate][data-animate-direction="left"].visible  { transform: translateX(0); }
[data-animate][data-animate-direction="right"].visible { transform: translateX(0); }
[data-animate][data-animate-direction="scale"].visible { transform: scale(1); }
[data-animate][data-delay="1"] { transition-delay: 0.06s; }
[data-animate][data-delay="2"] { transition-delay: 0.12s; }
[data-animate][data-delay="3"] { transition-delay: 0.18s; }
[data-animate][data-delay="4"] { transition-delay: 0.24s; }
[data-animate][data-delay="5"] { transition-delay: 0.30s; }

/* ========== PREFERS REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    [data-animate],
    [data-animate][data-animate-direction="left"],
    [data-animate][data-animate-direction="right"],
    [data-animate][data-animate-direction="scale"] { opacity: 1; transform: none; will-change: auto; }
    .cta-sticky.is-visible { transform: translateY(0); }
}

/* ========== MOBILE ANIMATION OPTIMISATION ========== */
@media (max-width: 768px) {
    /* Désactive les slide-in latéraux (coûteux sur GPU mobile) */
    [data-animate][data-animate-direction="left"],
    [data-animate][data-animate-direction="right"] {
        transform: translateY(16px);
        transition-delay: 0s !important;
    }
    [data-animate][data-animate-direction="left"].visible,
    [data-animate][data-animate-direction="right"].visible {
        transform: translateY(0);
    }
    /* Réduit la distance et durée pour éviter le jank */
    [data-animate] {
        transform: translateY(16px);
        transition-duration: 0.35s;
        will-change: auto; /* libère le GPU sur mobile */
    }
    .benefices__card, .services__item, .btn {
        will-change: auto;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__inner { text-align: center; gap: 1.25rem; }
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__social-proof { margin-left: auto; margin-right: auto; display: inline-flex; }
    .hero__cta-group { justify-content: center; }
    .hero__visual { max-width: 560px; margin: 0 auto; }
    .hero__visual picture { height: auto; min-height: auto; }
    .hero__visual picture img { height: auto; }

    .benefices__grid { grid-template-columns: repeat(2, 1fr); }
    .avant-apres__items { grid-template-columns: 1fr 1fr; }

    .presentation__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .presentation__title { text-align: center; }
    .presentation__text { text-align: center; }
    .presentation__text .btn { margin-left: auto; margin-right: auto; }
}

@media (max-width: 968px) {
    .zone__content { grid-template-columns: 1fr; text-align: center; }
    .zone__list { max-width: 300px; margin: 0 auto; text-align: left; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0; right: 0;
        background: var(--blue-dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .header__nav.open { display: flex; }
    .header__actions .btn { display: none; }
    .header__phone--ghost span { display: none; } /* icône seule en mobile */
    .header__burger { display: flex; }
    .header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header__burger.active span:nth-child(2) { opacity: 0; }
    .header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding-top: 104px; min-height: auto; }
    .hero__title { font-size: clamp(2.8rem, 10vw, 3.8rem); }
    .hero__scroll-indicator { display: none; }

    .benefices { padding: 4.5rem 0; }
    .benefices__grid { grid-template-columns: 1fr; }

    .savoir-faire__grid { grid-template-columns: 1fr; }

    .avant-apres__items { grid-template-columns: 1fr; }

    .devis__wrapper { padding: 1.5rem; }
    .devis__options { grid-template-columns: 1fr; }
    .devis__options--row { grid-template-columns: 1fr 1fr; }
    .devis__options--2x2 { grid-template-columns: 1fr 1fr; }
    .devis__multi-grid { grid-template-columns: repeat(2, 1fr); }
    .devis__multi-grid--2col { grid-template-columns: 1fr 1fr; }
    .devis__field-row { grid-template-columns: 1fr; }

    .presentation__gallery-grid img { height: 120px; }
    .presentation__gallery-grid img:first-child { height: 180px; }

    .steps__line { display: none; }
    .steps__item { flex-direction: column; align-items: center; text-align: center; }

    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer { padding-bottom: 96px; } /* espace pour le sticky CTA */

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

    .cta-sticky { display: flex; } /* sticky mobile only */
}

@media (max-width: 480px) {
    .services__grid { grid-template-columns: 1fr; }
    .hero__inner { padding: 0 1rem; }
}
