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

:root {
    --cream: #f6f1e8;
    --paper: #efe8db;
    --line: #ddd3c2;
    --ink: #1f1d1a;
    --ink-soft: #57524a;
    --ink-mute: #8a8378;
    --sapin: #2f5d4a;
    --sapin-dark: #234638;
    --sapin-light: #a9c8b6;
    --copper: #b5653a;
    --white: #fffdf9;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;

    --nav-h: 72px;
    --radius: 14px;
    --gutter: 5vw;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
}

/* ─── TYPO ─── */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    max-width: 22ch;
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

/* ─── BOUTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s,
        transform 0.2s;
}

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

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--sapin);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.btn-light {
    background: var(--cream);
    color: var(--ink);
}

.btn-light:hover {
    background: var(--white);
}

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(246, 241, 232, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: border-color 0.2s;
}

.nav.scrolled {
    border-bottom-color: var(--line);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--sapin);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a:not(.btn) {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
}

.nav-links a:not(.btn):hover {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
}

/* ─── SECTIONS ─── */
.section {
    padding: 7rem var(--gutter);
}

.section--tight {
    padding-top: 3rem;
}

.section--paper {
    background: var(--paper);
}

.section--dark {
    background: var(--sapin-dark);
    color: var(--cream);
}

.section--dark .eyebrow {
    color: var(--sapin-light);
}

.section--dark .lead {
    color: rgba(246, 241, 232, 0.8);
}

/* ─── PHOTOS (avec emplacement vide tant que l'image manque) ─── */
.photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-empty {
    display: none;
}

.photo.is-empty img {
    display: none;
}

.photo.is-empty .photo-empty {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-mute);
    border: 1.5px dashed var(--line);
    border-radius: inherit;
}

/* ─── HERO ─── */
.hero {
    padding: calc(var(--nav-h) + 5rem) var(--gutter) 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--sapin);
}

.hero .lead {
    max-width: 34rem;
    margin-bottom: 2.25rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Illustrations animées (hero, data, IA) */
.anim svg {
    display: block;
    width: 100%;
    height: auto;
}

.ha-bg {
    fill: var(--paper);
}

.ha-card {
    fill: var(--cream);
    stroke: var(--line);
}

.ha-card-out {
    fill: var(--white);
}

.ha-stroke {
    fill: none;
    stroke: var(--sapin);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.ha-play,
.ha-wave {
    fill: var(--sapin);
}

.ha-scan {
    stroke: var(--copper);
    stroke-width: 1.5;
}

.ha-label,
.ha-node-text {
    text-anchor: middle;
}

.ha-label {
    font: 600 12px var(--font-body);
    fill: var(--ink-soft);
}

.ha-flow {
    fill: none;
    stroke: var(--sapin);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}

.ha-core {
    fill: var(--sapin);
}

.ha-ring {
    fill: none;
    stroke: var(--sapin-light);
    stroke-width: 2;
}

.ha-node-text {
    font: 500 22px var(--font-display);
    fill: var(--cream);
}

.ha-eyebrow {
    font: 700 11px var(--font-body);
    letter-spacing: 0.14em;
    fill: var(--copper);
}

.ha-text {
    font: 400 17px var(--font-display);
    fill: var(--ink);
}

.ha-src {
    font: 600 13px var(--font-body);
    fill: var(--sapin);
}

.ha-mute {
    font: 500 12px var(--font-body);
    fill: var(--ink-mute);
}

.ha-bars rect {
    fill: var(--sapin-light);
}

.ha-wave,
.ha-scan,
.ha-ring,
.ha-node,
.ha-bars rect,
.ha-in {
    transform-box: fill-box;
    transform-origin: center;
}

.ha-bars rect {
    transform-origin: bottom;
}

.ha-in-1 { animation: ha-step-1 9s ease infinite; }
.ha-in-2 { animation: ha-step-2 9s ease infinite; }
.ha-in-3 { animation: ha-step-3 9s ease infinite; }
.ha-flow {
    animation:
        ha-step-4 9s ease infinite,
        ha-dash 0.8s linear infinite;
}
.ha-node { animation: ha-step-5 9s ease infinite; }
.ha-flow-out {
    animation:
        ha-step-6 9s ease infinite,
        ha-dash 0.8s linear infinite;
}
.ha-out { animation: ha-step-6 9s ease infinite; }
.ha-out-1 { animation: ha-step-7 9s ease infinite; }
.ha-out-2 { animation: ha-step-8 9s ease infinite; }
.ha-out-3 { animation: ha-step-9 9s ease infinite; }
.ha-bars rect { animation: ha-grow 9s ease infinite; }
.ha-bars rect:nth-child(2) { animation-delay: 0.08s; }
.ha-bars rect:nth-child(3) { animation-delay: 0.16s; }
.ha-bars rect:nth-child(4) { animation-delay: 0.24s; }
.ha-bars rect:nth-child(5) { animation-delay: 0.32s; }

.ha-wave { animation: ha-wave 0.9s ease-in-out infinite alternate; }
.ha-wave:nth-child(3) { animation-delay: -0.3s; }
.ha-wave:nth-child(4) { animation-delay: -0.6s; }
.ha-wave:nth-child(5) { animation-delay: -0.15s; }
.ha-wave:nth-child(6) { animation-delay: -0.45s; }
.ha-wave:nth-child(7) { animation-delay: -0.75s; }
.ha-wave:nth-child(8) { animation-delay: -0.2s; }
.ha-scan { animation: ha-scan 1.6s ease-in-out infinite alternate; }
.ha-ring { animation: ha-pulse 1.8s ease-out infinite; }

@keyframes ha-step-1 { 0% { opacity: 0; transform: translateY(8px); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-2 { 0%, 5% { opacity: 0; transform: translateY(8px); } 11%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-3 { 0%, 10% { opacity: 0; transform: translateY(8px); } 16%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-4 { 0%, 20% { opacity: 0; } 25%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-5 { 0%, 27% { opacity: 0; transform: scale(0.8); } 33%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-6 { 0%, 38% { opacity: 0; } 44%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-7 { 0%, 47% { opacity: 0; } 52%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-8 { 0%, 55% { opacity: 0; } 60%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-step-9 { 0%, 66% { opacity: 0; } 71%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-grow { 0%, 62% { transform: scaleY(0); } 70%, 100% { transform: none; } }
@keyframes ha-dash { to { stroke-dashoffset: -10; } }
@keyframes ha-wave { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes ha-scan { from { transform: translateY(0); } to { transform: translateY(36px); } }
@keyframes ha-pulse { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }

/* Animation du hero : esquisse → application → données → IA, boucle de 10 s */
.hero-local {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.hero-local svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--copper);
    stroke-width: 1.6;
}

.hb-bg {
    fill: var(--paper);
}

.hb-dot {
    fill: var(--line);
}

.hb-draw {
    fill: none;
    stroke: var(--copper);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.hb-win {
    fill: var(--white);
}

.hb-titlebar {
    fill: var(--cream);
}

.hb-side {
    fill: var(--sapin-dark);
}

.hb-win-line {
    fill: none;
    stroke: var(--line);
}

.hb-light {
    fill: var(--line);
}

.hb-light--on {
    fill: var(--copper);
}

.hb-side-item {
    fill: rgba(246, 241, 232, 0.25);
}

.hb-side-item--on {
    fill: var(--sapin-light);
}

.hb-card {
    fill: var(--cream);
}

.hb-label {
    font: 600 9px var(--font-body);
    fill: var(--ink-mute);
}

.hb-value {
    font: 500 19px var(--font-display);
    fill: var(--ink);
}

.hb-live {
    fill: var(--sapin);
}

.hb-bars rect {
    fill: var(--sapin-light);
}

.hb-bars .hb-bar-hot {
    fill: var(--sapin);
}

.hb-sep {
    stroke: var(--line);
}

.hb-status {
    fill: var(--sapin);
}

.hb-status--warn {
    fill: var(--copper);
}

.hb-line {
    fill: var(--line);
}

.hb-cap {
    font: 600 11px var(--font-body);
    fill: var(--copper);
    text-anchor: end;
    opacity: 0;
}

.hb-flow {
    fill: none;
    stroke: var(--sapin);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}

.hb-toast-card {
    fill: var(--white);
    stroke: var(--line);
}

.hb-eyebrow {
    font: 700 11px var(--font-body);
    letter-spacing: 0.14em;
    fill: var(--copper);
}

.hb-text {
    font: 400 16px var(--font-display);
    fill: var(--ink);
}

.hb-src {
    font: 600 12.5px var(--font-body);
    fill: var(--sapin);
}

.hb-btn {
    fill: var(--sapin);
}

.hb-btn-ghost {
    fill: none;
    stroke: var(--line);
}

.hb-btn-text,
.hb-btn-ghost-text {
    font: 600 11px var(--font-body);
    text-anchor: middle;
}

.hb-btn-text {
    fill: var(--white);
}

.hb-btn-ghost-text {
    fill: var(--ink-soft);
}

.hb-bars rect,
.hb-live,
.hb-toast {
    transform-box: fill-box;
}

.hb-bars rect {
    transform-origin: bottom;
}

.hb-live {
    transform-origin: center;
}

.hb-d1 { animation: hb-draw-1 10s ease infinite; }
.hb-d2 { animation: hb-draw-2 10s ease infinite; }
.hb-d3 { animation: hb-draw-3 10s ease infinite; }
.hb-d4 { animation: hb-draw-4 10s ease infinite; }
.hb-sketch { animation: hb-sketch 10s ease infinite; }
.hb-solid { animation: hb-solid 10s ease infinite; }
.hb-fill { animation: hb-fill 10s ease infinite; }
.hb-bars rect { animation: hb-grow 10s ease infinite; }
.hb-bars rect:nth-child(2) { animation-delay: 0.06s; }
.hb-bars rect:nth-child(3) { animation-delay: 0.12s; }
.hb-bars rect:nth-child(4) { animation-delay: 0.18s; }
.hb-bars rect:nth-child(5) { animation-delay: 0.24s; }
.hb-bars rect:nth-child(6) { animation-delay: 0.3s; }
.hb-bars rect:nth-child(7) { animation-delay: 0.36s; }
.hb-bars rect:nth-child(8) { animation-delay: 0.42s; }
.hb-live { animation: hb-live 1.4s ease-in-out infinite alternate; }
.hb-cap-1 { animation: hb-cap-1 10s ease infinite; }
.hb-cap-2 { animation: hb-cap-2 10s ease infinite; }
.hb-cap-3 { animation: hb-cap-3 10s ease infinite; }
.hb-cap-4 { animation: hb-cap-4 10s ease infinite; }
.hb-flow {
    animation:
        hb-toast 10s ease infinite,
        ha-dash 0.8s linear infinite;
}
.hb-toast { animation: hb-toast 10s ease infinite; }
.hb-t1 { animation: hb-t1 10s ease infinite; }
.hb-t2 { animation: hb-t2 10s ease infinite; }
.hb-t3 { animation: hb-t3 10s ease infinite; }

@keyframes hb-draw-1 { 0%, 1% { stroke-dashoffset: 1; } 10%, 100% { stroke-dashoffset: 0; } }
@keyframes hb-draw-2 { 0%, 6% { stroke-dashoffset: 1; } 15%, 100% { stroke-dashoffset: 0; } }
@keyframes hb-draw-3 { 0%, 11% { stroke-dashoffset: 1; } 20%, 100% { stroke-dashoffset: 0; } }
@keyframes hb-draw-4 { 0%, 16% { stroke-dashoffset: 1; } 25%, 100% { stroke-dashoffset: 0; } }
@keyframes hb-sketch { 0%, 28% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes hb-solid { 0%, 27% { opacity: 0; } 35%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hb-fill { 0%, 42% { opacity: 0; } 48%, 100% { opacity: 1; } }
@keyframes hb-grow { 0%, 40% { transform: scaleY(0); } 50%, 100% { transform: none; } }
@keyframes hb-live { from { opacity: 0.35; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes hb-cap-1 { 0%, 1% { opacity: 0; } 4%, 24% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes hb-cap-2 { 0%, 28% { opacity: 0; } 31%, 38% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes hb-cap-3 { 0%, 41% { opacity: 0; } 44%, 54% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes hb-cap-4 { 0%, 57% { opacity: 0; } 60%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hb-toast { 0%, 57% { opacity: 0; transform: translateY(8px); } 63%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes hb-t1 { 0%, 63% { opacity: 0; } 67%, 100% { opacity: 1; } }
@keyframes hb-t2 { 0%, 68% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes hb-t3 { 0%, 73% { opacity: 0; } 77%, 100% { opacity: 1; } }

/* ─── EN-TÊTE DES PAGES INTÉRIEURES ─── */
.page-hero {
    padding: calc(var(--nav-h) + 5rem) var(--gutter) 4.5rem;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    max-width: 20ch;
    margin-bottom: 1.5rem;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--sapin);
}

.page-hero .lead {
    max-width: 40rem;
}

.section-lead {
    max-width: 42rem;
    margin: -1.5rem 0 3rem;
}

/* ─── SITUATIONS ─── */
.situations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.situation {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.situation-num {
    display: block;
    color: var(--copper);
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.situation p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.45;
}

/* ─── SAVOIR-FAIRE ─── */
.skills {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
}

.skill svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--sapin);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1rem;
}

.skill h3 {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.skill p {
    color: var(--ink-soft);
    font-size: 0.975rem;
}

/* ─── RÉALISATION ─── */
.case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.case-text strong {
    color: var(--white);
}

.case-subtitle {
    font-size: 1.35rem;
    margin: 2.5rem 0 1.25rem;
}

.proofs {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.proofs div {
    border-left: 2px solid var(--sapin-light);
    padding-left: 1rem;
}

.proofs dt {
    font-weight: 700;
}

.proofs dd {
    color: rgba(246, 241, 232, 0.75);
    font-size: 0.95rem;
}

.case-shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
}

.case-shots .photo:nth-child(2) {
    transform: translateY(2.5rem);
}

.photo--phone {
    aspect-ratio: 9 / 19.5;
    border-radius: 22px;
    background: rgba(246, 241, 232, 0.08);
}

.section--dark .photo.is-empty .photo-empty {
    color: rgba(246, 241, 232, 0.55);
    border-color: rgba(246, 241, 232, 0.25);
}

/* ─── L'ATELIER ─── */
.about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.photo--portrait {
    aspect-ratio: 4 / 5;
}

.about .section-title {
    margin-bottom: 1.75rem;
}

.about-text p:last-child {
    color: var(--ink-soft);
}

.pledges {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--line);
    padding-top: 2.5rem;
}

.pledges h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.pledges p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ─── CONTACT ─── */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact .section-title {
    margin-bottom: 1.25rem;
}

.contact-mail {
    color: var(--ink-soft);
}

.contact-mail a {
    color: var(--sapin);
    font-weight: 600;
}

.form {
    display: grid;
    gap: 1.25rem;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 2rem;
}

.form label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.optional {
    font-weight: 400;
    color: var(--ink-mute);
}

.form input,
.form textarea {
    font: inherit;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
}

.form textarea {
    resize: vertical;
}

.form input:focus,
.form textarea:focus {
    outline: 2px solid var(--sapin);
    outline-offset: 1px;
    border-color: transparent;
}

.form .btn {
    justify-self: start;
}

/* ─── MENTIONS LÉGALES ─── */
.legal {
    padding-top: calc(var(--nav-h) + 4rem);
}

.legal .container {
    max-width: 760px;
}

.legal h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
}

.legal dl {
    display: grid;
    grid-template-columns: 14rem 1fr;
    gap: 0.5rem 1.5rem;
}

.legal dt {
    font-weight: 600;
}

.legal dd,
.legal p {
    color: var(--ink-soft);
}

.legal p + p {
    margin-top: 1rem;
}

.legal a {
    color: var(--sapin);
}

@media (max-width: 760px) {
    .legal dl {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .legal dd {
        margin-bottom: 0.75rem;
    }
}

/* ─── FOOTER ─── */
.footer {
    background: var(--ink);
    color: rgba(246, 241, 232, 0.6);
    padding: 2.5rem var(--gutter);
    font-size: 0.875rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.footer .nav-logo {
    color: var(--cream);
}

.footer .nav-logo span {
    color: var(--sapin-light);
}

.footer a {
    text-decoration: none;
}

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

.footer-recruit a {
    color: var(--sapin-light);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ─── CARTES VIVANTES : halo qui suit la souris ─── */
.spot {
    position: relative;
    isolation: isolate;
    transition:
        translate 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.spot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(
        420px circle at var(--mx, 50%) var(--my, 50%),
        rgba(47, 93, 74, 0.09),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.spot:hover::before {
    opacity: 1;
}

@media (hover: hover) {
    .spot:hover {
        translate: 0 -4px;
        box-shadow: 0 18px 40px -24px rgba(31, 29, 26, 0.35);
    }
}

/* ─── BLOCS DÉPLIABLES ─── */
:root {
    interpolate-size: allow-keywords;
}

details::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
        block-size 0.3s ease,
        content-visibility 0.3s allow-discrete;
}

details[open]::details-content {
    block-size: auto;
}

summary {
    list-style: none;
    cursor: pointer;
}

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

/* ─── PILIERS (accueil) ─── */
.pillars {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.pillar {
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 2rem;
    text-decoration: none;
}

.pillar--main {
    grid-row: span 2;
    background: var(--sapin-dark);
    color: var(--cream);
    padding: 2.75rem 2.5rem;
}

.pillar--main::before {
    background: radial-gradient(
        420px circle at var(--mx, 50%) var(--my, 50%),
        rgba(169, 200, 182, 0.16),
        transparent 45%
    );
}

.pillar-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 0.75rem;
}

.pillar--main .pillar-tag {
    color: var(--sapin-light);
}

.pillar h3 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.pillar--main h3 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    max-width: 14ch;
    margin-bottom: 1.25rem;
}

.pillar p {
    color: var(--ink-soft);
    font-size: 0.975rem;
    margin-bottom: 1.5rem;
}

.pillar--main p {
    color: rgba(246, 241, 232, 0.8);
    font-size: 1.1rem;
    max-width: 30rem;
}

.pillar-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--sapin);
}

.pillar--main .pillar-link {
    color: var(--sapin-light);
}

.pillar-link span,
.brick-link,
.chooser-arrow {
    display: inline-block;
    transition: translate 0.2s ease;
}

.pillar:hover .pillar-link span {
    translate: 4px 0;
}

/* ─── PARCOURS (accueil) ─── */
.paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.path {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    background: var(--white);
}

.path:hover {
    border-color: var(--sapin-light);
}

.path-kicker {
    font-weight: 600;
    color: var(--copper);
    font-size: 0.925rem;
}

.path h3 {
    font-size: 1.9rem;
    margin: 0.25rem 0 0.75rem;
}

.path > p {
    color: var(--ink-soft);
    font-size: 0.975rem;
}

.path-steps {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1.5rem 0;
    counter-reset: step;
}

.path-steps li {
    counter-increment: step;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--paper);
}

.path-steps li::before {
    content: counter(step);
    font-family: var(--font-display);
    color: var(--copper);
}

.path-steps li + li {
    position: relative;
    margin-left: 0.7rem;
}

.path-steps li + li::after {
    content: "→";
    position: absolute;
    left: -0.85rem;
    color: var(--ink-mute);
    font-weight: 400;
}

.path .path-price {
    margin: auto 0 1.25rem;
    color: var(--ink-soft);
}

.path-price strong {
    color: var(--ink);
}

.path .btn {
    align-self: flex-start;
}

/* ─── CONSTAT EN 2 × 2 ─── */
.situations--four {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3.5rem;
}

/* ─── LOCAL ─── */
.local {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.local .section-title {
    margin-bottom: 1.5rem;
}

.local-text > p:last-child {
    color: var(--ink-soft);
}

.local-map svg {
    max-width: 380px;
    margin-inline: auto;
}

.lm-ring {
    fill: none;
    stroke: var(--sapin-light);
    stroke-dasharray: 3 6;
    transform-box: fill-box;
    transform-origin: center;
    animation: lm-turn 60s linear infinite;
}

.lm-ring-2 {
    animation-direction: reverse;
    opacity: 0.7;
}

.lm-ring-3 {
    opacity: 0.45;
}

.lm-pulse {
    fill: var(--sapin);
    transform-box: fill-box;
    transform-origin: center;
    animation: ha-pulse 2.2s ease-out infinite;
}

.lm-city circle {
    fill: var(--ink-soft);
    transition: fill 0.2s;
}

.lm-city text,
.lm-home text {
    font: 600 12px var(--font-body);
    fill: var(--ink-soft);
    text-anchor: middle;
}

.lm-city:hover circle {
    fill: var(--copper);
}

.lm-city:hover text {
    fill: var(--ink);
}

.local-map text.lm-start {
    text-anchor: start;
}

.local-map text.lm-end {
    text-anchor: end;
}

.lm-home circle {
    fill: var(--sapin);
    stroke: var(--cream);
    stroke-width: 2.5;
}

.lm-home text {
    font: 600 16px var(--font-display);
    fill: var(--sapin-dark);
}

@keyframes lm-turn {
    to {
        rotate: 360deg;
    }
}

/* ─── FORMULAIRE : liste déroulante ─── */
.form select {
    font: inherit;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.75rem 2.5rem 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357524a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
        no-repeat right 0.8rem center / 16px;
    color: var(--ink);
    appearance: none;
}

.form select:focus {
    outline: 2px solid var(--sapin);
    outline-offset: 1px;
    border-color: transparent;
}

.form.is-highlighted {
    animation: form-flash 1.2s ease;
}

@keyframes form-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(47, 93, 74, 0.45);
    }
    100% {
        box-shadow: 0 0 0 18px rgba(47, 93, 74, 0);
    }
}

/* ─── OFFRES : choix du parcours ─── */
.chooser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
    max-width: 52rem;
}

.chooser-card {
    display: grid;
    gap: 0.25rem;
    padding: 1.6rem 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-decoration: none;
}

.chooser-card:hover {
    border-color: var(--sapin);
}

.chooser-kicker {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--copper);
}

.chooser-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.2;
}

.chooser-sub {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.chooser-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--sapin);
    font-size: 1.2rem;
}

.chooser-card:hover .chooser-arrow {
    translate: 0 4px;
}

/* ─── OFFRES : étapes ─── */
.offer-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin: -1rem 0 3.5rem;
}

.offer-intro .lead {
    margin: 0;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--ink-soft);
}

.chip--hot {
    border-color: var(--copper);
    color: var(--ink);
    background: var(--white);
}

.offer-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.offer-step {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.75rem 1.75rem;
}

.offer-step:hover {
    border-color: var(--sapin-light);
}

.offer-step--key {
    border-color: var(--sapin);
    box-shadow: inset 0 4px 0 var(--sapin);
}

.offer-step--option {
    background: transparent;
    border-style: dashed;
}

/* Le passage d'une étape à l'autre est une décision */
.offer-steps--gated .offer-step + .offer-step::after {
    content: "Go ?";
    position: absolute;
    top: 2rem;
    left: calc(-0.75rem - 20px);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--copper);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
}

.offer-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.offer-step-num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--copper);
}

.offer-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--sapin);
    color: var(--white);
}

.offer-badge--soft {
    background: var(--paper);
    color: var(--sapin-dark);
}

.offer-step h3 {
    font-size: 1.7rem;
}

.offer-hook {
    font-weight: 600;
    color: var(--sapin);
    margin: 0.25rem 0 1rem;
}

.offer-meta {
    list-style: none;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.offer-meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.offer-meta svg {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 0.2rem;
    fill: none;
    stroke: var(--copper);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.offer-price {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.1;
    margin: 1.25rem 0;
    padding: 1rem 0;
    border-block: 1px solid var(--line);
}

.offer-price-pre,
.offer-price-post,
.offer-price-note {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-mute);
}

.offer-price-pre,
.offer-price-note {
    display: block;
    margin-bottom: 0.2rem;
}

.offer-price-note {
    margin: 0.35rem 0 0;
}

.offer-price--quote {
    font-size: 1.6rem;
}

.offer-desc {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}

.offer-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 0.6rem;
}

.checks {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    font-size: 0.925rem;
}

.checks li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.5;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--sapin-light)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
        no-repeat center / 70%;
}

.offer-more {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.offer-more summary,
.brick-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sapin);
}

.offer-more summary::after,
.brick-more summary::after,
.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    transition: rotate 0.25s ease;
}

.offer-more[open] summary::after,
.brick-more[open] summary::after,
.faq-item[open] summary::after {
    rotate: 45deg;
}

.offer-more-body {
    padding-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.offer-more-body ol {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.offer-more-body p + p,
.offer-more-body ol + p {
    margin-top: 0.75rem;
}

.offer-cta {
    margin-top: 2.5rem;
    text-align: center;
}

/* ─── FAQ ─── */
.faq {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.faq-item summary:hover {
    color: var(--sapin);
}

.faq-item summary::after {
    flex: none;
    color: var(--copper);
}

.faq-item p {
    color: var(--ink-soft);
    padding-bottom: 1.25rem;
    max-width: 40rem;
}

/* ─── ATELIERS : sous-navigation ─── */
.subnav {
    position: sticky;
    top: var(--nav-h);
    z-index: 50;
    padding: 0.75rem var(--gutter);
    background: rgba(246, 241, 232, 0.92);
    backdrop-filter: blur(10px);
    border-block: 1px solid var(--line);
}

.subnav-inner {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.subnav-link {
    flex: none;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-soft);
    transition:
        background 0.2s,
        color 0.2s;
}

.subnav-link:hover {
    color: var(--ink);
    background: var(--paper);
}

.subnav-link.is-active {
    background: var(--ink);
    color: var(--white);
}

/* Les ancres passent sous la sous-navigation collante */
.subnav ~ .section {
    scroll-margin-top: 3.75rem;
}

/* ─── ATELIERS : logiciel ─── */
.bricks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.brick {
    background: var(--cream);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 1.75rem;
}

.brick svg,
.skill svg {
    transition:
        stroke 0.2s,
        translate 0.25s ease;
}

.brick svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--sapin);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1rem;
}

.brick:hover svg {
    stroke: var(--copper);
    translate: 0 -2px;
}

.brick h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.brick > p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.brick-more {
    margin-top: 0.5rem;
}

.brick-more p {
    padding-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.brick--cta {
    background: var(--sapin-dark);
    color: var(--cream);
}

.brick--cta::before {
    background: radial-gradient(
        420px circle at var(--mx, 50%) var(--my, 50%),
        rgba(169, 200, 182, 0.16),
        transparent 45%
    );
}

.brick--cta svg {
    stroke: var(--sapin-light);
}

.brick--cta > p {
    color: rgba(246, 241, 232, 0.75);
}

.brick-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--sapin-light);
    text-decoration: none;
}

.brick--cta:hover .brick-link {
    translate: 4px 0;
}

/* ─── ATELIERS : data ─── */
.data-diagram {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.data-diagram svg {
    max-width: 760px;
    margin-inline: auto;
}

.data-diagram [data-stage] {
    transition: opacity 0.3s ease;
}

.data-diagram[data-active] [data-stage] {
    opacity: 0.2;
}

.data-diagram[data-active="automatiser"] [data-stage="automatiser"],
.data-diagram[data-active="fiabiliser"] [data-stage="fiabiliser"],
.data-diagram[data-active="exploiter"] [data-stage="exploiter"] {
    opacity: 1;
}

.dd-chip rect {
    fill: var(--white);
    stroke: var(--line);
}

.dd-chip text {
    font: 600 12px var(--font-body);
    fill: var(--ink-soft);
    text-anchor: middle;
}

.dd-flow path {
    fill: none;
    stroke: var(--sapin);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
    animation: ha-dash 0.8s linear infinite;
}

.dd-db {
    fill: var(--sapin-dark);
    stroke: var(--sapin-light);
    stroke-width: 1.5;
}

.dd-db-line {
    fill: none;
    stroke: var(--sapin-light);
    stroke-width: 1.5;
}

.dd-db-text {
    font: 500 15px var(--font-display);
    fill: var(--ink);
    text-anchor: middle;
}

.dd-check {
    fill: var(--copper);
    stroke: var(--paper);
    stroke-width: 2;
}

.dd-check-mark {
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dd-card {
    fill: var(--white);
    stroke: var(--line);
}

.dd-card-label {
    font: 600 10px var(--font-body);
    fill: var(--ink-mute);
}

.dd-bars rect {
    fill: var(--sapin-light);
    transform-box: fill-box;
    transform-origin: bottom;
    animation: dd-bar 2.4s ease-in-out infinite alternate;
}

.dd-bars rect:nth-child(2) { animation-delay: -0.5s; }
.dd-bars rect:nth-child(3) { animation-delay: -1s; }
.dd-bars rect:nth-child(4) { animation-delay: -1.5s; }
.dd-bars rect:nth-child(5) { animation-delay: -2s; fill: var(--sapin); }

.dd-line {
    fill: none;
    stroke: var(--sapin);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dd-line--forecast {
    stroke: var(--copper);
    stroke-dasharray: 3 4;
    animation: ha-dash 0.8s linear infinite;
}

@keyframes dd-bar {
    from {
        transform: scaleY(0.7);
    }
    to {
        transform: none;
    }
}

.verbs {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.verb {
    border-top: 2px solid var(--line);
    padding: 1.5rem 0.25rem 0;
    transition: border-color 0.25s;
    outline: none;
}

.verb:hover,
.verb:focus-visible {
    border-color: var(--sapin);
}

.verb-num {
    font-family: var(--font-display);
    color: var(--copper);
}

.verb h3 {
    font-size: 1.6rem;
    margin: 0.25rem 0 0.5rem;
}

.verb > p {
    color: var(--ink-soft);
    font-size: 0.975rem;
    margin-bottom: 1rem;
}

.refs {
    display: grid;
    grid-template-columns: 0.8fr 2fr;
    gap: 2.5rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.refs-head h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.refs-head p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.refs-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ref {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.ref-sector {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
}

.ref h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0.4rem 0 0.5rem;
}

.ref p {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ─── ATELIERS : IA ─── */
.ia {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.ia .section-title {
    margin-bottom: 1.5rem;
}

.skills--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2rem;
    margin: 2.5rem 0;
}

.skill:hover svg {
    stroke: var(--copper);
    translate: 0 -2px;
}

.ia-proof {
    color: var(--ink-soft);
}

.ia-proof a {
    color: var(--sapin);
    font-weight: 600;
}

/* ─── NAVIGATION : page en cours ─── */
.nav-links a[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
}

/* ─── FOOTER : localisation ─── */
.footer-local {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(246, 241, 232, 0.12);
    font-size: 0.8rem;
}

/* ─── APPARITION AU SCROLL ─── */
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.js .reveal.spot {
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        translate 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .anim * {
        animation: none !important;
    }
    .hb-cap-4 {
        opacity: 1;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    .situations,
    .situations--four,
    .pillars,
    .paths,
    .offer-steps,
    .verbs,
    .refs-list {
        grid-template-columns: 1fr;
    }

    .pillar--main {
        grid-row: auto;
    }

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

    .offer-intro,
    .faq,
    .refs,
    .local,
    .ia {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .offer-steps {
        gap: 3.5rem;
        max-width: 560px;
        margin-inline: auto;
    }

    .offer-steps:not(.offer-steps--gated) {
        gap: 1.5rem;
    }

    .offer-steps--gated .offer-step + .offer-step::after {
        top: calc(-1.75rem - 20px);
        left: 50%;
        translate: -50% 0;
    }

    .ia-anim {
        max-width: 420px;
    }

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

    .case,
    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .case-shots {
        position: static;
        max-width: 520px;
    }

    .photo--portrait {
        max-width: 360px;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 16px;
        --nav-h: 64px;
    }

    .section {
        padding: 4.5rem var(--gutter);
    }

    .section--tight {
        padding-top: 1rem;
    }

    .hero {
        padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-anim {
        max-width: 420px;
    }

    .skills,
    .pledges,
    .bricks,
    .chooser,
    .skills--compact {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 3rem;
    }

    .data-diagram {
        padding: 1rem;
    }

    .situations--four {
        gap: 2rem;
    }

    .case-shots .photo:nth-child(2) {
        transform: translateY(1.25rem);
    }

    .form {
        padding: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem var(--gutter) 2rem;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
    }
}
