/*
Theme Name: Neuf Seizieme
Theme URI: https://neufseixieme.fr
Author: Neuf Seizieme
Author URI: https://neufseixieme.fr
Description: Theme sur-mesure pour Neuf Seizieme, agence de videos verticales 9:16 pour les reseaux sociaux.
Version: 3.3.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neuf-seizieme
Tags: one-page, custom-logo, translation-ready
*/

/* ==========================================================================
   0. RESET & VARIABLES — LANGAGE SOFTRIVER, BLEU #0265ff
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    /* --- Charte officielle Neuf Seizieme (Figma "UI Branding Assets") --- */
    --grey-100: #f8f8f8;
    --grey-200: #ededed;
    --grey-500: #ababab;
    --success: #26b759;
    --success-200: #b5ffcf;
    --success-100: #e0ffeb;
    --warning: #f39a46;
    --warning-200: #f9be85;
    --warning-100: #ffe9d4;
    --danger: #ff1b1b;
    --danger-200: #ff8a8a;
    --danger-100: #ffe0e0;

    --bg-light: #ffffff;
    --bg-soft: var(--grey-100);
    --bg-muted: var(--grey-100);
    --bg-tint: #f7fbff;
    --bg-card: #ffffff;
    --border-light: var(--grey-200);
    --border-soft: var(--grey-200);
    --text-primary: #040815;
    --text-secondary: #52525b;
    --text-muted: var(--grey-500);
    --accent: #0265ff;
    --accent-hover: #0254d8;
    --accent-light: rgba(2, 101, 255, 0.08);
    --accent-tint: #eaf2ff;
    --accent-glow: rgba(2, 101, 255, 0.3);
    --gradient-end: #00c8ff;
    --star-color: #0265ff;
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter Tight', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Brand blue palette */
    --brand: #0265ff;
    --brand-deep: #0148c2;
    --brand-darker: #01388f;
    --brand-light: #4d8fff;
    --brand-lighter: #7fb0ff;
    --brand-fade: #dce9ff;
    --container: 1280px;
    /* Kevin 2026-07-07 : TOUS les arrondis de la page en 4px (les vrais cercles restent en 50%) */
    --radius-sm: 4px;
    --radius-btn: 4px;
    --btn-pressed-bg: #e3e9f1;
    --btn-pressed-text: #b6c6de;
    --btn-secondary-hover: #f2f7ff;
    --radius-md: 4px;
    --radius-lg: 4px;
    --radius-full: 4px;
    --shadow-xs: 0 1px 3px rgba(3, 25, 72, 0.04);
    --shadow-sm: 0 2px 8px rgba(3, 25, 72, 0.05);
    --shadow-md: 0 8px 56px rgba(3, 25, 72, 0.07);
    --shadow-lg: 0 24px 80px rgba(3, 25, 72, 0.1);
    /* Ombre bouton Softriver : 3 couches accent + inset lumineux */
    --shadow-btn: 0 4px 4px rgba(2, 101, 255, 0.08), 0 8px 8px rgba(2, 101, 255, 0.04), 0 16px 5px rgba(2, 101, 255, 0.02), inset 0 0 2px rgba(255, 255, 255, 0.12), inset 0 0 20px rgba(255, 255, 255, 0.08);
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 64px;

    /* Dark-zone palette (methode, scroll-text, footer) */
    --dark-bg: #040815;
    --dark-bg-end: #0a1428;
    --dark-text: #ffffff;
    --dark-text-secondary: rgba(255, 255, 255, 0.6);
    --dark-text-muted: rgba(255, 255, 255, 0.4);
    --dark-border: rgba(255, 255, 255, 0.1);
    --dark-glass: rgba(255, 255, 255, 0.06);
}

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

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

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ==========================================================================
   1. LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-tint);
    border: 1px solid rgba(2, 101, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ==========================================================================
   2. BUTTONS — planche Figma "Buttons" (radius 8px, 4 etats x 2 variantes)
   Large 44px : padding 11px 24px / 15px — Small 36px : padding 8px 16px / 14px
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
}

/* Small (36px) */
.btn-sm {
    font-size: 14px;
    line-height: 18px;
    padding: 8px 16px;
}

/* Primary — Default : fond bleu, texte blanc */
.btn-primary {
    background: var(--brand);
    color: #ffffff;
}

/* Primary — Hover : fond BLANC, texte + bordure bleus */
.btn-primary:hover {
    background: #ffffff;
    color: var(--brand);
    border-color: var(--brand);
}

/* Primary — Pressed : gris-bleu clair, texte bleu tres clair, aucune bordure */
.btn-primary:active {
    background: var(--btn-pressed-bg);
    color: var(--btn-pressed-text);
    border-color: transparent;
}

/* Secondary — Default : blanc borde bleu, texte bleu */
.btn-outline {
    border-color: var(--brand);
    color: var(--brand);
    background: #ffffff;
}

/* Secondary — Hover : fond bleu tres pale */
.btn-outline:hover {
    border-color: var(--brand);
    background: var(--btn-secondary-hover);
    color: var(--brand);
}

/* Secondary — Pressed : identique au pressed Primary, aucune bordure */
.btn-outline:active {
    background: var(--btn-pressed-bg);
    color: var(--btn-pressed-text);
    border-color: transparent;
}

/* Primary — Disabled : rempli gris, aucune bordure */
.btn:disabled,
.btn[aria-disabled="true"],
.btn.is-disabled {
    background: var(--grey-200);
    color: var(--grey-500);
    border-color: transparent;
    pointer-events: none;
    cursor: default;
}

/* Secondary — Disabled : fond blanc, bordure grise, texte gris */
.btn-outline:disabled,
.btn-outline[aria-disabled="true"],
.btn-outline.is-disabled {
    background: #ffffff;
    color: var(--grey-500);
    border-color: var(--grey-200);
}

/* Icone : fleche DANS un cercle outline (langage planche Figma) */
.btn-icon {
    width: 18px;
    height: 18px;
    padding: 3px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */

/* --- Navbar Softriver : blanche, fine, pas d'ombre, fine bordure basse --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: #ffffff;
    border-bottom: 1px solid var(--border-soft);
    transition: background var(--transition-base);
}

/* --- Scrolled : leger blur, toujours sans ombre --- */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
    justify-self: start;
}

/* Menu centre (style Ades) */
.nav-container .nav-links {
    justify-self: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-self: end;
}

/* Logo officiel (SVG bleu, nav blanche partout).
   Le logo est tres horizontal (~8:1) : on pilote par la hauteur. */
.nav-logo-img {
    height: 26px;
    width: auto;
}

/* Glint : bande lumineuse qui balaye le logo en continu, comme une lame au soleil.
   La bande est masquee par la forme du logo (logo-blanc.svg utilise comme mask,
   forme identique au logo bleu affiche). Le halo blanc du drop-shadow rend le
   reflet bien visible sur le logo bleu. */
.nav-logo-glint {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 26px;
    width: 100%;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85));
    z-index: 2;
}

.nav-logo-glint::before {
    content: "";
    position: absolute;
    inset: 0;
    -webkit-mask-image: url(img/logo-blanc.svg);
    mask-image: url(img/logo-blanc.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: left center;
    mask-position: left center;
    background: linear-gradient(
        115deg,
        transparent 40%,
        rgba(255, 255, 255, 0.25) 46%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.25) 54%,
        transparent 60%
    );
    background-size: 250% 100%;
    background-repeat: no-repeat;
    background-position: 130% 0;
    animation: ns-logo-glint 5.5s linear infinite;
}

/* La bande traverse en ~2s puis marque une pause avant le passage suivant */
@keyframes ns-logo-glint {
    0%   { background-position: 130% 0; }
    35%  { background-position: -30% 0; }
    100% { background-position: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-logo-glint::before {
        animation: none;
        background: none;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Liens sombres sur nav blanche, hover bleu */
.nav-links > a {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links > a:hover {
    color: var(--brand);
    background: rgba(2, 101, 255, 0.06);
}

/* Nav CTA — bouton Primary Small planche Figma (36px, radius 8, hover blanc) */
a.nav-cta-primary,
a.nav-cta-primary:visited {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-left: 12px;
    color: #ffffff !important;
    background: var(--brand) !important;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 0;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

a.nav-cta-primary:hover {
    background: #ffffff !important;
    color: var(--brand) !important;
    border-color: var(--brand);
}

/* Pressed */
a.nav-cta-primary:active {
    background: var(--btn-pressed-bg) !important;
    color: var(--btn-pressed-text) !important;
    border-color: transparent;
}

/* Text rolling animation */
.nav-cta-text {
    display: block;
    position: relative;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2;
    z-index: 1;
}

.nav-cta-text-default,
.nav-cta-text-hover {
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
}

a.nav-cta-primary:hover .nav-cta-text-default {
    transform: translateY(-100%);
}

a.nav-cta-primary:hover .nav-cta-text-hover {
    transform: translateY(0);
}

.nav-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    background: transparent;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    z-index: 1;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.nav-cta-arrow svg {
    width: 9px;
    height: 9px;
}

.nav-cta-arrow-default,
.nav-cta-arrow-hover {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta-arrow-hover {
    position: absolute;
    inset: 0;
    transform: translate(-140%, 140%);
}

a.nav-cta-primary:hover .nav-cta-arrow-default {
    transform: translate(140%, -140%);
}

a.nav-cta-primary:hover .nav-cta-arrow-hover {
    transform: translate(0, 0);
}

/* Services dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
    cursor: default;
}

.nav-dropdown-trigger:hover {
    color: var(--brand);
    background: rgba(2, 101, 255, 0.06);
}

.nav-dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-soft);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span {
    background: #ffffff;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    padding: 10px 0;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.mobile-nav .btn {
    margin-top: 20px;
    font-size: 15px;
    padding: 11px 24px;
}

/* ==========================================================================
   4. HERO — CLONE SOFTRIVER (aligne a gauche, fond blanc pur, H1 noir)
   ========================================================================== */

.ns-hero {
    position: relative;
    padding: calc(var(--header-h) + 96px) 0 0;
    overflow: hidden;
    background: #ffffff;
    text-align: left;
}

.ns-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Ligne badges : urgence en texte simple + pill grise avis --- */
.ns-hero-pills {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Urgence : point pulsant + petit texte simple (pas de pill bordee) */
.ns-hero-slots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
}

.ns-pill-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Cercle exterieur pulsant — vert Success charte */
.ns-pill-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(38, 183, 89, 0.3);
    animation: ns-pill-pulse 2s ease-out infinite;
}

.ns-pill-dot-core {
    position: relative;
    z-index: 1;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

@keyframes ns-pill-pulse {
    0%   { transform: scale(0.45); opacity: 1; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Pill avis : pill grise claire, etoiles + chiffres en bold noir */
.ns-pill-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--grey-100);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
}

.ns-pill-rating-text strong {
    font-weight: 700;
    color: var(--text-primary);
}

.ns-pill-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--brand);
}

.ns-pill-stars svg {
    display: block;
}

/* --- Titre H1 : 100% noir, Inter Tight, serre (valeurs Softriver) --- */
.ns-hero-title {
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-primary);
    max-width: 820px;
    margin-bottom: 24px;
}

/* --- Sous-titre : gris, segments cles en bold noir --- */
.ns-hero-subtitle {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 0 40px;
}

.ns-hero-subtitle strong {
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Rangee basse : CTAs a gauche + micro-preuves a droite --- */
.ns-hero-bottom {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ns-hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* CTA hero Primary — Large planche Figma (44px, radius 8, fleche dans cercle outline) */
.ns-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    background: var(--brand);
    color: #ffffff;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

/* Hover : fond BLANC, texte + bordure bleus */
.ns-btn-primary:hover {
    background: #ffffff;
    color: var(--brand);
    border-color: var(--brand);
}

/* Pressed : gris-bleu clair, texte bleu tres clair, aucune bordure */
.ns-btn-primary:active {
    background: var(--btn-pressed-bg);
    color: var(--btn-pressed-text);
    border-color: transparent;
}

/* Fleche DANS un cercle outline 20px (langage planche Figma) */
.ns-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.ns-btn-arrow svg {
    width: 10px;
    height: 10px;
}

.ns-btn-primary:hover .ns-btn-arrow {
    transform: translateX(3px);
}

/* CTA hero Secondary — blanc borde bleu, avatar conserve (hauteur 44px) */
.ns-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 20px 5px 5px;
    border: 1px solid var(--brand);
    border-radius: var(--radius-btn);
    background: #ffffff;
    color: var(--brand);
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

/* Hover : fond bleu tres pale */
.ns-btn-secondary:hover {
    background: var(--btn-secondary-hover);
}

/* Pressed : gris-bleu clair, texte bleu tres clair, aucune bordure */
.ns-btn-secondary:active {
    background: var(--btn-pressed-bg);
    color: var(--btn-pressed-text);
    border-color: transparent;
}

.ns-btn-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-darker), var(--brand-light));
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ns-btn-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Micro-preuves : petits items separes par des traits fins --- */
.ns-hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.ns-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ns-trust-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.ns-trust-divider {
    width: 1px;
    height: 12px;
    background: var(--border-light);
    flex-shrink: 0;
}

/* --- Carrousel photos portfolio (pleine largeur, marquee infini lent) --- */
.ns-hero-cards {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 88px;
    padding-bottom: 112px;
    overflow: hidden;
}

.ns-cards-track {
    display: flex;
    width: max-content;
    animation: ns-cards-scroll 60s linear infinite;
}

.ns-hero-cards:hover .ns-cards-track {
    animation-play-state: paused;
}

@keyframes ns-cards-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Grandes cartes photos (~3:4 vertical leger, radius modere, gap petit) */
.ns-card {
    position: relative;
    width: 360px;
    height: 480px;
    margin-right: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.ns-card-media {
    position: absolute;
    inset: 0;
}

.ns-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caption sobre : juste le nom du projet en petit en bas a gauche */
.ns-card-caption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ns-card--ink-light .ns-card-caption {
    color: rgba(255, 255, 255, 0.85);
}

.ns-card--ink-dark .ns-card-caption {
    color: rgba(4, 8, 21, 0.72);
}

/* --- Bandeau logos clients (noir sur blanc) --- */
.ns-logos {
    background: #ffffff;
    padding: 8px 0 80px;
    overflow: hidden;
}

.ns-logos-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.ns-logos .marquee-track {
    gap: 96px;
    animation-duration: 45s;
}

.ns-logos .marquee-item {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.85;
}

.ns-logos .marquee-logo {
    height: 26px;
    opacity: 0.85;
}

/* --- Accessibilite : stop les marquees + pulse si reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .ns-cards-track,
    .marquee-track {
        animation: none;
    }
    .ns-pill-dot::before {
        animation: none;
        opacity: 0;
    }
}

/* --- Responsive hero (tout reste aligne a gauche) --- */
@media (max-width: 768px) {
    .ns-hero {
        padding-top: calc(var(--header-h) + 56px);
    }
    .ns-hero-pills {
        margin-bottom: 24px;
    }
    .ns-hero-title {
        font-size: clamp(32px, 8.8vw, 38px);
        letter-spacing: -1px;
        margin-bottom: 18px;
    }
    /* Wrap naturel sur mobile (le <br> desktop casserait la ligne trop tot) */
    .ns-hero-title br {
        display: none;
    }
    .ns-hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    .ns-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .ns-hero-ctas {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
    }
    .ns-btn-primary,
    .ns-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .ns-btn-primary {
        justify-content: space-between;
    }
    .ns-hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ns-trust-divider {
        display: none;
    }
    .ns-hero-cards {
        margin-top: 56px;
        padding-bottom: 72px;
    }
    .ns-card {
        width: 240px;
        height: 320px;
        margin-right: 12px;
    }
    .ns-logos {
        padding-bottom: 56px;
    }
    .ns-logos .marquee-track {
        gap: 56px;
    }
    .ns-logos .marquee-item {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ns-pill-rating,
    .ns-hero-slots {
        font-size: 12.5px;
    }
    .ns-hero-pills {
        gap: 12px;
    }
}

/* ==========================================================================
   5. LOGO MARQUEE (generique)
   ========================================================================== */

.marquee-track {
    display: flex;
    width: max-content;
    gap: 80px;
    align-items: center;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

.marquee-item:hover {
    color: var(--text-secondary);
}

.marquee-logo {
    height: 20px;
    width: auto;
    opacity: 0.4;
    transition: opacity var(--transition-fast);
}

.marquee-item-logo:hover .marquee-logo {
    opacity: 0.7;
}

/* ==========================================================================
   6. REALISATIONS (PORTFOLIO) — Light cards
   ========================================================================== */

.realisations-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.realisations-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.realisations-section .section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 0;
}

.realisations-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    background: #ffffff;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

/* Hover : langage Secondary planche (bleu tres pale) */
.filter-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--btn-secondary-hover);
}

/* Pressed */
.filter-btn:active {
    background: var(--btn-pressed-bg);
    color: var(--btn-pressed-text);
    border-color: transparent;
}

.filter-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.realisations-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.realisations-scroll::-webkit-scrollbar {
    display: none;
}

.realisation-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: opacity 0.4s ease;
}

.realisation-card.hidden {
    display: none;
}

/* Brand label row — above video */
.realisation-card-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.realisation-card-label .brand-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.realisation-card-label .label-line {
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.realisation-card-label .category-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Video thumbnail — 9:16 portrait */
.realisation-card-visual {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.realisation-card-visual iframe {
    pointer-events: none;
}

.realisation-sound-toggle {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
}

.realisation-sound-toggle .sound-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.realisation-sound-toggle:hover .sound-icon {
    background: rgba(0, 0, 0, 0.7);
}

.realisation-sound-toggle svg {
    width: 18px;
    height: 18px;
}

/* Play button — hover only */
.realisation-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.realisation-card:hover .realisation-play {
    opacity: 1;
    transform: scale(1.05);
}

.realisation-play svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    margin-left: 2px;
}

/* Stat text below video */
.realisation-card-stat {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Navigation arrows */
.realisations-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.realisations-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}

.realisations-nav-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.realisations-nav-btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   7. AGENCE / STATS — Bento dark grid
   ========================================================================== */

.agence-section {
    padding: 60px 0 120px;
    background: var(--bg-light);
}

.agence-title {
    text-align: center;
    margin-bottom: 48px;
}

.agence-title em {
    color: var(--accent);
    font-style: normal;
}

/* --- Bento Grid — 12 col system --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto auto;
    gap: 12px;
}

/* Row 1 : hero asymétrique (7+5 ≈ golden ratio) */
.bento-hundred  { grid-column: 1 / 8;   grid-row: 1; }
.bento-concepts { grid-column: 8 / 13;  grid-row: 1; }

/* Row 2 : 3 cards */
.bento-vues     { grid-column: 1 / 5;   grid-row: 2; }
.bento-expert   { grid-column: 5 / 9;   grid-row: 2; }
.bento-clients  { grid-column: 9 / 13;  grid-row: 2; }

/* Row 3 : stats côte à côte */
.bento-satisfaction { grid-column: 1 / 13; grid-row: 3; display: none; }

.bento-card {
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base);
}

.bento-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Shared card elements */
.bento-statement {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.bento-statement em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

.bento-big-number {
    font-size: 56px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

/* Card — Concepts grid avec sélection */
.bento-concepts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.bento-concepts-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: center;
    overflow: hidden;
    margin: -24px -52px;
    padding: 24px 0;
}

.cr {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Row offsets — diagonal stagger effect */
.cr-offset-1 { padding-left: 25px; }
.cr-offset-2 { padding-left: 20px; }
.cr-offset-3 { padding-left: 10px; }

.cg {
    height: 38px;
    width: 100px;
    min-width: 100px;
    background: rgba(2, 101, 255, 0.05);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cg-sm {
    width: 55px;
    min-width: 55px;
}

.cs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    color: transparent;
    background: rgba(2, 101, 255, 0.05);
    border-radius: var(--radius-sm);
    box-shadow: none;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
    position: relative;
}

.cs .cs-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cs .cs-label {
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Active state — after cursor click */
.cs.cs-active {
    color: #ffffff;
    background: linear-gradient(135deg, #0265ff 0%, #00c8ff 100%);
    box-shadow: 0 4px 16px rgba(2, 101, 255, 0.3);
    transform: scale(1.05);
}

.cs.cs-active .cs-icon {
    opacity: 1;
}

.cs.cs-active .cs-label {
    opacity: 1;
}

/* Settle back after pop */
.cs.cs-settled {
    transform: scale(1);
}

/* Fake cursor */
.bento-cursor {
    position: absolute;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.bento-cursor.cursor-visible {
    opacity: 1;
}

.bento-cursor.cursor-moving {
    transition: left 0.5s cubic-bezier(0.33, 1, 0.68, 1), top 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.bento-cursor.cursor-clicking {
    transform: scale(0.85);
    transition: transform 0.1s ease;
}

.bento-cursor.cursor-click-release {
    transform: scale(1);
    transition: transform 0.15s ease;
}

/* Statement spacing */
.bento-concepts .bento-statement {
    margin-top: 28px;
    text-align: center;
}

/* Row 2 cards — equal */
.bento-vues {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    min-height: 260px;
}

.bento-mini-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
    display: block;
}

.bento-curve-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: curve-draw 3s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes curve-draw {
    0% { stroke-dashoffset: 500; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

/* Card — Expert */
.bento-expert {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 260px;
}

.bento-expert-title {
    font-size: 56px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.bento-expert-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 90px;
    z-index: 1;
}

.bento-expert-formats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Tilted video reels */
.bento-expert-videos {
    position: absolute;
    right: 16px;
    top: -30px;
    bottom: -30px;
    width: 95px;
    transform: rotate(8deg);
    overflow: hidden;
    z-index: 0;
}

.bento-expert-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: expert-scroll 12s linear infinite;
}

@keyframes expert-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.bento-expert-reel {
    width: 75px;
    height: 133px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(2, 101, 255, 0.08);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    position: relative;
}

.bento-expert-reel iframe {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: none;
    pointer-events: none;
    object-fit: cover;
}

/* Card — Clients + Satisfaction merged */
.bento-clients {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 260px;
}

.bento-clients-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.bento-clients-stat {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bento-clients-stat .bento-big-number {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.bento-clients-divider {
    width: 1px;
    height: 80px;
    background: var(--border-light);
    flex-shrink: 0;
    margin: 0 24px;
}

/* Card — Satisfaction (bannière horizontale) */
.bento-satisfaction {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 28px 40px;
    background: rgba(2,101,255,0.03);
    border-color: rgba(2,101,255,0.1);
}

.bento-satisfaction .bento-big-number {
    font-size: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.bento-satisfaction .bento-statement {
    flex-shrink: 0;
}

.bento-satisfaction-bar {
    flex: 1;
    height: 6px;
    background: rgba(2,101,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.bento-satisfaction-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #00c8ff);
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

.bento-satisfaction.revealed .bento-satisfaction-fill {
    width: 98%;
}

/* Card HERO — 100% (fond dark, ancre visuelle) */
/* Card HERO — 100% (fond dark, ancre visuelle) */
.bento-hundred {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 300px;
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-end));
    border-color: rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.bento-hundred:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.12);
}

.bento-hundred-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-hundred-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.bento-hundred-number {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
    color: #ffffff;
}

.bento-hundred-desc {
    font-size: 16px;
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

/* Override stepper colors inside dark card */
.bento-hundred .bento-stepper-track {
    background: rgba(255,255,255,0.08);
}

.bento-hundred .bento-stepper-label {
    background: rgba(255,255,255,0.04);
    border-color: transparent;
    color: rgba(255,255,255,0.4);
}

.bento-hundred .bento-stepper-item.pos-active .bento-stepper-label {
    background: rgba(255,255,255,0.08);
    border-color: rgba(2,101,255,0.35);
    color: #ffffff;
}

.bento-hundred .bento-stepper-dot {
    background: rgba(255,255,255,0.2);
    border-color: transparent;
    box-shadow: none;
}

.bento-hundred .bento-stepper-item.pos-active .bento-stepper-dot {
    background: var(--accent);
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(2,101,255,0.2);
}

/* Stepper animé — cadran style, 3 visibles */
.bento-stepper {
    display: flex;
    gap: 0;
    align-items: stretch;
    flex: 1;
    min-width: 0;
    justify-content: center;
    margin: -32px 0;
    padding: 0;
}

.bento-stepper-track {
    width: 2px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    margin-right: 14px;
}

.bento-stepper-progress {
    display: none;
}

.bento-stepper-items {
    width: 240px;
    flex-shrink: 0;
    height: 190px;
    overflow: hidden;
    position: relative;
}

.bento-stepper-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 6px;
    right: 0;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-stepper-item.pos-prev {
    opacity: 0.3;
    transform: translateY(16px);
}

.bento-stepper-item.pos-active {
    opacity: 1;
    transform: translateY(76px);
}

.bento-stepper-item.pos-next {
    opacity: 0.3;
    transform: translateY(136px);
}

.bento-stepper-item.pos-exit {
    opacity: 0;
    transform: translateY(-30px);
}

.bento-stepper-item.pos-enter {
    opacity: 0;
    transform: translateY(200px);
    transition: none;
}

.bento-stepper-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    flex-shrink: 0;
    border: none;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.bento-stepper-item.pos-active .bento-stepper-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(2,101,255,0.2);
}

.bento-stepper-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    line-height: 1.3;
    transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease, font-weight 0.5s ease;
}

.bento-stepper-item.pos-active .bento-stepper-label {
    border-color: rgba(2,101,255,0.25);
    color: var(--text-primary);
    font-weight: 600;
}

.bento-glass-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

/* Icon tags — glass light style */
.bento-icon-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Text block below bento */
.agence-text-block {
    max-width: 720px;
    margin: 64px auto 0;
    text-align: center;
}

.agence-text-block h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.agence-text-block p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Responsive bento */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .bento-hundred  { grid-column: 1 / 7; }
    .bento-concepts { grid-column: 1 / 7; }
    .bento-vues     { grid-column: 1 / 4; }
    .bento-expert   { grid-column: 4 / 7; }
    .bento-clients  { grid-column: 1 / 7; }
    .bento-hundred, .bento-concepts, .bento-vues,
    .bento-expert, .bento-clients {
        grid-row: auto;
    }
    .bento-concepts { min-height: 280px; }
    .bento-concepts-wrap { margin: 0 -48px; }
    .bento-card { padding: 28px; }
    .bento-hundred { gap: 28px; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-hundred, .bento-concepts, .bento-vues,
    .bento-expert, .bento-clients {
        grid-column: 1;
        grid-row: auto;
    }
    .bento-hundred {
        flex-direction: column;
        gap: 24px;
        min-height: auto;
    }
    .bento-hundred-number { font-size: 52px; }
    .bento-stepper-items { width: 100%; }
    .bento-stepper-items { height: 170px; }
    .bento-big-number { font-size: 44px; }
    .bento-expert-content { padding-right: 80px; }
    .bento-expert-title { font-size: 44px; }
    .bento-expert-videos { right: 8px; }
    .bento-expert-reel { width: 60px; height: 107px; }
    .bento-clients-stat .bento-big-number { font-size: 36px; }

    /* Concepts card mobile */
    .bento-concepts { min-height: 260px; }
    .bento-concepts-wrap {
        gap: 8px;
        margin: 0 -44px;
    }
    .bento-card { padding: 24px; }
    .cr { gap: 8px; }
    .cr-offset-1 { padding-left: 15px; }
    .cr-offset-2 { padding-left: 12px; }
    .cr-offset-3 { padding-left: 6px; }
    .cg { height: 34px; width: 80px; min-width: 80px; }
    .cg-sm { width: 44px; min-width: 44px; }
    .cs { height: 36px; padding: 0 18px; font-size: 13px; }
    .bento-concepts .bento-statement { margin-top: 24px; font-size: 15px; }
}

/* ==========================================================================
   8. METHODE — Light tabs
   ========================================================================== */

.methode-section {
    background: linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg-end) 100%);
    padding: 100px 0;
    border-radius: var(--radius-lg);
    margin: 0 24px;
}

/* --- Header --- */
.methode-header {
    display: flex;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 48px;
}

.methode-header-left {
    flex-shrink: 0;
    max-width: 520px;
}

.methode-label {
    background: rgba(2, 101, 255, 0.18) !important;
    border-color: rgba(2, 101, 255, 0.3) !important;
    color: #a8caff !important;
}

.methode-title {
    color: var(--dark-text) !important;
    margin-bottom: 0 !important;
}

.methode-header-line {
    flex: 1;
    height: 1px;
    background: var(--dark-border);
    margin-bottom: 12px;
}

/* --- Step cards grid --- */
.methode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.methode-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.methode-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.methode-card-num {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text-muted);
    margin-bottom: 8px;
}

.methode-card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: auto;
    min-height: 60px;
}

.methode-card-desc {
    font-size: 15px;
    color: var(--dark-text-secondary);
    line-height: 1.6;
    margin-top: 24px;
}

/* --- Bottom bar --- */
.methode-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 20px 28px;
}

.methode-bottom-text {
    font-size: 15px;
    color: var(--dark-text-secondary);
}

.methode-bottom-text strong {
    color: var(--dark-text);
}


/* ==========================================================================
   9. SERVICES — Light accordion
   ========================================================================== */

.services-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.services-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    transition: background var(--transition-base);
}

.service-item:first-child {
    border-top: 1px solid var(--border-light);
}

.service-item:hover {
    background: var(--bg-soft);
}

.service-item-text {
    padding: 36px 0;
}

.service-item-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color var(--transition-fast);
}

.service-item-title:hover {
    color: var(--accent);
}

.service-item-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-base), color var(--transition-base);
    flex-shrink: 0;
}

.service-item:hover .service-item-arrow {
    transform: rotate(45deg);
    color: var(--accent);
}

.service-item-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-slow), opacity var(--transition-base), margin var(--transition-base);
}

.service-item:hover .service-item-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.service-item-visual {
    height: 100%;
    min-height: 160px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.service-item:hover .service-item-visual {
    opacity: 1;
    transform: translateX(0);
}

.service-item-visual-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   10. TESTIMONIALS — Masonry grid with fade
   ========================================================================== */

.testimonials-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 56px;
}

/* --- Grid wrapper with collapse --- */
.testimonials-grid-wrapper {
    position: relative;
    max-height: 560px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-grid-wrapper.expanded {
    max-height: 3000px;
}

.testimonials-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-light) 100%);
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.testimonials-grid-wrapper.expanded .testimonials-fade {
    opacity: 0;
}

/* --- Testimonials grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
}

.testimonials-grid .testimonial-card:nth-child(3n+2) {
    transform: translateY(-24px);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-company-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--bg-card);
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}

.testimonial-star {
    color: var(--star-color);
    font-size: 16px;
}

.testimonial-star--empty {
    color: var(--border-light);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonials-more {
    text-align: center;
    margin-top: 32px;
}

/* ==========================================================================
   11. FAQ — Light accordion
   ========================================================================== */

.faq-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-header .section-subtitle {
    margin: 0 auto;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: rgba(2, 101, 255, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    border-radius: 50%;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

/* ==========================================================================
   12. CTA SECTION — Light with centered text
   ========================================================================== */

.cta-section {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative curved lines */
.cta-curve {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cta-curve path {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    transition: stroke-dashoffset 3s ease;
}

.cta-curve path:nth-child(2) {
    transition-delay: 0.5s;
}

.cta-section.revealed .cta-curve path {
    stroke-dashoffset: 0;
}


.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 24px;
    line-height: 1.15;
}

.cta-description {
    font-size: 17px;
    color: var(--dark-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Trust badge */
.cta-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.6);
    transition: border-color var(--transition-fast);
}

.cta-trust-badge:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-trust-avatars {
    display: flex;
    margin-left: 4px;
}

.cta-trust-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    margin-left: -8px;
}

.cta-trust-dot:first-child { margin-left: 0; }
.cta-trust-dot:nth-child(1) { background: rgba(2, 101, 255, 0.35); }
.cta-trust-dot:nth-child(2) { background: rgba(255, 255, 255, 0.15); }
.cta-trust-dot:nth-child(3) { background: rgba(2, 101, 255, 0.2); }
.cta-trust-dot:nth-child(4) { background: rgba(255, 255, 255, 0.1); }

.cta-trust-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.cta-trust-badge svg {
    color: rgba(255, 255, 255, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ghost blanc zone sombre — aligne tailles planche (Large 44px, radius 8) */
.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.cta-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   13. SCROLLING TEXT — DARK band (connects hero to footer)
   ========================================================================== */

.scroll-text-section {
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg-end) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.scroll-text-track {
    display: flex;
    width: max-content;
    animation: scroll-text 25s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.scroll-text-item {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    padding-right: 64px;
    letter-spacing: -0.02em;
}

.scroll-text-item .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 32px;
    vertical-align: middle;
}

/* ==========================================================================
   11. ÉTUDES DE CAS
   ========================================================================== */

.case-studies-section {
    background: var(--bg-soft);
    padding: 120px 0;
}

.case-studies-section .section-title {
    text-align: center;
    margin-bottom: 64px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-study-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-study-visual {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-soft) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-study-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.case-study-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-study-brand {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.case-study-industry {
    font-size: 13px;
    color: var(--text-muted);
}

.case-study-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 4px;
}

.case-study-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    transition: gap var(--transition-fast);
}

.case-study-link:hover {
    gap: 10px;
}

@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. PROPOSITION DE VALEUR
   ========================================================================== */

.value-props-section {
    background: var(--bg-light);
    padding: 120px 0;
}

.value-props-section .value-props-header {
    text-align: center;
    margin-bottom: 64px;
}

.value-props-section .section-title {
    text-align: center;
    margin-bottom: 16px;
}

.value-props-section .section-subtitle {
    max-width: 560px;
    margin: 0 auto;
}

/* --- Comparison grid --- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

.comparison-col {
    padding: 0 48px;
}

.comparison-col--other {
    border-right: 1px solid var(--border-light);
}

.comparison-col-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    letter-spacing: -0.02em;
}

.comparison-col--other .comparison-col-title {
    color: var(--text-secondary);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.comparison-item--negative {
    color: var(--text-muted);
}

.comparison-item--positive {
    color: var(--text-primary);
}

.comparison-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%; /* vrai cercle, pas concerne par le 4px global */
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-icon--negative {
    background: var(--bg-muted);
    color: var(--text-muted);
}

.comparison-icon--positive {
    background: linear-gradient(135deg, var(--accent), var(--gradient-end));
    color: #fff;
    box-shadow: 0 2px 8px rgba(2, 101, 255, 0.25);
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .comparison-col {
        padding: 0;
    }

    .comparison-col--other {
        border-right: none;
    }
}

/* ==========================================================================
   13. PRICING
   ========================================================================== */

.pricing-section {
    background: var(--bg-soft);
    padding: 120px 0;
}

.pricing-section .section-title {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pricing-card.pricing-card-popular {
    border-color: var(--accent);
    position: relative;
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pricing-plan-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.pricing-price span {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-features li {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "\2713";
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

.pricing-cta {
    margin-top: auto;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.pricing-card-popular {
        order: -1;
    }
}

/* ==========================================================================
   14. FOOTER — DARK PREMIUM (Biux style)
   ========================================================================== */

.site-footer {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(2, 101, 255, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 30% 20%, rgba(2, 101, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 10%, rgba(2, 101, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-end) 100%);
    color: var(--dark-text-secondary);
    padding: 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Footer top — tagline + socials + CTA */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding: 80px 0 48px;
}

.footer-tagline {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 32px;
}

.footer-social-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-text-muted);
    transition: color var(--transition-fast);
}

.footer-social-item:hover {
    color: #ffffff;
}

.footer-social-item svg {
    transition: transform var(--transition-fast);
}

.footer-social-item:hover svg {
    transform: translate(2px, -2px);
}

.footer-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    flex-shrink: 0;
}

.footer-stat {
    font-size: 15px;
    color: var(--dark-text-secondary);
}

/* Ghost blanc footer — aligne tailles planche (Small 36px, radius 8) */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-btn);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-cta-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 48px;
}

/* Footer columns */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding-bottom: 60px;
}

.footer-column-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column li,
.footer-column a {
    font-size: 14px;
    color: var(--dark-text-muted);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: #ffffff;
}

/* Watermark */
.footer-watermark {
    position: absolute;
    bottom: -0.08em;
    left: 0;
    right: 0;
    width: 100%;
    font-size: 13.5vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    text-align: center;
    letter-spacing: -0.04em;
    line-height: 0.85;
    white-space: nowrap;
    text-transform: uppercase;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,1) 100%);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a,
.footer-bottom-links li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover,
.footer-bottom-links li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   15. FLOATING CTA — Blue circle
   ========================================================================== */

.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--accent-glow);
    z-index: 990;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    visibility: hidden;
    transition: all var(--transition-base);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.floating-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 28px rgba(2, 101, 255, 0.5);
}

.floating-cta svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   16. SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   17. RESPONSIVE — TABLET (max 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        grid-template-columns: auto 1fr;
    }

    .nav-toggle {
        display: flex;
        margin-left: 12px;
    }

    .agence-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .methode-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .methode-header {
        flex-direction: column;
        gap: 24px;
    }

    .methode-header-line {
        display: none;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-item-visual {
        display: none;
    }

    .footer-top { flex-direction: column; gap: 32px; }
    .footer-top-right { align-items: flex-start; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:nth-child(3n+2) {
        transform: none;
    }

    .testimonials-grid .testimonial-card:nth-child(2n) {
        transform: translateY(-24px);
    }

    .realisation-card {
        flex: 0 0 240px;
    }

    .section {
        padding: 80px 0;
    }

    .realisations-section,
    .agence-section,
    .services-section,
    .testimonials-section,
    .faq-section,
    .cta-section {
        padding: 80px 0;
    }

}

/* ==========================================================================
   18. RESPONSIVE — MOBILE (max 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
        grid-template-columns: auto 1fr;
    }

    .nav-actions .nav-cta-primary {
        display: none !important;
    }

    .realisations-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 40px);
    }

    .section-subtitle {
        font-size: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:nth-child(2n),
    .testimonials-grid .testimonial-card:nth-child(3n+2) {
        transform: none;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 18px;
        font-size: 14px;
    }

    .cta-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .scroll-text-section {
        padding: 48px 0;
    }

    .marquee-section {
        padding: 40px 0;
    }
}

/* ==========================================================================
   19. RESPONSIVE — SMALL MOBILE (max 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .marquee-item {
        font-size: 14px;
    }

    .marquee-track {
        gap: 48px;
    }

    .realisation-card {
        flex: 0 0 220px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 28px;
    }

    .methode-grid {
        grid-template-columns: 1fr;
    }

    .methode-section {
        margin: 0 16px;
        padding: 60px 0;
    }

    .methode-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .service-item-title {
        font-size: 20px;
    }

    .testimonials-grid-wrapper {
        max-height: 400px;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    /* Boutons empiles : pleine largeur conservee, hauteur 44px conservee */
    .btn {
        padding: 11px 20px;
        font-size: 15px;
    }

}
