:root {
    --ink: #141a24;
    --ink-2: #1c2330;
    --ink-3: #2a3240;
    --paper: #f5f6f9;
    --paper-2: #eceef3;
    --white: #ffffff;
    --accent: #a327d7;
    --accent-deep: #7e1bb0;
    --accent-soft: #cb85e5;
    --sky: #01c4fa;
    --sky-light: #8fe0fd;
    --grey: #acacac;
    --brand-grad: linear-gradient(120deg, #a327d7 0%, #c56be6 48%, #01c4fa 100%);
    --muted: #586070;
    --muted-light: #a9afbb;
    --line: rgba(20, 26, 36, 0.14);
    --line-light: rgba(255, 255, 255, 0.16);
    --radius: 18px;
    --radius-lg: 30px;
    --gutter: clamp(16px, 4vw, 56px);
    --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --mono: 'JetBrains Mono', Consolas, monospace;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--ink);
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 {
    font-stretch: 125%;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.15; }

.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.tag {
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 18px;
}
.tag::before { content: '[ '; opacity: 0.6; }
.tag::after { content: ' ]'; opacity: 0.6; }
.tag-light { color: var(--sky-light); }

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
}
.btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent-deep); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* En-tête */
.site-header {
    position: fixed;
    z-index: 50;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 28px));
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 10px 8px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(20, 26, 36, 0.08);
    box-shadow: 0 10px 30px rgba(10, 14, 24, 0.18);
    color: var(--ink);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-logo { width: auto; height: 50px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.site-nav a:hover { background: rgba(163, 39, 215, 0.09); color: var(--accent-deep); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    cursor: pointer;
    position: relative;
}
.menu-toggle span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Hero piloté par le scroll */
.hero-track { position: relative; height: 760vh; background: var(--ink); }
.hero-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(180deg, #1c2a55 0%, #7a5a78 48%, #ff9a5c 74%, #24262b 76%);
}
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.9s ease;
}
#heroCanvas.is-ready { opacity: 1; }
.hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 9, 12, 0.86) 0%, rgba(8, 9, 12, 0.6) 34%, rgba(8, 9, 12, 0) 62%),
        linear-gradient(180deg, rgba(8, 9, 12, 0.32) 0%, rgba(8, 9, 12, 0) 22%);
}
.hero-intro, .hero-outro, .hero-cap { will-change: opacity, transform; }
.hero-intro {
    position: absolute;
    left: var(--gutter);
    bottom: clamp(36px, 8vh, 84px);
    width: min(860px, calc(100% - 2 * var(--gutter)));
}
.hero-intro .tag { color: var(--white); }
.hero-intro h1 {
    font-size: clamp(2.3rem, 5.6vw, 5rem);
    line-height: 0.97;
    margin-bottom: 22px;
    text-wrap: initial;
}
.hero-intro h1 span {
    background: linear-gradient(100deg, #c26cec 0%, #3fd2fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead { max-width: 30em; font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(255, 255, 255, 0.86); margin-bottom: 28px; }
.scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}
.scroll-hint span { position: relative; width: 2px; height: 34px; background: rgba(255, 255, 255, 0.24); overflow: hidden; }
.scroll-hint span::after {
    content: '';
    position: absolute;
    left: 0;
    top: -40%;
    width: 100%;
    height: 40%;
    background: var(--sky);
    animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint { to { top: 110%; } }

.hero-caps { position: absolute; inset: 0; pointer-events: none; }
.hero-cap {
    position: absolute;
    left: var(--gutter);
    bottom: clamp(36px, 8vh, 84px);
    width: min(430px, calc(100% - 2 * var(--gutter)));
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.6s var(--ease);
}
.hero-cap.is-on { opacity: 1; transform: none; }
.hero-cap b { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.78rem; color: var(--sky-light); margin-bottom: 10px; }
.hero-cap h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); margin-bottom: 12px; }
.hero-cap p { color: rgba(255, 255, 255, 0.86); font-size: clamp(1rem, 1.2vw, 1.12rem); }

.hero-hud {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(36px, 8vh, 84px);
    display: flex;
    align-items: flex-end;
    gap: 18px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.hero-hud.is-on { opacity: 1; }
.hud-count { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; text-align: right; }
.hud-count span {
    grid-column: 1 / -1;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sky-light);
}
.hud-count strong {
    font-stretch: 125%;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.hud-count small { font-family: var(--mono); font-size: 0.82rem; opacity: 0.8; }
.hud-rail {
    position: relative;
    width: 3px;
    height: clamp(120px, 24vh, 220px);
    background: rgba(255, 255, 255, 0.24);
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}
.hud-rail > div { position: absolute; inset: 0; background: linear-gradient(0deg, var(--accent), var(--sky)); transform: scaleY(0); transform-origin: bottom; }
.hud-rail i {
    position: relative;
    display: block;
    width: 9px;
    height: 2px;
    margin-left: -3px;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s;
}
.hud-rail i.is-on { background: var(--sky); }

.hero-skip {
    position: absolute;
    right: var(--gutter);
    top: 92px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    background: rgba(13, 14, 16, 0.42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s, opacity 0.3s;
}
.hero-skip i { font-style: normal; margin-left: 4px; }
.hero-skip:hover { background: var(--accent); }
.hero-end .hero-skip { opacity: 0; pointer-events: none; }

.hero-outro {
    position: absolute;
    left: var(--gutter);
    bottom: clamp(36px, 8vh, 84px);
    opacity: 0;
    visibility: hidden;
}
.hero-outro h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 0.95; margin-bottom: 26px; }

/* Sans WebGL ou mouvement réduit : image fixe, pas de scroll bloqué */
.hero-static .hero-track { height: auto; }
.hero-static .hero-stage {
    position: relative;
    height: auto;
    min-height: 100svh;
    background: url('assets/img/final.jpg') center / cover no-repeat;
}
.hero-static #heroCanvas, .hero-static .hero-caps, .hero-static .hero-hud,
.hero-static .hero-skip, .hero-static .hero-outro, .hero-static .scroll-hint { display: none; }

/* Bandeau */
.ticker { overflow: hidden; background: var(--accent); color: var(--white); padding: 15px 0; }
.ticker-row { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker-row span {
    display: inline-flex;
    align-items: center;
    font-stretch: 125%;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ticker-row span::after { content: ''; width: 9px; height: 9px; margin: 0 26px; background: var(--sky-light); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-33.333%); } }

/* À propos */
.about { background: var(--paper); padding: clamp(72px, 10vw, 148px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p:not(.tag) { color: var(--muted); max-width: 34em; margin-bottom: 24px; }
.ticks { display: grid; gap: 10px; margin-bottom: 34px; }
.ticks li { display: flex; gap: 12px; font-weight: 500; }
.ticks li::before { content: '»'; color: var(--accent-deep); font-weight: 800; }
.about-visual { position: relative; }
.about-visual img { width: 100%; aspect-ratio: 5 / 4.6; object-fit: cover; border-radius: var(--radius-lg); }
.notch-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(290px, 66%);
    padding: 22px 0 0 22px;
    background: var(--paper);
    border-top-left-radius: var(--radius-lg);
}
.notch-card .tag { margin-bottom: 8px; display: block; }
.notch-card strong { font-stretch: 112%; font-weight: 700; font-size: 1.12rem; line-height: 1.2; display: block; }

/* Services */
.services { background: var(--paper-2); padding: clamp(72px, 10vw, 140px) 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: clamp(32px, 5vw, 60px);
}
.section-head > div { max-width: 780px; }
.section-head > p { max-width: 24em; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; flex: 1; }
.service-img { position: relative; margin: 0 -22px; }
.service-img img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; transition: transform 0.9s var(--ease); }
.service:hover .service-img img { transform: scale(1.05); }
.round-link {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    background: var(--white);
    border-top-left-radius: 24px;
    font-size: 0;
    text-decoration: none;
}
.round-link::before {
    content: '→';
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 1.15rem;
    transition: background 0.2s, transform 0.3s var(--ease);
}
.round-link:hover::before { background: var(--ink); transform: rotate(-30deg); }

/* Systèmes */
.systems { background: var(--paper-2); padding-bottom: clamp(72px, 10vw, 140px); }
.systems-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 72px);
    padding-block: clamp(36px, 5vw, 72px);
    padding-inline: clamp(22px, 5vw, 72px);
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius-lg);
    width: min(1320px - 2 * var(--gutter), 100% - 2 * var(--gutter));
}
.systems-side h2 { margin-bottom: 20px; }
.systems-side > p:not(.tag) { color: var(--muted-light); margin-bottom: 30px; max-width: 26em; }
.acc-item { border-bottom: 1px solid var(--line-light); }
.acc-item:first-child { border-top: 1px solid var(--line-light); }
.acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 14px 0;
    border: 0;
    background: none;
    color: var(--white);
    text-align: left;
    font-stretch: 112%;
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.28rem);
    cursor: pointer;
}
.acc-head span { font-family: var(--mono); font-stretch: 100%; font-weight: 400; font-size: 0.78rem; color: var(--sky-light); }
.acc-head i { position: relative; margin-left: auto; width: 16px; height: 16px; flex: none; }
.acc-head i::before, .acc-head i::after {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}
.acc-head i::after { transform: rotate(90deg); }
.is-open .acc-head i::after { transform: rotate(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body > div {
    overflow: hidden;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}
.acc-body img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.acc-body p { color: var(--muted-light); margin-bottom: 22px; }

/* Méthode */
.method { background: var(--paper); padding: clamp(72px, 10vw, 140px) 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { position: relative; padding: 26px 24px 8px 0; }
.steps li::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--sky);
    transform: rotate(45deg);
}
.steps span { display: block; font-family: var(--mono); font-size: 0.78rem; color: var(--accent-deep); margin-bottom: 12px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(42px, 6vw, 72px);
}
.sectors li {
    padding: 12px 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-stretch: 112%;
    font-weight: 600;
    font-size: 0.95rem;
}

/* FAQ */
.faq { background: var(--paper); padding-bottom: clamp(72px, 10vw, 140px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 68px;
    padding: 14px 0;
    font-weight: 600;
    font-size: 1.08rem;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--accent-deep); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { color: var(--muted); padding-bottom: 22px; max-width: 38em; }

/* Devis */
.quote { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 140px) 0; }
.quote-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.quote::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8, 9, 12, 0.82) 0%, rgba(8, 9, 12, 0.52) 58%, rgba(8, 9, 12, 0.28) 100%);
}
.quote-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.quote-copy h2 { margin-bottom: 22px; font-size: clamp(2rem, 4.8vw, 4rem); }
.quote-copy > p:not(.tag) { color: rgba(255, 255, 255, 0.86); max-width: 30em; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-list small { display: block; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; color: var(--sky-light); }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.quote-form {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 3vw, 36px);
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius-lg);
}
.quote-form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.quote-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.2s, background 0.2s;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}
.form-note { font-size: 0.84rem; color: var(--muted); min-height: 1.2em; }
.form-note.is-alert { color: var(--accent-deep); font-weight: 600; }

/* Pied de page */
.site-footer { background: #8f21c2; color: var(--white); padding: clamp(52px, 7vw, 84px) 0 30px; border-top: 6px solid var(--sky); }
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 36px clamp(24px, 4vw, 56px);
}
.footer-brand {
    display: block;
    align-self: start;
    width: min(280px, 100%);
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--white);
}
.footer-brand img { width: 100%; height: auto; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 1rem; }
.footer-col h2 { font-size: 0.98rem; font-stretch: 100%; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 10px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col span { padding: 8px 0; }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 32px;
    margin-top: 32px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 40px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    transition: transform 0.25s var(--ease);
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: #8f21c2; }
.footer-about {
    display: grid;
    grid-template-columns: auto minmax(0, 620px);
    gap: 18px clamp(24px, 4vw, 52px);
    align-items: center;
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: clamp(26px, 3vw, 36px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.footer-wordmark { font-stretch: 125%; font-weight: 700; font-size: 1.1rem; line-height: 1; }
.footer-wordmark strong { display: block; font-weight: 800; font-size: clamp(2.3rem, 4vw, 3.2rem); line-height: 1; margin-top: 4px; }
.footer-blurb { font-size: 0.95rem; line-height: 1.4; }
.footer-purpose { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 1.05rem; }
.footer-purpose strong { font-stretch: 112%; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-purpose::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.5); }
.footer-copy { margin-top: 18px; font-size: 0.84rem; }

/* Page À propos */
[hidden] { display: none !important; }
.site-nav a[aria-current='page'] { background: rgba(163, 39, 215, 0.1); color: var(--accent-deep); }

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(92svh, 860px);
    padding: 130px 0 clamp(44px, 7vw, 88px);
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 40%;
    animation: heroDrift 22s ease-out both;
}
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 9, 12, 0.84) 0%, rgba(8, 9, 12, 0.5) 45%, rgba(8, 9, 12, 0.05) 78%),
        linear-gradient(0deg, rgba(8, 9, 12, 0.6) 0%, rgba(8, 9, 12, 0) 45%);
}
.page-hero-copy { position: relative; z-index: 2; }
.page-hero h1 { max-width: 16.5em; font-size: clamp(1.65rem, 3.6vw, 3.1rem); margin-bottom: 20px; }
.page-hero-copy > p { max-width: 34em; font-size: clamp(1rem, 1.35vw, 1.2rem); color: rgba(255, 255, 255, 0.9); }
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 10px;
    margin-bottom: 18px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--sky-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ab-intro { background: var(--paper); padding: clamp(68px, 9vw, 130px) 0; }
.ab-intro-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.ab-intro h2, .ab-excellence h2 { margin-bottom: 22px; }
.ab-lead { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pillar {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.can-reveal .pillar.reveal.is-in:hover, .pillar:hover { background: var(--ink); color: var(--white); }
.pillar svg { width: 38px; height: 38px; margin-bottom: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.pillar h3 { margin-bottom: 10px; font-size: 1.02rem; }
.pillar p { color: var(--muted); font-size: 0.94rem; transition: color 0.3s; }
.pillar:hover p { color: var(--muted-light); }

.ab-excellence { background: var(--paper-2); padding: clamp(68px, 9vw, 130px) 0; }
.ab-excellence-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.notch-card-alt { background: var(--paper-2); }
.defines { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.defines li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.defines span { flex: none; width: 30px; padding-top: 2px; font-family: var(--mono); font-size: 0.78rem; color: var(--accent-deep); }
.defines h3 { margin-bottom: 6px; }
.defines p { color: var(--muted); font-size: 0.96rem; }

.ab-cta { background: var(--paper-2); padding-bottom: clamp(68px, 9vw, 130px); }
.ab-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px clamp(28px, 5vw, 64px);
    align-items: center;
    padding-block: clamp(32px, 5vw, 60px);
    padding-inline: clamp(22px, 5vw, 60px);
    width: min(1320px - 2 * var(--gutter), 100% - 2 * var(--gutter));
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: var(--white);
}
.ab-cta-panel h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 14px; }
.ab-cta-panel p { font-size: 1.05rem; }
.cta-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cta-tiles a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 136px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--ink);
    text-decoration: none;
    font-stretch: 112%;
    font-weight: 600;
    font-size: 1.04rem;
    line-height: 1.2;
    transition: background 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.cta-tiles small { font-stretch: 100%; font-weight: 400; font-size: 0.82rem; opacity: 0.8; margin-bottom: 2px; }
.cta-tiles i { position: absolute; top: 14px; right: 16px; font-style: normal; font-size: 1.15rem; transition: transform 0.3s var(--ease); }
.cta-tiles a:hover { background: var(--white); color: var(--ink); transform: translateY(-3px); }
.cta-tiles a:hover i { transform: translateX(3px); }

.trust { position: relative; overflow: hidden; background: var(--ink); padding: clamp(68px, 9vw, 120px) 0; }
.trust-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.trust .wrap { position: relative; }
.trust-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px clamp(28px, 5vw, 64px);
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--radius);
    background: rgba(13, 14, 16, 0.76);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: var(--white);
}
.trust-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-bottom: 18px; text-transform: none; }
.trust-head p { font-size: clamp(1.08rem, 1.7vw, 1.5rem); line-height: 1.32; max-width: 20em; }
.trust-slider { position: relative; padding-top: 30px; }
.trust-slider::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 18px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.trust-slider.is-testimonials::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 7c-3.300.800-5.500 3.500-5.500 7a3 3 0 106-.300c0-1.500-1-2.700-2.500-2.900.3-1 1-1.800 2.300-2.200L10 7Zm9 0c-3.300.800-5.500 3.500-5.500 7a3 3 0 106-.300c0-1.500-1-2.700-2.500-2.900.3-1 1-1.800 2.300-2.200L19 7Z'/%3E%3C/svg%3E");
}
.trust-slides { display: grid; gap: 12px; }
.trust-slides.can-slide { gap: 0; }
.trust-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 48px 26px 24px;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
}
.can-slide .trust-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.6s var(--ease), visibility 0.5s;
}
.can-slide .trust-slide.is-on { opacity: 1; visibility: visible; transform: none; }
.trust-slide blockquote { margin: 0; font-size: 1.08rem; line-height: 1.42; }
.trust-slide figcaption strong { display: block; font-weight: 600; font-size: 1.14rem; color: var(--accent-deep); }
.trust-slide figcaption span { display: block; font-size: 0.94rem; color: var(--muted); }
.trust-dots { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.trust-dots button {
    width: 28px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.trust-dots button::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    transition: background 0.25s;
}
.trust-dots button[aria-current='true']::before, .trust-dots button:hover::before { background: var(--white); }

/* Grands ouvrages */
.works { background: var(--paper-2); padding-bottom: clamp(72px, 10vw, 140px); }
.works-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.work {
    position: relative;
    grid-column: span 2;
    aspect-ratio: 4 / 3.3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}
.work-wide { grid-column: span 4; aspect-ratio: auto; }
.work-wide + .work { grid-column: span 2; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 9, 12, 0.88) 0%, rgba(8, 9, 12, 0.42) 34%, rgba(8, 9, 12, 0) 62%);
}
.work figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.work h3 { font-size: clamp(1.05rem, 1.7vw, 1.4rem); margin-bottom: 6px; }
.work p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.88); }
.works-grid-3 .work { grid-column: span 2; }
.works-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 28px; margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
.works-foot > p { padding: 10px 0; }
.credits summary { display: flex; align-items: center; min-height: 40px; color: var(--ink); font-weight: 600; cursor: pointer; }
.credits summary::before { content: '+'; width: 16px; color: var(--accent-deep); font-weight: 700; }
.credits[open] summary::before { content: '–'; }
.credits ul { display: grid; gap: 4px; padding-bottom: 8px; max-width: 42em; }
.credits a { color: var(--ink); text-underline-offset: 2px; }

/* Badge "Since 2009" */
.since-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 18px);
    width: fit-content;
    max-width: 100%;
    margin-top: 32px;
    padding: 20px clamp(16px, 3vw, 30px) 18px;
    border-radius: var(--radius);
    background: var(--white);
}
.since-laurel { flex: none; width: clamp(34px, 5vw, 52px); height: auto; }
.since-laurel-r { transform: scaleX(-1); }
.since-badge p { display: flex; flex-direction: column; align-items: center; text-align: center; }
.since-top { font-stretch: 112%; font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.since-badge strong {
    font-stretch: 112%;
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #6a0dbf 0%, #2c1fd2 55%, #0bc0f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.since-sub {
    margin-top: 6px;
    font-stretch: 100%;
    font-weight: 800;
    font-size: clamp(0.78rem, 1.15vw, 0.95rem);
    line-height: 1.15;
    text-transform: uppercase;
}
.since-sub::after {
    content: '';
    display: block;
    width: 72%;
    height: 5px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #6a0dbf, #2c1fd2 55%, #0bc0f5);
}

/* Apparitions */
.can-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.service-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.service-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Adaptation */
@media (max-width: 1080px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-img img { aspect-ratio: 16 / 11; }
    .site-nav a { padding: 8px 10px; }
}
@media (max-width: 860px) {
    html { scroll-padding-top: 84px; }
    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 10px;
        border-radius: 24px;
        background: var(--white);
        border: 1px solid rgba(20, 26, 36, 0.08);
        box-shadow: 0 16px 36px rgba(10, 14, 24, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav a { padding: 14px 16px; font-size: 1.05rem; }
    .menu-toggle { display: block; }
    .site-header { gap: 8px; padding-left: 16px; }
    .about-grid, .systems-panel, .faq-grid, .quote-grid { grid-template-columns: minmax(0, 1fr); }
    .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; border-top: 0; }
    .steps li { border-top: 2px solid var(--ink); }
    .hero-scrim {
        background:
            linear-gradient(180deg, rgba(8, 9, 12, 0.35) 0%, rgba(8, 9, 12, 0) 26%),
            linear-gradient(0deg, rgba(8, 9, 12, 0.88) 0%, rgba(8, 9, 12, 0.5) 34%, rgba(8, 9, 12, 0) 62%);
    }
    .hero-hud { bottom: auto; top: 92px; right: auto; left: var(--gutter); flex-direction: row-reverse; }
    .hud-count { text-align: left; }
    .hud-rail { height: 76px; }
    .hud-count strong { font-size: 2.6rem; }
    .quote::before { background: rgba(8, 9, 12, 0.66); }
    .ab-intro-grid, .ab-excellence-grid, .ab-cta-panel, .trust-panel { grid-template-columns: minmax(0, 1fr); }
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work, .work-wide, .work-wide + .work, .works-grid-3 .work { grid-column: span 1; aspect-ratio: 4 / 3.3; }
    .work-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .page-hero::before {
        background: linear-gradient(0deg, rgba(8, 9, 12, 0.9) 0%, rgba(8, 9, 12, 0.62) 50%, rgba(8, 9, 12, 0.15) 100%);
    }
}
@media (max-width: 560px) {
    .pillars, .cta-tiles, .works-grid { grid-template-columns: minmax(0, 1fr); }
    .work, .work-wide, .work-wide + .work, .works-grid-3 .work { grid-column: auto; aspect-ratio: 4 / 3.2; }
    .cta-tiles a { min-height: 96px; }
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .footer-about { grid-template-columns: minmax(0, 1fr); }
    .trust-slide { padding: 46px 20px 20px; }
    body { font-size: 16px; }
    .brand-logo { height: 40px; }
    .header-cta { padding: 0 14px; font-size: 0.82rem; }
    .service-grid { grid-template-columns: minmax(0, 1fr); }
    .acc-body > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .hero-track { height: 680vh; }
    .hero-actions .btn, .hero-outro .btn { width: 100%; }
    .hero-outro { right: var(--gutter); }
    .hero-skip { top: auto; bottom: auto; top: 92px; right: 16px; }
}
@media (max-width: 360px) {
    h2 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ticker-row, .scroll-hint span::after, .page-hero-bg { animation: none; }
    .reveal, .btn, .hero-cap, .acc-body, .can-slide .trust-slide, .work img { transition: none; }
}
