/* ==========================================================================
   sospiscineniort.fr — feuille de style unique
   Direction visuelle (maquettes du 27/10/2026) : fond blanc cassé, texte vert profond,
   boutons citron vert, grandes photographies d'eau, titres serif avec italiques,
   typographie de lecture simple, espacements généreux, lignes fines, arrondis discrets.
   ========================================================================== */

/* ---------- Polices (hébergées localement, licence OFL — voir assets/fonts/) ---------- */
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/dm-sans-latin-700-normal.woff2') format('woff2');
}

/* ---------- Variables ---------- */
:root {
    --bg: #f6f5ef;
    --bg-alt: #eef1e8;
    --surface: #fcfbf7;
    --ink: #15312b;
    --ink-2: #2b4740;
    --muted: #5c6d67;
    --line: rgba(21, 49, 43, 0.14);
    --line-strong: rgba(21, 49, 43, 0.3);
    --accent: #d9f56e;
    --accent-hover: #cdee52;
    --accent-ink: #15312b;
    --deep: #1d5a4b;
    --deep-2: #164a3d;
    --wave: #2f9fd1;
    --error: #b42318;
    --error-bg: #fbebeb;
    --error-line: #e8b4ae;
    --ok-bg: #eaf7cf;
    --focus: #1d5a4b;

    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --container: 1200px;
    --container-narrow: 820px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(52px, 7.5vw, 96px);
    --header-h: 72px;
    --mobile-bar-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--ink);
}
h1 em, h2 em, .hero__title em, .cta-band__title em { font-style: italic; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}
::selection { background: var(--accent); color: var(--accent-ink); }

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---------- Bandeau d'environnement (hors production) ---------- */
.env-banner {
    background: #fff4d6;
    color: #5a4300;
    border-bottom: 1px solid #ecd9a0;
    font-size: 0.875rem;
    padding: 8px var(--gutter);
    line-height: 1.5;
}
.env-banner__details { display: inline-block; margin-left: 8px; }
.env-banner__details summary { cursor: pointer; text-decoration: underline; }
.env-banner__details ul { margin: 6px 0 0; padding-left: 1.2em; columns: 2; }
@media (max-width: 700px) { .env-banner__details ul { columns: 1; } }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.7em 1.4em;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); background: rgba(21, 49, 43, 0.04); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--deep); border-color: var(--deep); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn:active { transform: translateY(1px); }
.btn__icon { flex: none; }
.btn__arrow { margin-left: 0.15em; transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__number { font-weight: 400; opacity: 0.85; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.5rem; }
@media (max-width: 480px) {
    .actions .btn { width: 100%; }
}

/* ---------- En-tête ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 245, 239, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: var(--ink);
    line-height: 1;
}
.logo__text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.logo__accent { font-weight: 500; }
.logo__wave { color: var(--wave); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; margin: 0; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item--current > .nav__link { background: rgba(21, 49, 43, 0.06); }
.nav__chevron { transition: transform 0.18s ease; }
.nav__link--toggle[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
.nav__sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 640px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 28px;
    padding: 22px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(21, 49, 43, 0.12);
}
.nav__item--sub.is-open > .nav__sub,
.nav__item--sub:focus-within > .nav__sub,
.no-js .nav__sub,
.nav__sub:target { display: grid; }
@media (hover: hover) {
    .nav__item--sub:hover > .nav__sub { display: grid; }
}
.nav__group-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin: 0 0 8px;
    font-weight: 500;
}
.nav__group-list { list-style: none; margin: 0; padding: 0; }
.nav__group-list li { margin: 0; }
.nav__sublink {
    display: block;
    padding: 7px 10px;
    margin-left: -10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.95rem;
}
.nav__sublink:hover, .nav__sublink[aria-current="page"] { background: rgba(21, 49, 43, 0.06); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions .btn { min-height: 44px; padding: 0.55em 1.2em; font-size: 0.95rem; }
.nav__whatsapp { font-size: 0.9rem; }
.menu-toggle { display: none; }

@media (max-width: 1023px) {
    :root { --header-h: 62px; }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: 1.5px solid var(--line-strong);
        border-radius: var(--radius-pill);
        padding: 8px 14px;
        font: inherit;
        font-weight: 500;
        color: var(--ink);
        cursor: pointer;
        min-height: 44px;
    }
    .menu-toggle__icon { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
    .menu-toggle__icon span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px var(--gutter) calc(var(--mobile-bar-h) + 24px);
        overflow-y: auto;
        display: none;
        z-index: 40;
    }
    .nav.is-open { display: flex; }
    .no-js .nav { position: static; display: flex; padding: 8px 0 16px; border-top: 1px solid var(--line); }
    .no-js .site-header__inner { flex-wrap: wrap; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { border-bottom: 1px solid var(--line); }
    .nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 16px 4px;
        border-radius: 0;
        font-family: var(--font-display);
        font-size: 1.55rem;
        font-weight: 400;
    }
    .nav__link:hover, .nav__link[aria-current="page"], .nav__item--current > .nav__link { background: none; }
    .nav__sub {
        position: static;
        min-width: 0;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 12px 8px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .nav__item--sub:focus-within > .nav__sub { display: none; }
    .nav__item--sub.is-open > .nav__sub, .no-js .nav__sub { display: grid; }
    .nav__sublink { font-size: 1.05rem; padding: 10px 10px; }
    .nav__actions { flex-direction: column; align-items: stretch; margin-top: 20px; gap: 12px; }
    .nav__actions .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
    .nav__whatsapp { text-align: center; }
    body.menu-open { overflow: hidden; }
}

/* ---------- Barre fixe mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 1023px) {
    .mobile-bar {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
        background: rgba(246, 245, 239, 0.96);
        border-top: 1px solid var(--line);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .mobile-bar .btn { width: 100%; min-height: 50px; padding-inline: 0.6em; }
    .mobile-bar .btn:only-child { grid-column: 1 / -1; }
    .mobile-bar .btn__number { display: none; }
    body { padding-bottom: var(--mobile-bar-h); }
    .no-js .mobile-bar { position: static; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section--alt { background: var(--bg-alt); }
.section--alt + .section, .section + .section--alt { padding-top: var(--section); }
.section__title { margin-bottom: 0.6em; }
.section__intro { font-size: 1.15rem; max-width: 60ch; color: var(--ink-2); }
.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--muted);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::after { content: ''; width: 48px; height: 1px; background: var(--line-strong); }
.eyebrow--light { color: rgba(255, 255, 255, 0.75); }
.eyebrow--light::after { background: rgba(255, 255, 255, 0.4); }
.note { color: var(--ink-2); }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }

.list { padding-left: 1.2em; }
.list--check { list-style: none; padding-left: 0; }
.list--check li { position: relative; padding-left: 30px; }
.list--check li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.45em;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%2315312b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.5rem 0; }
.domain {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px 10px;
}
.domain__title { margin-bottom: 0.6em; }
.domain .list { padding-left: 1.1em; font-size: 0.98rem; }
@media (max-width: 860px) { .domains { grid-template-columns: 1fr; } }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 18px 0 10px; }
.breadcrumb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb__list li { margin: 0; }
.breadcrumb__list li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: var(--muted); }

/* ---------- Héros ---------- */
.hero { padding-top: 12px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.015em; margin-bottom: 0.4em; }
.hero__lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.hero__note { margin-top: 1.25rem; color: var(--ink-2); }
.hero__media .media { margin: 0; }
.hero--service .hero__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.media { margin: 0; }
.media img { border-radius: var(--radius-lg); }
.media__caption {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 6px;
    text-align: right;
    letter-spacing: 0.02em;
}
@media (max-width: 899px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: 2; }
    .hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
}

/* Héros d'accueil : image en forme organique, qui s'élargit au défilement (home.js) */
.hero--home { padding-top: clamp(24px, 5vw, 56px); padding-bottom: 0; overflow: hidden; }
.hero--home .hero__grid { align-items: center; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.hero--home .hero__eyebrow { margin-bottom: 1.4rem; }
.hero--home .hero__title { font-size: clamp(2.8rem, 6.8vw, 5.6rem); }
.hero__media-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 42% 0 0 0 / 38% 0 0 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    will-change: clip-path, transform;
}
.hero--home .hero__media-frame { border-radius: 200px 28px 28px 28px; }
.hero__media-frame picture, .hero__media-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.hero__media-frame img { transform: scale(1.06); }
.hero--home .media__caption { position: absolute; right: 14px; bottom: 10px; margin: 0; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.hero__scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}
.hero__scroll-hint span:first-child {
    width: 20px; height: 32px;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    position: relative;
}
.hero__scroll-hint span:first-child::after {
    content: '';
    position: absolute; left: 50%; top: 6px;
    width: 3px; height: 8px; margin-left: -1.5px;
    border-radius: 2px;
    background: var(--ink);
}
@media (max-width: 899px) {
    .hero--home .hero__grid { grid-template-columns: 1fr; }
    .hero--home .hero__media-frame { border-radius: 120px 20px 20px 20px; }
    .hero__scroll-hint { display: none; }
}

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 18px; }
.steps__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    margin: 0;
}
.steps__item p { margin: 0.45em 0 0; }
.steps__num {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
}
.steps--row { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps--row .steps__item { grid-template-columns: 44px 1fr; }
.steps--row h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; margin: 0.45em 0 0.2em; }
.steps--row p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 860px) { .steps--row { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- FAQ (details natif) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    font-weight: 500;
    font-size: 1.05rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
    content: ''; position: absolute; background: var(--ink); border-radius: 2px;
    left: 50%; top: 50%;
}
.faq__icon::before { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
.faq__icon::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; transition: transform 0.2s ease; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__answer { padding: 0 4px 18px; color: var(--ink-2); max-width: 70ch; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Bloc confiance ---------- */
.trust { padding: 0 0 var(--section); }
.trust__list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface);
}
.trust__item { margin: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.trust__item span { color: var(--muted); font-size: 0.95rem; }
.trust__more { margin: 12px 0 0; font-size: 0.95rem; }
@media (max-width: 860px) {
    .trust__list { grid-template-columns: 1fr 1fr; }
    .trust__item:nth-child(3) { border-left: 0; }
    .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
    .trust__list { grid-template-columns: 1fr; }
    .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Bandeau final ---------- */
.cta-band {
    background: var(--deep);
    color: #fff;
    padding: clamp(48px, 7vw, 88px) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 50%, rgba(120, 210, 200, 0.28), transparent 60%),
        radial-gradient(ellipse 40% 60% at 70% 110%, rgba(217, 245, 110, 0.18), transparent 60%);
    pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.3em; max-width: 18ch; }
.cta-band__text { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0; }
.cta-band .actions { margin-top: 0; }
.cta-band .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- Cartes de services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.card .media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: var(--radius); }
.card__title { font-size: 1.55rem; margin: 10px 0 0; }
.card__text { color: var(--ink-2); margin: 0; }
.card__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.card__link { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.card__link:hover { border-bottom-width: 2px; }
.card__link .arrow { margin-left: 6px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; gap: 32px; } }
.cards-inline { display: flex; align-items: center; gap: 18px; margin-top: 2rem; color: var(--ink-2); flex-wrap: wrap; justify-content: center; }
.cards-inline::before, .cards-inline::after { content: ''; flex: 1; min-width: 40px; height: 1px; background: var(--line); }
.cards-inline a { font-weight: 500; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.tile {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 18px;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.tile__icon { width: 36px; height: 36px; color: var(--deep); margin-bottom: 12px; }
.tile__title { font-weight: 500; display: block; margin-bottom: 4px; }
.tile__text { color: var(--muted); font-size: 0.9rem; display: block; }

/* ---------- Mise en avant (chiffres) ---------- */
.highlights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.highlight { padding: clamp(24px, 3vw, 40px); }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight--media { padding: 0; }
.highlight--media .media, .highlight--media picture, .highlight--media img { height: 100%; }
.highlight--media img { object-fit: cover; border-radius: 0; }
.highlight--media .media__caption { position: absolute; }
.highlight--media .media { position: relative; }
.highlight--media .media__caption { right: 10px; bottom: 8px; margin: 0; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.highlight__big { font-family: var(--font-display); font-size: clamp(4rem, 8vw, 7rem); line-height: 0.9; margin: 0.1em 0 0.15em; letter-spacing: -0.02em; }
.highlight__big em { font-style: italic; }
.highlight__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 0.4em; }
.highlight__text { color: var(--ink-2); margin: 0 0 0.8em; }
@media (max-width: 860px) {
    .highlights { grid-template-columns: 1fr; }
    .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
    .highlight--media { min-height: 220px; }
}

/* ---------- Conseils ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; margin: 0; }
.post .media img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.post__title { font-size: 1.4rem; margin: 0 0 0.25em; }
.post__text { margin: 0 0 0.5em; color: var(--ink-2); font-size: 0.98rem; }
.post__link { font-weight: 500; }
.posts--compact { grid-template-columns: 1fr; }
@media (max-width: 860px) {
    .posts { grid-template-columns: 1fr; }
    .post { grid-template-columns: 110px 1fr; }
}
.conseils-list { display: grid; gap: 28px; }
.conseils-list .post { grid-template-columns: 220px 1fr; }
@media (max-width: 700px) { .conseils-list .post { grid-template-columns: 1fr; } }

.article__header { margin-bottom: 2rem; }
.article__title { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1; }
.article__sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--ink-2); margin: 0.2em 0 1em; }
.article__meta { color: var(--muted); font-size: 0.9rem; }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.6em; }
.article .media { margin: 1.5rem 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.98rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 500; }
.article__box { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 24px; margin: 2rem 0; }
.article__box p:last-child { margin-bottom: 0; }
.numbered { counter-reset: n; list-style: none; padding: 0; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 12px; margin: 0 0 18px; }
.numbered > li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--muted); line-height: 1.2; }
.numbered h3 { margin: 0.1em 0 0.2em; font-size: 1.3rem; }
.numbered p { margin: 0; color: var(--ink-2); }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.aside-card .media img { border-radius: var(--radius-sm); aspect-ratio: 16 / 10; object-fit: cover; }
.aside-card__label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

/* ---------- Formulaire ---------- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 40px);
}
.form-card__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.field { margin-bottom: 18px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--row .field { margin-bottom: 0; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; gap: 0; } .field--row .field { margin-bottom: 18px; } }
.field__label { display: block; font-weight: 500; margin-bottom: 6px; }
.field__label .req { color: var(--error); margin-left: 2px; }
.field__hint { font-size: 0.9rem; color: var(--muted); margin: -2px 0 8px; }
.field__input, .field select, .field textarea, .field input[type="text"], .field input[type="tel"], .field input[type="email"] {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    min-height: 48px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315312b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.9rem; margin: 6px 0 0; }
.field__error:empty { display: none; }
.field[hidden] { display: none; }
.choice { display: flex; gap: 10px; align-items: flex-start; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--deep); flex: none; }
.choice__text { font-weight: 400; }
.choice__hint { display: block; color: var(--muted); font-size: 0.9rem; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 500; margin-bottom: 6px; padding: 0; }
.form-extra { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 18px 18px 2px; margin: 8px 0 22px; }
.form-extra__title { font-weight: 500; margin: 0 0 4px; }
.form-extra__hint { font-size: 0.9rem; color: var(--muted); margin: 0 0 14px; }
.photo-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: 0.92rem; }
.photo-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); margin: 0; }
.photo-list__remove { background: none; border: 0; color: var(--error); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.form-footnote { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-before { font-size: 0.95rem; color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 12px; margin: 0 0 18px; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert {
    border-radius: var(--radius);
    padding: 16px 18px;
    margin: 0 0 20px;
    border: 1px solid var(--line);
    background: var(--bg-alt);
}
.alert p:last-child { margin-bottom: 0; }
.alert--error { background: var(--error-bg); border-color: var(--error-line); color: #6b1a14; }
.alert--error a { color: inherit; }
.alert--success { background: var(--ok-bg); border-color: #cfe39a; }
.alert--info { background: #eef4ff; border-color: #c9d8f5; }
.alert__title { font-weight: 700; margin: 0 0 4px; }
.alert__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.alert__actions .btn { min-height: 42px; padding: 0.5em 1.1em; font-size: 0.95rem; }
.alert ul { margin-bottom: 0; }
.form-status { display: none; }
.form-status.is-visible { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.confirm__icon { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.confirm__title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.confirm__ref { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 560px) {
    .field--row { grid-template-columns: minmax(0, 1fr); }
    .field--row .field { margin-bottom: 18px; }
    .field--row .field:last-child { margin-bottom: 0; }
}

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg); }
.site-footer__top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 40px; }
.site-footer__tagline { max-width: 48ch; color: var(--ink-2); margin: 0; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.site-footer__title { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin: 0 0 8px; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__bottom { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__cols { grid-template-columns: 1fr; } }

/* ---------- Pages diverses ---------- */
.page-404 .hero { padding: var(--section) 0; }
.legal { max-width: var(--container-narrow); margin-inline: auto; padding: var(--section) 0; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 500; width: 34%; }
.pending {
    background: #fff4d6;
    border: 1px dashed #d9b85a;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: #5a4300;
    font-size: 0.95rem;
}
.zone-check { background: var(--bg-alt); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.zone-check__form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 1rem; }
.zone-check__form .field { flex: 1 1 260px; margin: 0; }
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.5rem 0; }
@media (max-width: 760px) { .symptoms { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.two-col .domain { padding-bottom: 22px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.section--media-split .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.section--media-split .media img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .section--media-split .container { grid-template-columns: 1fr; } }
.phone-card {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 24px; margin: 2rem 0;
}
.phone-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.phone-card__body { flex: 1 1 260px; }
.phone-card__body p { margin: 0; color: var(--ink-2); }
.phone-card__title { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 2px; }

/* ---------- Animations (amélioration progressive, voir home.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
.js .reveal { transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal--gsap { transition: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .btn__arrow, .tile, .nav__chevron, .menu-toggle__icon span { transition: none; }
    .btn__spinner { animation: none; }
}

/* ---------- Impression ---------- */
@media print {
    .site-header, .mobile-bar, .cta-band, .env-banner, .skip-link { display: none !important; }
    body { background: #fff; color: #000; }
    a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 0.85em; }
}

/* ---------- Utilitaires ---------- */
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* ---------- Compléments : guides, devis, confirmation ---------- */
.article { padding: calc(var(--section) * 0.6) 0 var(--section); }
.article .breadcrumb { margin-bottom: 1.5rem; }
.actions--center { justify-content: center; }
.form-extra .field:last-child { margin-bottom: 18px; }
.legal .breadcrumb { margin-bottom: 1rem; }
.legal .pending ul { margin: 8px 0 0; padding-left: 1.2em; }
.pending ul { margin: 8px 0 0; padding-left: 1.2em; }
.pending code { font-size: 0.9em; }
.zone-check .section__title { margin-top: 0; }
.section--urgence { padding-top: calc(var(--section) * 0.5); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.table-wrap { max-width: var(--container-narrow); margin: 1.5rem auto 0; overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-weight: 500; }

/* =====================================================================
   Ajustements d'après la comparaison avec les maquettes (27/10/2026)
   ===================================================================== */

/* ---------- Boutons : pleine largeur, état « Envoi en cours… » ---------- */
.btn--block { width: 100%; min-height: 54px; font-size: 1.05rem; }
.btn--loading, .btn--loading:hover { background: #cfd8d2; border-color: #cfd8d2; color: var(--ink); cursor: progress; }
.btn__spinner {
    width: 18px; height: 18px; flex: none;
    border: 2px solid rgba(21, 49, 43, 0.25);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ---------- Pictogrammes ---------- */
.icon { flex: none; }

/* ---------- Rangées d'informations à fournir (« Le prix ») ---------- */
.info-rows { list-style: none; margin: 1.25rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.info-rows__item { display: grid; grid-template-columns: 28px minmax(0, 13rem) minmax(0, 1fr); gap: 6px 18px; align-items: center; padding: 16px 20px; margin: 0; }
.info-rows__item + .info-rows__item { border-top: 1px solid var(--line); }
.info-rows__icon { color: var(--deep); display: inline-flex; }
.info-rows__label { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; }
.info-rows__text { color: var(--ink-2); font-size: 0.98rem; }
.info-rows__item:not(:has(.info-rows__label)) { grid-template-columns: 28px minmax(0, 1fr); }
@media (max-width: 620px) {
    .info-rows__item { grid-template-columns: 28px minmax(0, 1fr); align-items: start; }
    .info-rows__text { grid-column: 2; }
}

/* ---------- Prix indicatifs (section « Le prix ») ---------- */
.price-list { list-style: none; margin: 1.25rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-list__item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding: 14px 20px; margin: 0; }
.price-list__item + .price-list__item { border-top: 1px solid var(--line); }
.price-list__label { font-weight: 600; min-width: 0; }
.price-list__detail { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.95rem; }
.price-list__amount { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--deep); white-space: nowrap; }
.price-note { color: var(--ink-2); font-size: 0.95rem; margin-top: 12px; }

/* ---------- Bandeau « Une équipe à votre écoute » (pages urgentes) ---------- */
.ecoute { padding: 0 0 8px; }
.ecoute__inner {
    display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 20px 28px; align-items: center;
    background: var(--deep-2); color: #fff; border-radius: var(--radius-lg); padding: 24px 32px;
}
.ecoute__icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.ecoute__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; margin: 0 0 4px; color: #fff; }
.ecoute__text { margin: 0; color: rgba(255, 255, 255, 0.86); }
.ecoute__aside { margin: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; }
@media (max-width: 899px) {
    .ecoute__inner { grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
    .ecoute__aside { grid-column: 1 / -1; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
    .ecoute .btn { grid-column: 1 / -1; }
}

/* ---------- Tuiles de symptôme (pictogramme, titre, chevron) ---------- */
.symptoms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .symptoms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .symptoms { grid-template-columns: minmax(0, 1fr); } }
.tile__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tile__head .tile__icon { width: 24px; height: 24px; margin: 0; }
.tile__head .tile__title { margin: 0; flex: 1; }
.tile__chevron { color: var(--muted); transition: transform 0.18s ease; }
.tile:hover .tile__chevron { transform: translateX(3px); }

/* ---------- Mention « à compléter » dans une phrase ---------- */
.pending--inline { display: inline-block; padding: 2px 8px; font-size: 0.85rem; font-weight: 400; margin-left: 6px; }

/* ---------- Page Devis : deux colonnes comme la maquette ---------- */
.devis-page { padding: 12px 0 var(--section); }
.devis-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.devis-intro { padding-top: 8px; }
.devis-intro__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 0.98; letter-spacing: -0.015em; margin: 0.15em 0 0.35em; }
.devis-intro__lead { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; color: var(--ink-2); margin: 0 0 1rem; max-width: 26ch; }
.devis-intro__zone { display: flex; align-items: center; gap: 10px; color: var(--ink-2); margin: 0 0 1.5rem; }
.devis-urgence { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-bottom: 2rem; }
.devis-urgence p { margin: 0; }
.devis-urgence strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.devis-urgence__icon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.media--devis-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.devis-after { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.75rem; }
.devis-after__icon { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.devis-after__title, .devis-contact__title { font-size: 1.7rem; margin: 0 0 0.4em; }
.steps--compact { margin-top: 0.5rem; gap: 12px; }
.devis-contact { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }
.devis-contact dl { margin: 0 0 1rem; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.devis-contact dt { font-weight: 500; }
.devis-contact dd { margin: 0; }
@media (max-width: 999px) {
    .devis-layout { grid-template-columns: minmax(0, 1fr); }
    .media--devis-photo { display: none; }
    .devis-intro__lead { max-width: none; }
}

/* ---------- Zone de dépôt des photos ---------- */
.dropzone { position: relative; }
.dropzone__label {
    display: flex; align-items: center; gap: 14px;
    border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
    padding: 18px 20px; background: #fff; cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}
.dropzone__label:hover, .dropzone.is-dragover .dropzone__label { border-color: var(--ink); background: var(--bg-alt); }
.dropzone__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-alt); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--deep); }
.dropzone__text { font-weight: 500; }
.dropzone__text small { display: block; color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.js .dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.js .dropzone__input:focus-visible + .dropzone__label { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.no-js .dropzone__label { display: none; }
.no-js .dropzone__input { font: inherit; max-width: 100%; }

/* ---------- Confirmation ---------- */
.confirm { text-align: center; max-width: 640px; margin-inline: auto; padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); background: linear-gradient(180deg, #f1f7d9 0%, var(--bg) 100%); border-radius: var(--radius-lg); }
.confirm .actions { justify-content: center; }
.confirm__urgence { display: inline-flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1.5rem; text-align: left; }
.confirm__urgence .devis-urgence__icon { width: 46px; height: 46px; }
.confirm__urgence p { margin: 0; }
.confirm .media { margin-top: 2rem; }
.confirm .media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* ---------- Navigation mobile : panneau sous l'en-tête réel, liste des prestations dépliée ---------- */
@media (max-width: 1023px) {
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
    .nav { inset: auto 0 0 0; top: var(--nav-top, var(--header-h)); }
    .nav__sublink { font-family: var(--font-display); font-size: 1.3rem; padding: 9px 4px; display: flex; justify-content: space-between; align-items: center; }
    .nav__sublink::after { content: ''; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 6px; opacity: 0.6; }
    .nav__group-title { margin-top: 10px; }
}

/* ---------- Guides : chapô, étapes, encadré « À lire aussi » ---------- */
.article__container { max-width: 1080px; }
.article__header { max-width: var(--container-narrow); }
.article__lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin: 0 0 1rem; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 2rem; }
.article__body { max-width: 68ch; }
.article__body > h2:first-child { margin-top: 0; }
.article .numbered h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.article__aside .aside-card a { text-decoration: none; }
.article__aside .aside-card__title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; margin: 10px 0 6px; }
.article__aside .aside-card .arrow { display: inline-block; margin-top: 4px; }
@media (max-width: 899px) {
    .article__layout { grid-template-columns: minmax(0, 1fr); }
    .article__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* ---------- Grille de services à pictogrammes (zone) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 1.5rem; }
.svc { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.18s ease, transform 0.18s ease; }
.svc:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc .icon { color: var(--deep); }
.svc__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }
.svc__text { color: var(--muted); font-size: 0.9rem; }
.zone-check__alt { margin: 1rem 0 0; font-size: 0.95rem; }

/* ---------- Qui sommes-nous : grand chiffre ---------- */
.team-figure { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; align-items: center; margin: 1.5rem 0; }
.team-figure__num { font-family: var(--font-display); font-style: italic; font-size: clamp(6rem, 14vw, 10rem); line-height: 0.8; color: var(--deep); }
.team-figure__text { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .tile__chevron, .svc, .dropzone__label { transition: none; }
}
.aside-card .media { margin: 0; }
.aside-card .media img { border-radius: var(--radius-sm); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.aside-card .media__caption { font-size: 0.72rem; }
.aside-card__link { display: block; text-decoration: none; margin-top: 8px; }
.aside-card__link:hover .aside-card__title { text-decoration: underline; }
.aside-card__title { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; margin: 0 0 4px; }
.media--article-hero img { width: 100%; max-height: 520px; object-fit: cover; }

/* ---------- Accueil : image du héros à fond perdu, bord gauche organique (maquette « Accueil ») ---------- */
@media (min-width: 900px) {
    .hero--home .hero__grid { align-items: stretch; min-height: min(78vh, 660px); }
    .hero--home .hero__content { align-self: center; padding: 8px 0 64px; }
    .hero--home .hero__media {
        margin-top: calc(-1 * clamp(24px, 5vw, 56px));
        margin-right: calc((min(100vw - 2 * var(--gutter), var(--container)) - 100vw) / 2);
        margin-left: -24%;
    }
    .hero--home .hero__media-frame {
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        /* Bord gauche organique ; --hero-inset (0 à 12, animé par home.js) resserre la forme vers la droite : l'image « s'ouvre » au défilement. */
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0H100V100H0C9 97 16 88 15.4 79C13 62 3.5 40 3.3 20C3 8 8 1 22 0Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22 0H100V100H0C9 97 16 88 15.4 79C13 62 3.5 40 3.3 20C3 8 8 1 22 0Z'/%3E%3C/svg%3E");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
        -webkit-mask-size: calc(100% - var(--hero-inset, 0) * 1%) 100%;
        mask-size: calc(100% - var(--hero-inset, 0) * 1%) 100%;
    }
    .hero--home .media__caption { right: 18px; bottom: 14px; }
}

/* ---------- Accueil : démarche (titre à gauche, étapes à droite) ---------- */
@media (min-width: 1024px) {
    .demarche { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 48px; align-items: center; }
    .demarche .steps--row { margin-top: 0; }
    .demarche .steps--row .steps__item + .steps__item { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* ---------- Accueil : prestations en rangées sur mobile (maquette « Mobile & défilement ») ---------- */
.card__icon { display: none; }
@media (max-width: 699px) {
    #prestations .cards { gap: 12px; }
    #prestations .card { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
    #prestations .card .media { display: none; }
    #prestations .card__icon { display: inline-flex; color: var(--deep); grid-row: 1 / span 3; padding-top: 4px; }
    #prestations .card__title { font-size: 1.35rem; margin: 0; }
    #prestations .card__text { font-size: 0.95rem; }
}
.field--row { align-items: end; }
.nowrap { white-space: nowrap; }
.field--row { margin-bottom: 18px; }
@media (max-width: 999px) {
    .devis-intro__title { font-size: clamp(2.3rem, 9vw, 3.2rem); }
    .devis-urgence { padding-top: 1rem; margin-bottom: 1.25rem; gap: 12px; }
    .devis-urgence__icon { width: 42px; height: 42px; }
    .devis-urgence strong { font-size: 1.15rem; }
}
