/* ==========================================================================
   COGITAVEN — THEME DARK TECH & CYBER-INDUSTRIEL (V2)
   Direction Artistique : Terrain → Flux → Performance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-dark: #060B13;
    --bg-surface: #0B1220;
    --bg-card: rgba(13, 22, 38, 0.72);
    --bg-card-hover: rgba(18, 30, 54, 0.85);
    
    --cyan: #00D2FF;
    --cyan-light: #38BDF8;
    --cyan-dim: rgba(0, 210, 255, 0.12);
    --cyan-glow: 0 0 20px rgba(0, 210, 255, 0.45);
    --cyan-glow-subtle: 0 0 12px rgba(0, 210, 255, 0.25);
    
    --border-subtle: rgba(56, 189, 248, 0.16);
    --border-bright: rgba(0, 210, 255, 0.5);
    
    --text-white: #FFFFFF;      /* Titres éclatants, gras et percutants */
    --text-muted: #94A3B8;      /* Paragraphes & descriptions doux, lisibles sans concurrencer les titres */
    --text-dim: #64748B;        /* Mentions secondaires */
    
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-main);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at 50% 0%, #0F1D36 0%, #060B13 65%);
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Cyber Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Typography Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--cyan-light);
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.section-label::before,
.section-label::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}
.section-label::after {
    background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 11, 19, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-capsule {
    background: #FFFFFF;
    padding: 0.38rem 0.85rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-capsule {
    background: #FFFFFF;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.45), 0 4px 12px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.nav-logo-black-img {
    height: 24px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-capsule {
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-white);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* METAL IA Nav Badge */
.nav-links li a.nav-metal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--cyan-light) !important;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-links li a.nav-metal-btn:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: var(--cyan);
    box-shadow: var(--cyan-glow-subtle);
    transform: translateY(-1px);
}

.nav-links li a.nav-metal-btn::after {
    content: none;
}

.nav-metal-dot {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 4px rgba(0, 210, 255, 0.45);
}

/* Contact Button */
.nav-btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border-bright);
    background: rgba(0, 210, 255, 0.05);
    color: var(--text-white) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: var(--transition);
}

.nav-btn-contact:hover {
    background: var(--cyan);
    color: #060B13 !important;
    box-shadow: var(--cyan-glow);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION (HIGH IMPACT)
   ========================================================================== */
.hero-section {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: visible;
}

/* Ambient hero glow */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.45));
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 600px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-target-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.32);
    color: #38BDF8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-target-badge .target-icon {
    font-size: 0.95rem;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.8rem;
    color: #FFFFFF;
}

.hero-content h1 .cyan-text {
    background: linear-gradient(135deg, #00D2FF 0%, #38BDF8 60%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.4));
}

.hero-subtitle-box {
    position: relative;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-subtitle-box p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Big Cyan Pill Button */
.btn-cyan-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 2.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00D2FF 0%, #0284C7 100%);
    color: #040912;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 25px rgba(0, 210, 255, 0.45), 0 0 10px rgba(0, 210, 255, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-shadow: none;
}

.btn-cyan-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 210, 255, 0.65), 0 0 20px rgba(0, 210, 255, 0.5);
    color: #000;
}

.btn-cyan-pill .arrow {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.btn-cyan-pill:hover .arrow {
    transform: translateX(5px);
}

/* Hero Visual Card with Ambient Aura */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ==========================================================================
   HERO IMAGE CARD AVEC BADGES FLOTTANTS
   ========================================================================== */
.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: 
        0 25px 65px rgba(0, 0, 0, 0.85),
        0 0 45px rgba(0, 210, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    z-index: 5;
}

.hero-image-card:hover {
    border-color: rgba(0, 210, 255, 0.65);
    box-shadow: 
        0 30px 75px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(0, 210, 255, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    border-radius: 19px;
    display: block;
    filter: brightness(0.96) contrast(1.06);
}

/* Floating Highlight Badges on Image */
.hero-image-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(10, 18, 34, 0.94);
    border: 1px solid rgba(0, 210, 255, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 210, 255, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 12;
    pointer-events: none;
    animation: floatSlow 4s ease-in-out infinite alternate;
}

.hero-image-badge.badge-top-right {
    top: -14px;
    right: 18px;
    color: #38BDF8;
}

.hero-image-badge.badge-bottom-left {
    bottom: -14px;
    left: 20px;
    color: #34D399;
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 22px rgba(52, 211, 153, 0.25);
    animation-delay: -2s;
}

.hero-image-badge .badge-icon {
    font-size: 0.9rem;
}

.hero-image-badge .badge-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
}

@keyframes floatSlow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .hero-image-badge {
        display: none;
    }
}

/* Elegant Tech Circuit Bridge */
.hero-trace-bridge {
    position: absolute;
    top: 40%;
    left: -110px;
    width: 110px;
    height: 50px;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
    transform: translateY(-50%);
}

.circuit-path-base {
    stroke: rgba(0, 210, 255, 0.4);
    stroke-width: 1.5;
    fill: none;
}

.circuit-path-pulse {
    stroke: #00D2FF;
    stroke-width: 2.2;
    fill: none;
    stroke-dasharray: 25 180;
    stroke-dashoffset: 205;
    animation: circuitFlowSmooth 3s linear infinite;
    filter: drop-shadow(0 0 8px #00D2FF);
}

@keyframes circuitFlowSmooth {
    0% { stroke-dashoffset: 205; }
    100% { stroke-dashoffset: 0; }
}

.circuit-node-dot {
    fill: #00D2FF;
    filter: drop-shadow(0 0 8px #00D2FF);
}

/* ==========================================================================
   ANIMATED CIRCUIT GLOW SYSTEM
   ========================================================================== */
.circuit-line {
    stroke: rgba(0, 210, 255, 0.35);
    stroke-width: 1.5;
    fill: none;
}

.circuit-line-animated {
    stroke-dasharray: 40 260;
    stroke-dashoffset: 300;
    animation: flowPulse 5s linear infinite;
    stroke: #00D2FF;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px #00D2FF);
}

@keyframes flowPulse {
    0% { stroke-dashoffset: 300; }
    100% { stroke-dashoffset: 0; }
}

.circuit-node {
    fill: var(--cyan);
    filter: drop-shadow(0 0 6px var(--cyan));
}

.circuit-node-pulse {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; filter: drop-shadow(0 0 10px #00D2FF); }
}

/* ==========================================================================
   SECTION : CINQ FRICTIONS (DIFFÉRENCIATION RUPTURES & FRICTIONS)
   ========================================================================== */
.frictions-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.frictions-section .section-label {
    color: #FBBF24; /* Subtle Amber Alert Tone */
}

.frictions-section .section-label::before,
.frictions-section .section-label::after {
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6));
}
.frictions-section .section-label::after {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.6), transparent);
}

.frictions-pipeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Segmented Wire showing Friction / Rupture Nodes */
.frictions-wire-svg {
    position: absolute;
    bottom: -27px;
    left: 0;
    width: 100%;
    height: 36px;
    pointer-events: none;
    overflow: visible;
}

.frictions-wire-horizontal {
    display: block;
}

.frictions-wire-vertical {
    display: none !important;
}

.friction-wire-track {
    stroke: rgba(251, 191, 36, 0.2);
    stroke-width: 1.5;
    stroke-dasharray: 6 5; /* Segmented to show silos */
    fill: none;
}

/* Struggling Data Packet : flux chaotique, arrêts aléatoires et blocages imprévisibles */
.friction-struggling-packet {
    fill: #F59E0B;
    filter: drop-shadow(0 0 8px #F59E0B) drop-shadow(0 0 14px rgba(239, 68, 68, 0.7));
    animation: flowWithErraticFriction 18s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.friction-struggling-packet-v {
    fill: #F59E0B;
    filter: drop-shadow(0 0 8px #F59E0B) drop-shadow(0 0 14px rgba(239, 68, 68, 0.7));
    animation: flowWithErraticFrictionVertical 18s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes flowWithErraticFriction {
    /* Nœud 1 (Données dispersées) : blocage aléatoire au démarrage */
    0%    { transform: translateX(100px); opacity: 0; }
    2%    { transform: translateX(100px); opacity: 1; }
    8%    { transform: translateX(100px); opacity: 0.9; }
    10%   { transform: translateX(104px); opacity: 0.5; } /* sursaut */
    12%   { transform: translateX(100px); opacity: 1; }   /* recul */
    16%   { transform: translateX(100px); opacity: 0.7; } /* blocage persistant */
    
    /* Trajet instable vers Nœud 2 (Processus silos) */
    20%   { transform: translateX(190px); opacity: 0.85; }
    22%   { transform: translateX(185px); opacity: 0.3; } /* bug / hésitation au milieu */
    25%   { transform: translateX(250px); opacity: 0.9; }
    29%   { transform: translateX(300px); opacity: 1; }   /* arrive au silo */
    41%   { transform: translateX(300px); opacity: 0.6; } /* TRÈS LONG BLOCAGE ALÉATOIRE */
    
    /* Départ brusque puis arrêt brutal Nœud 3 (Décisions tardives) */
    45%   { transform: translateX(420px); opacity: 0.9; }
    49%   { transform: translateX(500px); opacity: 1; }   /* arrêt brutal */
    63%   { transform: translateX(500px); opacity: 0.4; } /* TRÈS LONGUE ATTENTE */
    64%   { transform: translateX(497px); opacity: 0.9; } /* micro-tremblement */
    67%   { transform: translateX(500px); opacity: 0.7; }
    
    /* Trajet saccadé vers Nœud 4 (Outils inadaptés) */
    72%   { transform: translateX(640px); opacity: 0.85; }
    76%   { transform: translateX(700px); opacity: 1; }
    86%   { transform: translateX(700px); opacity: 0.5; } /* Arrêt imprévisible */
    
    /* Fin de course essoufflée vers Nœud 5 */
    91%   { transform: translateX(850px); opacity: 0.8; }
    95%   { transform: translateX(900px); opacity: 1; }
    98%   { transform: translateX(900px); opacity: 0.5; }
    100%  { transform: translateX(900px); opacity: 0; }
}

@keyframes flowWithErraticFrictionVertical {
    /* Nœud 1 (Données dispersées) : blocage aléatoire au démarrage */
    0%    { transform: translateY(100px); opacity: 0; }
    2%    { transform: translateY(100px); opacity: 1; }
    8%    { transform: translateY(100px); opacity: 0.9; }
    10%   { transform: translateY(104px); opacity: 0.5; } /* sursaut */
    12%   { transform: translateY(100px); opacity: 1; }   /* recul */
    16%   { transform: translateY(100px); opacity: 0.7; } /* blocage persistant */
    
    /* Trajet instable vers Nœud 2 (Processus silos) */
    20%   { transform: translateY(190px); opacity: 0.85; }
    22%   { transform: translateY(185px); opacity: 0.3; } /* bug / hésitation au milieu */
    25%   { transform: translateY(250px); opacity: 0.9; }
    29%   { transform: translateY(300px); opacity: 1; }   /* arrive au silo */
    41%   { transform: translateY(300px); opacity: 0.6; } /* TRÈS LONG BLOCAGE ALÉATOIRE */
    
    /* Départ brusque puis arrêt brutal Nœud 3 (Décisions tardives) */
    45%   { transform: translateY(420px); opacity: 0.9; }
    49%   { transform: translateY(500px); opacity: 1; }   /* arrêt brutal */
    63%   { transform: translateY(500px); opacity: 0.4; } /* TRÈS LONGUE ATTENTE */
    64%   { transform: translateY(497px); opacity: 0.9; } /* micro-tremblement */
    67%   { transform: translateY(500px); opacity: 0.7; }
    
    /* Trajet saccadé vers Nœud 4 (Outils inadaptés) */
    72%   { transform: translateY(640px); opacity: 0.85; }
    76%   { transform: translateY(700px); opacity: 1; }
    86%   { transform: translateY(700px); opacity: 0.5; } /* Arrêt imprévisible */
    
    /* Fin de course essoufflée vers Nœud 5 */
    91%   { transform: translateY(850px); opacity: 0.8; }
    95%   { transform: translateY(900px); opacity: 1; }
    98%   { transform: translateY(900px); opacity: 0.5; }
    100%  { transform: translateY(900px); opacity: 0; }
}

.friction-node-point {
    fill: #F59E0B;
    opacity: 0.6;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
    transition: var(--transition);
}

.friction-card {
    background: rgba(13, 22, 38, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.6rem 1rem 1.8rem;
    transition: var(--transition);
    position: relative;
}

.friction-card:hover {
    background: rgba(22, 32, 54, 0.7);
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
    transform: translateY(-4px);
}

.friction-icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBBF24; /* Amber warning tone */
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.35));
    transition: var(--transition);
}

.friction-card:hover .friction-icon-box {
    color: #FDE68A;
    filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.7));
    transform: scale(1.08);
}

.friction-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.friction-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION : NOTRE MÉTHODE (FLUX ULTRA-RAPIDE & FLUIDE)
   ========================================================================== */
.methode-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.methode-pipeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2.8rem 2.2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.08);
}

.methode-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.methode-step-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.methode-icon {
    width: 32px;
    height: 32px;
    color: var(--cyan);
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
}

.methode-step-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-white);
}

.methode-step-title.cyan {
    color: var(--cyan);
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

.methode-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.methode-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    color: var(--cyan);
    position: relative;
}

.methode-flow-svg {
    width: 100%;
    height: 24px;
    overflow: visible;
}

/* Fast & 100% Continuous Fluid Cyan Flow (Zéro arrêt, flux linéaire permanent) */
.methode-flow-track {
    stroke: rgba(0, 210, 255, 0.25);
    stroke-width: 1.5;
    fill: none;
}

.methode-flow-animated {
    stroke: #00D2FF;
    stroke-width: 2.5;
    fill: none;
    stroke-dasharray: 20 20;
    stroke-dashoffset: 40;
    animation: methodeSeamlessStream 0.35s linear infinite;
    filter: drop-shadow(0 0 8px #00D2FF) drop-shadow(0 0 16px rgba(0, 210, 255, 0.8));
}

@keyframes methodeSeamlessStream {
    0%   { stroke-dashoffset: 40; }
    100% { stroke-dashoffset: 0; }
}

.methode-arrow-head {
    fill: #00D2FF;
    filter: drop-shadow(0 0 10px #00D2FF);
}

/* ==========================================================================
   SECTION : SAVOIR-FAIRE ACTIF
   ========================================================================== */
.savoir-faire-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.savoir-faire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Left Accordion / Interactive List */
.savoir-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.savoir-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.savoir-item-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.savoir-icon {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex-shrink: 0;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.4));
}

.savoir-item:hover .savoir-icon,
.savoir-item.active .savoir-icon {
    color: #38BDF8;
    filter: drop-shadow(0 0 9px rgba(0, 210, 255, 0.85));
    transform: scale(1.1);
}

.savoir-item .arrow {
    color: var(--text-dim);
    transition: var(--transition);
}

.savoir-item:hover,
.savoir-item.active {
    background: rgba(18, 30, 54, 0.95);
    border-color: var(--cyan);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
    transform: translateX(4px);
}

.savoir-item:hover .arrow,
.savoir-item.active .arrow {
    color: var(--cyan);
    transform: translateX(3px);
}

/* Right Card : PANNEAU DÉTAILLÉ DU SAVOIR-FAIRE ACTIF */
.validations-card-wrapper {
    position: relative;
}

.validations-circuit-svg {
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 80px;
    pointer-events: none;
    overflow: visible;
}

.validations-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2.2rem 2.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.1);
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.savoir-detail-pane {
    animation: fadeInSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSlide {
    0%   { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.savoir-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.savoir-detail-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.savoir-detail-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.savoir-points-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.savoir-point-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #E2E8F0;
    line-height: 1.5;
}

.savoir-point-icon {
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.6));
}

.savoir-impact-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--cyan-light);
    font-weight: 600;
}

/* ==========================================================================
   SECTION : CAS CONCRETS
   ========================================================================== */
.cas-concrets-section {
    padding: 5rem 0 6rem;
    position: relative;
}

/* ==========================================================================
   SECTION : CAS D'USAGE & DIAGNOSTIC MÉTIER
   ========================================================================== */
.cas-concrets-section {
    padding: 6rem 0;
    position: relative;
}

.diagnostic-intro {
    margin-bottom: 2.5rem;
    max-width: 780px;
}

.diagnostic-intro h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.diagnostic-intro p {
    font-size: 1.05rem;
    color: #94A3B8;
    line-height: 1.7;
}

/* Onglets de navigation */
.diagnostic-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.diag-tab-btn {
    background: rgba(13, 22, 38, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 12px;
    padding: 1.1rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.diag-tab-btn:hover {
    border-color: var(--cyan);
    background: rgba(18, 30, 54, 0.9);
    transform: translateY(-2px);
}

.diag-tab-btn.active {
    background: rgba(0, 210, 255, 0.12);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
}

.diag-tab-icon {
    font-size: 1.4rem;
}

.diag-tab-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #E2E8F0;
    line-height: 1.3;
}

.diag-tab-btn.active .diag-tab-title {
    color: #FFFFFF;
}

/* Panneaux dynamiques */
.diag-pane {
    display: none;
    animation: fadeInSlide 0.35s ease forwards;
}

.diag-pane.active {
    display: block;
}

.diag-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-bottom: 3rem;
}

.diag-card {
    background: #0B1322;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    position: relative;
    transition: var(--transition);
}

.diag-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.diag-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.badge-friction {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #F87171;
}

.badge-solution {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

.badge-controle {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
}

.diag-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.diag-card p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.65;
}

/* Bloc Direct : Décrivez votre friction */
.diagnostic-custom-box {
    background: linear-gradient(135deg, rgba(11, 19, 34, 0.95), rgba(6, 11, 19, 0.98));
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 210, 255, 0.15);
}

.diag-custom-header {
    margin-bottom: 1.8rem;
}

.diag-custom-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cyan);
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.diag-custom-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.diag-custom-header p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.6;
}

.diag-custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.diag-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.diag-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.diag-form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #CBD5E1;
}

.diag-form-group input,
.diag-form-group textarea {
    background: rgba(4, 8, 16, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #FFFFFF;
    font-family: inherit;
    transition: var(--transition);
}

.diag-form-group input:focus,
.diag-form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.diag-form-group textarea {
    resize: vertical;
    min-height: 95px;
    line-height: 1.5;
}

/* Trigger Initial replié & Accordéon fluide */
.diag-trigger-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 0 0.5rem;
    transition: opacity 0.3s ease;
}

.diag-trigger-btn {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.45);
}

.diag-form-collapse {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.35s ease;
    margin-top: 0;
    pointer-events: none;
}

.diag-form-collapse.expanded {
    max-height: 900px;
    opacity: 1;
    margin-top: 1.5rem;
    pointer-events: auto;
}

.diag-collapse-btn {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0.8rem;
    transition: color 0.2s ease;
    margin-top: -0.2rem;
}

.diag-collapse-btn:hover {
    color: var(--cyan);
}

/* Footer & Réassurance */
.diag-form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding-top: 0.5rem;
}

.diag-submit-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    max-width: 440px;
    text-align: center;
    justify-content: center;
}

.diag-reassurance-box {
    text-align: center;
    max-width: 580px;
}

.diag-security-note {
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.5;
}

.diag-security-note strong {
    color: #CBD5E1;
}

.diag-security-note strong {
    color: #CBD5E1;
}

.diag-status-message {
    margin-top: 0.5rem;
    padding: 1rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    display: none;
    text-align: center;
}

.diag-status-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10B981;
    color: #34D399;
}

.diag-status-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #EF4444;
    color: #F87171;
}

@media (max-width: 768px) {
    .diag-contact-grid {
        grid-template-columns: 1fr;
    }
    .diag-options-grid {
        grid-template-columns: 1fr;
    }
    .diagnostic-custom-box {
        padding: 1.5rem 1.2rem;
    }
    .diag-submit-btn {
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 0.92rem;
    }
}

/* ==========================================================================
   SECTION : UNE ÉQUIPE ENGAGÉE
   ========================================================================== */
.equipe-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.equipe-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3rem;
    align-items: center;
}

.equipe-intro h3 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    max-width: 380px;
}

.equipe-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cyan);
    transition: var(--transition);
}

.equipe-link:hover {
    gap: 0.7rem;
    text-shadow: 0 0 10px var(--cyan);
}

.equipe-portraits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Jeu de lumière interactif : au survol d'un profil, l'autre s'assombrit */
.equipe-portraits:hover .team-card {
    opacity: 0.38;
    filter: grayscale(100%) brightness(0.6);
    transform: scale(0.98);
}

.equipe-portraits .team-card:hover {
    opacity: 1 !important;
    filter: grayscale(0%) brightness(1.1) !important;
    transform: scale(1.03) !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.45) !important;
    z-index: 5;
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    position: relative;
    overflow: hidden;
    background: #0D1626;
    cursor: pointer;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(100%) contrast(1.1) brightness(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-info {
    padding: 1.1rem 1.3rem 1.3rem;
    background: var(--bg-card);
    transition: var(--transition);
}

.team-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.82rem;
    color: var(--cyan-light);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION : CONTACT / ÉCHANGEONS
   ========================================================================== */
.contact-section {
    padding: 5rem 0 6rem;
    position: relative;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 3rem 2.8rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Decorative cyber circuit corner in contact card */
.contact-card::before {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 45%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan));
    box-shadow: 0 0 8px var(--cyan);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-left h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.contact-left p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 420px;
    line-height: 1.6;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(56, 189, 248, 0.12);
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.6));
}

.contact-info-main {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.2rem;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a.contact-info-main:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.contact-info-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid var(--border-subtle);
    background: #040810;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-white);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-dim);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan-light);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon-btn:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* ==========================================================================
   MODALS (BOOKING & METAL IA RETRAVAILLÉ)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 16, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0B1220;
    border: 1px solid var(--border-bright);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 580px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: #FFF;
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.4rem;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

/* Calendar & Slots inside Dark Modal */
.calendar-wrapper {
    background: rgba(6, 11, 19, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.2rem;
}

.calendar-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-month-header {
    font-weight: 700;
    color: var(--cyan-light);
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.cal-nav-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.cal-day-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    padding: 4px 0;
}

.cal-day {
    padding: 8px 0;
    font-size: 0.85rem;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.cal-day.available {
    color: var(--text-white);
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.cal-day.available:hover,
.cal-day.selected {
    background: var(--cyan);
    color: #040912;
    font-weight: 700;
    box-shadow: 0 0 12px var(--cyan);
}

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

.slot-btn {
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    padding: 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.slot-btn:hover,
.slot-btn.selected {
    background: var(--cyan);
    color: #040912;
    font-weight: 700;
    box-shadow: 0 0 10px var(--cyan);
}

/* Modal Form Inputs */
.form-group {
    margin-bottom: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(6, 11, 19, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.modal-submit {
    width: 100%;
    padding: 0.85rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #00D2FF 0%, #0284C7 100%);
    color: #040912;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
    transition: var(--transition);
}

.modal-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* METAL IA MODAL RETRAVAILLÉ */
.transition-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 16, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    padding: 1.5rem;
}

.transition-modal.active {
    display: flex;
}

.transition-modal-card {
    background: linear-gradient(145deg, #0D1626 0%, #060B13 100%);
    border: 1px solid var(--border-bright);
    border-radius: 16px;
    padding: 2.8rem 2.4rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.25);
    position: relative;
}

.transition-modal-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--border-bright);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.transition-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.transition-modal-title span {
    color: var(--cyan);
}

.transition-modal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.transition-modal-info {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-white);
}

.transition-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-discover {
    padding: 0.85rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #00D2FF 0%, #0284C7 100%);
    color: #040912;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
    transition: var(--transition);
}

.btn-discover:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 210, 255, 0.6);
}

.btn-back {
    padding: 0.75rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--text-white);
    border-color: var(--text-muted);
}

/* Success Checkmark */
.success-content {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.checkmark {
    width: 36px;
    height: 36px;
    stroke: var(--cyan);
    stroke-width: 3;
    fill: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-circuit-svg,
    .hero-trace-bridge {
        display: none;
    }

    .hero-visual-wrapper {
        justify-content: center;
    }
    
    .frictions-pipeline {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
    
    .frictions-wire-horizontal {
        display: block;
    }
    
    .frictions-wire-vertical {
        display: none !important;
    }

    /* Cas d'usage & Situations Métiers */
    .diagnostic-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .diag-tab-btn {
        padding: 0.9rem 1rem;
        gap: 0.7rem;
    }

    .diag-tab-title {
        font-size: 0.9rem;
    }

    .diag-card-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2.2rem;
    }
    
    .methode-pipeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .methode-flow-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    
    .savoir-faire-grid {
        grid-template-columns: 1fr;
    }
    
    .validations-circuit-svg {
        display: none;
    }
    
    .cas-grid {
        grid-template-columns: 1fr;
    }
    
    .cas-circuit-svg {
        display: none;
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(56, 189, 248, 0.12);
        padding-top: 2rem;
    }
}

/* ==========================================================================
   MODAL : HISTOIRE & ÉQUIPE DIRIGEANTE (BLUR & SÉLECTION EXCLUSIVE)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.team-story-modal-card {
    position: relative;
    background: #0B1322;
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 16px;
    width: 92%;
    max-width: 860px;
    max-height: 88vh;
    padding: 2.4rem 2.4rem 2rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 210, 255, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 10001;
    overflow: hidden;
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-story-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.team-back-btn {
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--cyan);
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.team-back-btn:hover {
    background: var(--cyan);
    color: #060B13;
    box-shadow: 0 0 12px var(--cyan);
}

/* Grille de sélection des 2 profils */
.team-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    margin: 1.5rem 0 2rem;
}

.team-select-card {
    background: rgba(13, 22, 38, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.team-select-card:hover {
    border-color: var(--cyan);
    background: rgba(18, 30, 54, 0.95);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.3);
    transform: translateY(-5px);
}

.team-select-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
    object-fit: cover;
    object-position: center 15%; /* Descend le visage dans le cercle */
    margin-bottom: 1.2rem;
    background: #0D1626;
}

.team-select-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.3rem;
}

.team-select-role {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-select-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

.team-select-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan-light);
    transition: var(--transition);
}

.team-select-card:hover .team-select-action {
    color: #FFFFFF;
    gap: 0.6rem;
    text-shadow: 0 0 8px var(--cyan);
}

.team-story-content-body {
    overflow-y: auto;
    padding-right: 0.8rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.team-story-content-body::-webkit-scrollbar {
    width: 6px;
}
.team-story-content-body::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.3);
    border-radius: 3px;
}

.team-tab-pane {
    display: none;
    animation: fadeInSlide 0.3s ease forwards;
}

.team-tab-pane.active {
    display: block;
}

.team-profile-header {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.team-profile-avatar {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
    object-fit: cover;
    object-position: center 15%; /* Descend le visage dans le cercle */
    background: #0D1626;
    flex-shrink: 0;
}

.avatar-dan {
    object-position: 64% 15% !important; /* Recentrage parfait de la tête vers la gauche */
}

.team-profile-meta h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.3rem;
}

.team-profile-badge {
    display: inline-block;
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.team-quote-box {
    background: rgba(0, 210, 255, 0.05);
    border-left: 3px solid var(--cyan);
    padding: 1rem 1.4rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #FFFFFF;
    font-weight: 500;
}

.team-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1.2rem 0 1.5rem;
}

.team-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: #CBD5E1;
}

.team-bullets li::before {
    content: '▪';
    color: var(--cyan);
    font-size: 1.2rem;
    line-height: 1.2;
}

/* Complementarity Matrix Table */
.team-matrix-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(13, 22, 38, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.team-matrix-table th {
    background: rgba(0, 210, 255, 0.1);
    color: #FFFFFF;
    font-weight: 700;
    text-align: left;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    font-size: 0.9rem;
}

.team-matrix-table td {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    font-size: 0.85rem;
    color: #CBD5E1;
}

.team-matrix-table tr:hover td {
    background: rgba(0, 210, 255, 0.04);
}

.team-card {
    cursor: pointer;
}

/* ==========================================================================
   MODAL MENTIONS LÉGALES & CONFIDENTIALITÉ
   ========================================================================== */
.legal-modal-card {
    position: relative;
    background: #0B1322;
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 16px;
    width: 92%;
    max-width: 820px;
    max-height: 88vh;
    padding: 2.2rem 2.4rem 2rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 210, 255, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 10001;
    overflow: hidden;
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.legal-tabs-nav {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.legal-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.legal-tab-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.4);
    color: #FFFFFF;
}

.legal-tab-btn.active {
    background: rgba(0, 210, 255, 0.18);
    border-color: var(--cyan);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

.legal-modal-body {
    overflow-y: auto;
    padding-right: 0.6rem;
    color: #CBD5E1;
    font-size: 0.92rem;
    line-height: 1.65;
}

.legal-tab-content {
    display: none;
}

.legal-tab-content.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.legal-tab-content h3 {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.4rem 0 0.5rem;
}

.legal-tab-content h3:first-child {
    margin-top: 0.2rem;
}

.legal-tab-content p {
    margin-bottom: 0.8rem;
}

.legal-info-box {
    background: rgba(13, 22, 38, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-left: 3px solid var(--cyan);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    font-size: 0.88rem;
}

.legal-info-box p {
    margin-bottom: 0.4rem;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0.8rem 0;
}

.legal-bullets li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
}

.legal-bullets li::before {
    content: "•";
    position: absolute;
    left: 0.4rem;
    color: var(--cyan);
    font-weight: bold;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .frictions-pipeline {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        position: relative;
        padding-left: 44px;
        margin-top: 2rem;
    }

    .frictions-wire-horizontal {
        display: none !important;
    }

    .frictions-wire-vertical {
        display: block !important;
        position: absolute;
        left: 6px;
        top: 0;
        bottom: 0;
        width: 32px;
        height: 100%;
        pointer-events: none;
        overflow: visible;
        z-index: 2;
    }

    .friction-card {
        display: grid;
        grid-template-columns: 46px 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        row-gap: 0.35rem;
        text-align: left;
        align-items: center;
        padding: 1.2rem 1.1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .friction-card .friction-icon-box {
        grid-row: 1 / span 2;
        margin-bottom: 0;
        align-self: center;
        width: 44px;
        height: 44px;
    }

    .friction-card .friction-icon-box svg {
        width: 32px;
        height: 32px;
    }

    .friction-card .friction-title {
        grid-column: 2;
        margin-bottom: 0;
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .friction-card .friction-desc {
        grid-column: 2;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Cas d'usage & Situations Métiers */
    .diagnostic-intro h2 {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .diagnostic-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .diagnostic-nav {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .diag-tab-btn {
        padding: 0.85rem 1rem;
    }

    .diag-card {
        padding: 1.4rem 1.2rem;
    }

    .diag-card h3 {
        font-size: 1.08rem;
    }

    .diag-card p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .diagnostic-custom-box {
        padding: 1.6rem 1.2rem;
        border-radius: 14px;
    }

    .diag-custom-header h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .diag-custom-header p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .diag-contact-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .diag-trigger-btn {
        width: 100%;
        max-width: 100%;
        padding: 0.95rem 1.2rem;
        font-size: 0.95rem;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .diag-submit-btn {
        width: 100%;
        max-width: 100%;
        padding: 0.95rem 1.2rem;
        font-size: 0.95rem;
        justify-content: center;
        text-align: center;
    }

    .diag-reassurance-box {
        font-size: 0.8rem;
    }
    
    .equipe-portraits {
        grid-template-columns: 1fr;
    }

    /* Modal Histoire & Équipe Responsive */
    .modal-overlay {
        padding: 0.75rem;
    }
    
    .team-story-modal-card {
        padding: 1.6rem 1.1rem 1.2rem;
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 14px;
    }

    .team-story-modal-card .modal-close {
        top: 0.9rem;
        right: 0.9rem;
        width: 32px;
        height: 32px;
        font-size: 1.15rem;
        z-index: 10;
    }

    .team-selection-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.2rem 0 1.5rem;
    }

    .team-select-card {
        padding: 1.3rem 1.1rem;
        border-radius: 12px;
    }

    .team-select-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 0.8rem;
    }

    .team-select-name {
        font-size: 1.15rem;
    }

    .team-select-role {
        font-size: 0.78rem;
        margin-bottom: 0.6rem;
    }

    .team-select-desc {
        font-size: 0.84rem;
        line-height: 1.45;
        margin-bottom: 0.9rem;
    }
    
    .team-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 0.9rem;
        margin-bottom: 1.2rem;
        padding-bottom: 1.1rem;
    }

    .team-profile-avatar {
        width: 85px;
        height: 85px;
        margin: 0 auto;
    }

    .team-profile-meta h3 {
        font-size: 1.3rem;
    }

    .team-profile-badge {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .team-story-header-bar {
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
        padding-right: 2.2rem;
    }

    .team-story-content-body {
        padding-right: 0.4rem;
        font-size: 0.88rem;
        line-height: 1.6;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .frictions-pipeline {
        padding-left: 32px;
    }

    .frictions-wire-vertical {
        left: 2px;
        width: 28px;
    }

    .friction-card {
        grid-template-columns: 36px 1fr;
        padding: 1rem 0.85rem;
        column-gap: 0.8rem;
    }

    .friction-card .friction-icon-box {
        width: 36px;
        height: 36px;
    }

    .friction-card .friction-icon-box svg {
        width: 26px;
        height: 26px;
    }

    .friction-card .friction-title {
        font-size: 0.9rem;
    }

    .friction-card .friction-desc {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .diagnostic-intro h2 {
        font-size: 1.45rem;
    }

    .diagnostic-custom-box {
        padding: 1.25rem 0.95rem;
    }

    /* Modal Histoire Très Petits Écrans */
    .modal-overlay {
        padding: 0.4rem;
    }

    .team-story-modal-card {
        padding: 1.3rem 0.85rem 1rem;
        max-height: 93vh;
    }

    .team-select-card {
        padding: 1.1rem 0.85rem;
    }

    .team-select-avatar {
        width: 72px;
        height: 72px;
    }

    .team-select-desc {
        font-size: 0.8rem;
    }

    .team-story-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-right: 2rem;
    }

    .team-back-btn {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }
}

/* ==========================================================================
   SECTION : COGITAVEN EST NÉ SUR LE TERRAIN (#terrain)
   ========================================================================== */
.terrain-section {
    padding: 6.5rem 0 5rem;
    position: relative;
    background: linear-gradient(180deg, rgba(6, 11, 19, 0.4) 0%, rgba(11, 18, 32, 0.75) 50%, rgba(6, 11, 19, 0.4) 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.08);
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}

.terrain-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem;
}

.terrain-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.4rem;
}

.terrain-intro-box {
    font-size: 1.06rem;
    color: #CBD5E1;
    line-height: 1.7;
}

.terrain-intro-box p {
    margin-bottom: 0.85rem;
}

.terrain-highlight {
    color: var(--cyan);
    font-size: 1.12rem;
    margin-top: 1rem;
}

/* --- MINI-DÉMO INTERACTIVE : MAIL → DEVIS --- */
.flow-demo-wrapper {
    background: rgba(13, 22, 38, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 2.5rem;
    position: relative;
}

.flow-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.flow-demo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
}

.flow-demo-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: pulseDot 2s infinite ease-in-out;
}

.flow-demo-badge-step {
    font-size: 0.82rem;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 600;
}

.flow-demo-container {
    display: grid;
    grid-template-columns: 1fr auto 1.15fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Fenêtres de simulation (Mail & Devis) */
.demo-window {
    background: rgba(6, 11, 19, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.demo-window.active-focus {
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.18);
}

.demo-window-bar {
    background: rgba(15, 23, 42, 0.85);
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.window-dot.red { background: #EF4444; opacity: 0.75; }
.window-dot.yellow { background: #F59E0B; opacity: 0.75; }
.window-dot.green { background: #10B981; opacity: 0.75; }

.window-title {
    font-size: 0.76rem;
    font-weight: 600;
    color: #94A3B8;
    margin-left: 0.4rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-mail-content,
.demo-quote-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Contenu Mail */
/* Contenu E-mail Réaliste */
.demo-mail-header-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.85rem;
}

.mail-sender-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.mail-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284C7, #00D2FF);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 210, 255, 0.3);
    flex-shrink: 0;
}

.mail-sender-meta {
    flex: 1;
    min-width: 0;
}

.mail-sender-line {
    font-size: 0.84rem;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-sender-email {
    font-size: 0.76rem;
    color: #94A3B8;
    font-weight: normal;
    margin-left: 0.3rem;
}

.mail-details-line {
    font-size: 0.74rem;
    color: #64748B;
    margin-top: 0.1rem;
}

.mail-details-line strong {
    color: #CBD5E1;
}

.mail-dot-sep {
    margin: 0 0.35rem;
    color: #475569;
}

.mail-time {
    color: #94A3B8;
}

.mail-inbox-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.mail-subject-banner {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.84rem;
}

.mail-subj-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--cyan);
    text-transform: uppercase;
}

.mail-subj-val {
    color: #FFFFFF;
    font-weight: 700;
}

.demo-mail-body-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    color: #CBD5E1;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

.demo-mail-body-box p {
    margin-bottom: 0.45rem;
}

.demo-mail-signature {
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
}

.demo-mail-signature strong {
    color: #FFFFFF;
}

.demo-mail-attachments {
    margin-bottom: 1.1rem;
}

.attach-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.attach-icon {
    font-size: 0.9rem;
}

.attach-label {
    font-size: 0.76rem;
    color: var(--cyan-light);
    font-weight: 700;
}

.attach-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.attach-chip {
    font-size: 0.73rem;
    background: rgba(0, 210, 255, 0.06);
    color: #E2E8F0;
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-family: monospace;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.chip-icon {
    font-size: 0.8rem;
}

.demo-mail-action {
    margin-top: auto;
}

.btn-demo-action {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.75rem 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.25);
    cursor: pointer;
}

.btn-demo-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Connecteur central de flux */
.demo-flow-bridge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 185px;
    padding: 0.5rem;
    position: relative;
}

.demo-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.flow-step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748B;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    opacity: 0.35;
    transform: translateX(-4px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step-item.active {
    opacity: 1;
    color: #FFFFFF;
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.35);
    transform: translateX(0);
}

.flow-step-item.done {
    opacity: 0.9;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateX(0);
}

.step-check {
    color: var(--cyan);
    font-weight: 800;
    font-size: 0.85rem;
}

/* Contenu Application Devis */
.demo-quote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 0.4rem;
}

.demo-quote-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.demo-quote-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #94A3B8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.demo-quote-badge.active-fill {
    background: rgba(0, 210, 255, 0.12);
    color: var(--cyan);
    border-color: rgba(0, 210, 255, 0.3);
}

.demo-quote-badge.ready {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.35);
}

.demo-quote-fields {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.quote-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    opacity: 0.35;
    transition: all 0.3s ease;
}

.quote-field-row.filled {
    opacity: 1;
    background: rgba(0, 210, 255, 0.04);
    border-color: rgba(0, 210, 255, 0.15);
}

.qf-label {
    color: #64748B;
    font-weight: 600;
}

.qf-val {
    color: #CBD5E1;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.qf-check {
    color: var(--cyan);
    font-weight: 800;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-field-row.filled .qf-check {
    opacity: 1;
}

/* Zone d'intervention humaine (Prix) */
.demo-price-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.demo-price-box.active-intervention {
    opacity: 1;
    border-style: solid;
    border-color: var(--cyan);
    background: rgba(0, 210, 255, 0.06);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.15);
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.price-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-help {
    font-size: 0.72rem;
    color: #94A3B8;
}

.price-input-sim {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 11, 19, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
}

.price-currency-label {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
}

.price-value-container {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.price-typing {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.price-cursor {
    color: var(--cyan);
    font-weight: 700;
    animation: blink 0.8s infinite;
    display: none;
}

.price-cursor.visible {
    display: inline;
}

.price-validated-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-validated-badge.visible {
    opacity: 1;
}

/* Statut final PDF */
.demo-pdf-result {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    margin-bottom: 0.8rem;
}

.demo-pdf-result.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pdf-card-preview {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 0.75rem 0.95rem;
    border-radius: 8px;
}

.pdf-icon-box {
    font-size: 1.5rem;
    line-height: 1;
}

.pdf-info {
    flex: 1;
}

.pdf-filename {
    font-size: 0.84rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: monospace;
}

.pdf-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #10B981;
}

.pdf-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.btn-pdf-preview-pop {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pdf-preview-pop:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--cyan);
    color: #FFFFFF;
}

.demo-quote-footer {
    margin-top: auto;
    text-align: right;
}

.btn-demo-replay {
    background: none;
    border: none;
    color: #64748B;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-demo-replay:hover {
    color: var(--cyan);
}

/* Message clé sous la démo */
.demo-takeaway-card {
    background: rgba(0, 210, 255, 0.05);
    border-left: 3px solid var(--cyan);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.3rem;
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: #CBD5E1;
    line-height: 1.55;
}

.demo-takeaway-lead {
    color: #FFFFFF;
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}

/* --- DEUX PREUVES CONCRÈTES SECONDAIRES BEPLUS --- */
.terrain-proofs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.terrain-proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.6rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.terrain-proof-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.proof-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.proof-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}

.proof-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--cyan-light);
    display: block;
    margin-bottom: 0.2rem;
}

.proof-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

.terrain-proof-card p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.proof-badge-shift {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    background: rgba(6, 11, 19, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    width: fit-content;
}

.shift-arrow {
    color: var(--cyan);
    font-weight: 800;
}

.shift-target {
    color: #FFFFFF;
    font-weight: 700;
}

/* --- PHRASE PHILOSOPHIQUE FORTE --- */
.terrain-philosophy-box {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    background: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.08) 0%, transparent 80%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    position: relative;
}

.philosophy-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    color: #E2E8F0;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.philosophy-quote span {
    color: var(--cyan);
    font-weight: 700;
}

/* ==========================================================================
   SECTION : DEUX FAÇONS DE COMMENCER (#demarrer)
   ========================================================================== */
.demarrer-section {
    padding: 6rem 0 3rem;
    position: relative;
}

.demarrer-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.demarrer-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.demarrer-header p {
    font-size: 1.08rem;
    color: #94A3B8;
}

.demarrer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.demarrer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.demarrer-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.demarrer-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--cyan);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 1.1rem;
    width: fit-content;
}

.demarrer-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 1.1rem;
}

.demarrer-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.3rem;
}

.demarrer-chip {
    font-size: 0.76rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
}

.demarrer-card-text {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    flex: 1;
}

.demarrer-bold-lead {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

/* Track / Pipeline étapes */
.demarrer-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 11, 19, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    gap: 0.4rem;
}

.track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.track-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94A3B8;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-name {
    font-size: 0.74rem;
    font-weight: 600;
    color: #CBD5E1;
    white-space: nowrap;
}

.track-step.highlight .track-num {
    background: rgba(0, 210, 255, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.track-step.highlight .track-name {
    color: var(--cyan);
    font-weight: 700;
}

.track-arrow {
    color: var(--cyan-light);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Transition vers le CTA */
.demarrer-transition-box {
    text-align: center;
    margin: 2rem auto 2.5rem;
}

.demarrer-transition-lead {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    display: inline-block;
    padding: 0.6rem 1.6rem;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 30px;
}

/* --- MODAL APERÇU PDF SYNTHÉTIQUE --- */
.pdf-preview-modal-content {
    max-width: 540px;
    padding: 2rem;
}

.pdf-modal-doc {
    background: #0B1220;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: #CBD5E1;
}

.pdf-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.pdf-modal-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    background: rgba(6, 11, 19, 0.6);
    padding: 0.35rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pdf-tab-btn {
    flex: 1;
    background: none;
    border: 1px solid transparent;
    color: #94A3B8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.pdf-tab-btn:hover {
    color: #FFFFFF;
}

.pdf-tab-btn.active {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.35);
    color: var(--cyan);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pdf-tab-pane {
    display: none;
}

.pdf-tab-pane.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Source Mail in Modal */
.pdf-source-mail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
}

.source-mail-meta {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.source-mail-sender strong {
    color: #FFFFFF;
}

.source-mail-sub {
    color: #94A3B8;
    font-size: 0.76rem;
    margin-top: 0.15rem;
}

.source-mail-body {
    font-size: 0.82rem;
    color: #CBD5E1;
    line-height: 1.5;
    font-style: italic;
}

/* Source Attachments in Modal */
.pdf-source-attachments {
    background: rgba(6, 11, 19, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.source-attach-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--cyan-light);
    margin-bottom: 0.6rem;
}

.source-attach-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.source-attach-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
}

.attach-chip-icon {
    font-size: 1rem;
}

.attach-item-info strong {
    color: #FFFFFF;
    font-family: monospace;
    font-size: 0.78rem;
    display: block;
}

.attach-item-info span {
    color: #64748B;
    font-size: 0.72rem;
}

.pdf-doc-title {
    font-weight: 800;
    color: #FFFFFF;
    font-size: 1rem;
}

.pdf-doc-sub {
    font-size: 0.74rem;
    color: #64748B;
    margin-top: 0.2rem;
}

.pdf-doc-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.pdf-doc-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.85rem;
    border-radius: 6px;
}

.pdf-party-box {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pdf-party-label {
    font-size: 0.68rem;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pdf-party-box strong {
    color: #FFFFFF;
}

.pdf-party-box span {
    font-size: 0.74rem;
    color: #94A3B8;
}

.pdf-doc-table {
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

.pdf-table-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pdf-table-row:last-child {
    border-bottom: none;
}

.pdf-table-row.header {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    color: #94A3B8;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.pdf-doc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
}

.pdf-doc-total span {
    font-weight: 600;
    color: #CBD5E1;
}

.pdf-doc-total strong {
    font-family: var(--font-display);
    font-size: 1.18rem;
    color: var(--cyan);
}

.pdf-doc-footer-note {
    font-size: 0.76rem;
    color: #10B981;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS FOR TERRAIN & DEMARRER
   ========================================================================== */
@media (max-width: 960px) {
    .flow-demo-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .demo-flow-bridge {
        min-width: 100%;
        padding: 0.5rem 0;
    }

    .demo-flow-steps {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .terrain-proofs-grid,
    .demarrer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .flow-demo-wrapper {
        padding: 1.1rem;
    }

    .flow-step-item {
        font-size: 0.72rem;
        padding: 0.35rem 0.5rem;
    }

    .demarrer-track {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .track-step {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .track-arrow {
        display: none;
    }

    .pdf-doc-parties {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flow-step-item,
    .demo-window,
    .demo-pdf-result,
    .price-validated-badge {
        transition: none !important;
        animation: none !important;
    }
    .flow-demo-pulse-dot {
        animation: none !important;
    }
}

