:root {
    --bg: #080b0f;
    --bg-elevated: #0d1218;
    --surface: #121820;
    --surface-strong: #171e28;
    --surface-soft: #0d131a;
    --text: #f6f8fb;
    --muted: #aeb7c5;
    --muted-dark: #5e6876;
    --blue: #2464c8;
    --blue-strong: #3078e2;
    --red: #d9232a;
    --orange: #ff6e14;
    --line: rgba(255, 255, 255, .11);
    --line-light: #dbe1e8;
    --max: 1180px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, .16);
    --shadow-md: 0 20px 50px rgba(0, 0, 0, .24);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .34);
    --section-space: 88px;
    --transition: .3s cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::selection {
    background: rgba(48, 120, 226, .45);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

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

img {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(73, 137, 245, .75);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: #fff;
    color: #111;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.topbar {
    background: #07090c;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 7px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 11, 15, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 900;
    letter-spacing: .025em;
}

.brand img {
    width: 66px;
    height: 50px;
    object-fit: cover;
    border-radius: 9px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .28));
}

.brand span {
    max-width: 180px;
    line-height: 1.05;
}

.menu {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: .92rem;
    font-weight: 700;
}

.menu > a:not(.btn) {
    position: relative;
    padding-block: 8px;
    color: #dbe1ea;
    transition: color var(--transition);
}

.menu > a:not(.btn)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.menu > a:not(.btn):hover,
.menu > a[aria-current="page"] {
    color: #fff;
}

.menu > a:not(.btn):hover::after,
.menu > a[aria-current="page"]::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
    color: #fff;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn-primary {
    background: linear-gradient(110deg, var(--blue), var(--blue-strong));
    color: #fff;
    box-shadow: 0 12px 28px rgba(31, 89, 184, .28);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .035);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 16px 34px rgba(31, 89, 184, .36);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .07);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 80px;
    background:
        radial-gradient(circle at 18% 28%, rgba(31, 89, 184, .29), transparent 37%),
        radial-gradient(circle at 87% 18%, rgba(215, 25, 32, .19), transparent 30%),
        linear-gradient(145deg, #090c11, #111824 68%, #090c11);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b9c6da;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #fff 52%, var(--red));
}

h1,
h2,
h3 {
    margin: 0 0 18px;
    line-height: 1.08;
    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem, 6.7vw, 6rem);
    letter-spacing: -.055em;
}

h2 {
    font-size: clamp(2.15rem, 4.4vw, 3.55rem);
    letter-spacing: -.042em;
}

h3 {
    font-size: 1.28rem;
    letter-spacing: -.018em;
}

p {
    text-wrap: pretty;
}

.lead {
    max-width: 630px;
    margin: 0;
    color: #c5cdd8;
    font-size: 1.12rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-card {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022));
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-3px);
}

.hero-card > img {
    width: 100%;
    aspect-ratio: 1.25;
    border-radius: 16px;
    object-fit: cover;
}

.hero-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.stat {
    min-width: 0;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 9px;
    border-radius: var(--radius-sm);
    background: #0d1218;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: .98rem;
    line-height: 1.28;
    text-wrap: balance;
}

.stat span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.4;
    text-wrap: balance;
}

section {
    padding: var(--section-space) 0;
}

main > section:not(.hero):not(.page-hero):not(.light):not(.vehicles-services) {
    background:
        radial-gradient(circle at 0% 35%, rgba(31, 89, 184, .045), transparent 35%),
        radial-gradient(circle at 100% 65%, rgba(215, 25, 32, .035), transparent 35%),
        var(--bg);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: start;
    gap: 58px;
    margin-bottom: 38px;
}

.section-head > div {
    min-width: 0;
}

.section-head h2 {
    margin-top: 8px;
    margin-bottom: 0;
}

.section-head p {
    max-width: 570px;
    margin: 44px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

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

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

.card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 10% 0%, rgba(31, 89, 184, .08), transparent 42%),
        linear-gradient(145deg, var(--surface), #0f141b);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(75, 130, 225, .28);
    box-shadow: var(--shadow-md);
}

.card .icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(31, 89, 184, .3), rgba(215, 25, 32, .16));
    font-size: 1.2rem;
}

.card p,
.card ul {
    color: var(--muted);
}

.card p:last-child,
.card ul:last-child {
    margin-bottom: 0;
}

.card ul {
    padding-left: 20px;
}

.light {
    background: #f2f4f7;
    color: #11151b;
}

.light .eyebrow {
    color: #506076;
}

.light .card {
    border-color: var(--line-light);
    background: #fff;
    box-shadow: 0 14px 34px rgba(24, 33, 46, .075);
}

.light .card:hover {
    border-color: #bdc8d6;
    box-shadow: 0 20px 42px rgba(24, 33, 46, .12);
}

.light .card p,
.light .section-head p,
.light .trust-item span {
    color: var(--muted-dark);
}

.light .trust-item {
    border-top-color: #ccd4de;
}

.band {
    padding: 27px 0;
    background: linear-gradient(100deg, var(--blue), #183f84 48%, #79191d 71%, var(--red));
}

.band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.band h3 {
    margin: 0 0 2px;
    font-size: 1.42rem;
}

.band span {
    color: rgba(255, 255, 255, .86);
}

.band .btn-secondary {
    min-width: 170px;
    background: rgba(8, 11, 15, .13);
}

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

.trust-item {
    padding: 20px 4px 8px;
    border-top: 2px solid #394252;
}

.trust-item strong {
    display: block;
    font-size: 1rem;
}

.trust-item span {
    color: var(--muted);
    font-size: .9rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-list div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .025);
    font-weight: 700;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 45%, rgba(31, 89, 184, .2), transparent 35%),
        radial-gradient(circle at 88% 30%, rgba(215, 25, 32, .14), transparent 30%),
        linear-gradient(135deg, #101620, #080b0f);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 64px 100%;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 980px;
    margin-top: 8px;
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.page-hero p {
    max-width: 740px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    font-weight: 750;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #3b4553;
    border-radius: var(--radius-sm);
    background: #0e1319;
    color: #fff;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
    border-color: #526074;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--blue-strong);
    box-shadow: 0 0 0 4px rgba(48, 120, 226, .15);
    background: #101720;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    gap: 26px;
    align-items: start;
}

.info-row {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.info-row:first-child {
    padding-top: 0;
}

.info-row strong {
    display: block;
}

.info-row span {
    color: var(--muted);
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 19px 0;
}

.faq summary {
    position: relative;
    padding-right: 32px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue-strong);
    font-size: 1.35rem;
    transition: transform var(--transition);
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq p {
    max-width: 780px;
    color: var(--muted);
}

.values-card {
    max-width: 360px;
    justify-self: end;
    align-self: start;
}

.footer {
    padding: 52px 0 24px;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 15% 0%, rgba(31, 89, 184, .06), transparent 30%),
        #06090c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .75fr .75fr .9fr;
    gap: 44px;
}

.footer .brand {
    margin-bottom: 16px;
}

.footer p,
.footer a {
    color: var(--muted);
}

.footer p {
    max-width: 440px;
}

.footer a {
    transition: color var(--transition);
}

.footer a:hover {
    color: #fff;
}

.legal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #7f8998;
    font-size: .84rem;
}

.mobilebar {
    display: none;
}

/* ==========================================================
   PAGE VÉHICULES
========================================================== */

.vehicles-services {
    padding: 56px 0 var(--section-space);
    background:
        radial-gradient(circle at 0% 20%, rgba(31, 89, 184, .05), transparent 33%),
        var(--bg);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.vehicle-service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 168px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 15% 0%, rgba(24, 82, 190, .1), transparent 42%),
        linear-gradient(145deg, #111720, #0b1017);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.vehicle-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 128, 239, .34);
    box-shadow: var(--shadow-md);
}

.vehicle-service-card h3 {
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.vehicle-service-card p {
    max-width: 35ch;
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.leboncoin-showcase {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: center;
    gap: 40px;
    padding: 36px 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 50%, rgba(39, 95, 190, .08), transparent 38%),
        linear-gradient(145deg, #10161e, #0a0f15);
    box-shadow: var(--shadow-md);
}

.leboncoin-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.leboncoin-official-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.leboncoin-showcase h2 {
    max-width: 22ch;
    margin: 10px 0 14px;
    color: #fff;
    font-size: clamp(2rem, 2.7vw, 2.8rem);
    line-height: 1.08;
}

.leboncoin-showcase p {
    max-width: 620px;
    margin: 0;
    color: #c0c7d2;
}

.leboncoin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin-top: 24px;
    padding: 15px 22px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #ff7a00, #f4510b);
    color: #fff;
    font-weight: 750;
    line-height: 1.2;
    box-shadow: 0 10px 25px rgba(255, 110, 20, .25);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.leboncoin-button:hover {
    color: #fff;
    transform: translateY(-3px);
    filter: brightness(1.05);
    box-shadow: 0 16px 35px rgba(255, 110, 20, .31);
}

.leboncoin-update {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #c2c9d4;
    font-size: .95rem;
}

.leboncoin-check {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 2px solid #2d7eff;
    border-radius: 50%;
    color: #2d7eff;
    font-size: .72rem;
    font-weight: 700;
}

.leboncoin-logo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.leboncoin-logo-wrap::before {
    content: "";
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(47, 100, 188, .1), transparent 68%);
    filter: blur(10px);
}

.leboncoin-garage-logo {
    position: relative;
    z-index: 2;
    width: min(100%, 340px);
    height: auto;
    border-radius: 14px;
    opacity: .72;
    filter: brightness(.85) contrast(1.05) saturate(.75) drop-shadow(0 20px 30px rgba(0, 0, 0, .25));
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1024px) {
    :root {
        --section-space: 76px;
    }

    .hero-grid {
        gap: 42px;
    }

    .section-head {
        gap: 36px;
    }

    .vehicles-grid {
        gap: 16px;
    }

    .vehicle-service-card {
        min-height: 158px;
        padding: 24px;
    }

    .leboncoin-showcase {
        grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
        gap: 30px;
        padding: 32px 34px;
    }

    .leboncoin-official-logo {
        width: 180px;
    }

    .leboncoin-showcase h2 {
        max-width: 20ch;
        font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    }

    .leboncoin-garage-logo {
        width: min(100%, 300px);
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .menu {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 18px 20px 22px;
        border-bottom: 1px solid var(--line);
        background: rgba(9, 13, 18, .98);
        box-shadow: var(--shadow-md);
    }

    .menu.open {
        display: flex;
    }

    .menu > a:not(.btn) {
        padding: 11px 6px;
    }

    .menu > a:not(.btn)::after {
        display: none;
    }

    .menu .btn {
        margin-top: 8px;
    }

    .hero-grid,
    .contact-grid,
    .grid-3,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-grid {
        gap: 46px;
    }

    .hero-card {
        width: min(100%, 660px);
        margin-inline: auto;
        transform: none;
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section-head p {
        margin-top: 0;
    }

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

    .values-card {
        max-width: 100%;
        justify-self: stretch;
    }

    .topbar {
        display: none;
    }

    .mobilebar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 7px max(7px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left));
        border-top: 1px solid var(--line);
        background: rgba(7, 10, 14, .96);
        backdrop-filter: blur(14px);
    }

    .mobilebar a {
        padding: 9px 4px;
        text-align: center;
        font-size: .76rem;
        font-weight: 800;
    }

    .footer {
        padding-bottom: 92px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-space: 64px;
    }

    .container {
        width: min(var(--max), calc(100% - 32px));
    }

    .nav {
        min-height: 72px;
    }

    .menu {
        top: 72px;
    }

    .actions {
        justify-content: center;
    }

    .hero-grid > div:first-child {
        text-align: center;
    }

    .hero-grid .eyebrow {
        justify-content: center;
    }

    .lead {
        margin-inline: auto;
    }

    .hero-note {
        grid-template-columns: 1fr;
    }

    .stat {
        min-height: 0;
        padding: 18px 16px;
    }

    .stat strong {
        font-size: 1.05rem;
    }

    .section-head {
        text-align: left;
    }

    .band .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .band .btn {
        width: fit-content;
        margin-inline: auto;
    }

    .vehicles-services {
        padding: 44px 0 var(--section-space);
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .vehicle-service-card {
        min-height: 0;
        padding: 22px;
        text-align: center;
    }

    .vehicle-service-card p {
        max-width: 100%;
        margin-inline: auto;
    }

    .leboncoin-showcase {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 27px 22px;
        text-align: center;
    }

    .leboncoin-content {
        align-items: center;
    }

    .leboncoin-official-logo {
        width: 175px;
        margin-inline: auto;
    }

    .leboncoin-showcase h2 {
        max-width: 100%;
        margin: 10px auto 14px;
        font-size: clamp(1.9rem, 8vw, 2.35rem);
    }

    .leboncoin-showcase p {
        max-width: 100%;
        font-size: .95rem;
    }

    .leboncoin-button {
        margin: 22px auto 0;
    }

    .leboncoin-update {
        justify-content: center;
    }

    .leboncoin-logo-wrap {
        display: none;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(var(--max), calc(100% - 24px));
    }

    .brand span {
        display: none;
    }

    h1 {
        font-size: clamp(2.75rem, 13vw, 3.6rem);
    }

    h2 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .hero {
        padding: 54px 0 62px;
    }

    .page-hero {
        padding: 58px 0;
    }

    .trust,
    .service-list {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px 22px;
    }

    .leboncoin-button {
        width: 100%;
        padding-inline: 16px;
    }
}

@media (max-width: 420px) {
    .vehicle-service-card {
        padding: 20px 18px;
    }

    .leboncoin-showcase {
        padding: 24px 18px;
    }

    .leboncoin-official-logo {
        width: 165px;
    }

    .leboncoin-showcase h2 {
        font-size: 1.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ==========================================================
   CORRECTIONS VISUELLES V2 — cohérence bleu / blanc / rouge
========================================================== */

/* Accent tricolore net, sans transition violette. */
.menu > a:not(.btn)::after {
    background: linear-gradient(
        90deg,
        var(--blue) 0 38%,
        #ffffff 38% 62%,
        var(--red) 62% 100%
    );
}

/* Les halos restent séparés afin d'éviter un mélange violet. */
.hero {
    background:
        linear-gradient(90deg, rgba(31, 89, 184, .25) 0%, rgba(31, 89, 184, .08) 30%, transparent 48%),
        linear-gradient(270deg, rgba(215, 25, 32, .16) 0%, rgba(215, 25, 32, .05) 28%, transparent 46%),
        #0b1017;
}

.page-hero {
    background:
        linear-gradient(90deg, rgba(31, 89, 184, .20) 0%, rgba(31, 89, 184, .06) 30%, transparent 48%),
        linear-gradient(270deg, rgba(215, 25, 32, .13) 0%, rgba(215, 25, 32, .04) 27%, transparent 45%),
        #0b1017;
}

.card .icon {
    background:
        linear-gradient(
            135deg,
            rgba(36, 100, 200, .30) 0 40%,
            rgba(255, 255, 255, .10) 48% 56%,
            rgba(217, 35, 42, .20) 64% 100%
        );
}

.band {
    background:
        linear-gradient(
            100deg,
            #285fbd 0 44%,
            #17202b 48% 52%,
            #a72328 58%,
            #d9232a 100%
        );
}

/* Le logo principal doit rester entièrement visible. */
.hero-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: #0b0d10;
}

/* Page garage : davantage d'air autour et dans la carte de valeurs. */
.page-garage .values-card {
    width: min(100%, 390px);
    max-width: 390px;
    justify-self: center;
    padding: 32px 34px;
}

.page-garage .values-card ul {
    margin-bottom: 0;
}

/* FAQ : retour à une petite flèche discrète. */
.faq summary::after {
    content: "";
    width: 9px;
    height: 9px;
    right: 5px;
    top: 46%;
    border-right: 2px solid var(--blue-strong);
    border-bottom: 2px solid var(--blue-strong);
    font-size: 0;
    transform: translateY(-50%) rotate(45deg);
}

.faq details[open] summary::after {
    transform: translateY(-20%) rotate(225deg);
}

/* Contact : les deux panneaux ont la même hauteur sur ordinateur. */
.page-contact .contact-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.page-contact .contact-grid > .card {
    height: 100%;
}

.page-contact .contact-grid > .card:first-child h2 {
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
}

/* ==========================================================
   CORRECTIONS MOBILES
========================================================== */

@media (max-width: 768px) {
    /* Marge latérale constante et confortable. */
    .container {
        width: min(var(--max), calc(100% - 36px));
    }

    /* Le premier hero suit le même alignement que les autres contenus. */
    .page-home .hero-grid > div:first-child {
        text-align: left;
    }

    .page-home .hero-grid .eyebrow {
        justify-content: flex-start;
    }

    .page-home .lead {
        margin-inline: 0;
    }

    /* Les boutons restent volontairement centrés sur mobile. */
    .page-home .actions {
        justify-content: center;
    }

    /* Les dégradés mobiles conservent un centre neutre, sans violet. */
    .hero,
    .page-hero {
        background:
            linear-gradient(90deg, rgba(31, 89, 184, .17) 0%, transparent 48%),
            linear-gradient(270deg, rgba(215, 25, 32, .10) 0%, transparent 44%),
            #0b1017;
    }

    /* Footer : identité recentrée, navigation conservée lisible. */
    .footer-grid > div:first-child {
        text-align: center;
    }

    .footer .brand {
        justify-content: center;
        width: 100%;
    }

    .footer-grid > div:first-child p {
        margin-inline: auto;
    }

    /* Page garage : échelle typographique plus adaptée au téléphone. */
    .page-garage .page-hero h1 {
        font-size: clamp(2.35rem, 10.5vw, 3rem);
        line-height: 1.08;
    }

    .page-garage main > section:not(.page-hero) h2 {
        font-size: clamp(2.15rem, 9.5vw, 2.75rem);
        line-height: 1.08;
    }

    .page-garage .values-card {
        width: 100%;
        max-width: none;
        padding: 28px 26px;
    }

    /* Services : CTA centré uniquement sur mobile. */
    .page-services .light > .container > .btn {
        display: flex;
        width: fit-content;
        margin: 24px auto 0;
    }

    /* Contact : retour à deux cartes indépendantes et titre contenu. */
    .page-contact .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 24px;
    }

    .page-contact .contact-grid > .card {
        width: 100%;
        min-width: 0;
        height: auto;
    }

    .page-contact .form .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-contact .field,
    .page-contact .field input,
    .page-contact .field select,
    .page-contact .field textarea {
        min-width: 0;
        max-width: 100%;
    }

    .page-contact .contact-grid > .card:first-child h2 {
        font-size: clamp(2.15rem, 10vw, 2.7rem);
        line-height: 1.08;
    }
}

@media (max-width: 560px) {
    /* Ne pas réduire à nouveau les marges sous 560 px. */
    .container {
        width: min(var(--max), calc(100% - 36px));
    }
}

/* ==========================================================
   V4 — RESPIRATION MOBILE RESTAURÉE
   Marges latérales de 24 px, comme dans la version d'origine.
========================================================== */

@media (max-width: 768px) {
    .container {
        width: calc(100% - 48px);
        max-width: var(--max);
        margin-inline: auto;
    }

    /* Les grands panneaux restent contenus dans la largeur utile. */
    .card,
    .hero-card,
    .vehicle-service-card,
    .leboncoin-showcase,
    .page-contact .contact-grid > .card,
    .page-garage .values-card {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 48px);
    }
}


/* ==========================================================
   V6 — LOCALISATION DU GARAGE
========================================================== */

.garage-location {
    padding-top: 0;
    padding-bottom: clamp(64px, 7vw, 96px);

    background:
        radial-gradient(circle at 0% 15%, rgba(31, 89, 184, .09), transparent 32%),
        radial-gradient(circle at 100% 85%, rgba(215, 25, 32, .06), transparent 30%),
        #090d13;
}

.location-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(32px, 4.5vw, 60px);
    align-items: stretch;
    padding: clamp(32px, 4vw, 52px);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(18, 25, 35, .97), rgba(10, 15, 22, .98));
    box-shadow: var(--shadow-lg);
}

.location-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.location-content .eyebrow {
    margin-bottom: 12px;
}

.location-content h2 {
    max-width: 15ch;
    margin: 0 0 20px;
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 1.04;
}

.location-content .lead {
    max-width: 620px;
    margin: 0 0 16px;
    color: #c6ceda;
    font-size: clamp(1.02rem, 1.25vw, 1.16rem);
    line-height: 1.7;
}

.location-content > p:not(.lead) {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.location-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.location-points span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    color: #dce4ef;
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.35;
}

.location-points span::before {
    content: "";
    width: 18px;
    height: 3px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-strong) 0 38%, #fff 39% 61%, var(--red) 62% 100%);
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.location-map-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: #0d131c;
}

.location-map {
    position: relative;
    min-height: 360px;
    flex: 1;
    overflow: hidden;
    background: #111720;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: saturate(.82) contrast(1.03);
}

.location-address {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background: #101720;
}

.location-address::before {
    content: "⌖";
    grid-row: 1 / 3;
    color: #fff;
    font-size: 1.3rem;
}

.location-address strong {
    color: #fff;
    font-size: 1rem;
}

.location-address span {
    color: #b9c2cf;
    font-size: .9rem;
}

@media (max-width: 980px) {
    .location-panel {
        grid-template-columns: 1fr;
    }

    .location-content h2 {
        max-width: 18ch;
    }

    .location-map,
    .location-map iframe {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .garage-location{

        padding-top:0;
        padding-bottom:52px;
    }

    .location-panel {
        gap: 28px;
        padding: 26px 22px;
        border-radius: 20px;
    }

    .location-content .eyebrow {
        margin-bottom: 10px;
    }

    .location-content h2 {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.07;
    }

    .location-content .lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .location-content > p:not(.lead) {
        line-height: 1.65;
    }

    .location-points {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .location-points span {
        min-height: 44px;
        padding: 10px 12px;
    }

    .location-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 22px;
    }

    .location-actions .btn {
        width: min(100%, 310px);
        text-align: center;
    }

    .location-map-card {
        border-radius: 16px;
    }

    .location-map,
    .location-map iframe {
        min-height: 300px;
    }

    .location-address {
        padding: 15px 16px;
    }
}

@media (max-width: 420px) {
    .location-panel {
        padding: 23px 18px;
    }

    .location-map,
    .location-map iframe {
        min-height: 270px;
    }
}

/* =========================================================
   V10 — Finitions visuelles retenues
   En-tête vitré, apparitions fluides, retour en haut et
   raffinements discrets des liens de pied de page.
   ========================================================= */

.header {
    transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.header.is-scrolled {
    background: rgba(8, 11, 15, .88);
    border-bottom-color: rgba(255, 255, 255, .095);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.footer a:not(.btn),
.legal a {
    text-decoration-color: transparent;
    text-underline-offset: .24em;
    transition: color .25s ease, text-decoration-color .25s ease;
}

.footer a:not(.btn):hover,
.legal a:hover {
    text-decoration-color: currentColor;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(12, 17, 24, .88);
    color: #fff;
    font: inherit;
    font-size: 1.15rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
    backdrop-filter: blur(14px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.94);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, border-color .25s ease, background .25s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    border-color: rgba(90, 145, 236, .55);
    background: rgba(31, 89, 184, .92);
    transform: translateY(-3px) scale(1.02);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(90, 145, 236, .55);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 18px;
        bottom: 82px;
        width: 44px;
        height: 44px;
    }
}


/* Aide contextuelle — plaque d’immatriculation */
.field-label-with-info {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

.field-label-with-info > label {
    margin: 0;
}

.info-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.info-tooltip-trigger {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    padding: 0;
    border: 1px solid rgba(104, 161, 255, .75);
    border-radius: 50%;
    background: transparent;
    color: #8bb6ff;
    font: 700 12px/1 Inter, system-ui, sans-serif;
    cursor: help;
}

.info-tooltip-trigger:focus-visible {
    outline: 3px solid rgba(104, 161, 255, .35);
    outline-offset: 3px;
}

.info-tooltip-bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 11px);
    z-index: 40;
    width: min(280px, calc(100vw - 44px));
    padding: 11px 13px;
    border: 1px solid rgba(104, 161, 255, .36);
    border-radius: 10px;
    background: #111720;
    color: #f5f7fb;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 5px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.info-tooltip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 1px solid rgba(104, 161, 255, .36);
    border-bottom: 1px solid rgba(104, 161, 255, .36);
    background: #111720;
    transform: translate(-50%, -5px) rotate(45deg);
}

.info-tooltip-wrap:hover .info-tooltip-bubble,
.info-tooltip-wrap:focus-within .info-tooltip-bubble,
.info-tooltip-wrap.is-open .info-tooltip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

#immatriculation {
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (hover: none) {
    .info-tooltip-trigger {
        cursor: pointer;
    }
}

@media (max-width: 600px) {
    /* Sur mobile, l’aide devient un panneau intégré au formulaire : aucun débordement. */
    .field-label-with-info {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 7px;
    }

    .info-tooltip-wrap {
        display: contents;
    }

    .info-tooltip-trigger {
        cursor: pointer;
        flex: 0 0 auto;
    }

    .info-tooltip-bubble {
        position: static;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        max-height: 0;
        margin: 0;
        padding: 0 13px;
        overflow: hidden;
        border-width: 0;
        border-radius: 9px;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: max-height .2s ease, margin .2s ease, padding .2s ease,
                    opacity .16s ease, visibility .16s ease, border-width .16s ease;
    }

    .info-tooltip-bubble::after {
        display: none;
    }

    /* Pas d’ouverture involontaire via :hover sur les écrans tactiles. */
    .info-tooltip-wrap:hover .info-tooltip-bubble,
    .info-tooltip-wrap:focus-within .info-tooltip-bubble {
        max-height: 0;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-width: 0;
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .info-tooltip-wrap.is-open .info-tooltip-bubble {
        max-height: 130px;
        margin-top: 4px;
        padding: 11px 13px;
        border-width: 1px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}


/* Réseaux sociaux du footer */
.footer-social .social-links {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    color: var(--muted);
    text-decoration: none;
    transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.footer-social .social-link:hover,
.footer-social .social-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(76, 132, 229, .55);
    background: rgba(45, 103, 203, .10);
    color: #fff;
}

.footer-social .social-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.footer-social .social-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.footer-social .social-link > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.footer-social .social-link strong {
    color: #fff;
    font-size: .94rem;
    line-height: 1.2;
}

.footer-social .social-link small {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.35;
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}
