/* ===========================================================
   lk-dev - Design system (vanilla CSS, mobile-first)
   Palette chaude / papier, inspiree du look "Claude" : creme,
   encre chaude, accent terracotta. Traitement minimaliste :
   peu d'ombres, bordures fines, espace genereux.
   =========================================================== */

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Design tokens ---------- */
:root {
    --color-primary: #2B2721;
    --color-primary-dark: #1C1912;
    --color-primary-light: #433D33;
    --color-accent: #D97757;
    --color-accent-dark: #B8532F;
    --color-bg: #FAF9F5;
    --color-bg-alt: #F0EEE5;
    --color-surface: #FFFFFF;
    --color-bg-dark: #1C1912;
    --color-text: #2B2721;
    --color-text-muted: #6B6355;
    --color-text-on-dark: #EDE8DC;
    --color-border: #E4E0D6;
    --color-success: #3F7A4E;
    --color-success-bg: #EAF3EA;
    --color-error: #A8402B;
    --color-error-bg: #F7E9E3;

    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(28, 25, 18, 0.04);
    --shadow-md: 0 6px 20px rgba(28, 25, 18, 0.08);
    --shadow-lg: 0 14px 36px rgba(28, 25, 18, 0.12);

    --container-width: 1160px;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.25rem;
    --space-5: 3.5rem;
    --space-6: 5.5rem;
}

/* ---------- Base ---------- */
body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.22;
    color: var(--color-primary-dark);
}

h1, h2 { font-family: var(--font-serif); font-weight: 600; }

h1 { font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p { color: var(--color-text); }
p + p { margin-top: var(--space-2); }

/* Liens inline dans un paragraphe : doivent rester repérables sans classe dédiée */
p a, dd a {
    color: var(--color-accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
p a:hover, dd a:hover { color: var(--color-accent); }
.footer-brand p a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-brand p a:hover { color: var(--color-accent); }

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--space-3);
}

.section {
    padding-block: var(--space-5);
}
.section--alt { background: var(--color-bg-alt); }
.section--dark {
    background: var(--color-primary-dark);
    color: var(--color-text-on-dark);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: var(--space-4); }

.section__head {
    max-width: 720px;
    margin-bottom: var(--space-4);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--wide { width: 100%; max-width: none; }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-1);
}
.section--dark .eyebrow { color: #E3A583; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.98rem;
    border: 1.5px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.btn--primary {
    background: var(--color-accent);
    color: #fff;
}
.btn--primary:hover { background: var(--color-accent-dark); }
.btn--secondary {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}
.btn--secondary:hover { background: var(--color-bg-alt); }
.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); }
.section--dark .btn--ghost,
.hero .btn--ghost,
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.hero .btn--ghost:hover,
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.85rem;
    gap: var(--space-2);
}
.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.logo__image {
    width: clamp(11rem, 20vw, 15rem);
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    align-items: center;
}
.nav-toggle__bar {
    display: block;
    width: 1.3rem;
    height: 2px;
    background: var(--color-primary-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    position: fixed;
    inset: 0;
    top: 64px;
    background: var(--color-bg);
    padding: var(--space-3);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    overflow-y: auto;
}
.site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.site-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: var(--space-3);
}
.site-nav__list a {
    display: block;
    padding: 0.85rem 0.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}
.site-nav__list a.is-active { color: var(--color-accent-dark); }
.site-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Menu deroulant "Offres" : a plat sur mobile, panneau flottant en desktop */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0.85rem 0.5rem 0.4rem;
    font: inherit;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    cursor: default;
    text-align: left;
}
.nav-dropdown__trigger .chevron { display: none; }
.nav-dropdown__panel { display: flex; flex-direction: column; }
.nav-dropdown__panel a { padding-left: 1rem; }

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        inset: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-3);
        padding: 0;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        overflow: visible;
        flex: 1;
        background: transparent;
    }
    .site-nav__list { flex-direction: row; gap: 1.1rem; margin-bottom: 0; align-items: center; }
    .site-nav__list a { padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; white-space: nowrap; }
    .site-nav__list a.is-active, .site-nav__list a:hover { border-color: var(--color-accent); }
    .site-nav__actions { flex-direction: row; align-items: center; }

    .nav-dropdown__trigger {
        width: auto;
        padding: 0.4rem 0.1rem;
        font-size: 0.98rem;
        letter-spacing: normal;
        text-transform: none;
        color: var(--color-text);
        cursor: pointer;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }
    .nav-dropdown__trigger.is-active { color: var(--color-accent-dark); }
    .nav-dropdown__trigger .chevron { display: block; width: 0.7rem; height: 0.7rem; transition: transform 0.15s ease; }
    .nav-dropdown::after {
        content: "";
        position: absolute;
        top: 100%;
        left: -0.5rem;
        right: -0.5rem;
        height: 0.75rem;
    }
    .nav-dropdown.is-open .nav-dropdown__trigger .chevron,
    .nav-dropdown:hover .nav-dropdown__trigger .chevron,
    .nav-dropdown:focus-within .nav-dropdown__trigger .chevron { transform: rotate(180deg); }
    .nav-dropdown:hover .nav-dropdown__trigger,
    .nav-dropdown:focus-within .nav-dropdown__trigger,
    .nav-dropdown.is-open .nav-dropdown__trigger { border-color: var(--color-accent); }

    .nav-dropdown__panel {
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 0;
        margin-top: 0;
        min-width: 240px;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 0.4rem;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
        z-index: 50;
    }
    .nav-dropdown:hover .nav-dropdown__panel,
    .nav-dropdown:focus-within .nav-dropdown__panel,
    .nav-dropdown.is-open .nav-dropdown__panel {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-dropdown__panel a {
        padding: 0.65rem 0.75rem;
        border-radius: var(--radius-sm);
        border-bottom: none;
        white-space: nowrap;
    }
    .nav-dropdown__panel a:hover { background: var(--color-bg-alt); }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding-block: var(--space-6) var(--space-5);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    top: -140px; right: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0.35;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero__lead {
    font-size: 1.15rem;
    color: var(--color-text-on-dark);
    max-width: 620px;
    margin-top: var(--space-2);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: var(--space-4);
}
.hero__meta {
    margin-top: var(--space-4);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    color: #C9C2B4;
    font-size: 0.92rem;
}
.hero__meta li { display: flex; align-items: center; gap: 0.4rem; }
.hero--split {
    display: grid;
    gap: var(--space-4);
}
@media (min-width: 960px) {
    .hero--split { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.hero__panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
}
.hero__panel h3 { color: #fff; margin-bottom: var(--space-2); }
.hero__panel ul { display: flex; flex-direction: column; gap: 0.6rem; }
.hero__panel li { padding-left: 1.6rem; position: relative; color: var(--color-text-on-dark); }
.hero__panel li::before {
    content: "";
    position: absolute; left: 0; top: 0.45em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.hero__visual-stack {
    display: grid;
    gap: 1rem;
}
.hero__figure {
    margin: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
}
.hero__figure img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 6px);
}
.hero__quick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.hero__quick-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
}
.hero__quick-card strong {
    display: block;
    color: #fff;
    margin-bottom: 0.2rem;
}
.hero__quick-card span {
    color: var(--color-text-on-dark);
    font-size: 0.94rem;
}
@media (min-width: 640px) {
    .hero__quick-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
    .hero__quick-grid { grid-template-columns: 1fr; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.grid .card:hover, .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

.pillar-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.pillar-card__icon {
    width: 3.25rem; height: 3.25rem;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: transform 0.25s ease;
}
.pillar-card:hover .pillar-card__icon { transform: scale(1.08) rotate(-4deg); }
.pillar-card__link {
    margin-top: auto;
    font-weight: 700;
    color: var(--color-accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.15s ease;
}
.pillar-card:hover .pillar-card__link { gap: 0.55rem; }

.icon-list { display: flex; flex-direction: column; gap: 0.85rem; }
.icon-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.icon-list .icon {
    flex-shrink: 0;
    width: 0.85rem; height: 0.85rem;
    padding: 0.32rem;
    box-sizing: content-box;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    stroke-width: 3;
}

/* ---------- Process steps ---------- */
.process-list {
    display: grid;
    gap: var(--space-3);
    counter-reset: step;
    position: relative;
}
@media (min-width: 640px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
    .process-list { grid-template-columns: repeat(4, 1fr); }
    .process-list::before {
        content: "";
        position: absolute;
        top: calc(var(--space-3) + 1.05rem);
        left: 8%;
        right: 8%;
        height: 2px;
        background: repeating-linear-gradient(to right, var(--color-border) 0 8px, transparent 8px 14px);
        z-index: 0;
    }
}
.process-list li {
    counter-increment: step;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.process-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-list li::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem; height: 2.1rem;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1.5px solid var(--color-text);
    color: var(--color-text);
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: var(--space-2);
}

/* ---------- Stats ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { text-align: center; }
.stat__value { font-size: 1.9rem; font-weight: 700; color: var(--color-primary); display: block; font-family: var(--font-serif); }
.stat__label { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
table.data-table { min-width: 640px; background: var(--color-surface); }
.data-table th, .data-table td {
    text-align: left;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.data-table th {
    background: var(--color-bg-alt);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
    font-weight: 700;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--color-primary-dark); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0.6rem; max-width: 780px; }
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.25rem var(--space-3);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 0;
    font-weight: 700;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-accent-dark);
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 1rem; color: var(--color-text-muted); }

/* ---------- Case studies (réalisations) ---------- */
.case-card { display: flex; flex-direction: column; gap: 0.6rem; }
.case-card__pillar { color: var(--color-accent-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.case-card dl { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.case-card dt { font-weight: 700; color: var(--color-primary-dark); font-size: 0.88rem; }
.case-card dd { color: var(--color-text-muted); margin: 0 0 0.35rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { position: relative; display: flex; flex-direction: column; gap: 0.75rem; overflow: hidden; }
.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -1.4rem; right: 0.5rem;
    font-family: var(--font-serif);
    font-size: 5.5rem;
    color: var(--color-accent);
    opacity: 0.14;
    line-height: 1;
    pointer-events: none;
}
.testimonial-card__stars { display: flex; gap: 0.2rem; }
.testimonial-card__stars svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--color-border); stroke-width: 1.5; }
.testimonial-card__stars svg.is-filled { fill: var(--color-accent); stroke: var(--color-accent); }
.testimonial-card__quote { font-style: italic; color: var(--color-text); }
.testimonial-card__author { color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--color-primary-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
}
.cta-band::after {
    content: "";
    position: absolute;
    bottom: -100px; left: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: var(--color-text-on-dark); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 100%; margin-top: var(--space-1); }
@media (min-width: 768px) {
    .cta-band {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        column-gap: clamp(1.5rem, 3vw, 3rem);
        row-gap: var(--space-3);
    }
    .cta-band > :not(.cta-band__actions) { flex: 1 1 16rem; }
    .cta-band__actions {
        flex: 0 1 20rem;
        justify-content: flex-end;
        margin-top: 0;
        margin-left: auto;
    }
    .cta-band__actions .btn {
        white-space: normal;
        line-height: 1.35;
    }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--space-3); }
.form-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field .hint { font-size: 0.82rem; color: var(--color-text-muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field--invalid label { color: var(--color-error); }
.field--invalid input,
.field--invalid select,
.field--invalid textarea { border-color: var(--color-error); box-shadow: 0 0 0 1px var(--color-error); }
.field-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__status {
    display: none;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.form__status--success { display: block; background: var(--color-success-bg); color: var(--color-success); }
.form__status--error { display: block; background: var(--color-error-bg); color: var(--color-error); }

.filter-note {
    border-left: 3px solid var(--color-accent);
    background: var(--color-bg-alt);
    padding: var(--space-2) var(--space-3);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-primary-dark);
    color: var(--color-text-on-dark);
    padding-block: var(--space-5) var(--space-3);
}
.footer-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand__name { font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; font-family: var(--font-serif); }
.footer-brand__logo { width: 10.75rem; height: auto; margin-bottom: 0.75rem; }
.footer-brand p { margin-bottom: 0.4rem; color: inherit; }
.footer-brand a:hover { color: var(--color-accent); }
.footer-nav__title { font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-bottom p { color: inherit; }
.footer-bottom {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
    font-size: 0.85rem;
    color: #A69C89;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

/* ---------- 404 ---------- */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.6s ease, transform 0.6s ease;
        transition-delay: var(--reveal-delay, 0s);
    }
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Utilities ---------- */
.stack { display: flex; flex-direction: column; gap: var(--space-2); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


.content-split {
    display: grid;
    gap: var(--space-4);
    align-items: center;
}
.content-split--reverse .content-split__media { order: -1; }
@media (min-width: 960px) {
    .content-split { grid-template-columns: 1.02fr 0.98fr; }
    .content-split--reverse .content-split__media { order: 2; }
}
.content-split__body > * + * { margin-top: 1rem; }
.content-split__body h2,
.content-split__body h3 { margin-bottom: 0.4rem; }
.content-split__media {
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(244,239,230,0.95));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.85rem;
    box-shadow: var(--shadow-md);
}
.content-split__media img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 6px);
}
.bullet-stack {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}
.bullet-stack__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.85rem;
    align-items: start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem;
}
.bullet-stack__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F4E5DB;
    color: var(--color-accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}
.link-list a { font-weight: 600; }

.cta-band .text-muted { color: rgba(237, 232, 220, 0.82); }

/* ---------- Proof / conversion additions ---------- */
.proof-section { position: relative; }
.proof-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    box-shadow: var(--shadow-sm);
}
.proof-card h3 { margin-top: 0.45rem; }
.proof-card__meta { display: grid; gap: 0.8rem; margin-top: 1rem; }
.proof-card__meta div {
    border-top: 1px solid var(--color-border);
    padding-top: 0.7rem;
}
.proof-card__meta dt {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-bottom: 0.2rem;
}
.proof-card__meta dd { color: var(--color-text-muted); font-size: 0.94rem; }
.compact-hero-list {
    display: grid;
    gap: 0.75rem;
    margin-top: var(--space-3);
}
.compact-hero-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: var(--color-text-on-dark);
}
.compact-hero-list li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.48rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--color-accent);
}
.audit-card {
    background: #FFF7EF;
    border: 1px solid #EAD2C4;
    border-radius: var(--radius-lg);
    padding: var(--space-3);
}
.audit-card strong { color: var(--color-accent-dark); }
.landing-tight .section { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.landing-tight .faq, .landing-tight .process-list { margin-top: var(--space-3); }

/* ---------- Realisations v5 ---------- */
.section--compact { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.realisations-strip {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.realisations-strip div {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-sm);
}
.realisations-strip strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.15rem;
}
.realisations-strip span { color: var(--color-text-muted); font-size: 0.95rem; }
.realisations-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}
.filter-btn,
.project-card__tags li {
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,0.66);
    color: var(--color-primary-light);
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    font-size: 0.88rem;
    font-weight: 650;
}
.filter-btn {
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.project-card[hidden] { display: none; }
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}
.project-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 1120px) {
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
}
.project-card__media {
    margin: 0;
    background: var(--color-bg-alt);
    min-height: 210px;
    aspect-ratio: 16 / 9;
}
.project-card__media img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}
.project-card__body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.project-card--text-only { grid-template-rows: 1fr; }
.project-card__summary {
    color: var(--color-text-muted);
    font-size: 0.97rem;
}
.project-card__mission {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.93rem;
}
.project-card__mission strong { color: var(--color-primary-dark); }
.project-card__split {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 0.1rem;
}
.project-card__split div {
    border-top: 1px solid var(--color-border);
    padding-top: 0.72rem;
}
.project-card__split span {
    display: block;
    color: var(--color-accent-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.project-card__split p { color: var(--color-text-muted); font-size: 0.92rem; }
.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.1rem;
}
.project-card__tags li {
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
    background: #F7F1EA;
}
.project-card__link {
    margin-top: auto;
    font-weight: 750;
    color: var(--color-accent-dark);
}
.project-card__link:hover { color: var(--color-accent); }
.audit-card strong { color: var(--color-primary-dark); }

/* ---------- Mobile overflow fixes ---------- */
.btn {
    max-width: 100%;
    min-width: 0;
    text-align: center;
    overflow-wrap: anywhere;
}
.cta-band > *,
.card,
.hero--split > *,
.content-split > * {
    min-width: 0;
}
.card .btn,
.cta-band__actions .btn,
.hero__actions .btn {
    max-width: 100%;
}
@media (max-width: 640px) {
    .container {
        padding-inline: 1.25rem;
    }
    .hero {
        padding-block: 3.5rem;
    }
    .hero__actions,
    .cta-band__actions {
        width: 100%;
    }
    .hero__actions .btn,
    .cta-band__actions .btn,
    .card > .btn,
    .card p + .btn,
    .card .btn {
        width: 100%;
        white-space: normal;
        line-height: 1.35;
        padding-inline: 1rem;
    }
    .btn--lg {
        padding: 0.95rem 1rem;
        font-size: 1rem;
    }
    .cta-band {
        padding: 2rem 1.35rem;
    }
    .cta-band h2 {
        font-size: clamp(1.45rem, 9vw, 2.1rem);
    }
}

/* ---------- Trust / conversion v6 ---------- */
.trust-split {
    display: grid;
    gap: var(--space-4);
    align-items: center;
}
@media (min-width: 960px) {
    .trust-split { grid-template-columns: 0.9fr 1.1fr; }
}
.profile-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    box-shadow: var(--shadow-md);
}
.profile-card__photo {
    margin: 0 0 var(--space-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
}
.profile-card__photo img { width: 100%; }

/* ---------- Compact expert trust block ---------- */
.expert-trust-section { padding-bottom: var(--space-5); }
.expert-trust-card {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.expert-trust-card__photo {
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-alt);
}
.expert-trust-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-trust-card__content > p:not(.eyebrow) {
    max-width: 760px;
    color: var(--color-text-muted);
}
.expert-trust-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.expert-trust-card__facts li {
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
}
.expert-trust-card__facts strong,
.expert-trust-card__facts span { display: block; }
.expert-trust-card__facts strong { color: var(--color-primary-dark); }
.expert-trust-card__facts span {
    margin-top: 0.35rem;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}
@media (max-width: 760px) {
    .expert-trust-section { padding-bottom: var(--space-4); }
    .expert-trust-card { grid-template-columns: 1fr; }
    .expert-trust-card__photo { width: 140px; }
    .expert-trust-card__facts { grid-template-columns: 1fr; }
}
.profile-card__name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.profile-card__meta { color: var(--color-text-muted); margin-top: 0.2rem; }
.call-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) { .call-grid { grid-template-columns: repeat(2, 1fr); } }
.call-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: rgba(255,255,255,0.68);
}
.call-card strong { display:block; color: var(--color-primary-dark); margin-bottom: 0.25rem; }
.call-card p { color: var(--color-text-muted); font-size: 0.95rem; }
.before-after-grid {
    display: grid;
    gap: var(--space-3);
}
@media (min-width: 840px) { .before-after-grid { grid-template-columns: repeat(3, 1fr); } }
.before-after-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.before-after-card h3 { padding: 1.1rem 1.2rem 0; }
.before-after-card__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1rem 1.2rem 1.2rem;
}
.before-after-card__cols div {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
}
.before-after-card__cols div + div { margin-top: 0.75rem; background: #FFF7EF; }
.before-after-card__cols span {
    display: block;
    color: var(--color-accent-dark);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.before-after-card__cols p { color: var(--color-text-muted); font-size: 0.94rem; }
.method-compact {
    display: grid;
    gap: var(--space-3);
    counter-reset: method;
}
@media (min-width: 760px) { .method-compact { grid-template-columns: repeat(4, 1fr); } }
.method-compact__item {
    counter-increment: method;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
}
.method-compact__item::before {
    content: counter(method);
    width: 2rem; height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.8rem;
}
.method-compact__item p { color: var(--color-text-muted); font-size: 0.94rem; margin-top: 0.35rem; }
.boundary-box {
    background: var(--color-primary-dark);
    color: var(--color-text-on-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: grid;
    gap: var(--space-3);
}
.boundary-box h2, .boundary-box h3 { color:#fff; }
.boundary-box p, .boundary-box li { color: var(--color-text-on-dark); }
.boundary-box ul { display:grid; gap:0.7rem; }
.boundary-box li::before { content:"• "; color: var(--color-accent); }
.diagnostic-steps {
    display: grid;
    gap: var(--space-3);
}
@media (min-width: 860px) { .diagnostic-steps { grid-template-columns: repeat(3, 1fr); } }
.diagnostic-steps .card { height: 100%; }
.response-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: var(--space-2);
    color: var(--color-text-on-dark);
    font-weight: 650;
}
.response-note::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-success);
}
.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    max-width: 400px;
    z-index: 110;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(28,25,18,0.16);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.85rem;
}
.cookie-banner p { margin: 0; color: var(--color-text-muted); line-height: 1.4; }
.cookie-banner a { color: var(--color-text); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
@media (max-width: 759px) {
    .cookie-banner {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.65rem;
        max-width: none;
        gap: 0.5rem;
        padding: 0.75rem 0.8rem;
        font-size: 0.78rem;
    }
    .cookie-banner__actions .btn { flex: 1; min-height: 40px; padding: 0.55rem 0.7rem; }
}
.mobile-sticky-cta { display: none; }
@media (max-width: 759px) {
    body { padding-bottom: 76px; }
    .mobile-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 0.55rem;
        padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
        background: rgba(250,249,245,0.94);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--color-border);
        box-shadow: 0 -10px 24px rgba(28,25,18,0.10);
    }
    .mobile-sticky-cta a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 44px;
        border-radius: var(--radius-sm);
        font-weight: 800;
        padding: 0.7rem 0.85rem;
        line-height: 1.15;
    }
    .mobile-sticky-cta a:first-child {
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        color: var(--color-primary-dark);
    }
    .mobile-sticky-cta a:last-child {
        background: var(--color-accent);
        color: #fff;
    }
    .cookie-banner-open .mobile-sticky-cta { display: none; }
}

/* Realisations compact v6 */
.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
@media (min-width: 1120px) {
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
}
.project-card__media { min-height: 150px; overflow: hidden; }
.project-card__media img { min-height: 150px; max-height: none; }
.project-card__body { gap: 0.65rem; }
.project-card__split { display: none; }
.project-card__proof {
    border-top: 1px solid var(--color-border);
    padding-top: 0.7rem;
    color: var(--color-text-muted);
    font-size: 0.93rem;
}
.project-card__proof strong { color: var(--color-primary-dark); }
@media (max-width: 640px) {
    .project-grid { grid-template-columns: 1fr; }
}

/* ---------- Problem contact prompt ---------- */
.problem-contact {
    margin-top: var(--space-4);
    padding: 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}
.problem-contact__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    line-height: 1.12;
    color: var(--color-primary-dark);
}
.problem-contact__text {
    margin: 0.45rem 0 0;
    color: var(--color-text-muted);
}
@media (min-width: 760px) {
    .problem-contact {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 1.35rem;
    }
    .problem-contact .btn { flex: 0 0 auto; }
}


/* ---------- Contact / diagnostic form block ---------- */
.contact-form-layout { align-items: start; }
.contact-form-main { min-width: 0; }
.contact-form-aside { min-width: 0; }
.contact-direct-actions { margin-top: 1rem; }
.contact-direct-actions .btn { width: 100%; justify-content: center; }
@media (min-width: 860px) {
    .contact-form-main { grid-column: span 2; }
}

.project-steps { display: grid; gap: 1rem; }
@media (min-width: 860px) { .project-steps { grid-template-columns: repeat(3, 1fr); } }
.project-steps .card { height: 100%; }

/* ---------- Téléphone dans le header ---------- */
.site-header__quick {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    white-space: nowrap;
}
.header-phone svg { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }
.header-phone--compact {
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-primary-dark);
}
@media (min-width: 960px) {
    .site-header__quick { display: none; }
}

/* ---------- Formulaire court (landing pages) ---------- */
.contact-form-short {
    max-width: 640px;
    margin: 0 auto;
}
.contact-form-short__reassure {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}
.contact-form-short__reassure a {
    font-weight: 700;
    color: var(--color-accent-dark);
}

/* ---------- Liens démo des réalisations ---------- */
.project-card__links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    padding-top: 0.75rem;
}
.project-card__links .project-card__link { margin-top: 0; }
.project-card__link--demo { color: var(--color-primary-dark); }
.project-card__link--demo:hover { color: var(--color-accent-dark); }
.project-card__demo-note {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- Landing publicitaire : parler de votre projet ---------- */
.ads-project-landing .ads-project-hero {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    color: var(--color-text);
    background:
        radial-gradient(circle at 86% 18%, rgba(217, 119, 87, .19), transparent 25%),
        radial-gradient(circle at 4% 94%, rgba(121, 126, 54, .15), transparent 26%),
        linear-gradient(145deg, #fff7ec 0%, #f6ead9 100%);
}
.ads-project-landing .ads-project-hero::before {
    background-image: radial-gradient(rgba(184, 83, 47, .32) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    opacity: .4;
    mask-image: linear-gradient(120deg, #000 0%, transparent 58%);
}
.ads-project-landing .ads-project-hero::after {
    top: auto;
    right: -8rem;
    bottom: -13rem;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(121, 126, 54, .24) 0%, transparent 67%);
    opacity: 1;
}
.ads-project-landing .ads-project-hero .hero--split {
    gap: clamp(2rem, 6vw, 5rem);
}
.ads-project-landing .ads-project-hero h1 {
    max-width: 720px;
    color: #2f2117;
    font-size: clamp(2.15rem, 4.5vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -.035em;
}
.ads-project-landing .ads-project-hero .hero__lead {
    max-width: 680px;
    color: #5e5143;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.ads-project-landing .ads-project-hero .btn--ghost {
    color: var(--color-primary-dark);
    border-color: rgba(43, 39, 33, .28);
    background: rgba(255, 255, 255, .36);
}
.ads-project-landing .ads-project-hero .btn--ghost:hover {
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    background: rgba(255, 255, 255, .72);
}
.ads-mobile-author {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
    color: #34281e;
}
.ads-mobile-author img {
    width: 46px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    box-shadow: 0 5px 12px rgba(75, 52, 29, .15);
}
.ads-mobile-author strong,
.ads-mobile-author small { display: block; }
.ads-mobile-author strong { font-size: .9rem; }
.ads-mobile-author small { color: #746657; font-size: .72rem; line-height: 1.35; }
/* Proximité géographique fondue dans le bloc auteur : garde l'argument visible
   au-dessus de la ligne de flottaison sans coûter un bloc supplémentaire, ce qui
   compte dans le navigateur intégré Facebook où la hauteur utile est réduite. */
/* Sélecteur qualifié par `small` : sans ça, la règle groupée plus haut
   (.ads-mobile-author small { display: block }) est plus spécifique et
   renvoie le texte à la ligne sous le pin. */
.ads-mobile-author small.ads-mobile-author__geo {
    display: flex;
    align-items: flex-start;
    gap: .28rem;
    margin-top: .12rem;
    color: #6b6f2e;
    font-weight: 650;
}
.ads-mobile-author__geo svg {
    flex: 0 0 .82rem;
    width: .82rem;
    height: .82rem;
    margin-top: .12em;
}

/* Fond animé du hero : trois halos flous qui dérivent en continu, plus une
   grille technique qui glisse en boucle. Chaque halo porte son propre flou
   pour former une couche GPU distincte : la texture floutée est calculée une
   fois puis simplement déplacée, ce qui évite de refaire le flou à chaque
   image. Uniquement des transforms, donc aucun recalcul de mise en page ni
   d'effet sur le LCP. Durées volontairement premières entre elles (19/23/29s)
   pour qu'aucun motif répétitif ne devienne perceptible. */
.ads-hero-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.ads-hero-aurora::before,
.ads-hero-aurora::after,
.ads-project-landing .ads-project-hero::after {
    will-change: transform;
}
.ads-hero-aurora::before,
.ads-hero-aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}
.ads-hero-aurora::before {
    top: -22%;
    left: -18%;
    width: min(34rem, 78vw);
    height: min(34rem, 78vw);
    background: radial-gradient(circle, rgba(217, 119, 87, .42) 0%, rgba(217, 119, 87, .12) 45%, transparent 70%);
    animation: ads-aurora-a 19s ease-in-out infinite alternate;
}
.ads-hero-aurora::after {
    top: 34%;
    right: -20%;
    width: min(30rem, 72vw);
    height: min(30rem, 72vw);
    background: radial-gradient(circle, rgba(224, 148, 76, .34) 0%, rgba(224, 148, 76, .1) 45%, transparent 70%);
    animation: ads-aurora-b 23s ease-in-out infinite alternate;
}
/* Troisième halo : on réutilise le cercle olive déjà présent sur le hero. */
.ads-project-landing .ads-project-hero::after {
    background: radial-gradient(circle, rgba(121, 126, 54, .38) 0%, rgba(121, 126, 54, .1) 46%, transparent 70%);
    filter: blur(55px);
    animation: ads-aurora-c 29s ease-in-out infinite alternate;
}
/* Grille technique : le motif fait 28px, on le déplace d'exactement 28px en
   boucle linéaire — le raccord est invisible, la dérive paraît infinie. */
.ads-project-landing .ads-project-hero::before {
    inset: -40px;
    animation: ads-grid-drift 26s linear infinite;
}
@keyframes ads-aurora-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(11rem, 5.5rem, 0) scale(1.18); }
}
@keyframes ads-aurora-b {
    from { transform: translate3d(0, 0, 0) scale(1.14); }
    to   { transform: translate3d(-9.5rem, -7rem, 0) scale(.94); }
}
@keyframes ads-aurora-c {
    from { transform: translate3d(0, 0, 0) scale(.96); }
    to   { transform: translate3d(-7.5rem, -8.5rem, 0) scale(1.16); }
}
@keyframes ads-grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(28px, 28px, 0); }
}
/* Sur petit écran les halos sont déjà plus petits : on réduit le rayon de flou
   dans la même proportion, ce qui divise le coût de rastérisation sur les
   mobiles d'entrée de gamme sans changer le rendu perçu. */
@media (max-width: 699px) {
    .ads-hero-aurora::before,
    .ads-hero-aurora::after { filter: blur(42px); }
    .ads-project-landing .ads-project-hero::after { filter: blur(38px); }
}
@media (prefers-reduced-motion: reduce) {
    .ads-hero-aurora::before,
    .ads-hero-aurora::after,
    .ads-project-landing .ads-project-hero::before,
    .ads-project-landing .ads-project-hero::after { animation: none; }
}

/* Appel direct : sur le trafic publicitaire mobile, le téléphone convertit
   mieux que l'écrit. Volontairement distinct de l'orange du bouton d'envoi
   pour proposer une seconde voie, pas un second bouton principal. */
.ads-hero-call {
    display: flex;
    align-items: center;
    gap: .8rem;
    max-width: 430px;
    margin-top: 1rem;
    padding: .7rem .9rem;
    border: 1px solid rgba(111, 90, 63, .22);
    border-radius: .9rem;
    color: inherit;
    background: rgba(255, 253, 248, .9);
    box-shadow: 0 8px 22px rgba(75, 52, 29, .07);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ads-hero-call:hover,
.ads-hero-call:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(115, 122, 50, .55);
    box-shadow: 0 12px 28px rgba(75, 52, 29, .12);
}
.ads-hero-call:focus-visible { outline: 3px solid rgba(115, 122, 50, .3); outline-offset: 3px; }
.ads-hero-call__icon {
    display: grid;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #858b42, #626925);
    box-shadow: 0 5px 12px rgba(76, 81, 28, .22);
}
.ads-hero-call__icon svg { width: 1.2rem; height: 1.2rem; }
.ads-hero-call__text { min-width: 0; }
.ads-hero-call__text strong,
.ads-hero-call__text small { display: block; }
.ads-hero-call__text strong { color: #34281e; font-size: 1.12rem; letter-spacing: .01em; line-height: 1.15; }
.ads-hero-call__text small { margin-top: .1rem; color: #746657; font-size: .72rem; line-height: 1.25; }
.ads-hero-call__arrow { margin-left: auto; color: #626925; font-size: 1.1rem; font-weight: 900; }

.ads-trust-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 650px;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(111, 90, 63, .2);
}
.ads-trust-line li { padding-right: .7rem; }
.ads-trust-line li + li { padding-left: .9rem; border-left: 1px solid rgba(111, 90, 63, .18); }
.ads-trust-line strong,
.ads-trust-line span { display: block; }
.ads-trust-line strong { color: #34281e; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.1; }
.ads-trust-line span { margin-top: .2rem; color: #746657; font-size: .72rem; line-height: 1.25; }
@media (min-width: 960px) {
    .ads-project-landing .ads-project-hero .hero--split {
        grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
        align-items: start;
    }
    .ads-project-landing .ads-project-hero .ads-project-form-card {
        width: min(100%, 500px);
        margin-left: auto;
    }
}

.ads-how-section { background: #fffdf8; }
.ads-how-section .ads-next-steps { max-width: 640px; margin: 0 auto; }
@media (min-width: 900px) {
    .ads-how-section .ads-next-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        gap: 1.5rem;
    }
}
.ads-how-section .ads-direct-contact { max-width: 640px; margin: 2rem auto 0; }
.ads-next-steps { display: grid; gap: 1rem; margin-top: 1.75rem; }
.ads-next-steps li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: .8rem; }
.ads-next-steps li > span {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #737a32;
    font-size: .78rem;
    font-weight: 800;
}
.ads-next-steps strong { color: var(--color-primary-dark); }
.ads-next-steps p { margin-top: .2rem; color: var(--color-text-muted); font-size: .9rem; line-height: 1.45; }
.ads-direct-contact {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .8rem;
    margin-top: 1.6rem;
    padding: .9rem 1rem;
    border-left: 3px solid var(--color-accent);
    color: var(--color-text-muted);
    background: #fff7ef;
    font-size: .9rem;
}
.ads-direct-contact a { color: var(--color-accent-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.ads-project-form-card {
    position: relative;
    z-index: 1;
    scroll-margin-top: 6rem;
    padding: clamp(1.15rem, 3vw, 2rem);
    border: 1px solid rgba(126, 98, 66, .17);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 48px rgba(65, 47, 31, .1);
}
.ads-project-form-card__title {
    margin-bottom: 1.2rem;
    color: #5d6425;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
}
.ads-project-selection {
    margin: -.25rem 0 1rem;
    padding: .7rem .8rem;
    border: 1px solid #dfe2bc;
    border-radius: .7rem;
    color: #555c20;
    background: #f7f8e9;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.4;
}
.ads-project-form-card .ads-contact-modes { max-width: none; }
.ads-contact-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .3rem;
    border-radius: .85rem;
    background: #f4f1e9;
}
.ads-contact-mode-switch button {
    min-width: 0;
    padding: .7rem .65rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    color: var(--color-text-muted);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}
.ads-contact-mode-switch button small {
    display: block;
    margin-top: .22rem;
    font-size: .68rem;
    font-weight: 600;
}
.ads-contact-mode-switch button.is-active {
    border-color: rgba(126, 98, 66, .14);
    color: var(--color-primary-dark);
    background: #fff;
    box-shadow: 0 4px 12px rgba(65, 47, 31, .08);
}
.ads-contact-mode-switch button:focus-visible { outline: 3px solid rgba(198, 78, 31, .25); outline-offset: 2px; }
.ads-contact-modes [data-contact-mode-panel][hidden] { display: none; }
.ads-project-form-card .field input,
.ads-project-form-card .field textarea,
.ads-project-form-card .field select {
    background: #fffdfa;
}
.ads-project-form-card .field textarea { min-height: 8rem; }
.ads-project-form-card .field select {
    width: 100%;
    min-height: 3rem;
    padding: .7rem .8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font: inherit;
}
.ads-contact-privacy { margin-top: .9rem; text-align: center; }
.ads-contact-privacy a { color: var(--color-text-muted); text-decoration: underline; }
.ads-project-form-card .btn--primary {
    min-height: 3.35rem;
    border-radius: .7rem;
    background: linear-gradient(100deg, #c64e1f, #e0642e);
    box-shadow: 0 9px 20px rgba(190, 72, 29, .2);
}
.ads-project-form-card .btn--primary:hover { background: linear-gradient(100deg, #a9401a, #c75322); }

/* Symptômes : on parle du problème dans les mots du visiteur, chaque carte
   renvoyant au cas réel correspondant. C'est la reconnaissance qui déclenche
   la prise de contact, pas la description du catalogue. */
.ads-symptom-grid {
    display: grid;
    gap: .8rem;
    margin-top: 2rem;
}
.ads-symptom-card {
    border: 1px solid rgba(126, 98, 66, .16);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(65, 47, 31, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ads-symptom-card:hover,
.ads-symptom-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(190, 72, 29, .38);
    box-shadow: 0 16px 34px rgba(65, 47, 31, .11);
}
.ads-symptom-card a {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.15rem 1.25rem;
    color: inherit;
    text-decoration: none;
}
.ads-symptom-card a:focus-visible { outline: 3px solid rgba(198, 78, 31, .28); outline-offset: 3px; }
.ads-symptom-card__quote {
    color: #34281e;
    font-family: var(--font-serif);
    font-size: 1.06rem;
    line-height: 1.32;
}
.ads-symptom-card__answer {
    margin-top: .6rem;
    color: var(--color-text-muted);
    font-size: .9rem;
    line-height: 1.45;
}
.ads-symptom-card__link {
    margin-top: auto;
    padding-top: .85rem;
    color: var(--color-accent-dark);
    font-size: .88rem;
    font-weight: 800;
}
.ads-symptoms-none {
    max-width: 640px;
    margin: 1.75rem auto 0;
    color: var(--color-text-muted);
    font-size: .92rem;
    text-align: center;
}
.ads-symptoms-none a { color: var(--color-accent-dark); font-weight: 800; white-space: nowrap; }
@media (min-width: 700px) { .ads-symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .ads-symptom-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Variété des secteurs : répond à la peur « il va falloir lui expliquer mon
   métier pendant six mois ». */
.ads-sectors { max-width: 760px; margin: 0 auto; text-align: center; }
.ads-sectors .eyebrow { color: #6b6f2e; line-height: 1.7; }
.ads-sectors h2 { margin-top: .5rem; }
.ads-sectors > .text-muted { margin-top: .9rem; }

.ads-selectivity {
    max-width: 640px;
    margin: 2rem auto 0;
    padding: 1rem 1.15rem;
    border-left: 3px solid #7d8339;
    color: #51493f;
    background: #f7f8e9;
    font-size: .92rem;
    line-height: 1.5;
}

.ads-project-cta .eyebrow { color: #e9a27d; }

.mobile-sticky-cta--single { grid-template-columns: 1fr !important; }

@media (max-width: 699px) {
    .ads-project-landing .ads-project-hero { padding-block: 1.4rem 1.6rem; }
    .ads-project-landing .ads-project-hero h1 { font-size: clamp(1.9rem, 9.2vw, 2.4rem); line-height: 1.02; }
    .ads-project-landing .ads-project-hero .hero__lead { margin-top: .6rem; line-height: 1.45; }
    .ads-project-landing .ads-project-hero .hero--split { gap: 1.1rem; }
    .ads-mobile-author { margin-top: .72rem; }
    .ads-mobile-author strong { font-size: .86rem; }
    .ads-mobile-author small { font-size: .69rem; }
    .ads-trust-line { margin-top: .8rem; padding-top: .7rem; }
    .ads-trust-line strong { font-size: .98rem; }
    .ads-trust-line span { font-size: .64rem; }
    .ads-how-section { padding-block: 2.8rem; }
    .ads-project-form-card { padding: 1rem; border-radius: 1rem; }
    .ads-project-form-card__title { margin-bottom: .8rem; font-size: .67rem; }
    .ads-contact-mode-switch button { padding: .65rem .35rem; font-size: .76rem; }
    .ads-contact-mode-switch button small { font-size: .62rem; }
}

/* ---------- Liens sociaux (footer, à propos) ---------- */
.footer-brand__social a,
.profile-card__social a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
}
.footer-brand__social svg,
.profile-card__social svg { width: 1.05rem; height: 1.05rem; }
.profile-card__social { margin-top: 0.75rem; }
.profile-card__social a { color: var(--color-accent-dark); }
.profile-card__social a:hover { color: var(--color-accent); }

/* ---------- Landing reprise / maintenance : correctifs v2 ---------- */
.analyse-card {
    background: rgba(255, 247, 239, 0.98);
    border: 1px solid rgba(217, 119, 87, 0.34);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow-md);
}
.analyse-card p {
    margin: 0;
    color: var(--color-primary-dark);
    line-height: 1.55;
}
.analyse-card strong {
    color: var(--color-accent-dark);
}

.client-feedback-card {
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    box-shadow: var(--shadow-sm);
}
.client-feedback-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
}
.client-feedback-card__stars {
    color: var(--color-accent-dark);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.client-feedback-card h3 {
    margin-bottom: 0.55rem;
}
.client-feedback-card p {
    color: var(--color-text-muted);
}
.client-feedback-card__context {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-accent-dark) !important;
}

/* ---------- Pricing cards (tarifs) ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-card__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    background: #F7F1EA;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
}
.pricing-card__price {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: 0.55rem;
}
.pricing-card__desc {
    color: var(--color-text-muted);
    font-size: 0.94rem;
    margin-top: 0.5rem;
}
.pricing-card .icon-list {
    margin-top: 1.1rem;
    font-size: 0.92rem;
}
.pricing-card .btn {
    margin-top: 1.2rem;
}

/* ---------- Proof strip (tarifs) ---------- */
.proof-strip {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.proof-strip a {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.proof-strip a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.proof-strip strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.3rem;
}
.proof-strip span { color: var(--color-text-muted); font-size: 0.92rem; }
.proof-strip em {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 700;
    color: var(--color-accent-dark);
    font-size: 0.85rem;
}

/* ==========================================================================
   Formulaire d'estimation multi-étapes (landing ads)
   À ajouter à la feuille de style principale.
   Adapte les variables ci-dessous à ta charte si besoin.
   ========================================================================== */

.ads-wizard__progress {
    display: flex;
    gap: 6px;
    margin: 0 0 1.25rem;
}
.ads-wizard__progress span {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease;
}
.ads-wizard__progress span.is-active {
    background: currentColor; /* remplace par ta couleur primaire, ex. var(--color-primary) */
}

.ads-wizard__step {
    border: 0;
    margin: 0;
    padding: 0;
}
.ads-wizard__step.is-active {
    animation: adsWizardIn 0.22s ease both;
}
@keyframes adsWizardIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ads-wizard__step.is-active { animation: none; }
}

.ads-wizard__question {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    padding: 0;
}

.ads-wizard__options {
    display: grid;
    gap: 8px;
}
.ads-wizard__option {
    display: block;
    cursor: pointer;
}
.ads-wizard__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ads-wizard__option > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: border-color 0.15s ease, background 0.15s ease;
    min-height: 44px; /* cible tactile */
    justify-content: center;
}
.ads-wizard__option small {
    opacity: 0.7;
    font-size: 0.85em;
}
.ads-wizard__option:hover > span {
    border-color: rgba(0, 0, 0, 0.35);
}
.ads-wizard__option input:checked + span {
    border-color: currentColor;      /* couleur primaire */
    background: rgba(0, 0, 0, 0.04); /* teinte légère de ta primaire */
}
.ads-wizard__option input:focus-visible + span {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ads-wizard__reply-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 1rem;
}
.ads-wizard__reply-option { cursor: pointer; }
.ads-wizard__reply-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ads-wizard__reply-option > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    padding: 0.7rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-weight: 600;
}
.ads-wizard__reply-option small {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.8em;
}
.ads-wizard__reply-option input:checked + span {
    border-color: currentColor;
    background: rgba(0, 0, 0, 0.04);
}

/* Masquage fiable des panneaux et étapes : .form-grid pose un display:grid
   qui écrase l'attribut [hidden], on force ici. Les règles .no-js plus bas
   restaurent l'affichage empilé sans JavaScript. */
html:not(.no-js) .ads-wizard [data-reply-panel][hidden],
html:not(.no-js) .ads-wizard [data-wizard-step][hidden] {
    display: none !important;
}

/* Respiration entre les coordonnées, le nom et le bouton d'envoi */
.ads-wizard__reply-switch + .form-grid {
    margin-bottom: 0.5rem;
}
.ads-wizard__name {
    margin: 1rem 0 1.5rem;
}
.ads-wizard__submit {
    margin-top: 0.25rem;
}

.ads-wizard__nav {
    margin-top: 0.75rem;
}
.ads-wizard__back {
    background: none;
    border: 0;
    padding: 0.5rem 0;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
}
.ads-wizard__back:hover { opacity: 1; }

.ads-wizard__reassure {
    text-align: center;
    margin-top: 0.5rem;
}

/* Sans JavaScript : toutes les étapes s'affichent empilées */
.no-js .ads-wizard__step[hidden],
.no-js [data-reply-panel][hidden] {
    display: block;
}
.no-js .ads-wizard__progress,
.no-js .ads-wizard__nav {
    display: none;
}
