/* Fichier : css/main.css */
@import url('./variables.css');

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Empêche le scroll horizontal accidentel */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Typographie */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Petits éléments techs / code */
.tech-label {
    font-family: var(--font-tech);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Lignes de séparation brutalistes */
section {
    border-bottom: var(--border-thin);
}
/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    z-index: 100;
    /* L'effet Glassmorphism */
    background: rgba(8, 8, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-thin);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
}

.main-nav a,
.header-actions a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.header-actions a:hover {
    color: var(--text-main);
}

.main-nav .nav-cta {
    color: var(--neon-cyan);
}

/* =========================================
   SECTION HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 var(--space-lg);
    overflow: hidden; /* Pour contenir le futur canvas */
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 1000px;
    margin: var(--space-xl) auto 0; /* Centre horizontalement */
    text-align: center; /* Centre le texte */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* L'animation fluide d'apparition */
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* On réduit un peu la police pour que ça respire */
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    margin: var(--space-sm) 0;
}

/* On centre les engagements et les boutons */
.hero-trust {
    justify-content: center; 
}
.hero-actions {
    justify-content: center; 
}

/* Animation d'apparition */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Le texte gradient */
.ink-text {
    display: inline-block;
    background: var(--ink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

/* =========================================
   BOUTONS (BRUTALISM & NEON)
   ========================================= */
.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Le bouton Néon */
.btn-neon {
    background: transparent;
    color: var(--text-main);
    border: var(--border-neon);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4),
                0 0 40px rgba(0, 229, 255, 0.2);
}

/* Le bouton Fantôme (Brutalist) */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
}

.btn-ghost:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.cyber-tag input[type="checkbox"]:focus-visible + .tag-content {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 4px;
}
/* =========================================
   CANVAS ANIMATION (HERO)
   ========================================= */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Derrière le hero-content qui est en z-index 2 */
    pointer-events: none; /* Laisse passer les clics vers les boutons */
}
/* =========================================
   SECTION EXPERTISES (SERVICES)
   ========================================= */
.services-section {
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--bg-main);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Centre tous les titres de sections (Architectures, Réalisations...) */
.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-top: var(--space-sm);
}

/* La grille responsive */
.services-grid {
    display: grid;
    /* Crée automatiquement autant de colonnes de 280px minimum que possible */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

/* Les cartes Brutalistes */
.brutal-card {
    background-color: var(--bg-card);
    border: var(--border-thin);
    padding: var(--space-lg);
    border-radius: var(--radius-brutal);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* La ligne néon magique qui apparaît au hover */
.brutal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink-gradient);
    transform: scaleX(0); /* Invisible par défaut */
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Effets au survol (Hover) */
.brutal-card:hover {
    transform: translateY(-5px); /* Remonte légèrement */
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Ombre portée sombre */
}

.brutal-card:hover::before {
    transform: scaleX(1); /* La ligne néon se déploie */
}

/* Contenu des cartes */
.card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.brutal-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-main);
}

.brutal-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    flex-grow: 1; /* Pousse les tags tech vers le bas si le texte est court */
}
/* =========================================
   SECTION CAS CLIENTS (CASE STUDIES)
   ========================================= */
.cases-section {
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--bg-main);
}

.cases-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl); /* Grand espace entre chaque projet */
    margin-top: var(--space-lg);
}

.case-study {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: 0; /* On enlève le padding par défaut de la brutal-card pour gérer l'image */
}

/* Version Desktop : Layout horizontal */
@media (min-width: 900px) {
    .case-study {
        flex-direction: row;
        align-items: stretch;
        min-height: 400px;
    }

    /* Le projet 2 s'affiche dans l'autre sens (Image à gauche, texte à droite) */
    .case-study.reverse {
        flex-direction: row-reverse;
    }
}

.case-info {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.case-tags {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.case-study h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.case-study p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    max-width: 500px;
}

/* Bouton plus petit pour les cartes */
.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
}

/* Espace visuel (Là où tu mettras tes maquettes) */
.case-visual {
    flex: 1.2;
    background-color: #0d0d12;
    border-left: var(--border-thin);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Bordure différente pour la carte inversée */
@media (min-width: 900px) {
    .case-study.reverse .case-visual {
        border-left: none;
        border-right: var(--border-thin);
    }
}

/* Le faux rendu d'image en attendant tes vrais visuels */
.visual-placeholder {
    width: 80%;
    height: 70%;
    border: 1px dashed rgba(0, 229, 255, 0.3); /* Bordure pointillée cyan */
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 10px,
        transparent 10px,
        transparent 20px
    );
}

/* Animation au survol de la carte (focus sur le visuel) */
.case-study:hover .visual-placeholder {
    border-color: var(--neon-cyan);
    background-color: rgba(0, 229, 255, 0.05);
    transition: all 0.4s ease;
}
/* =========================================
   SECTION CONTACT & FOOTER
   ========================================= */
.contact-section {
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--bg-card); /* Fait ressortir la section par rapport au fond principal */
    border-bottom: none;
}

/* Force la disposition en colonne centrée, même sur PC */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    width: 100%;
}

.contact-text h2 {
    text-align: center; /* S'assure que le titre est au milieu */
}

.contact-infos {
    align-items: center; /* Centre l'email, la zone et les délais */
}

/* Nouveau design pour le formulaire pour lui donner de la vie */
.contact-form-wrapper {
    width: 100%;
    max-width: 650px;
    background: linear-gradient(145deg, rgba(20,20,23,0.6) 0%, rgba(8,8,10,0.8) 100%);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 20px rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
}

/* On force la colonne sur TOUS les écrans */
.contact-container {
    display: flex;
    flex-direction: column !important; 
    align-items: center;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    width: 100%;
}

.contact-infos {
    align-items: center;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 750px; /* On donne de la largeur pour que les champs respirent */
    margin: 0 auto !important; /* Force le centrage au milieu de l'écran */
    
    /* Notre bel effet Glassmorphism Premium */
    background: linear-gradient(145deg, rgba(20,20,23,0.6) 0%, rgba(8,8,10,0.8) 100%);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 20px rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
}

.contact-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: var(--space-sm) 0 var(--space-md);
}

/* =========================================
   FORMULAIRE BRUTALISTE & FLOATING LABELS
   ========================================= */
.brutal-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.input-group {
    position: relative;
    padding-top: 1.5rem; /* Laisse de la place pour le label qui va remonter */
}

/* Base des champs de texte */
.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
    resize: vertical; /* Permet d'agrandir seulement en hauteur */
}

/* Le Label (qui se comporte comme un placeholder au début) */
.input-group label {
    position: absolute;
    top: 2rem; /* Position initiale (sur la ligne) */
    left: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none; /* Empêche le label de bloquer le clic sur l'input */
    transition: all 0.3s ease;
}

/* L'animation : quand on clique OU quand le champ n'est pas vide */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    font-family: var(--font-tech);
    letter-spacing: 0.05em;
}

/* La ligne néon qui s'étend */
.neon-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink-gradient);
    transform: scaleX(0); /* Invisible par défaut */
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Déploiement de la ligne au focus */
.input-group input:focus ~ .neon-line,
.input-group textarea:focus ~ .neon-line {
    transform: scaleX(1);
}

/* =========================================
   LE FOOTER
   ========================================= */
.site-footer {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--bg-main);
    border-top: var(--border-thin);
    font-family: var(--font-tech); /* Typo technique pour le footer */
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

@media (min-width: 600px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}
/* =========================================
   FORMULAIRE DE DEVIS (MISE À JOUR)
   ========================================= */

/* Pour mettre le nom et l'entreprise côte à côte sur grand écran */
.input-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 600px) {
    .input-row {
        flex-direction: row;
        gap: var(--space-md);
    }
    .input-row .input-group {
        flex: 1;
    }
}

/* Les blocs de questions (Services / Budget) */
.form-block {
    margin-top: var(--space-sm);
}

.block-label {
    font-family: var(--font-tech);
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

/* Les tags interactifs (Checkboxes déguisées) */
.tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cyber-tag {
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* On cache la vraie checkbox */
.cyber-tag input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Le faux bouton brutaliste */
.tag-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

/* L'effet quand le tag est survolé */
.cyber-tag:hover .tag-content {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-main);
}

/* L'effet lumineux quand le tag est coché ! */
.cyber-tag input[type="checkbox"]:checked + .tag-content {
    border-color: var(--neon-magenta);
    background: rgba(255, 0, 85, 0.1);
    color: var(--text-main);
    box-shadow: inset 0 0 10px rgba(255, 0, 85, 0.2);
}

/* Le menu déroulant du budget (Select Brutaliste) */
.budget-select-wrapper {
    position: relative;
}

.brutal-select {
    width: 100%;
    appearance: none; /* Enlève la flèche par défaut du navigateur */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.brutal-select:focus {
    border-color: var(--neon-cyan);
}

/* Customisation des options du select (fond sombre) */
.brutal-select option {
    background-color: var(--bg-card);
    color: var(--text-main);
    padding: 10px;
}

/* Bouton pleine largeur */
.btn-full {
    width: 100%;
    text-align: center;
    margin-top: var(--space-sm);
}
/* =========================================
   📱 OPTIMISATIONS MOBILE (RESPONSIVE)
   ========================================= */

/* On cache le bouton hamburger sur les grands écrans (PC) */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Les règles pour les écrans de téléphone */
@media (max-width: 768px) {
    /* 1. On réduit drastiquement les espaces pour maximiser la largeur */
    :root {
        --space-xl: 3rem;
        --space-lg: 1.5rem;
        --space-md: 1rem;
        --space-sm: 0.5rem;
    }

    /* Ajustement des paddings globaux des sections */
    .hero, .services-section, .cases-section, .contact-section {
        padding: var(--space-xl) var(--space-md) var(--space-md) var(--space-md);
    }

    /* 2. Style du bouton Hamburger */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        padding: 5px;
    }
    
    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background-color: var(--text-main);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* 3. Transformation du menu en panneau plein écran */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(8, 8, 10, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%); 
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0); 
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .header-actions .btn-sm {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    /* 4. FIX TYPOGRAPHIE : On force la casse et on réduit les tailles */
    h1, h2, h3, .ink-text {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }

    .hero h1 {
        /* Taille max plus petite (3rem au lieu de 4rem) */
        font-size: clamp(2rem, 8vw, 3rem); 
        line-height: 1.1;
        margin-top: 2rem; /* Décale le titre sous le header fixe */
    }
    
    .subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    /* Fix des titres de sections (Ingénierie & Croissance) */
    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    /* Fix des titres de cartes */
    .brutal-card h3 {
        font-size: 1.25rem; /* Empêche les mots comme "PERFORMANTE" de déborder */
    }

    /* 5. Boutons en colonne et pleine largeur */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    /* 6. Fix des cartes et des images */
    .brutal-card {
        padding: 1.2rem; /* Réduit l'espace vide à l'intérieur de la carte */
    }
    
    .visual-placeholder {
        height: 180px; 
        width: 100%;
        margin-top: var(--space-md);
    }

    /* 7. Le formulaire (Tags sur 1 seule colonne) */
    .tags-grid {
        grid-template-columns: 1fr; 
    }
    
    .input-row {
        flex-direction: column;
        gap: var(--space-lg);
    }
}
/* =========================================
   PAGE LÉGALE (CGV)
   ========================================= */
.legal-main {
    padding: calc(var(--space-xl) + 80px) var(--space-lg) var(--space-xl); /* +80px pour compenser le header fixe */
}

.legal-container {
    max-width: 800px; /* On réduit la largeur max pour faciliter la lecture */
    margin: 0 auto;
}

.legal-container h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: var(--space-sm) 0 var(--space-xl);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--neon-cyan);
}

.legal-content p, .legal-content ul {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: var(--space-md);
}
/* =========================================
   PAGE ARCHITECTURES (SERVICES DÉTAILLÉS)
   ========================================= */
.services-detail-main {
    padding: calc(var(--space-xl) + 60px) var(--space-lg) var(--space-xl);
}

.services-detail-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.services-detail-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: var(--space-sm) 0;
}

.services-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

/* Les grandes cartes détaillées */
.service-deep-dive {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
}

.service-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 10px;
    color: var(--text-main);
}

.service-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.service-body strong {
    color: var(--text-main);
}

.service-deliverables {
    list-style: none;
    padding-left: 0;
    margin-top: var(--space-md);
}

.service-deliverables li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Puces personnalisées néon */
.service-deliverables li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 1.2rem;
    line-height: 1;
}

.service-tech-stack {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: var(--border-thin);
}

/* La carte GEO mise en valeur */
.special-card {
    border-color: rgba(255, 0, 85, 0.4);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.05);
}

.special-card .service-header h2 {
    background: var(--ink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* =========================================
   AJOUTS INK v2 : RÉASSURANCE, STATS & FAQ
   (cohérents avec le design system existant)
   ========================================= */

/* --- Liste de réassurance sous le hero --- */
.hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin: 0 0 var(--space-lg);
    padding: 0;
}
.hero-trust li {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}
.hero-trust li::before {
    content: '✓ ';
    color: var(--data-green);
    font-weight: 700;
}

/* --- Bandeau de statistiques / engagements --- */
.stats-band {
    padding: var(--space-lg);
    background-color: var(--bg-card);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: var(--space-sm) 0;
}
.stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    background: var(--ink-gradient);
    -webkit-background-clip: text;
    background-clip: text; /* À vérifier / ajouter */
    -webkit-text-fill-color: transparent;
}
.stat-value small {
    font-size: 0.5em;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}
.stat-label {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

/* --- Carte service "GEO" mise en valeur sur l'accueil --- */
.service-card.special-card {
    border-color: rgba(255, 0, 85, 0.4);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.05);
}
.service-card.special-card h3 {
    background: var(--ink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* --- Section FAQ (format roi pour le GEO) --- */
.faq-section {
    padding: var(--space-xl) var(--space-lg);
    background-color: var(--bg-main);
}
.faq-list {
    max-width: 820px;
    margin: var(--space-lg) auto 0;
    display: flex;
    flex-direction: column;
}
.faq-item {
    border-bottom: var(--border-thin);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--space-md) 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-tech);
    color: var(--neon-cyan);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--neon-cyan); }
.faq-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    padding: 0 0 var(--space-md);
    max-width: 70ch;
}
.faq-item p strong { color: var(--text-main); }

/* --- Responsive des nouveaux blocs --- */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md) var(--space-sm);
    }
    .faq-section {
        padding: var(--space-xl) var(--space-md);
    }
}

/* =========================================
   AJOUTS INK v3 : MÉTHODE, TÉMOIGNAGES, BLOG
   ========================================= */

.section-intro {
    color: var(--text-secondary);
    max-width: 60ch;
    margin: var(--space-sm) auto 0;
    font-size: 1rem;
}

/* --- Méthode / Process --- */
.method-section { padding: var(--space-xl) var(--space-lg); }
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}
.method-step { 
    position: relative; 
    padding: var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.method-step .step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    display: block;
    margin-bottom: var(--space-sm);
    background: var(--ink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.method-step h3 { font-family: var(--font-heading); margin-bottom: 0.5rem; }
.method-step p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }

/* --- Témoignages --- */
.testimonials-section { padding: var(--space-xl) var(--space-lg); background-color: var(--bg-card); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}
.testimonial { margin: 0; padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-md); }
.testimonial .quote { font-size: 1.15rem; line-height: 1.6; color: var(--text-main); font-style: italic; }
.quote-author { display: flex; flex-direction: column; gap: 0.2rem; }
.author-name { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); }
.author-role { font-family: var(--font-tech); font-size: 0.8rem; color: var(--neon-cyan); }

/* --- Blog --- */
.blog-main { padding: calc(var(--space-xl) + 80px) var(--space-lg) var(--space-xl); min-height: 70vh; }
.blog-header { text-align: center; margin-bottom: var(--space-lg); }
.blog-header h1 { font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 4rem); margin: var(--space-sm) 0; }
.blog-header .subtitle { color: var(--text-secondary); max-width: 60ch; margin: 0 auto; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}
.post-card { 
    display: flex; 
    flex-direction: column; 
    align-items: center; /* Centre les éléments */
    text-align: center;  /* Centre le texte */
    gap: var(--space-sm); 
    padding: var(--space-md); 
    text-decoration: none; 
    transition: transform 0.3s ease, border-color 0.3s ease; 
}
a.post-card:hover { transform: translateY(-4px); border-color: var(--neon-cyan); }
.post-meta { 
    display: flex; 
    justify-content: center; /* Centre les tags (#GEO, Date) */
    gap: var(--space-sm); 
    flex-wrap: wrap; 
}
.post-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--text-main); line-height: 1.25; }
.post-excerpt { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; flex-grow: 1; }
.post-readmore { font-family: var(--font-tech); color: var(--neon-cyan); font-size: 0.9rem; }
.post-card.upcoming { opacity: 0.55; }
.post-card.upcoming .post-readmore { color: var(--text-secondary); }

/* --- Article (page individuelle) --- */
.article-main { padding: calc(var(--space-xl) + 80px) var(--space-lg) var(--space-xl); }
.article-container { max-width: 760px; margin: 0 auto; }
.article-header h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: var(--space-sm) 0; }
.article-meta { font-family: var(--font-tech); color: var(--text-secondary); font-size: 0.85rem; margin-bottom: var(--space-lg); display: flex; gap: var(--space-md); flex-wrap: wrap; }
.article-body { color: var(--text-secondary); line-height: 1.85; font-size: 1.05rem; }
.article-body h2 { font-family: var(--font-heading); color: var(--text-main); font-size: 1.6rem; margin: var(--space-lg) 0 var(--space-sm); }
.article-body p { margin-bottom: var(--space-md); }
.article-body strong { color: var(--text-main); }
.article-body ul { margin: 0 0 var(--space-md) 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-cta { margin-top: var(--space-xl); padding: var(--space-lg); text-align: center; background-color: var(--bg-card); border: var(--border-thin); }
.article-cta h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: var(--space-sm); }

@media (max-width: 768px) {
    .method-section, .testimonials-section { padding: var(--space-xl) var(--space-md); }
    .blog-main, .article-main { padding-left: var(--space-md); padding-right: var(--space-md); }
}

/* =========================================
   AJOUTS INK v4 : PAGES RÉALISATIONS / TARIFS / CONTACT
   ========================================= */

/* Lien de navigation actif */
.main-nav a[aria-current="page"] { color: var(--neon-cyan); }
.main-nav a.nav-cta[aria-current="page"] { color: var(--bg-main); }

/* Conteneur générique de page intérieure */
.page-main { padding: calc(var(--space-xl) + 80px) var(--space-lg) var(--space-xl); min-height: 70vh; }
.page-header { 
    text-align: center; 
    max-width: 760px; 
    margin: 0 auto var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center; /* Force tous les enfants à s'aligner au centre */
}

.page-header h1 { 
    font-family: var(--font-heading); 
    font-size: clamp(2.2rem, 6vw, 4rem); 
    margin: var(--space-sm) 0; 
    text-align: center; /* Sécurité supplémentaire */
}

.page-header .subtitle { 
    color: var(--text-secondary); 
    margin-bottom: 0; /* Évite les doubles marges */
}
.page-cta { text-align: center; margin-top: var(--space-xl); padding: var(--space-lg); }
.page-cta h2 { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: var(--space-md); }

/* --- Réalisations --- */
.realisations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-md); }
.realisation-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.browser-mock { display: flex; align-items: center; gap: 8px; padding: 0.8rem 1rem; border-bottom: var(--border-thin); background: rgba(255,255,255,0.02); }
.browser-mock .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-secondary); opacity: 0.5; }
.browser-mock .browser-url { font-family: var(--font-tech); font-size: 0.8rem; color: var(--text-secondary); margin-left: var(--space-sm); }
.realisation-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); flex-grow: 1; }
.realisation-body h2 { font-family: var(--font-heading); font-size: 1.5rem; }
.realisation-body p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.case-result { font-size: 0.9rem !important; }
.case-result strong { color: var(--neon-cyan); }
.realisation-body .btn { margin-top: auto; align-self: flex-start; }

/* --- Estimateur --- */
.estimator { 
    padding: var(--space-xl); 
    max-width: 850px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    /* Effet premium sombre */
    background: linear-gradient(145deg, rgba(20,20,23,0.8) 0%, rgba(8,8,10,0.9) 100%);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.estimator:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.4);
}

.estimator-options { 
    display: flex; 
    justify-content: center; /* Centre les boutons d'options */
    flex-wrap: wrap; 
    gap: var(--space-sm); 
}

.estimator-result { 
    width: 100%;
    max-width: 500px; /* Evite que le bloc soit trop large */
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    padding: var(--space-md); 
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 0, 85, 0.3);
    border-radius: 12px;
    text-align: center; 
    /* Pulsation lumineuse */
    animation: pulseNeon 2.5s infinite alternate;
}

@keyframes pulseNeon {
    from { box-shadow: 0 0 10px rgba(255, 0, 85, 0.02); }
    to { box-shadow: 0 0 25px rgba(255, 0, 85, 0.15); }
}
.estimator-head h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0.3rem; }
.estimator-block .block-label { font-family: var(--font-tech); color: var(--text-secondary); margin-bottom: var(--space-sm); }
.estimator-options { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.est-opt { font-family: var(--font-tech); font-size: 0.85rem; padding: 0.6rem 1rem; background: transparent; color: var(--text-main); border: var(--border-thin); cursor: pointer; transition: all 0.2s ease; }
.est-opt:hover { border-color: var(--neon-cyan); }
.est-opt.active { background: var(--ink-gradient); color: var(--bg-main); border-color: transparent; font-weight: 600; }
.estimator-result { display: flex; flex-direction: column; gap: 0.3rem; padding: var(--space-md); border: var(--border-neon); text-align: center; }
.est-label { font-family: var(--font-tech); font-size: 0.8rem; color: var(--text-secondary); }
.est-value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.2rem); background: var(--ink-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.estimator-note { font-size: 0.8rem; color: var(--text-secondary); text-align: center; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.pricing-card { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.pricing-card .price { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--text-main); margin: 0.2rem 0; }
.pricing-card.special-card .price { background: var(--ink-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pricing-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-secondary); }
.pricing-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.pricing-card li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; padding-left: 1.2rem; position: relative; }
.pricing-card li::before { content: '→'; position: absolute; left: 0; color: var(--neon-cyan); }
.pricing-card .btn { margin-top: var(--space-sm); }
.pricing-mrr { text-align: center; color: var(--text-secondary); font-size: 0.9rem; max-width: 65ch; margin: var(--space-lg) auto 0; line-height: 1.7; }

/* --- Infos contact --- */
.contact-infos { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.contact-infos li { color: var(--text-main); font-size: 0.95rem; display: flex; align-items: center; gap: var(--space-sm); }
.contact-infos .tech-label { display: inline-block; min-width: 60px; }

@media (max-width: 768px) {
    .page-main { padding-left: var(--space-md); padding-right: var(--space-md); }
    .estimator { padding: var(--space-md); }
}
/* --- NOUVEAU FOND AURA --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 var(--space-lg);
    background-color: var(--bg-main);
    overflow: hidden;
}

/* On cache l'ancien canvas de particules s'il est encore là */
#particle-canvas {
    display: none; 
}

/* Les halos lumineux (Aura) */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); /* Flou extrême pour l'effet nuage/lumière */
    opacity: 0.35;
    animation: auraBreathe 8s infinite alternate ease-in-out;
    z-index: 0;
    pointer-events: none;
}

/* Halo Magenta en haut à gauche */
.hero::before {
    width: 45vw; height: 45vw;
    background: var(--neon-magenta);
    top: -10%; left: -10%;
}

/* Halo Cyan en bas à droite */
.hero::after {
    width: 55vw; height: 55vw;
    background: var(--neon-cyan);
    bottom: -15%; right: -10%;
    animation-delay: -4s; /* Désynchronisé pour un effet organique */
}

@keyframes auraBreathe {
    from { transform: scale(0.8) translate(0, 0); }
    to { transform: scale(1.1) translate(30px, -30px); }
}
/* --- TYPOGRAPHIE PREMIUM HERO --- */
.hero-title-premium {
    text-transform: none; /* Annule le "tout majuscule" global */
    font-family: var(--font-body); /* Police plus douce/élégante */
    font-weight: 300; /* Plus fin pour le côté "haute couture" */
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.25;
    margin: var(--space-md) 0;
    letter-spacing: -0.02em;
}

/* Le mot ciblé par l'animation IA */
.hero-title-premium .cipher-text {
    font-family: var(--font-tech); /* Police code */
    font-weight: 800; /* Gras pour ressortir */
    text-transform: uppercase;
    display: inline-block;
    min-width: 250px; /* Évite que le texte saute pendant l'animation */
}
/* --- LE NOUVEAU SIMULATEUR PREMIUM --- */
.cyber-simulator {
    background: linear-gradient(145deg, rgba(20,20,23,0.6) 0%, rgba(8,8,10,0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: var(--space-xl);
    max-width: 900px;
    margin: var(--space-xl) auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
}

.simulator-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.simulator-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 0.5rem;
}

/* Grille des grandes cartes */
.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

/* Grille des petites cartes */
.calc-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

/* Les cartes interactives (On cache le bouton radio natif) */
.calc-card input, .calc-card-small input {
    display: none;
}

.calc-content, .calc-content-small {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calc-content-small {
    padding: 1rem;
    text-align: center;
    justify-content: center;
    font-family: var(--font-tech);
    font-size: 0.85rem;
}

.calc-content:hover, .calc-content-small:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.02);
}

/* L'état ACTIF quand l'utilisateur clique (Le Neon s'allume) */
.calc-card input:checked + .calc-content,
.calc-card-small input:checked + .calc-content-small {
    border-color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 10px rgba(0, 229, 255, 0.1);
}

/* Typographie dans les cartes */
.calc-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.calc-content h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 0.5rem; }
.calc-content p { font-size: 0.85rem; color: var(--text-secondary); flex-grow: 1; }
.calc-hint { font-family: var(--font-tech); font-size: 0.75rem; color: var(--neon-magenta); margin-top: 1rem; }

/* Le footer avec le prix */
.simulator-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.est-result-live {
    display: flex;
    flex-direction: column;
}

.est-result-live .est-value {
    font-size: 2.5rem;
    background: var(--ink-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive pour le simulateur */
@media (max-width: 768px) {
    .calc-grid-small { grid-template-columns: 1fr; }
    .simulator-footer { flex-direction: column; text-align: center; }
    .simulator-footer .btn { width: 100%; }
}
/* =========================================
   ANTI-SPAM (HONEYPOT) + STATUT FORMULAIRE
   ========================================= */
/* Champ piège : invisible à l'œil et au lecteur d'écran, mais présent dans le DOM
   pour que les bots le remplissent. On évite display:none (certains bots l'ignorent). */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Message de statut accessible (succès / échec d'envoi) */
.form-status {
    margin-top: var(--space-sm);
    min-height: 1.2em;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Ligne de consentement RGPD sous le formulaire */
.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: var(--space-sm) 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.4;
    cursor: pointer;
}
.consent-line input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--neon-cyan);
}
.consent-line a {
    color: var(--neon-cyan);
    text-decoration: underline;
}


/* ====================================================
   PAGE À PROPOS — TECH-NOIR IMMERSIVE
   ==================================================== */

.apropos-body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* --- Atmosphère globale : grille + grain --- */
.atmos-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
    animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 60px 60px, 60px 60px; }
}

.atmos-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image:
        repeating-radial-gradient(circle at 0 0, rgba(255,255,255,1) 0, rgba(255,255,255,0) 2px),
        repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 0, rgba(255,255,255,0) 2px);
    background-size: 3px 3px, 5px 5px;
    mix-blend-mode: overlay;
}

.apropos-body main { position: relative; z-index: 2; }

/* --- Reveal scroll-driven --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   SECTION 1 — HERO BOOT SEQUENCE
   ========================================= */
.apropos-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}
.apropos-hero::before, .apropos-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}
.apropos-hero::before {
    width: 600px; height: 600px;
    background: var(--neon-magenta);
    top: -150px; left: -150px;
}
.apropos-hero::after {
    width: 600px; height: 600px;
    background: var(--neon-cyan);
    bottom: -200px; right: -200px;
}
.apropos-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    width: 100%;
    text-align: center;
}

.terminal-panel {
    background: rgba(8, 8, 10, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    margin: 0 auto var(--space-lg);
    max-width: 640px;
    text-align: left;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.15), inset 0 0 0 1px rgba(255,255,255,0.02);
    backdrop-filter: blur(8px);
    overflow: hidden;
}
.terminal-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.terminal-bar .dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #333;
}
.terminal-bar .dot:nth-child(1) { background: #ff5f57; }
.terminal-bar .dot:nth-child(2) { background: #febc2e; }
.terminal-bar .dot:nth-child(3) { background: #28c840; }
.terminal-title {
    margin-left: 0.6rem;
    font-family: var(--font-tech);
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}
.terminal-body {
    padding: 1.1rem 1.3rem 1.3rem;
    font-family: var(--font-tech);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    min-height: 200px;
}
.terminal-body .line {
    margin: 0;
    opacity: 0;
    white-space: pre-wrap;
}
.terminal-body .line.typed { opacity: 1; }
.terminal-body .line.typed::after {
    content: '▍';
    color: var(--neon-cyan);
    animation: blink 1s steps(2) infinite;
}
.terminal-body .line.typed.done::after { content: ''; }
.terminal-body .line-ok.typed { color: var(--data-green, #00ff41); font-weight: 500; }
@keyframes blink { 50% { opacity: 0; } }

.apropos-name {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--text-primary);
}
.cipher-name {
    display: inline-block;
    font-family: var(--font-tech);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.apropos-role {
    font-family: var(--font-tech);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin: 0;
}
.role-prefix { color: var(--neon-cyan); margin-right: 0.4em; }
.role-text::after {
    content: '▍';
    color: var(--neon-cyan);
    animation: blink 1s steps(2) infinite;
    margin-left: 2px;
}
.role-text.done::after { content: ''; }

.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-family: var(--font-tech);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
}
.scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* =========================================
   SECTION 2 — MANIFESTO
   ========================================= */
.manifesto-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
}
.manifesto-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
.manifesto-section .tech-label {
    margin-bottom: var(--space-lg);
    display: block;
}
.manifesto-line {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.4rem, 8vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 0.2em;
    color: var(--text-primary);
}
.manifesto-line:nth-child(odd)  { transform: translateX(-30px); }
.manifesto-line:nth-child(even) { transform: translateX(30px); }
.manifesto-line.is-visible      { transform: translateX(0); }
.manifesto-dot {
    display: inline-block;
    transform: scale(1.2);
    margin-left: 0.05em;
}
.manifesto-dot.cy { color: var(--neon-cyan); text-shadow: 0 0 24px rgba(0, 229, 255, 0.6); }
.manifesto-dot.mg { color: var(--neon-magenta); text-shadow: 0 0 24px rgba(255, 0, 85, 0.6); }
.manifesto-coda {
    margin-top: var(--space-lg);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.65;
}

/* =========================================
   SECTION 3 — CHRONOLOGIE
   ========================================= */
.timeline-section {
    padding: var(--space-xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}
.timeline-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.timeline-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: var(--space-sm) 0 0;
    color: var(--text-primary);
}

.timeline {
    position: relative;
    padding: var(--space-lg) 0;
}
.timeline-axis {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(-50%);
    overflow: hidden;
}
.timeline-progress {
    position: absolute;
    inset: 0 0 auto 0;
    height: var(--progress, 0%);
    background: linear-gradient(to bottom, var(--neon-magenta), var(--neon-cyan));
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.55);
    transition: height 0.2s ease;
}

.timeline-node {
    position: relative;
    width: calc(50% - 60px);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    background: rgba(8, 8, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}
.timeline-node.side-left  { margin-right: auto; }
.timeline-node.side-right { margin-left: auto; }

.node-marker {
    position: absolute;
    top: 28px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--neon-cyan);
    z-index: 2;
}
.timeline-node.side-left  .node-marker { right: -67px; }
.timeline-node.side-right .node-marker { left: -67px; }
.node-marker.pulse {
    background: var(--neon-cyan);
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    animation: nodePulse 2s infinite;
}
@keyframes nodePulse {
    0%   { box-shadow: 0 0 0 0   rgba(0, 229, 255, 0.7); }
    70%  { box-shadow: 0 0 0 14px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0   rgba(0, 229, 255, 0); }
}

.timeline-node.side-left.reveal  { transform: translateY(30px) translateX(-20px); }
.timeline-node.side-right.reveal { transform: translateY(30px) translateX(20px); }
.timeline-node.reveal.is-visible { transform: translateY(0) translateX(0); }

.node-year {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
    text-transform: uppercase;
}
.node-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0.4rem 0 0.5rem;
    color: var(--text-primary);
}
.node-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}
.node-now { border-color: rgba(0, 229, 255, 0.35); }

/* =========================================
   SECTION 4 — DOCTRINE
   ========================================= */
.doctrine-section {
    padding: var(--space-xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}
.doctrine-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.doctrine-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: var(--space-sm) 0 0;
    color: var(--text-primary);
}
.doctrine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.doctrine-col {
    background: rgba(8, 8, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg);
    backdrop-filter: blur(6px);
    position: relative;
}
.doctrine-refuse {
    border-top: 3px solid var(--neon-magenta);
    box-shadow: 0 0 60px rgba(255, 0, 85, 0.08);
}
.doctrine-engage {
    border-top: 3px solid var(--neon-cyan);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}
.doctrine-col header { margin-bottom: var(--space-md); }
.doctrine-tag {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}
.tag-refuse { color: var(--neon-magenta); }
.tag-engage { color: var(--neon-cyan); }
.doctrine-col h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0.5rem 0 0;
    color: var(--text-primary);
}
.doctrine-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.doctrine-col li {
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.5;
}
.doctrine-col li:last-child { border-bottom: 0; }
.doctrine-col .x {
    color: var(--neon-magenta);
    font-weight: 700;
    flex-shrink: 0;
    width: 18px;
    font-family: var(--font-tech);
}
.doctrine-col .o {
    color: var(--neon-cyan);
    font-weight: 700;
    flex-shrink: 0;
    width: 18px;
    font-family: var(--font-tech);
}

/* =========================================
   SECTION 5 — STACK
   ========================================= */
.stack-section {
    padding: var(--space-xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}
.stack-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.stack-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: var(--space-sm) 0;
    color: var(--text-primary);
}
.stack-intro {
    max-width: 640px;
    margin: var(--space-sm) auto 0;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.6;
}
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}
.stack-cluster {
    background: rgba(8, 8, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-md);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.stack-cluster:hover {
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-3px);
}
.stack-cluster h4 {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
    margin: 0 0 var(--space-sm);
}
.stack-cluster ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stack-cluster li {
    padding: 0.45rem 0;
    color: var(--text-secondary);
    font-family: var(--font-tech);
    font-size: 0.92rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.06);
}
.stack-cluster li:last-child { border-bottom: 0; }

/* =========================================
   SECTION 6 — CLOSING
   ========================================= */
.closing-section {
    padding: var(--space-xl) var(--space-lg);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.closing-section::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 60%);
    filter: blur(80px);
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.closing-inner { position: relative; z-index: 2; max-width: 880px; }
.closing-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin: var(--space-sm) 0 var(--space-md);
    color: var(--text-primary);
}
.closing-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}
.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .timeline-axis { left: 24px; }
    .timeline-node { width: calc(100% - 50px); margin-left: 50px !important; margin-right: 0 !important; }
    .timeline-node.side-left .node-marker,
    .timeline-node.side-right .node-marker { left: -33px; right: auto; }
    .timeline-node.side-left.reveal { transform: translateY(30px); }
    .timeline-node.side-right.reveal { transform: translateY(30px); }
    .doctrine-grid { grid-template-columns: 1fr; }
    .manifesto-line:nth-child(odd),
    .manifesto-line:nth-child(even) { transform: translateY(20px); }
    .manifesto-line.is-visible { transform: translateY(0); }
}

/* =========================================
   SECTION NOS OUTILS — MARQUEE ANIMÉ
   ========================================= */
.tools-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}
.tools-header {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    padding: 0 var(--space-lg);
    text-align: center;
}
.tools-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    margin: var(--space-sm) 0 0;
    color: var(--text-primary);
}
.tools-intro {
    margin-top: var(--space-sm);
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.6;
}

.tools-marquee {
    width: 100%;
    overflow: hidden;
    margin: var(--space-sm) 0;
    /* Fade aux bords pour que les badges disparaissent gracieusement */
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.tools-track {
    display: inline-flex;
    gap: 14px;
    padding-right: 14px;
    white-space: nowrap;
    will-change: transform;
}
.tools-track-left  { animation: scrollLeft 60s linear infinite; }
.tools-track-right { animation: scrollRight 70s linear infinite; }

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

@keyframes scrollLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.1rem;
    background: rgba(8, 8, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-tech);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
    user-select: none;
    flex-shrink: 0;
}
.tool-badge:hover {
    border-color: rgba(0, 229, 255, 0.5);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}
.tool-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}
.tool-dot.dev  { background: var(--neon-cyan); color: var(--neon-cyan); }
.tool-dot.ai   { background: var(--neon-magenta); color: var(--neon-magenta); }
.tool-dot.auto { background: #FFB800; color: #FFB800; }
.tool-dot.ads  { background: #00FF88; color: #00FF88; }
.tool-dot.seo  { background: #B388FF; color: #B388FF; }
.tool-dot.crm  { background: #FF6E40; color: #FF6E40; }

.tools-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem 1.8rem;
    margin-top: var(--space-md);
    padding: 0 var(--space-lg);
    font-family: var(--font-tech);
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}
.tools-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .tools-track-left, .tools-track-right { animation: none; }
    .tools-marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}

/* =========================================
   MENTIONS PAIEMENT EN PLUSIEURS FOIS
   ========================================= */
.payment-note {
    margin: var(--space-md) auto 0;
    max-width: 720px;
    padding: 0.9rem 1.1rem;
    text-align: center;
    background: rgba(0, 229, 255, 0.04);
    border: 1px dashed rgba(0, 229, 255, 0.25);
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.payment-note strong { color: var(--text-primary); }
.payment-note .payment-icon {
    color: var(--neon-cyan);
    font-size: 1.1rem;
    font-weight: 700;
}
.payment-note a {
    color: var(--neon-cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.budget-note {
    margin: 0.5rem 0 0;
    padding: 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

/* =========================================
   PRICING ENTRY POINT (pack Audit 490€)
   ========================================= */
.pricing-entry {
    margin: var(--space-lg) 0 var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(8, 8, 10, 0.6));
    border-left: 3px solid var(--neon-cyan);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.entry-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}
.entry-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 229, 255, 0.15);
    color: var(--neon-cyan);
    font-family: var(--font-tech);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 229, 255, 0.3);
}
.entry-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}
.entry-text h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--text-primary);
    margin: 0 0 0.6rem;
    line-height: 1.2;
}
.entry-text p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.6;
    margin: 0 0 var(--space-sm);
}
.entry-includes {
    list-style: none;
    padding: 0;
    margin: 0;
}
.entry-includes li {
    padding: 0.4rem 0 0.4rem 1.3rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    position: relative;
}
.entry-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: 700;
}
.entry-price-block {
    text-align: center;
    padding: var(--space-md);
    background: rgba(8, 8, 10, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.entry-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--neon-cyan);
    margin-bottom: 0.3rem;
}
.entry-price-hint {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}
.entry-price-block .btn { width: 100%; }

@media (max-width: 768px) {
    .entry-content { grid-template-columns: 1fr; }
    .entry-price { font-size: 2rem; }
}

/* =========================================
   PAGES LOCALES SEO (agence-web-*.html)
   ========================================= */
.local-hero {
    padding: var(--space-xl) 0 var(--space-lg);
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}
.local-hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: var(--neon-cyan);
    filter: blur(180px);
    opacity: 0.18;
    top: -200px; right: -150px;
    border-radius: 50%;
    z-index: 0;
}
.local-hero .container { position: relative; z-index: 2; }
.local-hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin: var(--space-sm) 0 var(--space-md);
    color: var(--text-primary);
}
.local-tagline {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    color: var(--neon-cyan);
    letter-spacing: 0.02em;
    margin: 0 0 var(--space-md);
}
.local-intro, .local-positioning {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 var(--space-md);
    max-width: 800px;
}
.local-positioning strong { color: var(--text-primary); }
.local-cta-row {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.local-context {
    padding: var(--space-xl) 0;
    background: rgba(8, 8, 10, 0.4);
}
.local-context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}
.local-context-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-xs) 0 var(--space-sm);
    line-height: 1.2;
}
.local-context-block p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 var(--space-sm);
}
.local-verticals, .local-neighborhoods {
    list-style: none;
    padding: 0;
    margin: 0;
}
.local-verticals li, .local-neighborhoods li {
    padding: 0.5rem 0 0.5rem 1.3rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.06);
    position: relative;
}
.local-verticals li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}
.local-neighborhoods li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--neon-magenta);
}
.local-verticals li:last-child, .local-neighborhoods li:last-child { border-bottom: 0; }

.local-services {
    padding: var(--space-xl) 0;
}
.local-services h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: var(--space-xs) 0 var(--space-lg);
    line-height: 1.2;
}
.local-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.local-service-card {
    padding: var(--space-md);
    background: rgba(8, 8, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease;
}
.local-service-card:hover { border-color: rgba(0, 229, 255, 0.4); }
.local-service-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}
.local-service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}
.local-services-cta {
    text-align: center;
    margin-top: var(--space-md);
}

.local-faq {
    padding: var(--space-xl) 0;
    background: rgba(8, 8, 10, 0.4);
}
.local-faq h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: var(--space-xs) 0 var(--space-lg);
    color: var(--text-primary);
    line-height: 1.2;
}

.local-cta-section {
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.local-cta-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 60%);
    filter: blur(80px);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.local-cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.local-cta-inner h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    margin: var(--space-xs) 0 var(--space-md);
    color: var(--text-primary);
}
.local-cta-inner p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 var(--space-md);
}

@media (max-width: 768px) {
    .local-context-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}
