/* A.COM'PAGNE — design 2026
   Fond noir chaud, accent orange de la marque, Plus Jakarta Sans + JetBrains Mono */

:root {
    --accent: #FF5F1F;
    --accent-ink: #ff7a45;        /* orange en texte sur fond sombre */
    --on-accent: #160904;

    --bg-deep: #070707;
    --bg: #0c0a09;
    --card: #141210;
    --raised: #1d1a17;
    --line: rgba(242, 237, 230, 0.08);
    --line-strong: rgba(242, 237, 230, 0.14);

    --text: #f2ede6;
    --text-2: #b3aa9f;
    --text-3: #8c8378;

    --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 160ms;
    --t-enter: 600ms;

    --wrap: 1200px;
    --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    background: var(--bg);
    color: var(--text-2);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 2000; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* ---------- Signature : point orange + étiquette mono ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 16px;
    color: var(--text-3);
    letter-spacing: 0.01em;
}
.tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { background: #ff7236; }

.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(242, 237, 230, 0.02); }
.btn-ghost:hover { background: var(--raised); border-color: rgba(242, 237, 230, 0.22); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { color: var(--accent-ink); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background-color 240ms var(--ease), border-color 240ms var(--ease), height 240ms var(--ease);
}
.site-header.is-scrolled {
    background: rgba(12, 10, 9, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand img { height: 24px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color var(--t-fast) var(--ease); position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent);
}

.menu-btn { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 128px 0 80px; }
.hero::before {
    /* trame discrète façon papier millimétré */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 85%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 85%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.hero h1 {
    margin-top: 20px;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero-sub { margin-top: 24px; max-width: 34rem; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 48px; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-size: 28px; line-height: 1.1; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-meta span { font-size: 13px; color: var(--text-3); }

/* Fenêtre navigateur : le moment fort */
.browser {
    position: relative;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #110f0d; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--raised); display: block; }
.browser-url {
    flex: 1;
    height: 28px;
    border-radius: 8px;
    background: var(--raised);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-2);
    overflow: hidden;
    white-space: nowrap;
}
.browser-url svg { width: 12px; height: 12px; color: var(--text-3); flex: none; }
.browser-url .caret { width: 1px; height: 14px; background: var(--accent); margin-left: -6px; }
.browser-view { position: relative; aspect-ratio: 1250 / 745; background: var(--bg-deep); }
.browser-view img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.03);
    transition: opacity 700ms var(--ease), transform 1200ms var(--ease);
}
.browser-view img.is-on { opacity: 1; transform: scale(1); }
.browser-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.browser-foot .label { font-size: 14px; color: var(--text); font-weight: 500; }
.browser-foot .kind { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.browser-steps { display: flex; gap: 6px; }
.browser-steps button { width: 24px; height: 4px; border-radius: 2px; background: var(--raised); position: relative; overflow: hidden; }
.browser-steps button span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.browser-steps button.is-on span { animation: fill 5s linear forwards; }
.browser-steps button.is-done span { transform: scaleX(1); background: var(--text-3); }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Bandeau clients ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); overflow: hidden; }
.clients-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.clients-label { flex: none; padding-left: var(--gutter); font-size: 13px; color: var(--text-3); white-space: nowrap; }
.marquee { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 0 24px; font-size: 15px; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 24px; }
.marquee-track span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-alt { background: var(--bg-deep); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2, .page-hero h1 {
    margin-top: 16px;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
}
.section-head p { font-size: 17px; color: var(--text-2); max-width: 32rem; }

/* ---------- Services : lignes interactives ---------- */
.services { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service-head {
    width: 100%;
    display: grid;
    grid-template-columns: 64px 1fr auto 40px;
    gap: 24px;
    align-items: center;
    padding: 32px 0;
    text-align: left;
}
.service-num { font-family: var(--mono); font-size: 13px; color: var(--text-3); transition: color var(--t-fast) var(--ease); }
.service-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text-2); transition: color 240ms var(--ease); }
.service-kicker { font-size: 14px; color: var(--text-3); text-align: right; }
.service-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: background-color 240ms var(--ease), border-color 240ms var(--ease), transform 400ms var(--ease); }
.service-toggle svg { width: 16px; height: 16px; }
.service-head:hover .service-title, .service.is-open .service-title { color: var(--text); }
.service.is-open .service-num { color: var(--accent-ink); }
.service.is-open .service-toggle { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }

.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms var(--ease); }
.service.is-open .service-body { grid-template-rows: 1fr; }
.service-body > div { overflow: hidden; }
.service-content { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 24px; padding-bottom: 40px; opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.service.is-open .service-content { opacity: 1; transform: none; transition-delay: 120ms; }
.service-content .lead { grid-column: 2; font-size: 17px; color: var(--text-2); margin-bottom: 24px; max-width: 30rem; }
.service-list { grid-column: 2; display: flex; flex-direction: column; }
.service-list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.service-list li small { font-family: var(--mono); font-size: 12px; color: var(--text-3); align-self: center; }
.service-media { grid-column: 3; grid-row: 1 / span 2; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); align-self: start; aspect-ratio: 16 / 10; background: var(--card); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-content .link-arrow { grid-column: 2; margin-top: 24px; }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.work { position: relative; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.work:nth-child(1) { grid-column: span 7; }
.work:nth-child(2) { grid-column: span 5; }
.work:nth-child(3) { grid-column: span 4; }
.work:nth-child(4) { grid-column: span 4; }
.work:nth-child(5) { grid-column: span 4; }
.work-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); }
.work:nth-child(1) .work-media, .work:nth-child(2) .work-media { aspect-ratio: auto; height: 340px; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.work:hover .work-media img { transform: scale(1.03); }
.work-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.work-body .tag { margin-bottom: 4px; }
.work-body h3 { font-size: 18px; line-height: 1.3; font-weight: 500; color: var(--text); }
.work-body p { font-size: 14px; color: var(--text-2); }

.videos-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 96px 0 24px; }
.videos-head h3 { font-size: 24px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.carousel-nav { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.icon-btn:hover { background: var(--raised); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 32%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.video { border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg-deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video p { padding: 12px 16px; font-size: 14px; color: var(--text); display: flex; justify-content: space-between; gap: 12px; }
.video p small { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* ---------- Avis ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote blockquote { font-size: 17px; line-height: 1.55; color: var(--text); }
.quote blockquote::before { content: "“"; display: block; font-size: 48px; line-height: 0.6; color: var(--accent); margin-bottom: 16px; height: 20px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; }
.quote figcaption a, .quote figcaption span { font-size: 14px; font-weight: 500; color: var(--text); }
.quote figcaption a:hover { color: var(--accent-ink); }
.quotes-foot { display: flex; justify-content: flex-end; margin-top: 24px; }

/* ---------- RDV ---------- */
.rdv { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.rdv-aside h2 { margin-top: 16px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.rdv-aside p { margin-top: 20px; font-size: 17px; }
.rdv-points { margin-top: 32px; display: flex; flex-direction: column; }
.rdv-points li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.rdv-points svg { width: 18px; height: 18px; color: var(--accent-ink); flex: none; }
.rdv-mail { margin-top: 32px; font-size: 15px; }
.rdv-mail a { white-space: nowrap; color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color var(--t-fast) var(--ease); }
.rdv-mail a:hover { border-color: var(--accent); }
.calendly-box { border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.calendly-inline-widget { min-width: 300px; height: 680px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--bg-deep); }
.footer-cta { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.footer-cta p { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text); max-width: 40rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.footer-grid h4 { font-size: 13px; font-weight: 500; color: var(--text-3); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { font-size: 15px; color: var(--text-2); transition: color var(--t-fast) var(--ease); }
.footer-grid a:hover { color: var(--text); }
.footer-brand img { height: 22px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 20rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 160px 0 64px; position: relative; }
.page-hero p { margin-top: 20px; max-width: 36rem; font-size: 18px; }

/* Blog : filtres + frise */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.chip {
    height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong);
    font-size: 14px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px;
    transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip small { font-family: var(--mono); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--text); background: var(--raised); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip[aria-pressed="true"] small { color: rgba(12, 10, 9, 0.6); }

.timeline { padding-bottom: 128px; }
.year { display: grid; grid-template-columns: 160px 1fr; gap: 32px; border-top: 1px solid var(--line); padding: 40px 0; }
.year[hidden] { display: none; }
.year-label { position: sticky; top: 96px; align-self: start; }
.year-label strong { display: block; font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.year-label span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 240ms var(--ease), opacity 300ms var(--ease), transform 300ms var(--ease); }
.post:hover { border-color: var(--line-strong); }
.post.is-hiding { opacity: 0; transform: translateY(8px); }
.post[hidden] { display: none; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); position: relative; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.post:hover .post-media img { transform: scale(1.03); }
.post-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; }
.post-meta time { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.post-body h2 { font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--text); }
.post-body p { font-size: 14px; }
.empty { padding: 64px 0; color: var(--text-3); }

/* À propos */
.about { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; padding-bottom: 128px; }
.about-side { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 0; }
.about-side dl { border-top: 1px solid var(--line); }
.about-side dl div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-side dt { color: var(--text-3); }
.about-side dd { color: var(--text); }
.about-side .btn { margin-top: 24px; align-self: flex-start; }
.prose { font-size: 17px; line-height: 1.7; max-width: 42rem; }
.prose p + p { margin-top: 20px; }
.prose h2 { font-size: 24px; line-height: 1.3; font-weight: 500; color: var(--text); margin: 48px 0 16px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose strong { color: var(--text); font-weight: 500; }
.prose .pull { font-size: 24px; line-height: 1.4; color: var(--text); border-left: 2px solid var(--accent); padding-left: 24px; margin: 40px 0; }
.prose a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-color: var(--accent); }
.prose ul { margin-top: 12px; }
.prose li { padding-left: 20px; position: relative; margin-top: 8px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Mentions légales */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding-bottom: 128px; }
.legal-toc { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.legal-toc a { font-size: 14px; color: var(--text-3); padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.legal-toc a:hover { color: var(--text); }
.legal-toc a.is-active { color: var(--text); border-color: var(--accent); }
.legal .prose { font-size: 15px; }
.legal .prose h2 { font-size: 20px; scroll-margin-top: 96px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; transition: border-color 240ms var(--ease), background-color 240ms var(--ease); }
a.contact-card:hover { border-color: var(--line-strong); background: #171512; }
.contact-card svg { width: 20px; height: 20px; color: var(--accent-ink); margin-bottom: 16px; }
.contact-card h2 { font-size: 13px; font-weight: 500; color: var(--text-3); }
.contact-card p { font-size: 18px; color: var(--text); font-weight: 500; word-break: break-word; }
.contact-card span { font-size: 14px; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .section-head { grid-template-columns: 1fr; gap: 16px; }
    .rdv, .about { grid-template-columns: 1fr; gap: 48px; }
    .about-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-content { grid-template-columns: 64px 1fr; }
    .service-media { grid-column: 2; grid-row: auto; margin-bottom: 24px; }
    .work:nth-child(n) { grid-column: span 6; }
    .work:nth-child(1) { grid-column: span 12; }
    .work:nth-child(2) .work-media { height: auto; aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
    :root { --gutter: 16px; }
    .menu-btn { display: inline-flex; }
    .nav { gap: 12px; }
    .nav-links {
        position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
        background: rgba(12, 10, 9, 0.98); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
        opacity: 0; transform: translateY(-8px); pointer-events: none;
        transition: opacity 200ms var(--ease), transform 200ms var(--ease);
    }
    .nav-links a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
    .nav-links a[aria-current="page"]::after { display: none; }
    .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
    .nav .btn-sm { display: none; }

    .hero { padding: 112px 0 64px; min-height: auto; }
    .hero h1 { font-size: 40px; }
    .hero-sub { font-size: 17px; }
    .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hero-meta strong { font-size: 24px; }
    .hero-meta span { font-size: 12px; line-height: 16px; }
    .section { padding: 96px 0; }
    .section-head { margin-bottom: 40px; }

    .service-head { grid-template-columns: 40px 1fr 40px; gap: 12px; padding: 24px 0; }
    .service-kicker { display: none; }
    .service-content { grid-template-columns: 1fr; }
    .service-content > * { grid-column: 1 !important; }

    .work:nth-child(n) { grid-column: span 12; }
    .work:nth-child(1) .work-media { height: auto; aspect-ratio: 16 / 10; }
    .rail { grid-auto-columns: 85%; }
    .quotes { grid-auto-columns: 88%; }
    .quote { padding: 24px; }

    .clients-inner { flex-direction: column; align-items: stretch; gap: 8px; height: auto; padding: 16px 0; }
    .clients-label { padding: 0 var(--gutter); }

    .footer-cta { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }

    .page-hero { padding: 128px 0 48px; }
    .year { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
    .year-label { position: static; display: flex; align-items: baseline; gap: 12px; }
    .year-label strong { font-size: 32px; }
    .year-label span { margin: 0; }
    .posts { grid-template-columns: 1fr; }
    .legal { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .calendly-inline-widget { height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}
