/* ==========================================================================
   OK Agency — Design system
   Vert profond, or, blanc. Titres serrés, accents en serif italique,
   apparitions floutées, profondeur douce.
   ========================================================================== */

:root {
    --green-975: #04100a;
    --green-950: #071c12;
    --green-900: #0f3322;
    --green-800: #18543a;
    --green-650: #237a4e;
    --leaf: #86d412;
    --gold: #d7b233;
    --gold-soft: #f1dc8c;
    --gold-strong: #9c7a14;
    --ink: #0e1a12;
    --muted: #56625a;
    --line: rgba(7, 28, 18, 0.09);
    --paper: #ffffff;
    --canvas: #fbfcfa;
    --soft: #f3f6f1;
    --tile: #eef2ec;

    --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(7, 28, 18, 0.05), 0 4px 12px rgba(7, 28, 18, 0.04);
    --shadow: 0 1px 2px rgba(7, 28, 18, 0.04), 0 12px 32px -12px rgba(7, 28, 18, 0.16);
    --shadow-lg: 0 2px 4px rgba(7, 28, 18, 0.04), 0 32px 64px -24px rgba(7, 28, 18, 0.28);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --max: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    background: var(--gold-soft);
    color: var(--green-950);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

.shell.narrow {
    width: min(780px, calc(100% - 32px));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 60;
    padding: 12px 18px;
    border-radius: 0 0 12px 0;
    background: var(--green-900);
    color: white;
}

.skip-link:focus {
    left: 0;
}

/* Lignes de cadre en pointillés, sur grand écran */
@media (min-width: 1280px) {
    body::before,
    body::after {
        content: "";
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 0;
        width: 0;
        border-left: 1px dashed rgba(7, 28, 18, 0.08);
        pointer-events: none;
    }

    body::before {
        left: calc(50% - var(--max) / 2 - 32px);
    }

    body::after {
        right: calc(50% - var(--max) / 2 - 32px);
    }
}

/* ---------- Typographie ---------- */

h1,
h2,
h3,
.display {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    text-wrap: balance;
}

h1 {
    max-width: 16ch;
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

h2 {
    color: var(--green-950);
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

h3 {
    color: var(--green-950);
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--green-650);
    padding-right: 0.04em;
}

.hero .accent,
.section.dark .accent {
    color: var(--gold);
}

.lead {
    max-width: 60ch;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.7vw, 1.22rem);
    line-height: 1.6;
    text-wrap: pretty;
}

.lead.dark {
    color: var(--muted);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--gold-soft);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.section:not(.dark) .kicker,
.form-card .kicker {
    color: var(--green-650);
}

.sub-head {
    margin: 56px 0 20px;
    font-size: 1.1rem;
    color: var(--green-900);
    text-align: center;
}

.number {
    display: inline-block;
    color: var(--gold-strong);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--green-800);
    font-size: 0.92rem;
    font-weight: 600;
}

.link-more::after {
    content: "→";
    transition: transform 0.3s var(--ease);
}

a:hover .link-more::after {
    transform: translateX(4px);
}

/* ---------- En-tête ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 252, 250, 0.72);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    box-shadow: var(--shadow-sm);
}

.brand span {
    display: grid;
    line-height: 1.1;
}

.brand small {
    color: var(--gold-strong);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--green-900);
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-links a:hover {
    background: var(--tile);
}

.nav-links a[aria-current="page"] {
    background: var(--green-900);
    color: white;
}

/* ---------- Boutons ---------- */

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0) scale(0.98);
}

/* Reflet qui traverse le bouton au survol */
.button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease);
}

.button:hover::before {
    transform: translateX(120%);
}

.button.primary {
    background: linear-gradient(180deg, #e5c24a, var(--gold));
    color: var(--green-975);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 28px -10px rgba(215, 178, 51, 0.85);
}

.button.primary:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 16px 40px -10px rgba(215, 178, 51, 0.95);
}

.button.primary::after {
    content: "→";
    transition: transform 0.35s var(--ease);
}

.button.primary:hover::after {
    transform: translateX(3px);
}

.button.dark {
    background: linear-gradient(180deg, #1a4a33, var(--green-900));
    color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 26px -12px rgba(15, 51, 34, 0.9);
}

.button.dark:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 36px -12px rgba(15, 51, 34, 0.95);
}

.button.light {
    border-color: var(--line);
    background: var(--paper);
    color: var(--green-900);
    box-shadow: var(--shadow-sm);
}

.hero .button.light,
.section.dark .button.light {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: white;
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.section-head + .actions,
.grid + .actions,
.journey + .actions,
.terms-accordion + .actions,
.timeline + .actions,
.projects + .actions,
.highlights + .actions,
.terms-hint + .actions,
.case-grid + .actions,
.faq-list + .actions,
.terms-grid + .actions,
.notice + .actions {
    justify-content: center;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--green-975);
    color: white;
    isolation: isolate;
}

/* Fond du hero : un vert profond tenu, creusé par une seule masse plus claire
   côté visuel. Pas de lueurs multicolores qui dérivent. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(62% 78% at 78% 42%, var(--green-800), transparent 68%),
        linear-gradient(168deg, var(--green-950), var(--green-975) 72%);
}

/* Vignette : les bords se ferment, le centre reste ouvert */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(120% 90% at 50% 40%, transparent 42%, rgba(2, 9, 5, 0.62));
    pointer-events: none;
}

.hero-inner,
.split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
}

/* Sur l'accueil, la machine prend plus de place que le texte. */
.hero-inner {
    min-height: calc(100svh - 72px);
    padding-block: clamp(64px, 9vw, 120px);
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.page-hero {
    padding-block: clamp(80px, 11vw, 150px) clamp(64px, 8vw, 110px);
}

.page-hero h1 {
    max-width: 16ch;
}

.page-hero .shell.narrow h1,
.page-hero .shell:not(.split) > h1 {
    max-width: 18ch;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.trust-strip li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-strip li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* Composition visuelle du hero */
.hero-visual {
    position: relative;
    min-height: 460px;
    perspective: 1400px;
}

.hero-visual .browser {
    transform: rotateY(-10deg) rotateX(4deg);
    transform-origin: left center;
    transition: transform 1.2s var(--ease);
}

.hero-visual:hover .browser {
    transform: rotateY(-4deg) rotateX(2deg);
}

/* ---------- Plateau 3D du hero ---------- */

.stage {
    position: relative;
    z-index: 1;
    aspect-ratio: 5 / 4;
    /* La scene deborde du conteneur : la machine doit dominer le hero. */
    width: calc(100% + clamp(20px, 6vw, 110px));
    margin-right: calc(clamp(20px, 6vw, 110px) * -1);
    isolation: isolate;
}

/* Source chaude derriere la machine : une seule lumiere, pas un degrade decoratif */
.stage-key {
    position: absolute;
    inset: 10% 6% 22%;
    z-index: -2;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 45%, rgba(215, 178, 51, 0.5), rgba(215, 178, 51, 0.12) 45%, transparent 72%);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}

/* Sol en fuite : la profondeur vient de la perspective, pas d'une trame plate */
.stage-floor {
    position: absolute;
    inset: 52% -30% -14%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(215, 178, 51, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(215, 178, 51, 0.16) 1px, transparent 1px);
    background-size: 68px 68px;
    transform: perspective(520px) rotateX(64deg);
    transform-origin: top center;
    -webkit-mask-image: radial-gradient(60% 75% at 50% 0%, black, transparent 78%);
    mask-image: radial-gradient(60% 75% at 50% 0%, black, transparent 78%);
    opacity: 0;
    transition: opacity 1.6s var(--ease);
}

/* Image de repli : occupe la scène tant que la 3D n'est pas là, ou jamais
   (JavaScript coupé, WebGL indisponible, connexion lente). */
.stage-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88%;
    transform: translate(-50%, -50%) perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transition: opacity 0.8s var(--ease);
}

.stage.is-ready .stage-fallback {
    opacity: 0;
    pointer-events: none;
}

.stage-model {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: grab;
    --progress-bar-color: var(--gold);
    --progress-mask: transparent;
    opacity: 0;
    transition: opacity 1s var(--ease);
}

.stage.is-held .stage-model {
    cursor: grabbing;
}

.stage.is-ready .stage-model,
.stage.is-ready .stage-key,
.stage.is-ready .stage-floor {
    opacity: 1;
}

.stage-model:not(:defined) {
    display: block;
}

@media (max-width: 900px) {
    .stage {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage-model,
    .stage-key,
    .stage-floor {
        transition: none;
    }
}

/* Cadre navigateur pour les captures */
.browser {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: #0c1510;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.section:not(.dark) .browser {
    border-color: var(--line);
    background: white;
    box-shadow: var(--shadow-lg);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.section:not(.dark) .browser-bar {
    border-bottom-color: var(--line);
    background: var(--soft);
}

.browser-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.section:not(.dark) .browser-bar i {
    background: rgba(7, 28, 18, 0.15);
}

.browser-bar span {
    margin-left: 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
}

.section:not(.dark) .browser-bar span {
    background: white;
    color: var(--muted);
}

.browser img {
    width: 100%;
    aspect-ratio: 1600 / 790;
    object-fit: cover;
    object-position: top;
}

/* ---------- Bandeau défilant ---------- */

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 22px;
    border-block: 1px solid var(--line);
    background: var(--paper);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    color: var(--green-900);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.marquee-track span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.marquee-track em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--green-650);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
    position: relative;
    padding-block: clamp(80px, 11vw, 140px);
}

.section.soft {
    background: var(--soft);
}

.section.dark {
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(35, 122, 78, 0.45), transparent 70%),
        var(--green-975);
    color: white;
    isolation: isolate;
}

.section.dark h2,
.section.dark h3 {
    color: white;
}

.section-head {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 780px;
    margin: 0 auto clamp(40px, 6vw, 72px);
    text-align: center;
}

.section-head .kicker {
    margin: 0;
}

.section-head p {
    max-width: 58ch;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.section.dark .section-head p {
    color: rgba(255, 255, 255, 0.72);
}

/* ---------- Cartes ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.grid.tight {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.faq-item,
.project-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 28px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s ease;
}

/* Halo qui suit le pointeur */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -40%), rgba(215, 178, 51, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-link:hover,
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 28, 18, 0.14);
    box-shadow: var(--shadow);
}

.card p,
.faq-item p {
    margin: 0;
    color: var(--muted);
}

.card h3 + p {
    margin-top: -6px;
}

.card-link {
    min-height: 240px;
    align-content: space-between;
}

.section.soft .card,
.section.soft .case-block {
    background: var(--paper);
}

.project-card {
    padding: 18px;
    color: var(--ink);
}

.hero-panel,
.dark-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}

.dark-panel h3 {
    color: white;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.tag {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--soft);
    color: var(--green-900);
    font-size: 0.82rem;
    font-weight: 500;
}

.dark .tag,
.hero .tag,
.dark-panel .tag {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-soft);
}

.clean-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.clean-list li {
    position: relative;
    padding-left: 30px;
}

.clean-list li::before,
.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23237a4e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
        var(--tile);
}

.hero .clean-list,
.section.dark .clean-list,
.dark-panel .clean-list {
    color: rgba(255, 255, 255, 0.86);
}

.hero .clean-list li::before,
.section.dark .clean-list li::before,
.dark-panel .clean-list li::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23f1dc8c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
        rgba(255, 255, 255, 0.1);
}

.card-text {
    margin-top: 10px !important;
}

/* Carte sombre, pour les appels a l'action au milieu d'une grille */
.card.inverse {
    border-color: transparent;
    background:
        radial-gradient(80% 70% at 100% 100%, rgba(215, 178, 51, 0.25), transparent 70%),
        var(--green-975);
}

.card.inverse h3 {
    color: white;
}

.card.inverse .accent {
    color: var(--gold);
}

.card.inverse p {
    color: rgba(255, 255, 255, 0.7);
}

.card.inverse .number {
    background: rgba(215, 178, 51, 0.16);
    color: var(--gold-soft);
}

.card.inverse .link-more {
    color: var(--gold-soft);
}

.article-cta .accent {
    color: var(--gold);
}

.article-cta .kicker {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
}

.article-cta .button.light {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: white;
    box-shadow: none;
}

.actions.start {
    justify-content: flex-start !important;
}

/* ---------- Étude de cas ---------- */

.case-showcase {
    position: relative;
    margin-bottom: clamp(32px, 5vw, 56px);
    padding-bottom: 8%;
}

.case-showcase .browser.main {
    width: 86%;
}

.case-showcase .browser.overlap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    transform: rotate(2deg);
    transition: transform 0.8s var(--ease);
}

.case-showcase:hover .browser.overlap {
    transform: rotate(0deg) translateY(-8px);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-block {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.case-block h3 {
    margin: 0 0 14px;
}

.case-block p {
    margin: 0;
    color: var(--muted);
}

.gallery {
    display: grid;
    gap: clamp(40px, 6vw, 72px);
}

.gallery figure {
    margin: 0;
}

.gallery figcaption {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.14);
}

.facts div {
    padding: 16px 18px;
    background: rgba(7, 28, 18, 0.6);
}

/* ---------- Offres (plans) ---------- */

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 30px 28px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

.plan:hover {
    border-color: rgba(7, 28, 18, 0.18);
    box-shadow: var(--shadow);
}

/* Les formules se distinguent par la profondeur, pas par un bandeau de couleur.
   Une masse teintee incrustee dans le coin, et un lisere interieur. */
.plan {
    overflow: hidden;
    border-radius: 22px;
    transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

.plan::before {
    content: "";
    position: absolute;
    right: -18%;
    top: -28%;
    z-index: 0;
    width: 86%;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(44px);
    opacity: 0.9;
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.plan > * {
    position: relative;
    z-index: 1;
}

.plan.tone-1::before { background: radial-gradient(circle, rgba(35, 122, 78, 0.42), transparent 66%); }
.plan.tone-2::before { background: radial-gradient(circle, rgba(215, 178, 51, 0.52), transparent 66%); }
.plan.tone-3::before { background: radial-gradient(circle, rgba(15, 51, 34, 0.34), transparent 66%); }

.plan:hover {
    transform: translateY(-4px);
}

.plan:hover::before {
    opacity: 0.8;
    transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
    .plan,
    .plan::before {
        transition: none;
    }

    .plan:hover {
        transform: none;
    }
}

.plan header {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.plan h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 10px 0 0;
    color: var(--green-975);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.6vw, 2.9rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
}

.price small {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
}

.plan ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #2a352d;
    font-size: 0.95rem;
}

.plan li {
    position: relative;
    padding-left: 30px;
}

.plan .button {
    width: 100%;
    margin-top: auto;
}

.plan.featured {
    border: 2px solid var(--green-800);
    padding-top: 44px;
    box-shadow: var(--shadow);
}

.plan-flag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 7px 0;
    border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
    background: var(--green-800);
    color: white;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.plan.featured h3 {
    color: var(--green-800);
}

.offer-teasers .price {
    padding-bottom: 0;
    border: 0;
    font-size: 1.9rem;
}

.offer-teasers .price small {
    font-size: 0.85rem;
}

.terms-hint {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

.terms-hint a,
.legal-body a,
.footer-legal a {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

.notice {
    position: relative;
    margin: 26px auto 0;
    padding: 18px 22px 18px 52px;
    border: 1px solid rgba(215, 178, 51, 0.38);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(215, 178, 51, 0.12), rgba(215, 178, 51, 0.03));
    color: var(--green-950);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Le point d'information remplace le filet lateral */
.notice::before {
    content: "i";
    position: absolute;
    left: 20px;
    top: 19px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-strong);
    color: white;
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1;
}

/* ---------- Méthode ---------- */

.process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    counter-reset: step;
}

.process .card {
    min-height: 230px;
    align-content: start;
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: none;
    color: white;
}

.process .card h3 {
    color: white;
    font-size: 1.12rem;
}

.process .card p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.93rem;
}

.process .number,
.section.dark .number {
    background: rgba(215, 178, 51, 0.14);
    color: var(--gold-soft);
}

.process .card::before {
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -40%), rgba(215, 178, 51, 0.18), transparent 60%);
}

/* ---------- Témoignages et chiffres ---------- */

.testimonial {
    display: grid;
    margin: 0;
}

.testimonial blockquote {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.35;
}

.testimonial figcaption {
    color: var(--muted);
    font-weight: 500;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    text-align: center;
}

.stat strong {
    display: block;
    color: var(--green-900);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.05em;
}

.stat span {
    color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list {
    display: grid;
    gap: 10px;
}

details.faq-item {
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

details.faq-item[open] {
    border-color: rgba(7, 28, 18, 0.16);
    box-shadow: var(--shadow);
}

details.faq-item summary {
    position: relative;
    padding: 22px 60px 22px 24px;
    cursor: pointer;
    list-style: none;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    border-radius: 50%;
    background:
        linear-gradient(var(--green-800), var(--green-800)) center / 10px 1.6px no-repeat,
        linear-gradient(var(--green-800), var(--green-800)) center / 1.6px 10px no-repeat,
        var(--tile);
    transition: transform 0.4s var(--ease);
}

details.faq-item[open] summary::after {
    transform: rotate(135deg);
}

details.faq-item p {
    margin: 0;
    padding: 0 24px 24px;
    animation: fade-up 0.5s var(--ease);
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(-6px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Formulaires ---------- */

.form-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}

.hero .form-card {
    border-color: rgba(255, 255, 255, 0.2);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(7, 28, 18, 0.12);
    border-radius: 14px;
    background: var(--canvas);
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green-650);
    background: white;
    box-shadow: 0 0 0 4px rgba(35, 122, 78, 0.12);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.error {
    color: #a3261f;
    font-size: 0.9rem;
}

.field-help {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.form-error {
    margin: 0;
    font-weight: 600;
}

.quote-form {
    display: grid;
    gap: 22px;
}

.quote-progress {
    display: grid;
    gap: 10px;
}

.quote-progress p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.quote-progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--tile);
}

.quote-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-650), var(--gold));
    transition: width 0.6s var(--ease);
}

.quote-step {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    animation: step-in 0.55s var(--ease);
}

@keyframes step-in {
    from { opacity: 0; transform: translateX(14px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

.quote-step legend {
    padding: 0;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.quote-legal {
    font-size: 0.82rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid rgba(7, 28, 18, 0.1);
    border-radius: 8px;
    background: var(--canvas);
    font-size: 0.94rem;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.choice span::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(7, 28, 18, 0.25);
    border-radius: 50%;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.choice:hover span {
    border-color: rgba(35, 122, 78, 0.5);
    background: white;
}

.choice input:focus-visible + span {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.choice input:checked + span {
    border-color: var(--green-800);
    background: #f0f6f1;
    color: var(--green-950);
    box-shadow: 0 0 0 3px rgba(35, 122, 78, 0.1);
}

.choice input:checked + span::before {
    border: 5px solid var(--green-800);
}

.choice input:active + span {
    transform: scale(0.98);
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.table-list {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.table-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.table-list div:last-child {
    border-bottom: 0;
}

.table-list span {
    color: var(--muted);
}

.table-list strong {
    font-weight: 600;
    text-align: right;
}

.recap {
    margin-top: 34px;
    max-width: 560px;
}

.cta-final {
    background:
        radial-gradient(50% 60% at 0% 100%, rgba(215, 178, 51, 0.14), transparent 70%),
        radial-gradient(50% 60% at 100% 0%, rgba(134, 212, 18, 0.1), transparent 70%),
        var(--soft);
}

.cta-final .split h2 {
    text-align: left;
}

.stack {
    display: grid;
    gap: 18px;
}

/* ---------- Pages légales et conditions ---------- */

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.legal-body h2 {
    margin: 48px 0 14px;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    letter-spacing: -0.035em;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body p {
    margin: 0 0 14px;
    color: #2e3a32;
}

.legal-body .clean-list {
    margin-bottom: 14px;
}

/* ---------- Blog ---------- */

.post-card {
    min-height: 280px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 0.85rem;
}

.hero .post-meta {
    color: rgba(255, 255, 255, 0.66);
}

.post-meta .tag {
    color: var(--green-900);
}

.post-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.post-card.featured-post {
    grid-column: 1 / -1;
    min-height: 0;
    padding: clamp(28px, 4vw, 48px);
    background:
        radial-gradient(60% 90% at 100% 100%, rgba(215, 178, 51, 0.22), transparent 70%),
        linear-gradient(160deg, var(--green-975), var(--green-900));
    border-color: transparent;
    color: white;
}

.post-card.featured-post h3 {
    max-width: 22ch;
    color: white;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    letter-spacing: -0.04em;
}

.post-card.featured-post p,
.post-card.featured-post .post-meta {
    color: rgba(255, 255, 255, 0.72);
}

.post-card.featured-post .link-more {
    color: var(--gold-soft);
}

.article-body {
    color: #25302a;
    font-size: 1.1rem;
    line-height: 1.75;
}

.article-body > * + * {
    margin-top: 1.1em;
}

.article-body > p:first-child {
    color: var(--green-950);
    font-size: 1.28rem;
    line-height: 1.6;
}

.article-body h2 {
    margin-top: 2.2em;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.04em;
    scroll-margin-top: 100px;
}

.article-body h3 {
    margin-top: 1.8em;
    font-size: 1.3rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.2em;
}

.article-body li + li {
    margin-top: 0.45em;
}

.article-body li::marker {
    color: var(--gold-strong);
}

.article-body strong {
    color: var(--green-950);
    font-weight: 600;
}

.article-body em {
    font-family: var(--font-serif);
    font-size: 1.1em;
}

.article-body table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.98rem;
}

.article-body th,
.article-body td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: var(--soft);
    color: var(--green-900);
    font-weight: 600;
}

.article-body tr:last-child td {
    border-bottom: 0;
}

.article-body blockquote {
    margin-inline: 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--gold);
    font-family: var(--font-serif);
    font-size: 1.3rem;
}

.article-cta {
    margin-top: 64px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(215, 178, 51, 0.25), transparent 70%),
        linear-gradient(160deg, var(--green-975), var(--green-900));
    color: white;
}

.article-cta h2 {
    color: white;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.article-cta p {
    color: rgba(255, 255, 255, 0.75);
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--green-650), var(--gold));
    transform-origin: left;
    transform: scaleX(var(--progress, 0));
}

/* ---------- Pied de page ---------- */

.footer {
    position: relative;
    overflow: hidden;
    padding-block: 72px 40px;
    background: var(--green-975);
    color: white;
}

.footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -240px;
    width: 800px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(35, 122, 78, 0.5), transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(150px, 1fr));
    gap: 32px;
}

.footer a,
.footer p {
    color: rgba(255, 255, 255, 0.66);
    transition: color 0.2s ease;
}

.footer a:hover {
    color: white;
}

.footer h3 {
    color: white;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.footer .brand span {
    color: white;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.93rem;
}

.footer-legal {
    font-size: 0.86rem;
}

.footer-slogan {
    position: relative;
    margin: 56px 0 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 5.4rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.055em;
}

.footer-slogan .accent {
    color: var(--gold);
}

/* ---------- WhatsApp et flou de bord ---------- */

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 45;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    box-shadow: 0 10px 24px -8px rgba(7, 28, 18, 0.45);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp:hover,
.whatsapp:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px rgba(7, 28, 18, 0.55);
}

.whatsapp-label {
    position: absolute;
    right: calc(100% + 12px);
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--green-975);
    color: white;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp:hover .whatsapp-label,
.whatsapp:focus-visible .whatsapp-label {
    opacity: 1;
    transform: none;
}

/* Flou progressif en bas de l'écran */
.edge-blur {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    height: 72px;
    pointer-events: none;
}

.edge-blur i {
    position: absolute;
    inset: 0;
}

.edge-blur i:nth-child(1) {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
}

.edge-blur i:nth-child(2) {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 30%, black 70%);
    mask-image: linear-gradient(to bottom, transparent 30%, black 70%);
}

.edge-blur i:nth-child(3) {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 60%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 60%, black 100%);
}

/* ---------- Apparitions au défilement ---------- */

.js [data-reveal] {
    opacity: 0;
    filter: blur(14px);
    transform: translate3d(0, 26px, 0);
    transition:
        opacity 1s var(--ease),
        filter 1s var(--ease),
        transform 1s var(--ease);
    transition-delay: var(--d, 0s);
    will-change: opacity, filter, transform;
}

.js [data-reveal].is-in {
    opacity: 1;
    filter: blur(0);
    transform: none;
}

/* La formule mise en avant apparait directement a sa hauteur surelevee */
/* Mots du titre principal */
.js [data-split] .word {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(0, 0.35em, 0);
    animation: word-in 1.1s var(--ease) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes word-in {
    to {
        opacity: 1;
        filter: blur(0);
        transform: none;
    }
}

/* ---------- Adaptations ---------- */

@media (max-width: 1080px) {
    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

}

@media (max-width: 900px) {
    .split,
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: 0;
    }

    .hero-visual {
        min-height: 0;
        margin-top: 10px;
    }

    .hero-visual .browser {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .cta-final .split h2 {
        text-align: left;
    }
}

@media (max-width: 720px) {

    .nav {
        min-height: 64px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand small {
        display: none;
    }

    .nav .button {
        min-height: 42px;
        padding: 0 16px;
        font-size: 0.86rem;
    }

    h1 {
        font-size: clamp(2.6rem, 12vw, 3.6rem);
    }

    .process {
        grid-template-columns: 1fr;
    }

    .process .card {
        min-height: 0;
    }

    .field-grid,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .quote-actions .button,
    .hero-actions .button {
        flex: 1 1 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .float-chip.two {
        left: 0;
    }

    .float-chip.one {
        right: 0;
    }

    .case-showcase .browser.main {
        width: 100%;
    }

    .case-showcase .browser.overlap {
        position: relative;
        width: 80%;
        margin: -12% 0 0 auto;
    }

    .case-showcase {
        padding-bottom: 0;
    }

    .whatsapp {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-label {
        display: none;
    }

    .edge-blur {
        height: 96px;
    }

    .card {
        padding: 24px;
    }
}

@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;
    }

    .js [data-reveal],
    .js [data-split] .word {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .hero::before,
    .plan.featured::before,
    .marquee-track {
        animation: none;
    }
}

/* ==========================================================================
   Phase de finition : navigation mobile, consentement, accueil, portfolio
   ========================================================================== */

/* ---------- Navigation ---------- */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-mobile-cta,
.menu-toggle {
    display: none;
}

.menu-toggle {
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 1.8px;
    margin-left: -9px;
    border-radius: 2px;
    background: var(--green-950);
    transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-toggle i {
    top: 50%;
}

.menu-toggle i::before,
.menu-toggle i::after {
    content: "";
    left: 0;
    margin-left: 0;
}

.menu-toggle i::before {
    transform: translateY(-6px);
}

.menu-toggle i::after {
    transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] i {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] i::before {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::after {
    transform: rotate(-45deg);
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        z-index: 39;
        display: grid;
        gap: 2px;
        padding: 10px;
        border-radius: 22px;
        background: var(--paper);
        box-shadow: var(--shadow-lg);
        font-size: 1.05rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.35s var(--ease), visibility 0s linear 0.35s;
    }

    .nav-links a {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .menu-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.25s ease, transform 0.35s var(--ease);
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 6px;
        background: var(--leaf);
        color: var(--green-975);
        font-weight: 600;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .nav-links {
        top: 64px;
    }

    .nav-actions .button {
        display: none;
    }
}

/* ---------- Consentement ---------- */

.consent {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 60;
    display: grid;
    gap: 14px;
    max-width: 420px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    font-size: 0.92rem;
    animation: fade-up 0.5s var(--ease);
}

.consent p {
    margin: 0;
    color: var(--muted);
}

.consent a {
    color: var(--green-800);
    text-decoration: underline;
}

.consent div {
    display: flex;
    gap: 8px;
}

.consent .button {
    flex: 1;
    min-height: 44px;
}

@media (max-width: 720px) {
    .consent {
        right: 16px;
        bottom: 88px;
    }
}

/* ---------- Accueil ---------- */

.hero-services {
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.hero-services a {
    color: white;
    border-bottom: 1px solid rgba(215, 178, 51, 0.5);
}

.hero-services a:hover {
    border-color: var(--gold);
}

.hero-visual.stacked {
    padding-bottom: 14%;
}

.hero-visual.stacked .browser.main {
    width: 92%;
}

.hero-visual.stacked .browser.overlap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    transform: rotate(2deg);
    transition: transform 0.8s var(--ease);
}

.hero-visual.stacked:hover .browser.overlap {
    transform: rotate(0) translateY(-8px);
}

.pillars .card-link {
    min-height: 220px;
}

.values {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.value {
    padding: 28px 22px 8px 0;
}

.value + .value {
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.value-index {
    color: var(--gold-strong);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
}

.value h3 {
    margin: 12px 0 10px;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    letter-spacing: -0.035em;
}

.value p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Chaîne d'accompagnement */
.journey {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    margin: 0 auto !important;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.journey li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: background 0.3s ease;
}

.journey li:hover {
    background: rgba(255, 255, 255, 0.04);
}

.journey li span {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.journey.light {
    border-color: var(--line);
}

.journey.light li {
    border-color: var(--line);
    color: var(--green-950);
}

.journey.light li span {
    color: var(--gold-strong);
}

/* Offres « à partir de » */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.highlight {
    min-height: 250px;
}

/* Tuiles d'offre : quatre tons de la charte, tout est lisible sans survol */
.offer-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    min-height: 260px;
    padding: 24px 24px 22px;
    border-radius: 22px;
    color: white;
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 24px 48px -26px rgba(7, 28, 18, 0.55);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.offer-tile::after {
    content: "";
    position: absolute;
    right: -30%;
    bottom: -45%;
    z-index: -1;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    transition: transform 0.7s var(--ease);
}

.offer-tile:hover,
.offer-tile:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 36px 64px -26px rgba(7, 28, 18, 0.6);
}

.offer-tile:hover::after,
.offer-tile:focus-visible::after {
    transform: scale(1.25);
}

.offer-tile.tone-1 { background: linear-gradient(150deg, var(--green-900), var(--green-975)); }
.offer-tile.tone-2 { background: linear-gradient(150deg, var(--green-650), var(--green-900)); }
.offer-tile.tone-3 { background: linear-gradient(150deg, #b8901f, var(--gold-strong)); }
.offer-tile.tone-0 { background: linear-gradient(150deg, var(--green-800), var(--green-950)); }

.offer-tile h3 {
    margin: 0;
    color: white;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.offer-tile-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.offer-tile-price {
    margin-top: auto;
    padding-top: 16px;
}

.offer-tile .from {
    color: rgba(255, 255, 255, 0.6);
}

.offer-tile .price {
    padding: 0;
    border: 0;
    color: white;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.offer-tile .price small {
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0;
}

.offer-tile-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--gold-soft);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.offer-tile.tone-3 .offer-tile-more {
    color: var(--green-975);
}

/* Sur la tuile or, tout le texte passe en vert profond pour rester lisible */
.offer-tile.tone-3,
.offer-tile.tone-3 h3,
.offer-tile.tone-3 .price {
    color: var(--green-975);
}

.offer-tile.tone-3 .offer-tile-text,
.offer-tile.tone-3 .from,
.offer-tile.tone-3 .price small {
    color: rgba(4, 16, 10, 0.72);
}

.offer-tile.tone-3::after {
    background: rgba(255, 255, 255, 0.28);
}

.offer-tile-more::after {
    content: "→";
    transition: transform 0.4s var(--ease);
}

.offer-tile:hover .offer-tile-more::after {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .offer-tile,
    .offer-tile::after,
    .offer-tile-more::after {
        transition: none;
    }
}

.highlight .price {
    padding: 0;
    border: 0;
    font-size: clamp(1.9rem, 3vw, 2.3rem);
}

.highlight .price small {
    display: block;
    width: 100%;
    font-size: 0.82rem;
}

.from {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logos img {
    max-height: 48px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logos img:hover {
    filter: none;
    opacity: 1;
}

.section.compact {
    padding-block: clamp(48px, 7vw, 80px);
}

/* ---------- Portfolio ---------- */

.projects {
    display: grid;
    gap: clamp(28px, 5vw, 56px);
}

.project {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.project.reverse .project-media {
    order: 2;
}

.project-media {
    display: block;
    transition: transform 0.6s var(--ease);
}

.project-media:hover {
    transform: translateY(-4px);
}

.project-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background:
        radial-gradient(60% 80% at 100% 100%, rgba(215, 178, 51, 0.3), transparent 70%),
        linear-gradient(160deg, var(--green-975), var(--green-800));
    color: white;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.project-body .tags {
    margin-top: 0;
}

.project-type {
    margin: 18px 0 6px;
    color: var(--gold-strong);
    font-size: 0.85rem;
    font-weight: 600;
}

.project-body h3 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.project-body .actions {
    margin-top: 26px;
}

.clean-list.compact {
    gap: 8px;
    margin-top: 18px;
    font-size: 0.95rem;
}

/* Livrable print ou réseau social : cadre neutre, format d'origine conservé */
.visual {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: #0c1510;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.section:not(.dark) .visual {
    border-color: var(--line);
    background: white;
    box-shadow: var(--shadow-lg);
}

.visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mur de créations : formats mélangés, colonnes plutôt que grille rigide */
.creations {
    column-count: 3;
    column-gap: clamp(18px, 2.4vw, 28px);
}

.creations figure {
    display: inline-block;
    width: 100%;
    margin: 0 0 clamp(18px, 2.4vw, 28px);
    break-inside: avoid;
}

/* Carte visuelle : l'image respire au survol, la legende monte sur un verre depoli */
.showcase-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.showcase-link:hover,
.showcase-link:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.75);
}

.showcase-link .visual,
.showcase-link .browser {
    border-radius: 18px;
    box-shadow: none;
}

.showcase-link img {
    transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.showcase-link:hover img,
.showcase-link:focus-visible img {
    transform: scale(0.9);
    filter: saturate(1.06);
}

.showcase-caption {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 6px;
    padding: 20px 22px 22px;
    background: linear-gradient(to top, rgba(6, 20, 13, 0.82), rgba(6, 20, 13, 0.34) 70%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    text-align: left;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.showcase-link:hover .showcase-caption,
.showcase-link:focus-visible .showcase-caption {
    opacity: 1;
    transform: none;
}

.showcase-caption strong {
    color: white;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.showcase-more {
    margin-top: 4px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Sans survol possible (tactile), la legende reste visible */
@media (hover: none) {
    .showcase-caption {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-link,
    .showcase-link img,
    .showcase-caption {
        transition: none;
    }

    .showcase-caption {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1000px) {
    .creations {
        column-count: 2;
    }
}

@media (max-width: 620px) {
    .creations {
        column-count: 1;
    }
}

/* Étude de cas */
.case-study {
    display: grid;
    max-width: 960px;
}

.case-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    padding-block: 34px;
    border-top: 1px solid var(--line);
}

.case-row:last-child {
    border-bottom: 1px solid var(--line);
}

.case-row h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    letter-spacing: -0.035em;
}

.case-row p {
    margin: 0;
    color: #2e3a32;
    font-size: 1.08rem;
}

dl.facts {
    margin-bottom: 0;
}

.facts dt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.facts dd {
    margin: 2px 0 0;
    font-weight: 500;
}

.kicker a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Tarifs ---------- */

.anchors {
    margin-top: 30px;
}

.anchors .tag:hover {
    background: rgba(215, 178, 51, 0.16);
}

.price-groups {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.price-groups .table-list {
    border: 0;
    border-radius: 0;
}

.price-groups .table-list div {
    padding-inline: 0;
}

.table-list small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.table-list a {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

/* ---------- Formulaire ---------- */

.choice-group {
    display: grid;
    gap: 10px;
}

.choice-group + .choice-group {
    margin-top: 10px;
}

.choice-title {
    margin: 0;
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 600;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.93rem;
}

.check.full {
    grid-column: 1 / -1;
}

.check input {
    width: 20px;
    height: 20px;
    accent-color: var(--green-800);
}

.quote-legal a {
    text-decoration: underline;
}

.footer-copy {
    margin: 18px 0 0;
    font-size: 0.85rem;
}

@media (max-width: 1080px) {
    .values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value,
    .value + .value {
        padding: 24px 20px 24px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 900px) {
    .project,
    .case-row {
        grid-template-columns: 1fr;
    }

    .project.reverse .project-media {
        order: 0;
    }

    .case-row {
        gap: 12px;
    }

    .hero-visual.stacked .browser.main {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .values {
        grid-template-columns: 1fr;
    }

    .journey {
        grid-template-columns: 1fr;
    }


    .hero-visual.stacked .browser.overlap {
        position: relative;
        width: 75%;
        margin: -14% 0 0 auto;
    }

    .hero-visual.stacked {
        padding-bottom: 0;
    }

    .price-groups {
        grid-template-columns: 1fr;
    }
}

/* Ajustements après revue visuelle */
.card > .number {
    justify-self: start;
}

.grid.pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    hyphens: auto;
    overflow-wrap: break-word;
}

@media (max-width: 900px) {
    .grid.pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .grid.pillars {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Offres, conditions, services détaillés, contact
   ========================================================================== */

.split.top {
    align-items: start;
}

.text-link {
    color: var(--green-800);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

.compact-hero {
    padding-block: clamp(64px, 8vw, 110px) clamp(48px, 6vw, 80px);
}

/* ---------- Onglets des offres ---------- */

.tabs {
    position: sticky;
    top: 84px;
    z-index: 20;
    display: flex;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto clamp(36px, 5vw, 56px);
    padding: 4px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

.tabs a {
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.tabs a:hover {
    color: var(--green-950);
}

.tabs a[aria-current="true"] {
    background: var(--green-900);
    color: white;
}

.offer-panel + .offer-panel {
    margin-top: clamp(48px, 6vw, 80px);
}

.js .offer-panel + .offer-panel {
    margin-top: 0;
}

.offer-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 24px;
}

.offer-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.offer-head p {
    margin: 0;
    color: var(--muted);
}

.included {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    margin: 36px 0 0;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    list-style: none;
    font-size: 0.92rem;
}

.included li {
    position: relative;
    padding-left: 18px;
    color: #2e3a32;
}

.included li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--green-650);
}

.included li:first-child {
    padding-left: 0;
    color: var(--green-950);
}

.included li:first-child::before {
    display: none;
}

/* ---------- Tarifs à l'unité ---------- */

.price-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px;
}

.price-table section {
    padding-block: 8px 28px;
}

.price-table h3 {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-900);
    font-size: 1.05rem;
}

.price-table dl {
    margin: 0;
}

.price-table dl div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.price-table dt {
    color: #2e3a32;
}

.price-table dt a {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

.price-table dt small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.price-table dd {
    margin: 0;
    color: var(--green-950);
    font-family: var(--font-display);
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Conditions ---------- */

.key-terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 28px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.key-terms div {
    padding: 20px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.key-terms dt {
    color: var(--gold-strong);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.key-terms dd {
    margin: 6px 0 0;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.terms-accordion {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.terms-accordion details {
    border-bottom: 1px solid var(--line);
}

.terms-accordion summary {
    position: relative;
    padding: 16px 32px 16px 0;
    cursor: pointer;
    list-style: none;
    color: var(--green-950);
    font-weight: 600;
}

.terms-accordion summary::-webkit-details-marker {
    display: none;
}

.terms-accordion summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green-650);
    font-size: 1.3rem;
    font-weight: 400;
}

.terms-accordion details[open] summary::after {
    content: "−";
}

.terms-accordion ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.95rem;
    animation: fade-up 0.4s var(--ease);
}

.terms-accordion li + li {
    margin-top: 6px;
}

.terms-full {
    display: grid;
    max-width: 960px;
}

.terms-full .case-row:last-child {
    border-bottom: 1px solid var(--line);
}

/* ---------- Pages services ---------- */

.service-hero .split {
    align-items: center;
}

.tagline {
    margin: 18px 0 0;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-style: italic;
}

.keywords {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.service-visual {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.service-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.situations {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: situation;
}

.situations li {
    position: relative;
    padding: 20px 0 20px 52px;
    border-bottom: 1px solid var(--line);
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    letter-spacing: -0.02em;
    counter-increment: situation;
}

.situations li:first-child {
    border-top: 1px solid var(--line);
}

.situations li::before {
    content: counter(situation, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 24px;
    color: var(--gold-strong);
    font-size: 0.8rem;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.feature {
    padding: 28px 28px 32px 0;
    border-bottom: 1px solid var(--line);
}

.feature:not(:nth-child(3n + 1)) {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.feature-index {
    color: var(--gold-strong);
    font-size: 0.8rem;
    font-weight: 600;
}

.feature h3 {
    margin: 12px 0 10px;
    font-size: 1.2rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, var(--green-650), var(--gold));
    opacity: 0.5;
}

.timeline li {
    position: relative;
}

.timeline-dot {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--green-650);
    border-radius: 50%;
    background: var(--canvas);
    color: var(--green-800);
    font-family: var(--font-display);
    font-weight: 600;
}

.section.soft .timeline-dot {
    background: var(--soft);
}

.timeline h3 {
    margin: 18px 0 8px;
    font-size: 1.15rem;
}

.timeline p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.deliverables {
    margin-top: 28px !important;
    font-size: 1.02rem;
}

.price-box {
    display: grid;
    gap: 12px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.price-box-value {
    margin: 0;
    color: var(--green-975);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-box-note {
    margin: 0 0 10px;
    color: var(--muted);
}

.price-box .text-link {
    justify-self: center;
    font-size: 0.92rem;
}

.other-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 32px;
    font-size: 0.92rem;
}

.other-services p {
    width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.other-services a {
    color: var(--green-800);
    text-decoration: underline;
    text-decoration-color: rgba(35, 122, 78, 0.35);
    text-underline-offset: 4px;
}

/* Grille de la page Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card-visual {
    border-bottom: 1px solid var(--line);
}

.service-card-visual .service-photo {
    aspect-ratio: 4 / 3;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 22px;
}

.service-card-body h3 {
    font-size: 1.15rem;
}

.service-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.service-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--green-950);
    font-size: 0.86rem;
    font-weight: 600;
}

.service-card-foot .link-more {
    margin: 0;
}

.service-card.inverse {
    border-color: transparent;
    background:
        radial-gradient(80% 70% at 100% 100%, rgba(215, 178, 51, 0.25), transparent 70%),
        var(--green-975);
}

.service-card.inverse h3,
.service-card.inverse .service-card-foot {
    color: white;
}

.service-card.inverse p {
    color: rgba(255, 255, 255, 0.72);
}

.service-card.inverse .accent,
.service-card.inverse .link-more {
    color: var(--gold);
}

.modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.modes article {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 28px 28px 8px 0;
}

.modes article + article {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.modes p {
    margin: 0;
    color: var(--muted);
}

.modes .text-link {
    justify-self: start;
    font-size: 0.93rem;
}

/* ---------- Contact ---------- */

.contact-list {
    display: grid;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.contact-list a,
.contact-list p {
    margin: 0;
    color: white;
    font-weight: 500;
}

.contact-list a:hover {
    color: var(--gold-soft);
}

.next-steps {
    margin-top: 32px;
}

.next-steps-title {
    margin: 0 0 12px;
    color: var(--gold-soft);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.next-steps ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.next-steps strong {
    color: white;
    font-weight: 600;
}

/* ---------- Adaptations ---------- */

@media (max-width: 1080px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .key-terms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature:not(:nth-child(3n + 1)) {
        padding-left: 0;
        border-left: 0;
    }

    .feature:nth-child(2n) {
        padding-left: 28px;
        border-left: 1px solid var(--line);
    }

    .tabs {
        top: 76px;
    }
}

@media (max-width: 900px) {
    .price-table,
    .terms-accordion,
    .modes {
        grid-template-columns: 1fr;
    }

    .modes article + article {
        padding-left: 0;
        border-left: 0;
    }

    .timeline::before {
        display: none;
    }
}

@media (max-width: 720px) {
    .service-grid,
    .key-terms,
    .features {
        grid-template-columns: 1fr;
    }

    .feature:nth-child(2n) {
        padding-left: 0;
        border-left: 0;
    }

    .tabs {
        top: 70px;
        width: 100%;
    }

    .contact-list li {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* ---------- Réseaux sociaux ---------- */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
}

.social-links a {
    color: var(--gold);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(215, 178, 51, 0.4);
    text-underline-offset: 4px;
}

.social-links a:hover {
    text-decoration-color: currentColor;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-social a {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--gold);
    background: rgba(215, 178, 51, 0.12);
    color: white;
}
