/* ================================================================
 * DATIVO SAS - Site institutionnel · site.css
 * S'appuie sur tokens.css (charte V2 « Emerald ») + Bootstrap 5.
 * Ordre de chargement : bootstrap.css → tokens.css → site.css
 * ================================================================ */

/* ---------------------------------------------------------------- *
 * 1. BASE
 * ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--forest);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--forest);
}

a { color: var(--emerald); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--emerald-hover); }

img, svg { max-width: 100%; }
::selection { background: var(--emerald-200); color: var(--forest); }

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

.container { max-width: var(--max-width); }

/* Skip link (a11y) */
.skip-link {
    position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
    background: var(--forest); color: #fff; padding: 0.6rem 1.2rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md); z-index: 2000;
    transition: top var(--transition-base); font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------------------------------------------------------------- *
 * 2. TYPO HELPERS
 * ---------------------------------------------------------------- */
.font-display { font-family: var(--font-display); }
.font-accent  { font-family: var(--font-accent); font-style: italic; }
.font-mono    { font-family: var(--font-mono); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--emerald); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--emerald-300); }
.eyebrow.on-dark::before { background: var(--emerald-300); }

.accent-line {
    font-family: var(--font-accent); font-style: italic; font-weight: 600;
    color: var(--terra);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.section-lead {
    font-size: var(--text-lg); color: var(--gray-600);
    max-width: 60ch; margin: 0 auto;
}
.text-balance { text-wrap: balance; }

/* ---------------------------------------------------------------- *
 * 3. LAYOUT / SECTIONS
 * ---------------------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.bg-cream { background: var(--cream); }
.bg-soft  { background: var(--gray-50); }
.bg-dew   { background: var(--dew); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }

/* ---------------------------------------------------------------- *
 * 4. BOUTONS (RGAA - le texte n'est jamais de la teinte du fond)
 * ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
    padding: 0.85rem 1.6rem; border-radius: var(--radius-md);
    border: 2px solid transparent; cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast),
                transform var(--transition-fast), box-shadow var(--transition-base);
    line-height: 1.2; white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.btn i, .btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary   { background: var(--emerald); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover  { background: var(--emerald-hover); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-primary:active { background: var(--emerald-active); color: #fff; transform: translateY(0); }

.btn-dark   { background: var(--forest); color: #fff; }
.btn-dark:hover  { background: var(--emerald-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-light  { background: var(--white); color: var(--forest); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.btn-light:hover { background: var(--emerald-50); color: var(--forest); transform: translateY(-2px); }

.btn-ghost  { background: transparent; color: var(--forest); border-color: var(--gray-300); }
.btn-ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--forest); border-color: #fff; }

.btn-mint { background: var(--mint); color: var(--forest); }
.btn-mint:hover { background: var(--emerald-300); color: var(--forest); transform: translateY(-2px); }

/* Terra = accent conversion, MAX 1 par page, label ≥19px bold */
.btn-accent { background: var(--terra); color: #fff; font-weight: 700; font-size: 1.06rem; box-shadow: var(--shadow-md); }
.btn-accent:hover { background: #C75E12; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-link-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600;
    color: var(--emerald); background: none; border: none; padding: 0;
}
.btn-link-arrow i, .btn-link-arrow svg { width: 18px; height: 18px; transition: transform var(--transition-base); }
.btn-link-arrow:hover { color: var(--emerald-hover); }
.btn-link-arrow:hover i, .btn-link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- *
 * 5. NAVBAR
 * ---------------------------------------------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-height);
    display: flex; align-items: center;
    transition: background var(--transition-base), box-shadow var(--transition-base),
                backdrop-filter var(--transition-base);
}
.site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: var(--shadow-md);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { height: 34px; width: auto; display: block; }
/* Swap logo : blanc sur hero foncé (défaut) → couleur quand header scrollé */
.brand .logo-color { display: none; }
.brand .logo-ondark { display: block; }
.site-header.scrolled .brand .logo-color { display: block; }
.site-header.scrolled .brand .logo-ondark { display: none; }

.main-nav { display: flex; align-items: center; gap: 0.35rem; }
.main-nav a.nav-link {
    color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.96rem;
    padding: 0.5rem 0.85rem; border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav a.nav-link:hover { color: #fff; background: rgba(255,255,255,0.14); }
.main-nav a.nav-link[aria-current="page"] { color: #fff; }
/* Header scrollé (fond clair) : texte encre */
.site-header.scrolled .main-nav a.nav-link { color: var(--forest); }
.site-header.scrolled .main-nav a.nav-link:hover { color: var(--emerald); background: var(--emerald-50); }
.site-header.scrolled .main-nav a.nav-link[aria-current="page"] { color: var(--emerald); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
    display: none; background: none; border: none; padding: 0.4rem;
    color: #fff; cursor: pointer;
}
.site-header.scrolled .nav-toggle { color: var(--forest); }
.nav-toggle svg, .nav-toggle i { width: 28px; height: 28px; }

/* Mobile drawer */
.mobile-nav {
    position: fixed; inset: 0; z-index: 1100;
    background: var(--forest); color: #fff;
    display: flex; flex-direction: column; padding: 1.5rem;
    transform: translateX(100%); transition: transform var(--transition-slow);
    visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-nav__top img { height: 32px; }
.mobile-nav__close { background: none; border: none; color: #fff; padding: 0.4rem; cursor: pointer; }
.mobile-nav__close svg, .mobile-nav__close i { width: 30px; height: 30px; }
.mobile-nav a.m-link {
    color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
    padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a.m-link:hover { color: var(--emerald-300); }
.mobile-nav .mobile-cta { margin-top: auto; padding-top: 1.5rem; display: grid; gap: 0.75rem; }

/* ---------------------------------------------------------------- *
 * 6. HERO
 * ---------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--forest) 0%, var(--emerald-700) 55%, var(--emerald-600) 100%);
    color: #fff;
    padding: calc(var(--header-height) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__blob {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
}
.hero__blob.b1 { width: 520px; height: 520px; background: var(--emerald-400); top: -160px; right: -120px; animation: float1 16s ease-in-out infinite; }
.hero__blob.b2 { width: 420px; height: 420px; background: var(--tender); bottom: -160px; left: -100px; opacity: 0.35; animation: float2 20s ease-in-out infinite; }
.hero__grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }

.hero h1 {
    color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero h1 .accent-line { color: var(--emerald-200); display: block; font-size: 0.62em; margin-top: 0.4rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.88); max-width: 44ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }
.hero__trust .trust-item { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.hero__trust .trust-item i, .hero__trust .trust-item svg { width: 20px; height: 20px; color: var(--emerald-300); flex: none; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
    padding: 0.4rem 0.9rem; border-radius: var(--radius-full);
    font-size: 0.82rem; font-weight: 500; color: #fff; margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}
.pill-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-300); box-shadow: 0 0 0 4px rgba(132,189,159,0.25); animation: pulse 2.4s ease-in-out infinite; }

/* Hero visual - ecosystem card cluster */
.hero__visual { position: relative; }
.eco-card {
    background: rgba(255,255,255,0.97); color: var(--forest);
    border-radius: var(--radius-lg); padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-2xl); display: flex; align-items: center; gap: 0.9rem;
    border: 1px solid rgba(255,255,255,0.6);
}
.eco-card__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.eco-card__icon i, .eco-card__icon svg { width: 24px; height: 24px; }
.eco-card__icon.rgpd  { background: var(--emerald-100); color: var(--emerald-700); }
.eco-card__icon.pa    { background: var(--dew); color: var(--tender); }
.eco-card__icon.nis2  { background: #FDEBDB; color: var(--terra); }
.eco-card__icon.ts    { background: var(--mint); color: var(--forest); }
.eco-card h4 { font-size: 1rem; margin: 0 0 0.1rem; }
.eco-card p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }
.eco-card .badge-soon { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--terra); background: #FDEBDB; padding: 0.15rem 0.5rem; border-radius: var(--radius-full); }

.eco-stack { display: grid; gap: 1rem; }
.eco-stack .eco-card:nth-child(1) { transform: translateX(-6%); }
.eco-stack .eco-card:nth-child(2) { transform: translateX(6%); }
.eco-stack .eco-card:nth-child(3) { transform: translateX(-2%); }
.eco-stack .eco-card:nth-child(4) { transform: translateX(5%); }
.float-anim { animation: floatCard 6s ease-in-out infinite; }
.float-anim.d1 { animation-delay: 0.6s; }
.float-anim.d2 { animation-delay: 1.2s; }
.float-anim.d3 { animation-delay: 1.8s; }

/* ---------------------------------------------------------------- *
 * 7. LOGOS / TRUST STRIP
 * ---------------------------------------------------------------- */
.trust-strip { border-bottom: 1px solid var(--gray-200); }
.trust-strip .label { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; letter-spacing: 0.04em; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; }
.trust-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--white); border: 1px solid var(--gray-200);
    padding: 0.55rem 1rem; border-radius: var(--radius-full);
    font-size: 0.86rem; font-weight: 600; color: var(--forest); box-shadow: var(--shadow-sm);
}
.trust-chip i, .trust-chip svg { width: 18px; height: 18px; color: var(--emerald); }

/* ---------------------------------------------------------------- *
 * 8. CARTES PRODUITS
 * ---------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.product-card {
    position: relative; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl); padding: 2rem; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-base);
}
.product-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent, var(--emerald)); transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition-slow);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }

.product-card__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--accent-soft, var(--emerald-100)); color: var(--accent, var(--emerald-700)); margin-bottom: 1.25rem;
}
.product-card__icon i, .product-card__icon svg { width: 30px; height: 30px; }
.product-card h3 { font-size: 1.5rem; margin-bottom: 0.15rem; }
.product-card .product-tag { font-family: var(--font-mono); font-size: 0.74rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; display: block; }
.product-card p { color: var(--gray-600); font-size: 0.96rem; margin-bottom: 1.25rem; }
.product-card ul.feat { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
.product-card ul.feat li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.9rem; color: var(--gray-700); }
.product-card ul.feat li i, .product-card ul.feat li svg { width: 18px; height: 18px; color: var(--accent, var(--emerald)); flex: none; margin-top: 2px; }
.product-card .card-foot { margin-top: auto; }

.badge-soon-inline {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--terra); background: #FDEBDB; padding: 0.2rem 0.6rem; border-radius: var(--radius-full);
    vertical-align: middle; margin-left: 0.5rem;
}

/* accent presets */
.accent-rgpd { --accent: var(--emerald); --accent-soft: var(--emerald-100); }
.accent-pa   { --accent: var(--tender); --accent-soft: var(--dew); }
.accent-nis2 { --accent: var(--terra); --accent-soft: #FDEBDB; }
.accent-ts   { --accent: var(--forest); --accent-soft: var(--mint); }

/* ---------------------------------------------------------------- *
 * 9. SAVOIR-FAIRE / FEATURES
 * ---------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.feature {
    padding: 1.75rem; border-radius: var(--radius-lg); background: var(--white);
    border: 1px solid var(--gray-200); transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon {
    width: 48px; height: 48px; border-radius: 12px; background: var(--emerald-50);
    color: var(--emerald-700); display: grid; place-items: center; margin-bottom: 1rem;
}
.feature__icon i, .feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature p { color: var(--gray-600); font-size: 0.93rem; margin: 0; }

/* Split feature (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split__media { order: 2; }
.value-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.value-list li { display: flex; gap: 0.9rem; }
.value-list .vi {
    flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: var(--dew); color: var(--tender);
}
.value-list .vi i, .value-list .vi svg { width: 22px; height: 22px; }
.value-list h4 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.value-list p { margin: 0; font-size: 0.92rem; color: var(--gray-600); }

/* Decorative media card */
.media-card {
    position: relative; border-radius: var(--radius-2xl); overflow: hidden;
    background: linear-gradient(150deg, var(--forest), var(--emerald-700));
    padding: 2.5rem; color: #fff; box-shadow: var(--shadow-2xl);
}
.media-card__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.6;
}
.media-card > * { position: relative; z-index: 1; }
.mini-stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.75rem; }
.mini-stat .ms { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 1rem 1.15rem; }
.mini-stat .ms .n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.mini-stat .ms .l { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 0.35rem; }

/* ---------------------------------------------------------------- *
 * 10. STATS BAND
 * ---------------------------------------------------------------- */
.stats-band { background: var(--forest); color: #fff; }
.stats-band .stat { text-align: center; padding: 0.5rem; }
.stats-band .stat .n {
    font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
    font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; line-height: 1;
}
.stats-band .stat .n .unit { color: var(--emerald-300); }
.stats-band .stat .l { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-top: 0.5rem; }
.stats-band .divider { width: 1px; background: rgba(255,255,255,0.12); }

/* ---------------------------------------------------------------- *
 * 11. "POUR QUI" / AUDIENCE
 * ---------------------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience {
    display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.25rem;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    transition: border-color var(--transition-base), transform var(--transition-base);
}
.audience:hover { border-color: var(--emerald-300); transform: translateX(4px); }
.audience i, .audience svg { width: 22px; height: 22px; color: var(--emerald); flex: none; }
.audience span { font-weight: 600; font-size: 0.95rem; }

/* ---------------------------------------------------------------- *
 * 12. APPROCHE / VALEURS (numbered)
 * ---------------------------------------------------------------- */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.approach {
    position: relative; padding: 2rem 1.75rem; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--gray-200);
}
.approach .num {
    font-family: var(--font-accent); font-style: italic; font-weight: 600;
    font-size: 2.2rem; color: var(--emerald); line-height: 1; margin-bottom: 0.75rem; display: block;
}
.approach h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.approach p { color: var(--gray-600); font-size: 0.93rem; margin: 0; }

/* ---------------------------------------------------------------- *
 * 13. CTA BAND
 * ---------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--emerald-700), var(--forest)); color: #fff; border-radius: var(--radius-2xl); padding: clamp(2.5rem, 6vw, 4.5rem); }
.cta-band__blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--emerald-500); filter: blur(80px); opacity: 0.4; top: -140px; right: -100px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,0.85); font-size: var(--text-lg); }

/* ---------------------------------------------------------------- *
 * 14. FOOTER
 * ---------------------------------------------------------------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.75); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer .foot-brand img { height: 36px; margin-bottom: 1rem; }
.site-footer .foot-tagline { font-family: var(--font-accent); font-style: italic; color: var(--emerald-300); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.site-footer p a { color: var(--emerald-300); }
.site-footer p a:hover { color: #fff; }
.site-footer h5 { color: #fff; font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.site-footer ul.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.site-footer ul.foot-links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.site-footer ul.foot-links a:hover { color: var(--emerald-300); }
.site-footer .foot-legal-mono { font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-bottom a:hover { color: #fff; }
.foot-made { display: inline-flex; align-items: center; gap: 0.4rem; }
.foot-made i, .foot-made svg { width: 16px; height: 16px; color: var(--emerald-300); }

/* ---------------------------------------------------------------- *
 * 15. FORMS (contact)
 * ---------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--forest); margin-bottom: 0.4rem; }
.form-control, .form-select {
    border: 1.5px solid var(--gray-300); border-radius: var(--radius-md); padding: 0.75rem 1rem;
    font-family: var(--font-body); font-size: 0.96rem; color: var(--forest); transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus, .form-select:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-100); outline: none; }
.form-check-input:checked { background-color: var(--emerald); border-color: var(--emerald); }
.contact-aside .ci { display: flex; gap: 0.9rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-aside .ci .civi { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; }
.contact-aside .ci .civi i, .contact-aside .ci .civi svg { width: 22px; height: 22px; }
.contact-aside .ci h4 { font-size: 1rem; margin: 0 0 0.15rem; }
.contact-aside .ci a, .contact-aside .ci p { color: var(--gray-600); font-size: 0.93rem; margin: 0; }

/* ---------------------------------------------------------------- *
 * 16. PAGE HEADER (secondary pages)
 * ---------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(150deg, var(--forest), var(--emerald-700));
    color: #fff; padding: calc(var(--header-height) + 3.5rem) 0 3.5rem; position: relative; overflow: hidden;
}
.page-hero__blob { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--emerald-500); filter: blur(80px); opacity: 0.35; top: -120px; right: -80px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: var(--text-lg); max-width: 60ch; }
.breadcrumb-mini { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 1rem; }
.breadcrumb-mini a { color: rgba(255,255,255,0.8); }
.breadcrumb-mini a:hover { color: #fff; }

/* Prose (legal pages) */
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; }
.prose p, .prose li { color: var(--gray-700); }
.prose ul { padding-left: 1.3rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------------- *
 * 16b. CONSTAT · ACCOMPAGNEMENT · MÉTHODE · ET DEMAIN (plaquette)
 * ---------------------------------------------------------------- */
/* Stat cards (constat) */
.stat-card {
    height: 100%; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card__tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tender); background: var(--dew); padding: 0.25rem 0.65rem; border-radius: var(--radius-full); margin-bottom: 1rem; }
.stat-card__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.6rem); color: var(--forest); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.6rem; }
.stat-card p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }

.concern { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-md); }
.concern h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.concern__item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.96rem; color: var(--gray-700); }
.concern__item i, .concern__item svg { width: 20px; height: 20px; color: var(--emerald); flex: none; margin-top: 2px; }
.concern__good { display: flex; gap: 0.6rem; align-items: center; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--gray-200); font-weight: 600; color: var(--forest); }
.concern__good i, .concern__good svg { width: 22px; height: 22px; color: var(--terra); flex: none; }

/* Service cards (accompagnement) */
.service-card { height: 100%; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2rem; transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--emerald-100); color: var(--emerald-700); margin-bottom: 1.25rem; }
.service-card__icon i, .service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--gray-600); font-size: 0.96rem; margin-bottom: 1.25rem; }

/* Future band (et demain) */
.future-band { display: flex; gap: 1.5rem; align-items: center; background: var(--dew); border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.25rem); }
.future-band__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--white); color: var(--tender); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.future-band__icon i, .future-band__icon svg { width: 32px; height: 32px; }
.future-band h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.future-band p { margin: 0; color: var(--gray-700); }
@media (max-width: 575.98px) { .future-band { flex-direction: column; align-items: flex-start; } }

/* CTA benefit pills */
.cta-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.cta-pill { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.45rem 0.9rem; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 500; }
.cta-pill i, .cta-pill svg { width: 16px; height: 16px; color: var(--emerald-300); flex: none; }

/* ---------------------------------------------------------------- *
 * 17. ANIMATIONS
 * ---------------------------------------------------------------- */
/* Amélioration progressive : masqué UNIQUEMENT si JS actif (html.js).   */
/* Sans JS / pour le SEO, tout le contenu reste visible.                 */
.reveal { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px,30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(132,189,159,0.25); } 50% { box-shadow: 0 0 0 8px rgba(132,189,159,0.05); } }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__blob, .float-anim, .pill-badge .dot, .cta-band__blob { animation: none !important; }
    .product-card:hover, .feature:hover, .audience:hover { transform: none; }
}

/* ---------------------------------------------------------------- *
 * 18. RESPONSIVE
 * ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .product-grid, .feature-grid, .approach-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split.reverse .split__media { order: 0; }
    .hero__visual { margin-top: 2.5rem; }
}

@media (max-width: 767.98px) {
    .main-nav, .nav-actions .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .product-grid, .feature-grid, .approach-grid, .audience-grid, .mini-stat { grid-template-columns: 1fr; }
    .stats-band .divider { display: none; }
    .hero__cta .btn { flex: 1 1 100%; }
    .eco-stack .eco-card { transform: none !important; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
    .hero__trust { gap: 0.75rem 1.25rem; }
}
