/* Garage Auto : mise en page du site, écrite à la main. Couleurs, police et tailles se règlent dans :root. */

@font-face {
    font-family: "Barlow Condensed";
    src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow Condensed";
    src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #15171c;            /* anthracite : en-tête, bandeaux, pied de page */
    --ink-soft: #262a33;
    --text: #23262d;
    --muted: #5d6370;
    --bg: #f5f3ef;             /* fond clair, un peu chaud */
    --bg-alt: #ebe7e0;
    --surface: #fff;
    --line: #e2ddd4;
    --field: #cbc5ba;
    --accent: #f56a1f;         /* orange du garage */
    --accent-hover: #ff8547;
    --accent-ink: #b5460d;     /* orange foncé, lisible sur fond clair */
    --accent-soft: #fdebdf;
    --on-dark: #f2f0ec;
    --on-dark-muted: #b3b7c0;
    --open: #34c873;
    --closed: #ff7a6b;
    --radius: 16px;
    --radius-small: 10px;
    --shadow: 0 1px 2px rgba(21, 23, 28, .06), 0 10px 30px rgba(21, 23, 28, .08);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-title: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
    --header-height: 68px;
    --stripes: repeating-linear-gradient(-45deg, var(--accent) 0 12px, transparent 12px 24px);
}

/* ---------- Base ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 16px);
    scrollbar-gutter: stable;
}
html:has(dialog[open]) { overflow: hidden; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3 {
    margin: 0 0 .45em;
    color: var(--ink);
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.05;
    text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.5vw, 4.75rem); text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }

.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-small { min-height: 42px; padding: 8px 16px; border-radius: 10px; font-size: .95rem; }
.btn-large { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #efece6; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- En-tête et menu ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ink);
    color: var(--on-dark);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    min-height: var(--header-height);
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--accent);
    color: var(--ink);
}
.logo-mark .icon { width: 24px; height: 24px; stroke-width: 2.2; }
.logo-text { font: 700 1.6rem/1 var(--font-title); letter-spacing: .04em; text-transform: uppercase; }

.menu-button {
    display: none;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, background-color .2s ease;
}
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.nav-open .menu-lines { background: transparent; }
.nav-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-bottom: 12px; }
.nav a:not(.btn) { color: var(--on-dark); font-weight: 600; text-decoration: none; }
.nav a[aria-current="page"]:not(.btn) { color: var(--accent); }

/* Téléphone : le menu s'ouvre avec le bouton « Menu » (sans JavaScript, il reste affiché) */
@media (max-width: 899.98px) {
    .js .menu-button { display: inline-flex; }
    .js .nav { display: none; }
    .js .nav-open .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        padding: 4px 20px 22px;
        background: var(--ink);
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
    }
    .js .nav-open .nav a:not(.btn) { padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.125rem; }
    .js .nav-open .nav-call { margin-top: 18px; min-height: 52px; }
}

@media (min-width: 900px) {
    :root { --header-height: 78px; }
    .header-inner { flex-wrap: nowrap; }
    .nav { gap: 4px; padding: 0; }
    .nav a:not(.btn) { position: relative; padding: 10px 14px; border-radius: 8px; color: var(--on-dark-muted); }
    .nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
    .nav a[aria-current="page"]:not(.btn) { color: #fff; }
    .nav a[aria-current="page"]:not(.btn)::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 3px;
        height: 3px;
        border-radius: 2px;
        background: var(--accent);
    }
    .nav-call { margin-left: 14px; }
}

/* ---------- Petits éléments communs ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: #ff9a5c;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.eyebrow-dark { color: var(--accent-ink); }

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 16px 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
}
.status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--closed); box-shadow: 0 0 0 4px rgba(255, 122, 107, .22); }
.status-open .status-dot { background: var(--open); animation: pulse 2.2s ease-out infinite; }
.status-dark { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.status-dark .status-dot { background: #d64533; box-shadow: 0 0 0 4px rgba(214, 69, 51, .14); }
.status-dark.status-open .status-dot { background: #1f9d55; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 200, 115, .55); }
    100% { box-shadow: 0 0 0 10px rgba(52, 200, 115, 0); }
}

.checks { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks .icon {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    stroke-width: 3;
}

.slot { white-space: nowrap; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- Accueil ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 40%;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14, 15, 19, .5) 0%, rgba(14, 15, 19, .82) 50%, rgba(14, 15, 19, .94) 100%);
}
.hero-content { padding-block: 64px 112px; }
.hero h1 { max-width: 14ch; color: #fff; }
.hero-lead { max-width: 33em; margin-bottom: 28px; color: #e6e4e0; font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-actions .btn { flex: 1 1 auto; }

@media (min-width: 700px) {
    .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
    .hero::before { background: linear-gradient(90deg, rgba(14, 15, 19, .94) 0%, rgba(14, 15, 19, .8) 42%, rgba(14, 15, 19, .2) 100%); }
    .hero-content { padding-block: 120px 172px; }
}

.promises { position: relative; z-index: 1; margin-top: -64px; }
.promises-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 20px 50px rgba(21, 23, 28, .14);
}
.promise { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px; }
.promise:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.promise:nth-child(odd) { border-right: 1px solid var(--line); }
.promise .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.promise strong { display: block; color: var(--ink); font: 700 1.3rem/1.05 var(--font-title); }
.promise span { display: block; margin-top: 3px; color: var(--muted); font-size: .9rem; line-height: 1.35; }

@media (min-width: 900px) {
    .promises { margin-top: -76px; }
    .promises-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .promise { flex-direction: row; align-items: center; gap: 14px; padding: 26px 22px; }
    .promise:nth-child(-n+2) { border-bottom: 0; }
    .promise:not(:last-child) { border-right: 1px solid var(--line); }
}

.section { padding-block: clamp(64px, 9vw, 104px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.center { margin: 36px 0 0; text-align: center; }

.cards { display: grid; gap: 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.split { display: grid; gap: 40px; align-items: center; }
.split-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 12px 12px 0 var(--accent); }
.split p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px 26px 30px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.step-number {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--accent);
    font: 700 1.75rem/1 var(--font-title);
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.visit { display: grid; gap: 40px; align-items: center; }
.visit-address { display: flex; gap: 12px; margin-bottom: 18px; color: var(--ink); font-size: 1.2rem; font-weight: 600; line-height: 1.45; }
.visit-address .icon { margin-top: 3px; color: var(--accent-ink); }
.visit .status { margin-bottom: 26px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 72px; } }

.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.hours-table caption { padding: 0 0 14px; color: var(--ink); font: 700 1.5rem/1.1 var(--font-title); text-align: left; }
.hours-table caption .icon { margin-right: 8px; color: var(--accent-ink); }
.hours-table th, .hours-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.hours-table th { color: var(--ink); font-weight: 600; }
.hours-table td { color: var(--muted); text-align: right; }
.hours-table tr:last-child > * { border-bottom: 0; }
.hours-table tr:first-child > :first-child { border-top-left-radius: var(--radius); }
.hours-table tr:first-child > :last-child { border-top-right-radius: var(--radius); }
.hours-table tr:last-child > :first-child { border-bottom-left-radius: var(--radius); }
.hours-table tr:last-child > :last-child { border-bottom-right-radius: var(--radius); }
.hours-table .today > * { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.hours-table .today th::after {
    content: "Aujourd'hui";
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: .7rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    vertical-align: 2px;
}
@media (min-width: 600px) { .hours-table th, .hours-table td { padding: 15px 22px; } }

/* ---------- Bandeau d'appel ---------- */

.cta-band { position: relative; padding-block: clamp(56px, 8vw, 88px); background: var(--ink); color: var(--on-dark); }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--stripes); }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; color: #fff; }
.cta-band p { margin: 0; color: var(--on-dark-muted); font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { flex: 1 1 auto; }
@media (min-width: 900px) {
    .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
    .cta-actions .btn { flex: 0 0 auto; }
}

/* ---------- Pied de page ---------- */

.site-footer { padding-top: 64px; background: #0f1014; color: var(--on-dark-muted); font-size: .98rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer-name { margin-bottom: 10px; color: #fff; font: 700 1.7rem/1 var(--font-title); letter-spacing: .04em; text-transform: uppercase; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font: 700 .82rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.site-footer address { margin-bottom: 10px; color: var(--on-dark); font-style: normal; }
.footer-link { display: flex; align-items: center; gap: 10px; width: fit-content; padding: 5px 0; color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.footer-link:hover { color: var(--accent); }
.footer-link .icon { color: var(--accent); }
.footer-cta { margin-top: 16px; }
.hours { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.hours li > span:first-child { color: var(--on-dark); }
.hours li > span:last-child { text-align: right; }
.hours-dark li > span:first-child { color: var(--ink); font-weight: 600; }
.hours-dark li > span:last-child { color: var(--muted); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    padding-block: 22px 100px;  /* place pour le bouton « Appeler » du téléphone */
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 22px; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 48px; } }

.call-float {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
@media (min-width: 900px) { .call-float { display: none; } }

/* ---------- Pages intérieures ---------- */

.page-hero { position: relative; padding-block: clamp(52px, 8vw, 96px) clamp(60px, 8vw, 100px); background: var(--ink); color: var(--on-dark); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: var(--stripes); }
.page-hero h1 { max-width: 18ch; color: #fff; font-size: clamp(2.4rem, 6.5vw, 4.25rem); }
.page-lead { max-width: 40em; margin: 0; color: var(--on-dark-muted); font-size: clamp(1.08rem, 2vw, 1.25rem); }

/* Services */
.services-list { display: grid; gap: 28px; }
.service { display: grid; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.service img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 26px 22px 30px; }
.service-body p { color: var(--muted); font-size: 1.08rem; }
.service .checks { margin: 0; }
@media (min-width: 860px) {
    .service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
    .service img { min-height: 340px; aspect-ratio: auto; }
    .service:nth-child(even) img { order: 2; }
    .service-body { align-self: center; padding: 44px 48px; }
    .service .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; }

/* Photos */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-small); background: var(--ink-soft); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 32px 14px 12px;
    background: linear-gradient(transparent, rgba(12, 13, 16, .82));
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
    pointer-events: none;
}
@media (min-width: 900px) {
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
    .gallery figure:nth-child(8) { grid-column: span 2; aspect-ratio: auto; }
    /* Les photos en grand prennent la hauteur de leur rangée, sans l'agrandir */
    .gallery figure:first-child img, .gallery figure:nth-child(8) img { position: absolute; inset: 0; }
    .gallery figcaption { padding: 40px 18px 14px; font-size: 1rem; }
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(9, 10, 13, .94); }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; margin: 0; padding: 76px 12px 28px; }
.lightbox-figure img {
    width: auto;
    max-width: min(100%, 1400px);
    max-height: calc(100vh - 170px);
    max-height: calc(100dvh - 170px);
    border-radius: 10px;
    object-fit: contain;
}
.lightbox-figure figcaption { font-weight: 600; text-align: center; }
.lightbox-button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
}
.lightbox-button:hover { background: rgba(255, 255, 255, .26); }
.lightbox-button .icon { width: 26px; height: 26px; }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
@media (max-width: 699.98px) {
    .lightbox-figure { padding-bottom: 100px; }
    .lightbox-figure img { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
    .lightbox-prev, .lightbox-next { top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: none; }
    .lightbox-prev { left: calc(50% - 66px); }
    .lightbox-next { right: calc(50% - 66px); }
}

/* Contact */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; } }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.form { display: grid; gap: 20px; }
.form label { display: block; color: var(--ink); font-weight: 600; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1.5px solid var(--field);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-weight: 400;
}
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: 3px solid rgba(245, 106, 31, .4); outline-offset: 0; }
.form textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.optional { color: var(--muted); font-size: .88rem; font-weight: 500; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.choices legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-weight: 600; }
.form .choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 1.5px solid var(--field);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form .consent { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: .95rem; font-weight: 400; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.form .btn { justify-self: start; }
@media (max-width: 639.98px) { .form .btn { justify-self: stretch; } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { display: flex; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; }
.notice p { margin: 4px 0 0; }
.notice ul { margin: 0; padding-left: 18px; }
.notice-success { border: 1px solid #b7e4c7; background: #e9f7ee; color: #14532d; }
.notice-success .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #1f9d55; color: #fff; stroke-width: 3; }
.notice-error { border: 1px solid #f3c1bb; background: #fdeceb; color: #8a1c13; }

.contact-info { display: grid; gap: 18px; }
.contact-info .status { justify-self: start; }
.contact-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    font: 700 1.9rem/1.1 var(--font-title);
    text-decoration: none;
}
.contact-phone:hover { background: var(--ink-soft); }
.contact-phone .icon { width: 50px; height: 50px; padding: 12px; border-radius: 12px; background: var(--accent); color: var(--ink); }
.contact-phone small { display: block; margin-bottom: 4px; color: var(--on-dark-muted); font: 700 .78rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.info-block { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.info-block h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.4rem; }
.info-block h2 .icon { color: var(--accent-ink); }
.info-block p { margin: 0 0 8px; }
.info-block .text-link { overflow-wrap: anywhere; }

/* Mentions légales */
.legal { max-width: 780px; }
.legal h2 { margin-top: 1.5em; font-size: clamp(1.6rem, 3.5vw, 2rem); }
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--accent-ink); font-weight: 600; }
.legal mark { padding: 0 4px; border-radius: 4px; background: #ffe58f; color: var(--ink); }

/* Page introuvable */
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
