/* ============================================================
   La Super Agence — Design system 2026
   Palette : encre verte, ivoire, cuivre
   Typo : Fraunces (titres), Manrope (texte), IBM Plex Mono (labels)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
    --ink: #0C1E19;
    --ink-soft: #122A23;
    --ink-card: #16332B;
    --pine: #1C4A3B;
    --pine-bright: #2C7A5F;
    --mint: #A7DCC6;
    --mint-soft: #DDEFE6;
    --copper: #C06B35;
    --copper-strong: #A8531F;
    --copper-deep: #8C4317;
    --copper-bright: #E09159;
    --ivory: #FAF6EE;
    --cream: #F1EADC;
    --paper: #FFFFFF;
    --text: #22302B;
    --muted: #5B6A62;
    --text-on-dark: rgba(250, 246, 238, 0.92);
    --muted-on-dark: rgba(250, 246, 238, 0.68);
    --line: rgba(16, 36, 30, 0.10);
    --line-strong: rgba(16, 36, 30, 0.16);
    --line-dark: rgba(255, 255, 255, 0.10);

    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Manrope', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    --shadow-sm: 0 1px 2px rgba(12, 30, 25, 0.05), 0 4px 14px rgba(12, 30, 25, 0.05);
    --shadow-md: 0 2px 6px rgba(12, 30, 25, 0.06), 0 14px 34px rgba(12, 30, 25, 0.09);
    --shadow-lg: 0 4px 10px rgba(12, 30, 25, 0.07), 0 28px 60px rgba(12, 30, 25, 0.14);
    --shadow-copper: 0 10px 28px rgba(168, 83, 31, 0.30);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 2px solid var(--copper-strong);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--pine); color: var(--ivory); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: var(--ivory);
    padding: 0.75rem 1.25rem; border-radius: 0 0 12px 0;
    font-weight: 700; font-size: 0.875rem;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------- */
.container { width: min(1160px, 92vw); margin-inline: auto; }
.container-narrow { width: min(880px, 92vw); margin-inline: auto; }
.container-wide { width: min(1280px, 94vw); margin-inline: auto; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); position: relative; }

.bg-ivory { background: var(--ivory); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--text-on-dark); }
.bg-ink-soft { background: var(--ink-soft); color: var(--text-on-dark); }

.grid-2 { display: grid; gap: 1.75rem; }
.grid-3 { display: grid; gap: 1.75rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 720px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split-40-60 { grid-template-columns: 2fr 3fr; }
    .split-60-40 { grid-template-columns: 3fr 2fr; }
}

/* ---------- 4. Typographie ---------- */
.kicker {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--copper-deep);
    margin-bottom: 1.25rem;
}
.kicker::before {
    content: ""; width: 26px; height: 2px;
    background: var(--copper); flex-shrink: 0;
}
.on-dark .kicker, .kicker.on-dark { color: var(--copper-bright); }

.display {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.6vw, 4.3rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.015em;
    margin-bottom: 0.5em;
}
.display em, .title-lg em, .title-md em {
    font-style: italic; font-weight: 500;
    color: var(--copper-deep);
}
.on-dark .display em, .on-dark .title-lg em, .on-dark .title-md em { color: var(--copper-bright); }

.title-lg {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
}
.title-md {
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 600;
    line-height: 1.2;
}
.title-sm {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 800;
}

.lead {
    font-size: clamp(1.1rem, 1.7vw, 1.3rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 38em;
}
.on-dark .lead { color: var(--muted-on-dark); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head .lead { margin-inline: 0; }
.section-head.center .lead { margin-inline: auto; }

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted);
}
.on-dark .mono-label { color: var(--muted-on-dark); }

/* ---------- 5. Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.95rem; font-weight: 700;
    line-height: 1; border: 1.5px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 1em; height: 1em; flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.85rem; }

.btn-primary { background: var(--copper-strong); color: #fff; }
.btn-primary:hover { background: var(--copper-deep); transform: translateY(-2px); box-shadow: var(--shadow-copper); }

.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--pine); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); transform: translateY(-2px); }

.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }

.btn-ghost { border-color: var(--line-dark); color: var(--text-on-dark); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 700; font-size: 0.9rem;
    color: var(--copper-deep);
}
.link-arrow svg { width: 0.9em; height: 0.9em; transition: transform 0.25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--copper-bright); }

/* ---------- 6. Navigation ---------- */
.navbar {
    position: fixed; inset-inline: 0; top: 0; z-index: 100;
    padding-block: 1.1rem;
    transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
    background: rgba(250, 246, 238, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(12, 30, 25, 0.06);
    padding-block: 0.75rem;
}
.navbar-dark.scrolled {
    background: rgba(12, 30, 25, 0.85);
    box-shadow: 0 1px 0 var(--line-dark);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; flex-direction: column; line-height: 1.1; z-index: 110; position: relative; }
.brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em;
    color: var(--ink);
}
.brand-sub {
    font-family: var(--font-mono);
    font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--copper-deep); margin-top: 2px;
}
.navbar-dark .brand-name { color: var(--ivory); }
.navbar-dark .brand-sub { color: var(--copper-bright); }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-link {
    font-size: 0.92rem; font-weight: 600;
    color: var(--text); position: relative; padding-block: 0.3rem;
}
.navbar-dark .nav-link { color: var(--text-on-dark); }
.nav-link::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 100%; height: 2px; background: var(--copper);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--copper-deep); }
.navbar-dark .nav-link[aria-current="page"] { color: var(--copper-bright); }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; padding: 11px;
    background: var(--ink); border: 1px solid var(--line-dark); border-radius: 12px;
    cursor: pointer; z-index: 110; position: relative;
}
.nav-toggle span {
    display: block; height: 2px; width: 100%;
    background: var(--ivory); border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; inset: 0;
        flex-direction: column; align-items: flex-start; justify-content: center;
        gap: 1.4rem; padding: clamp(2rem, 8vw, 5rem);
        background: var(--ink);
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity 0.35s, visibility 0.35s;
    }
    .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
    .nav-links .nav-link {
        font-family: var(--font-serif);
        font-size: clamp(1.7rem, 6vw, 2.4rem);
        font-weight: 500; color: var(--ivory);
        opacity: 0; transform: translateY(16px);
        transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    }
    .nav-links.open .nav-link { opacity: 1; transform: none; }
    .nav-links.open .nav-link:nth-child(2) { transition-delay: 0.05s; }
    .nav-links.open .nav-link:nth-child(3) { transition-delay: 0.1s; }
    .nav-links.open .nav-link:nth-child(4) { transition-delay: 0.15s; }
    .nav-links.open .nav-link:nth-child(5) { transition-delay: 0.2s; }
    .nav-links.open .nav-link:nth-child(6) { transition-delay: 0.25s; }
    .nav-links .nav-cta { margin-top: 1rem; opacity: 0; transition-delay: 0.3s; transition-property: opacity, transform; }
    .nav-links.open .nav-cta { opacity: 1; transform: none; }
    body.nav-open { overflow: hidden; }
}

/* ---------- 7. Héros ---------- */
.hero {
    position: relative;
    padding-top: clamp(7.5rem, 16vh, 11rem);
    padding-bottom: clamp(4rem, 9vw, 7rem);
    overflow: hidden;
}
.hero-dark { background: var(--ink); color: var(--text-on-dark); }

.hero-grid-bg::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 36, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 36, 30, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 10%, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 80% at 60% 10%, black 30%, transparent 75%);
}
.hero-dark.hero-grid-bg::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

.orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none; z-index: 0;
}
.orb-pine { background: radial-gradient(circle, rgba(44, 122, 95, 0.34), transparent 65%); }
.orb-copper { background: radial-gradient(circle, rgba(192, 107, 53, 0.26), transparent 65%); }
.orb-mint { background: radial-gradient(circle, rgba(167, 220, 198, 0.18), transparent 65%); }

.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero > .container, .hero > .container-wide { position: relative; z-index: 2; }

.hero-proof {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center;
}
.hero-dark .hero-proof { border-top-color: var(--line-dark); }

.proof-item { display: flex; flex-direction: column; gap: 0.1rem; }
.proof-num {
    font-family: var(--font-serif);
    font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1.1;
}
.hero-dark .proof-num, .on-dark .proof-num { color: var(--ivory); }
.proof-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.hero-dark .proof-label, .on-dark .proof-label { color: var(--muted-on-dark); }

.press-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.press-row img {
    height: 30px; width: auto; object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.3s, transform 0.3s;
}
.press-row a:hover img { filter: grayscale(0) opacity(1); transform: scale(1.05); }
.hero-dark .press-row img, .on-dark .press-row img { filter: grayscale(1) invert(1) opacity(0.6); }
.hero-dark .press-row a:hover img, .on-dark .press-row a:hover img { filter: grayscale(1) invert(1) opacity(1); }

.chip {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.6rem 1.1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 36, 30, 0.08);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    font-size: 0.82rem; font-weight: 700; color: var(--text);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); flex-shrink: 0; }

.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-slower { animation: floaty 9s ease-in-out 1.2s infinite; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- 8. Cartes ---------- */
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.3rem);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
    position: relative;
}
a.card { display: flex; flex-direction: column; }
.card-hover:hover, a.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28, 74, 59, 0.25);
}

.card-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--mint-soft); color: var(--pine);
    margin-bottom: 1.4rem; flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.copper { background: rgba(192, 107, 53, 0.12); color: var(--copper-deep); }
a.card:hover .card-icon, .card-hover:hover .card-icon {
    background: var(--pine); color: var(--ivory); transform: scale(1.06) rotate(-4deg);
}
a.card:hover .card-icon.copper { background: var(--copper-strong); color: #fff; }

.card .link-arrow { margin-top: auto; padding-top: 1.25rem; }

.glass-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.1rem);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: transform 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.glass-card h3, .glass-card h4 { color: var(--ivory); }
.glass-card p { color: var(--muted-on-dark); }

[data-tilt] { will-change: transform; }

/* Carte article */
.article-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.article-card-top { height: 4px; background: linear-gradient(90deg, var(--pine), var(--copper)); opacity: 0.35; transition: opacity 0.3s; }
.article-card:hover .article-card-top { opacity: 1; }
.article-card-body { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; flex-grow: 1; }
.article-card-body h3 {
    font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.25;
}
.article-card:hover h3 { color: var(--copper-deep); }
.article-tag {
    display: inline-block; align-self: flex-start;
    font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 0.35rem 0.8rem; border-radius: 999px;
    background: var(--mint-soft); color: var(--pine);
    margin-bottom: 1.1rem;
}

/* Carte ressource avec image */
.resource-card { display: block; }
.resource-card .resource-img {
    aspect-ratio: 16 / 10; border-radius: var(--radius);
    overflow: hidden; margin-bottom: 1.1rem;
    border: 1px solid var(--line-dark);
}
.resource-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out), opacity 0.4s;
    opacity: 0.88;
}
.resource-card:hover img { transform: scale(1.06); opacity: 1; }
.resource-card h3 { color: var(--ivory); font-size: 1.2rem; margin-bottom: 0.3rem; transition: color 0.3s; }
.resource-card:hover h3 { color: var(--copper-bright); }
.resource-card p { color: var(--muted-on-dark); font-size: 0.92rem; margin: 0; }

/* ---------- 9. Citations ---------- */
.pull-quote {
    position: relative;
    background: var(--ink);
    color: var(--ivory);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4.5vw, 3.2rem);
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}
.pull-quote::before {
    content: ""; position: absolute; top: -40%; right: -20%;
    width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 107, 53, 0.35), transparent 70%);
    filter: blur(50px);
}
.pull-quote.quote-copper { background: linear-gradient(135deg, var(--copper-deep), var(--copper-strong)); }
.pull-quote.quote-copper::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%); }
.pull-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 500; font-style: italic;
    line-height: 1.4; margin: 0;
    position: relative; z-index: 1;
}
.pull-quote cite {
    margin-top: 1.25rem; font-style: normal;
    font-family: var(--font-mono); font-size: 0.72rem;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(250, 246, 238, 0.65); position: relative; z-index: 1;
}

/* ---------- 10. Étapes numérotées ---------- */
.step-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num {
    font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
    color: var(--copper-deep);
    border: 1.5px solid rgba(192, 107, 53, 0.4);
    border-radius: 999px;
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.on-dark .step-num { color: var(--copper-bright); border-color: rgba(224, 145, 89, 0.4); }
.step-row h3 { font-size: 1.15rem; font-weight: 800; font-family: var(--font-sans); margin-bottom: 0.35em; }
.step-row p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.on-dark .step-row p { color: var(--muted-on-dark); }

/* ---------- 11. Listes à coches ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--pine-bright); margin-top: 3px; }
.on-dark .check-list svg { color: var(--mint); }

/* ---------- 12. Stats ---------- */
.stat-num {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 600; line-height: 1; color: var(--ink);
    letter-spacing: -0.02em;
}
.on-dark .stat-num { color: var(--ivory); }
.stat-num sup { font-size: 0.5em; color: var(--copper-deep); top: -0.7em; }
.on-dark .stat-num sup { color: var(--copper-bright); }
.stat-label { font-size: 0.88rem; color: var(--muted); font-weight: 600; margin-top: 0.4rem; }
.on-dark .stat-label { color: var(--muted-on-dark); }

/* ---------- 13. Témoignages ---------- */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.testimonial-org { font-weight: 800; font-size: 1.05rem; }
.testimonial-badge {
    font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.3rem 0.7rem; border-radius: 999px;
    background: var(--cream); color: var(--copper-deep);
    white-space: nowrap;
}
.testimonial blockquote {
    margin: auto 0 0; padding: 1.1rem 0 0;
    border-top: 1px solid var(--line);
    font-family: var(--font-serif); font-style: italic;
    font-size: 1.02rem; line-height: 1.5; color: var(--pine);
}

/* ---------- 14. FAQ ---------- */
.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow 0.3s, border-color 0.3s;
    margin-bottom: 0.9rem;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(28, 74, 59, 0.25); }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-weight: 700; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--mint-soft); color: var(--pine);
    transition: transform 0.3s var(--ease-out), background-color 0.3s, color 0.3s;
}
.faq-item summary .faq-icon svg { width: 13px; height: 13px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--pine); color: var(--ivory); }
.faq-body { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.faq-body ul { margin-top: 0.5em; }
@media (prefers-reduced-motion: no-preference) {
    .faq-item[open] .faq-body { animation: faq-in 0.35s var(--ease-out); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 15. Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea, .form-input {
    width: 100%;
    font-family: var(--font-sans); font-size: 0.95rem; color: var(--text);
    background: #F7F2E9;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus, .form-input:focus {
    outline: none; background: #fff;
    border-color: var(--pine);
    box-shadow: 0 0 0 4px rgba(28, 74, 59, 0.12);
}
.form-grid-2 { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

.consent {
    display: flex; gap: 0.7rem; align-items: flex-start;
    background: var(--ivory); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 0.85rem 1rem;
}
.consent input { margin-top: 3px; accent-color: var(--pine); width: 16px; height: 16px; flex-shrink: 0; }
.consent label { font-size: 0.8rem; color: var(--muted); cursor: pointer; line-height: 1.5; }

/* Panneau contact en deux volets */
.contact-split {
    display: grid; border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .contact-split { grid-template-columns: 5fr 7fr; } }
.contact-side {
    background: var(--ink); color: var(--text-on-dark);
    padding: clamp(2rem, 5vw, 3.5rem);
    display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
    position: relative; overflow: hidden;
}
.contact-side::after {
    content: ""; position: absolute; bottom: -30%; left: -20%;
    width: 80%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 122, 95, 0.4), transparent 70%);
    filter: blur(60px); pointer-events: none;
}
.contact-side > * { position: relative; z-index: 1; }
.contact-side h2, .contact-side h3 { color: var(--ivory); }
.contact-form { background: var(--paper); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.1rem; align-content: start; }

.contact-line {
    display: flex; align-items: center; gap: 0.9rem;
    color: var(--text-on-dark); font-weight: 600; font-size: 0.95rem;
}
.contact-line:hover { color: var(--copper-bright); }
.contact-line .ico {
    width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark);
    display: flex; align-items: center; justify-content: center;
    color: var(--copper-bright);
}
.contact-line .ico svg { width: 17px; height: 17px; }

/* ---------- 16. Wizard ---------- */
.wizard-shell {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.8rem);
    box-shadow: var(--shadow-md);
}
.wizard-progress { display: flex; gap: 6px; margin-top: 0.6rem; }
.wizard-progress span { height: 4px; flex: 1; border-radius: 999px; background: var(--cream); transition: background-color 0.3s; }
.wizard-progress span.done { background: rgba(28, 74, 59, 0.35); }
.wizard-progress span.active { background: var(--copper); }

.wizard-option {
    width: 100%; text-align: left; cursor: pointer;
    background: var(--ivory); border: 1.5px solid var(--line);
    border-radius: var(--radius); padding: 1rem 1.15rem;
    font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; color: var(--text);
    transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.wizard-option:hover { border-color: rgba(28, 74, 59, 0.4); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.wizard-option.is-active {
    border-color: var(--pine); background: var(--mint-soft);
    box-shadow: 0 0 0 3px rgba(28, 74, 59, 0.12);
}
.wizard-option .opt-desc { display: block; font-weight: 500; font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

.wizard-summary {
    background: var(--ivory); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.1rem;
    font-size: 0.85rem; line-height: 1.6; color: var(--text);
    white-space: pre-wrap; font-family: var(--font-sans); min-height: 120px; margin: 0;
}
.wizard-error {
    display: flex; gap: 0.6rem; align-items: flex-start;
    background: #FBEDE6; border: 1px solid rgba(168, 83, 31, 0.35);
    color: var(--copper-deep);
    border-radius: var(--radius-sm); padding: 0.8rem 1rem;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.2rem;
}

/* ---------- 17. Timeline ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(var(--copper), var(--pine), transparent);
    opacity: 0.4;
}
.timeline-item { position: relative; padding-bottom: 2.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ""; position: absolute; left: -2rem; top: 8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--ivory); border: 3px solid var(--copper);
}
.timeline-date {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-deep);
}
.timeline-item h3 { font-size: 1.3rem; margin: 0.4rem 0 0.5rem; font-family: var(--font-serif); }
.timeline-item p { color: var(--muted); font-size: 0.97rem; }
.timeline-key {
    display: inline-block; margin-top: 0.4rem;
    background: var(--cream); border-radius: 999px;
    padding: 0.45rem 1rem; font-size: 0.82rem; font-weight: 700; color: var(--pine);
}

/* ---------- 18. Article (prose) ---------- */
.article-hero { padding-top: clamp(7.5rem, 15vh, 10rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.article-hero > * { position: relative; z-index: 2; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center;
    font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.prose { max-width: 70ch; margin-inline: auto; font-size: 1.06rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 {
    font-family: var(--font-serif); font-size: clamp(1.6rem, 2.8vw, 2.05rem);
    line-height: 1.2; margin-top: 2.2em; margin-bottom: 0;
}
.prose h3 { font-size: 1.25rem; font-weight: 800; margin-top: 1.8em; margin-bottom: 0; }
.prose ul li + li, .prose ol li + li { margin-top: 0.5em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--copper-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--copper-strong); }

.prose .intro-quote {
    font-family: var(--font-serif); font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5;
    color: var(--pine); border-left: 3px solid var(--copper);
    padding-left: 1.4rem; margin: 0;
}
.callout {
    background: var(--cream); border: 1px solid var(--line);
    border-left: 4px solid var(--copper);
    border-radius: var(--radius-sm); padding: 1.3rem 1.5rem;
    font-size: 0.98rem;
}
.callout.dark {
    background: var(--ink); color: var(--text-on-dark);
    border-color: var(--ink); border-left-color: var(--copper-bright);
}
.callout.dark strong { color: var(--ivory); }
.callout > :last-child { margin-bottom: 0; }

.numbered-block { display: flex; gap: 1.3rem; align-items: flex-start; margin-top: 1.5em; }
.numbered-block .step-num { margin-top: 0.2rem; }
.numbered-block h3 { margin-top: 0 !important; }
.numbered-block > div > p { margin-top: 0.4em; margin-bottom: 0; color: var(--muted); }

/* Bandeau CTA fin d'article */
.article-cta {
    background: var(--ink); color: var(--text-on-dark);
    border-radius: var(--radius-xl); overflow: hidden; position: relative;
    padding: clamp(2.2rem, 5vw, 3.5rem);
}
.article-cta::before {
    content: ""; position: absolute; top: -50%; right: -10%;
    width: 60%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 107, 53, 0.35), transparent 70%);
    filter: blur(60px);
}
.article-cta > * { position: relative; z-index: 1; }
.article-cta h2, .article-cta h3 { color: var(--ivory); }
.article-cta .field input { background: rgba(255, 255, 255, 0.95); }

/* ---------- 19. Footer ---------- */
.footer { background: var(--ink); color: var(--muted-on-dark); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer .brand-name { color: var(--ivory); font-size: 1.45rem; }
.footer .brand-sub { color: var(--copper-bright); }
.footer-pitch { font-size: 0.92rem; line-height: 1.7; max-width: 34ch; margin-top: 1rem; }
.footer h4 {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--copper-bright); margin-bottom: 1.1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--muted-on-dark); font-size: 0.92rem; transition: color 0.25s, padding-left 0.25s; }
.footer-links a:hover { color: var(--ivory); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid var(--line-dark);
    padding-block: 1.5rem;
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
    font-size: 0.82rem;
}
.footer-bottom a { color: var(--muted-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--ivory); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark);
    color: var(--text-on-dark); transition: background-color 0.25s, transform 0.25s var(--ease-out), color 0.25s;
}
.footer-social a:hover { background: var(--copper-strong); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- 20. Révélation au scroll ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- 21. Utilitaires ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex-center { display: flex; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.muted { color: var(--muted); }
.on-dark .muted, .muted-dark { color: var(--muted-on-dark); }
.small { font-size: 0.88rem; }
.divider { height: 1px; background: var(--line); border: none; margin-block: clamp(2rem, 5vw, 3.5rem); }

/* ---------- 22. Accessibilité / mouvement ---------- */
@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;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .navbar, .footer, .nav-toggle { display: none; }
    body { background: #fff; color: #000; }
}
