/*
Theme Name: Stacky GGT
Theme URI: https://stacky.be
Author: Stacky
Description: Thème minimaliste optimisé pour AJAX (Barba.js) et GSAP.
Version: 1.3
*/

/* -------------------------------------------------------------------------- */
/* 1. VARIABLES & DESIGN TOKENS
/* -------------------------------------------------------------------------- */
:root {
    --bg-color: #000;
    --text-color: #ffffff;
	--text-color-2: #aaaaaa;
    --accent-color: #ffffff;
    --gray-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-tech: 'Chakra Petch', monospace;
    --font-title: 'Montserrat', sans-serif;
    --transition-fast: 0.3s ease;
	--header-height: 120px;
}

/* -------------------------------------------------------------------------- */
/* 2. RESET & BASE SETUP
/* -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ACTIVATION DU SNAP SCROLL */
#wpadminbar {
    position: fixed !important; /* Évite qu'elle ne pousse le contenu au scroll */
}
html {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-muted) var(--bg-color);
    scrollbar-gutter: stable; 
    
    scroll-snap-type: y mandatory; 
	margin-top: 0 !important; /* Force WP à ne pas pousser le site */
}
.main-content {
	display: flex;
  justify-content: center; /* Centre horizontalement */
  width: 100%;
}
/* --- ANIMATION PRE-LOAD STATE --- */
/* On cache tous les éléments qui seront animés par GSAP */
.hero-title .line,
.hero-subtitle,
.hero-actions,
.hero-meta-top,
.split-left,
.split-right,
.tech-card, 
.section-header,
.service-row{
    opacity: 0;
    visibility: hidden;
	
}
/* 2. DANS LE BLOC "HOME V2" (Vers la ligne 500) */

.manifesto-grid, 
.services-list, 
.projects-grid,
.split-section,
.tech-stack-section,
.cta-footer,
.lp-features,
.lp-contact,
.home-protocol,
.concept-body,
.concept-cta {
    scroll-snap-align: center;
    scroll-snap-stop: normal; 
}
.hero-v2, 
.lp-hero,
.concept-hero {
	scroll-snap-align: center;
    scroll-snap-stop: normal; 
    
    min-height: 100dvh; 
}
.contact-grid {
	scroll-snap-align: end;
	scroll-snap-stop: normal;
}
body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
	
}

/* SÉCURITÉ CURSEUR : On ne cache le curseur que si l'appareil a un pointeur fin (Souris) */
@media (pointer: fine) {
    body { cursor: none; }
}
@media screen and (max-width: 1024px) {

    /* --- FIX DU PULL-TO-REFRESH --- */
    html, body {
        /* On désactive le magnétisme sur mobile pour laisser le scroll natif */
        scroll-snap-type: none !important;
        /* On s'assure que le rebond (overscroll) est actif */
        overscroll-behavior-y: auto;
    }

    /* On désactive aussi l'alignement sur les sections */
    .hero-v2, 
    .manifesto-grid, 
    .services-list, 
    .projects-grid {
        scroll-snap-align: none;
    }

    /* ... Le reste de ton CSS mobile continue ici ... */
    
    /* 1. On cache le menu desktop */
    .desktop-only { display: none !important; }
    
    /* ... */
}
a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

/* -------------------------------------------------------------------------- */
/* 3. GESTION DES LOGOS (HEADER & LOADER)
/* -------------------------------------------------------------------------- */

/* A. Base commune pour tous les SVG de logos (Header + Loader) */
.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.custom-logo-link svg {
    width: auto; /* On laisse la hauteur décider de la largeur */
    transition: all 0.3s ease;
    fill: currentColor; /* Le SVG prend la couleur du texte parent */
}

/* B. Spécifique au HEADER (Petit Logo) */
.header-pill .custom-logo-link svg {
    fill: currentColor;
    height: 40px; /* Taille standard pour le header */
}

/* Animation au survol du Header uniquement */
.header-pill .custom-logo-link:hover {
    color: #cc5500; 
}

.header-pill .custom-logo-link:hover svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(255, 229, 50, 0.6));
}

/* C. Spécifique au LOADER (Gros Logo) */
.loader-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.loader-logo-container .custom-logo-link {
    pointer-events: none;
    cursor: default;
}

.loader-logo-container svg {
    height: 200px !important;
}

/* On définit juste la couleur de départ */
.loader-logo-container svg path {
    fill: #ffffff;
}

.loader-title {
    font-size: 50px;
    letter-spacing: 5px; /* Valeur de départ importante pour GSAP */
    transition: none; /* On laisse GSAP gérer les transitions */
    text-align: center; /* Important pour que l'écartement des lettres se fasse depuis le centre */
}
/* --- APPLICATION DU GRADIENT SUR LE LOGO DYNAMIQUE --- */
.loader-logo-container svg path,
.loader-logo-container svg polygon,
.loader-logo-container svg rect {
    /* On force l'utilisation du gradient fantôme défini dans le header */
    fill: url(#logo-gradient) !important;
}
/* -------------------------------------------------------------------------- */
/* 4. STRUCTURE AJAX (BARBA.JS)
/* -------------------------------------------------------------------------- */
[data-barba="wrapper"] {
    flex: 1; 
}

[data-barba="container"] {
    width: 100%;
	background: radial-gradient(circle at top right, rgba(204, 85, 0, 0.05) 0%, transparent 20%);
}
@media screen and (max-width: 782px) {
	[data-barba="container"] {
		background: none;
	}
}
.content-wrapper {
    padding: 1px 5% 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.content-wrapper > *:first-child {
    margin-top: 0 !important;
}
@media screen and (max-width:600px) {
	..content-wrapper {
	  display: block;
	  margin: 0 auto;
	  width: 90%; /* Garde une petite marge de sécurité sur les côtés */
	  box-sizing: border-box;
	}
}
/* -------------------------------------------------------------------------- */
/* 5. LE LOADER (VOLET GSAP)
/* -------------------------------------------------------------------------- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

body.is-loading .loader-overlay {
    pointer-events: all;
}

.loader-content {
    height: 100%;
    width: 100%;
    display: flex;
    color: var(--text-color);
    font-size: 1.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 900;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* -------------------------------------------------------------------------- */
/* 6. NAVIGATION (STRICT RIVALITY STYLE)
/* -------------------------------------------------------------------------- */
header.main-header {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
}

.header-pill {
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Version DESKTOP par défaut */
    width: 65%; 
    min-width: 700px; /* <--- C'est ça qui bloquait sur mobile, on l'écrase plus bas */
    height: 80px;     
    
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 10px 12px 10px 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    padding: 0;
    margin: 0;
}

/* --- LIENS DU MENU PRINCIPAL --- */
.nav-menu a {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    margin: 0;
    position: relative;
    padding: 5px 0; /* Espace nécessaire pour la ligne lumineuse en dessous */
}

/* Ligne lumineuse (Scanline) cachée par défaut */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: #cc5500;
    box-shadow: 0 0 8px #cc5500;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Effet d'accélération tech */
}

/* État Actif ou Survol : Le texte s'illumine */
.nav-menu li.current-menu-item a,
.nav-menu a:hover {
    color: #fff;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Léger halo blanc */
}

/* État Actif ou Survol : La ligne se déploie */
.nav-menu li.current-menu-item a::after,
.nav-menu a:hover::after {
    width: 100%;
}


/* --- SOUS-MENU (STYLE TERMINAL DROPDOWN) --- */
.nav-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 20px) !important; /* Décalage propre sous la pilule */
    
    /* Design Terminal */
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid #cc5500; /* Ligne de force orange en haut */
    border-radius: 4px; /* On enlève les gros arrondis, on veut un truc tranchant */
    
    padding: 10px 0;
    min-width: 220px;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    
    /* Pour l'animation GSAP/CSS */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

.nav-menu li:hover > ul.sub-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Zone invisible pour ne pas perdre le hover entre la pilule et le sous-menu */
.nav-menu ul.sub-menu::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* On désactive le petit triangle du dessus (plus adapté au look tech) */
.nav-menu ul.sub-menu::before {
    display: none; 
}

/* Liens à l'intérieur du sous-menu */
.nav-menu ul.sub-menu li {
    width: 100%;
    display: block;
}

.nav-menu ul.sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    border-left: 2px solid transparent; /* Prépare l'animation du bord gauche */
    transition: all 0.2s ease;
}

/* On enlève la scanline du dessous pour les sous-menus */
.nav-menu ul.sub-menu li a::after {
    display: none; 
}

/* Interaction sous-menu : style tabulation de code */
.nav-menu ul.sub-menu li a:hover {
    background: rgba(204, 85, 0, 0.08); /* Fond léger orangé */
    color: #cc5500;
    border-left-color: #cc5500; /* La bordure s'allume à gauche */
    padding-left: 28px; /* Effet de décalage très informatique */
    text-shadow: none;
}

/* --- BOUTON CONTACT (HEADER) - TECH STYLE --- */
.contact-btn {
    background: rgba(204, 85, 0, 0.05); /* Fond transparent orangé */
    color: #cc5500 !important; /* Couleur Stacky */
    border: 1px solid rgba(204, 85, 0, 0.5);
    padding: 10px 20px 10px 15px; /* Un peu plus de place à gauche pour le voyant */
	margin-right: 25px;
    font-family: var(--font-tech); /* Ta police carrée 'Chakra Petch' */
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    
    /* Design angulaire (Cyberpunk) au lieu de l'arrondi classique */
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre le point et le texte */
    transition: all 0.3s ease !important;
}

/* Le voyant "Comms Open" intégré directement en CSS */
.contact-btn::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #cc5500;
    border-radius: 50%;
    box-shadow: 0 0 10px #cc5500;
    animation: blink 2s infinite; /* Utilise ton animation blink existante */
    transition: all 0.3s ease;
}

/* Interaction au survol (Hover) */
.contact-btn:hover {
    background: #cc5500;
    color: #fff !important;
    border-color: #cc5500;
    box-shadow: 0 0 20px rgba(204, 85, 0, 0.4);
    transform: translateY(-2px); /* Léger soulèvement au lieu du gros zoom */
}

/* Le voyant devient blanc au survol */
.contact-btn:hover::before {
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

/* --- SOUS-MENU --- */
.nav-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 220px;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    display: flex;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transition-delay: 0.1s;
}

.nav-menu li:hover > ul.sub-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.nav-menu ul.sub-menu li {
    width: 100%;
    display: block;
}

.nav-menu ul.sub-menu li a {
    display: block;
    padding: 12px 20px;
    text-transform: none;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-menu ul.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 25px;
}

.nav-menu ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 13%;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.1);
}

.nav-menu ul.sub-menu::after {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
    display: block;
}

.nav-menu ul.sub-menu {
    top: calc(130%)!important;
}

/* -------------------------------------------------------------------------- */
/* 7. TYPOGRAPHIE & CONTENU
/* -------------------------------------------------------------------------- */
h1 {
    font-size: clamp(2.5rem, 10vw, 7rem);
    line-height: 0.9;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: -2px;
}
/* -------------------------------------------------------------------------- */
/* 8. FOOTER 
/* -------------------------------------------------------------------------- */
.site-footer {
    padding: 60px 5%;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
    font-size: 0.75rem;
    color: var(--gray-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links a {
    margin-left: 20px;
}

/* -------------------------------------------------------------------------- */
/* 9. FIX ADMIN BAR WORDPRESS
/* -------------------------------------------------------------------------- */
.admin-bar header { top: 32px; }
.admin-bar .loader-overlay { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
    .admin-bar header { top: 46px; }
    .admin-bar .loader-overlay { top: 46px; height: calc(100% - 46px); }
}
.admin-bar .content-wrapper { padding-top: calc(140px + 32px); }
@media screen and (max-width: 782px) {
    .admin-bar .content-wrapper { padding-top: calc(140px + 46px); }
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.9;
    font-weight: 800;
    text-transform: uppercase;
}

.text-stroke {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.hero-meta {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.9rem;
    color: var(--gray-muted);
}

/* --- MANIFESTO --- */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-muted);
}

.text-block h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-block p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
}

/* --- SERVICES LIST --- */
.services-list {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease;
}

.service-item:hover {
    padding-left: 20px;
}

.service-item .num {
    font-size: 0.8rem;
    color: var(--gray-muted);
    margin-right: 20px;
}

.service-item .name {
    font-size: 1.5rem;
    font-weight: 600;
    flex-grow: 1;
}

.service-item .arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

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

/* --- PROJECTS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.project-card .project-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .manifesto-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* État de base : très léger fond et un flou de verre dépoli */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(4px); /* Un peu plus de flou de base pour le contraste */
    -webkit-backdrop-filter: blur(4px);
    
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    
    /* AJOUT IMPORTANT : Transition fluide pour l'effet de filtre */
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

body.cursor-hover .cursor-follower {
    /* LE TRYC : On enlève le flou pour créer un effet de "Focus Net" */
    backdrop-filter: blur(0px) !important;
    -webkit-backdrop-filter: blur(0px) !important;

    /* On éclaire légèrement l'intérieur pour faire ressortir le texte */
    background: rgba(255, 255, 255, 0.2);
    
    /* Bonus style : la bordure devient orange pour marquer l'interaction */
    border-color: #cc5500;
    /* Petit halo lumineux subtil */
    box-shadow: 0 0 20px rgba(204, 85, 0, 0.2);
}

.click-ripple {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;     
    z-index: -1;
    background: transparent; 
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* MENU MOBILE MODERN (THEME SPACE)
/* -------------------------------------------------------------------------- */

/* --- 1. Gestion de l'affichage Desktop/Mobile --- */
.burger-btn { display: none; }
.mobile-menu-overlay { display: none; }



/* --- 2. Style du Bouton Burger --- */
.burger-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Alignement à droite */
    gap: 6px;
    cursor: pointer;
    z-index: 2000; /* Au-dessus de tout */
}

.burger-line {
    display: block;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.line-1 { width: 30px; }
.line-2 { width: 20px; }

/* Au survol, les lignes s'égalisent */
.burger-btn:hover .line-2 { width: 30px; }


/* --- 3. L'Overlay Plein Écran --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    background: rgba(5, 5, 5, 0.98); /* Plus opaque pour la lisibilité */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1500; /* SOUS la pilule (qui doit être > 1500 ou header-pill z-index: 2000) */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    display: flex; /* Pour centrer le contenu */
    flex-direction: column;
}

/* AJOUT : Classe pour désactiver le scroll snap pendant les transitions */

.mobile-menu-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* --- 4. Typographie des Liens Mobiles --- */
.mobile-nav-list {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-list li {
    overflow: hidden; 
    margin-bottom: 20px;
}

.mobile-nav-list a {
    display: block;
    font-family: 'Montserrat', sans-serif; 
    font-size: clamp(2rem, 8vw, 4rem);     
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); 
    transition: all 0.3s ease;
    
    /* Position de départ pour GSAP */
    transform: translateY(100%); 
}

/* État actif ou survol */
.mobile-nav-list li.current-menu-item a,
.mobile-nav-list a:hover {
    color: #fff;
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); 
}

/* --- 5. Contact & Footer --- */
.mobile-contact-btn {
    padding: 15px 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background: #fff;
    color: #000;
}

.mobile-footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    font-size: 0.7rem;
    color: var(--gray-muted);
    font-family: monospace;
    opacity: 0.5;
}
/* -------------------------------------------------------------------------- */
/* VERSION MOBILE FINALE (FIX CLICK + TAILLE + Z-INDEX)
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    /* 1. On cache le menu desktop */
    .desktop-only { display: none !important; }
    
    /* 2. On affiche le burger */
    .burger-btn { 
        display: flex;
        margin-right: -5px; 
    }

    /* 3. FIX CRITIQUE DU HEADER PILL (Le "Toit" du site) */
    .header-pill {
        /* On casse les règles desktop */
        min-width: 0 !important;
        width: 85% !important; 
        max-width: 400px !important; 
        height: 60px; 
        padding: 0 15px; 
        border-radius: 50px; 
        flex-shrink: 0;
        
        /* Z-INDEX SUPRÊME : Doit être au-dessus de l'overlay noir */
        position: relative; 
        z-index: 9999 !important; 
        background: rgba(15, 15, 15, 0.95); /* Fond plus opaque pour bien voir la croix */
    }

    .header-pill .custom-logo-link svg {
        height: 32px; 
    }

    /* 4. FIX DE L'OVERLAY (Cliquable + Sous la pilule) */
    .mobile-menu-overlay {
        display: block; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100lvh;
        
        /* Z-index inférieur à la pilule (9999) mais supérieur au reste */
        z-index: 5000; 
        
        /* FIX CLIC : On force la réactivation des clics */
        pointer-events: auto !important; 
        
        background: rgba(5, 5, 5, 0.95); /* Noir profond presque opaque */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        /* Pour GSAP */
        opacity: 0;
        visibility: hidden;
    }

    .mobile-menu-container {
        height: 100%;
        width: 100%;
        overflow-y: auto; /* Scroll activé */
        -webkit-overflow-scrolling: touch;
        
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        
        /* On pousse le contenu bien en dessous de la pilule */
        padding-top: 130px; 
        padding-bottom: 50px;
    }

    /* 5. TYPOGRAPHIE RÉDUITE (Pour que ça rentre) */
    .mobile-nav-list {
        width: 100%;
        padding: 0 20px;
    }
    
    .mobile-nav-list li {
        margin-bottom: 15px; /* Moins d'espace entre les liens */
    }

    .mobile-nav-list a {
        /* Taille beaucoup plus raisonnable */
        font-size: 2rem; /* Taille fixe de sécurité */
        font-size: clamp(1.5rem, 8vw, 2.2rem); /* Taille adaptative */
        line-height: 1.1;
        padding: 10px 0; /* Zone de clic confortable */
        display: block;
    }
    
    /* Bouton Contact Mobile */
    .mobile-contact {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    
    .mobile-footer {
        font-size: 0.6rem;
        opacity: 0.4;
        margin-top: auto; /* Pousse vers le bas si il y a de la place */
        padding-bottom: 20px;
    }
}

/* -------------------------------------------------------------------------- */
/* PAGE SERVICES
/* -------------------------------------------------------------------------- */

/* Hero spécifique */
.services-hero {
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-muted);
    max-width: 500px;
    margin-top: 20px;
    font-family: monospace; /* Touche technique */
}

/* Liste des Services */
.services-list-container {
    margin-top: 0; /* Collé à la ligne du hero */
}

.service-row {
    display: flex;
    align-items: flex-start; /* Alignement haut pour gérer la description */
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Numéro (01, 02...) */
.service-meta {
    font-family: 'Chakra Petch', sans-serif; /* Ta police carrée */
    font-size: 1.2rem;
    color: var(--gray-muted);
    width: 80px;
    padding-top: 5px;
    transition: color 0.3s ease;
}

/* Infos (Titre + Desc) */
.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-desc {
    font-size: 1rem;
    color: var(--gray-muted);
    max-width: 400px;
    margin-top: 10px;
    
    /* Caché par défaut ou visible ? On va le laisser visible mais discret */
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Flèche à droite */
.service-action {
    width: 60px;
    display: flex;
    justify-content: flex-end;
    font-size: 2rem;
    opacity: 0; /* Invisible par défaut */
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

/* --- INTERACTION HOVER (L'Effet Wow) --- */

.service-row:hover {
    background: rgba(255, 255, 255, 0.02); /* Très léger fond */
    padding-left: 20px; /* Petit décalage vers la droite */
}

.service-row:hover .service-meta {
    color: #cc5500; /* Orange Stacky */
}

.service-row:hover .service-name {
    color: #fff;
    transform: translateX(10px); /* Le titre bouge */
}

.service-row:hover .service-desc {
    opacity: 1;
    color: #fff;
}

.service-row:hover .service-action {
    opacity: 1;
    transform: translateX(0);
    color: #cc5500;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .service-row {
        flex-direction: column;
        padding: 30px 0;
    }
    .service-meta {
        margin-bottom: 10px;
    }
    .service-action {
        display: none; /* On cache la flèche sur mobile */
    }
}

/* -------------------------------------------------------------------------- */
/* HOME V2 : MISSION CONTROL
/* -------------------------------------------------------------------------- */
/* --- SECTIONS PLEIN ÉCRAN (ESPACEMENT) --- */

/* Chaque section majeure prend au moins la hauteur de l'écran */
.manifesto-grid, 
.services-list, 
.projects-grid {
    min-height: 100svh; /* Chaque section remplit l'écran */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Contenu centré verticalement */
    
    /* Ajout d'une marge pour bien respirer */
    padding-top: 100px;
    padding-bottom: 100px;
    
    /* Optionnel : Une ligne de séparation subtile entre chaque section */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Exception pour le footer qui n'a pas besoin de faire 100vh */
.site-footer {
    min-height: auto;
}
/* --- HERO V2 --- */
.hero-v2 {
    min-height: 100dvh; 
    height: auto; 
    
    /* ... le reste ne change pas ... */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height); 
    padding-bottom: 40px; /* Ajout d'une marge de sécurité en bas */
    box-sizing: border-box; 
    padding-left: 5%;
    padding-right: 5%;
    z-index: 1;
}

.hero-meta-top {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.8rem;
    color: #cc5500;
    margin-bottom: 20px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-light {
    width: 8px;
    height: 8px;
    background: #cc5500;
    border-radius: 50%;
    box-shadow: 0 0 10px #cc5500;
    animation: blink 2s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
    font-family: 'Montserrat', sans-serif; /* Ou Orbitron si tu as choisi */
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-title .outline {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.hero-title .highlight {
    color: #cc5500; /* L'accent Orange */
}

.hero-subtitle {
    font-family: 'Chakra Petch', monospace;
    color: var(--gray-muted);
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 50px;
    border-left: 2px solid #cc5500;
    padding-left: 20px;
}

/* BOUTON "INITIALISER" */
.btn-main {
    display: inline-block;
    padding: 18px 40px;
    background: #fff;
    color: #000;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: #cc5500;
    color: #fff;
    box-shadow: 0 0 30px rgba(204, 85, 0, 0.4);
}
/* --- SECTION : PROTOCOLE (ACCUEIL) --- */
.home-protocol {
    padding: 100px 0 0 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.protocol-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* La colonne de droite prend un tout petit peu plus de place */
    gap: 80px;
    align-items: center;
}

/* --- BOÎTE TERMINAL (GAUCHE) --- */
.protocol-intro {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden; /* Coupe ce qui dépasse pour garder les angles propres */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Les 3 petits points façon fenêtre macOS / Terminal */
.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-header .dot.red { background: #ff5f56; }
.terminal-header .dot.yellow { background: #ffbd2e; }
.terminal-header .dot.green { background: #27c93f; }

.terminal-header .title {
    margin-left: auto;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--gray-muted);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 20px;
}

.terminal-body h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 20px 0;
}

.terminal-body p {
    color: var(--text-color-2);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- LISTE DES SPÉCIFICATIONS (DROITE) --- */
.protocol-specs {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.spec-item {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

/* Interaction : la ligne s'allume au survol */
.spec-item:hover {
    border-left-color: #cc5500;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.spec-header h4 {
    margin: 0;
    font-family: var(--font-tech);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.spec-item p {
    margin: 0;
    color: var(--text-color-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .protocol-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .terminal-body {
        padding: 25px;
    }
    .terminal-body h2 {
        font-size: 2.2rem;
    }
}
.home-protocol {
    padding: 100px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    /* On enlève le grid d'ici, car on a maintenant 2 blocs superposés */
    display: block; 
}
/* --- WIDGET SLOTS (ACCUEIL) --- */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.home-slots-widget {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid #cc5500; /* Ligne de force Stacky */
    padding: 20px;
    border-radius: 4px;
}

.widget-header {
    margin-bottom: 20px;
}

.widget-header h4 {
    color: #cc5500;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.widget-header p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* Ajustement du moniteur pour qu'il prenne bien la largeur du widget */
.widget-monitor .slots-monitor {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
    border: none; /* On enlève la bordure du moniteur car le widget en a déjà une */
    padding: 0;
    background: transparent;
}

/* Le bouton d'action */
.cta-slot {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
	margin-top: 10px!important;
    font-size: 0.85rem;
    letter-spacing: 2px;
}
/* --- LE TERMINAL FULL WIDTH --- */
.protocol-intro.full-width {
    width: 100%;
    margin-bottom: 80px; /* Espace généreux avant la grille du bas */
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.terminal-left {
    flex: 1;
}

.terminal-right {
    flex: 1.2;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 60px;
}

.terminal-right p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- GRILLE DU BAS (SPECS vs MONITEUR) --- */
.protocol-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Bouton CTA sous la liste */
.cta-slot {
    padding: 15px 40px;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .terminal-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .terminal-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
    }
    
    .protocol-grid-bottom {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}
/* SCROLL INDICATOR */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Chakra Petch', monospace;
    font-size: 0.7rem;
    color: var(--gray-muted);
    writing-mode: vertical-rl; 
    text-orientation: mixed;
	width: auto;
    white-space: nowrap;
    position: absolute;
    right: 0;
    bottom: 0px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gray-muted);
}

/* --- MANIFESTO / STATS --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Black Ops One', cursive; /* Ta police militaire */
    font-size: 2.5rem;
    color: #fff;
}

.stat-label {
    font-size: 0.7rem;
    color: #cc5500;
    letter-spacing: 2px;
}

/* --- LOGS (PROJETS) --- */
.mission-logs {
    margin-top: 100px;
}

.log-entry {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 10px;
    transition: all 0.3s ease;
}

.log-entry:hover {
    border-color: #cc5500;
    transform: translateY(-5px);
}

.log-image {
    aspect-ratio: 16/9;
    background: #111;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    color: #333;
}

.center-btn {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

.btn-link {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: var(--gray-muted);
    transition: color 0.3s;
}
.btn-link:hover { color: #fff; }

/* -------------------------------------------------------------------------- */
/* PAGE CRÉATION (INTERNAL)
/* -------------------------------------------------------------------------- */

/* Ajustement Hero Interne */
.internal-hero {
    /* On garde la logique 100vh du hero principal */
    min-height: 100vh; /* Un peu moins haut que l'accueil si on veut */
}

/* --- SPLIT SECTION (Texte à gauche / Texte à droite) --- */
.split-section {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
    margin-top: 20px;
}

.text-body {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
}

.data-box {
    border: 1px solid #333;
    padding: 20px;
    display: inline-block;
    background: rgba(255,0,0,0.05); /* Lueur rouge pour l'alerte */
}
.data-val {
    display: block;
    font-family: var(--font-tech);
    font-size: 2rem;
    color: #ff4444; /* Rouge alerte */
    font-weight: bold;
	text-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
    font-variant-numeric: tabular-nums;
}
.data-desc {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--gray-muted);
}

/* --- TECH GRID (Les cartes) --- */
.tech-stack-section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.tech-icon {
    font-family: var(--font-tech);
    font-size: 3rem;
    color: var(--gray-muted);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

.tech-card h4 {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.tech-card p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.5;
}

/* --- CTA FOOTER --- */
.cta-footer {
    min-height: 60dvh; /* Pas besoin de 100 ici */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-title {
    font-size: clamp(2rem, 6vw, 5rem);
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .hero-v2 {
        min-height: auto; /* On laisse le contenu décider sur mobile */
        padding-top: 140px;
    }
}
/* ------------------------ */
/* --- CONTACT SPECIFIC --- */
/* ------------------------ */
.page-contact {
    height: 100vh;
    height: 100dvh;
}

.contact-full-wrapper {
    height: 100%;
    display: flex;
    align-items: center; /* Centrage vertical */
    justify-content: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    align-items: center;
}

/* On s'assure que le titre de la page contact n'est pas trop énorme pour tenir */
.page-contact .hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.terminal-style textarea, .terminal-style input {
	width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 15px 15px;
    margin-bottom: 20px;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
    resize: none;
}
.terminal-style textarea:focus, .terminal-style input:focus {
    outline: none;
    border-color: #cc5500;
}
.gps-counter {
    font-family: var(--font-tech); /* Ta police 'Chakra Petch' ou monospace */
    display: inline-block;
    min-width: 180px; /* Évite que le texte saute pendant l'animation */
    color: #cc5500;
    letter-spacing: 1px;
}

/* Optionnel : un petit effet de scanline sur la meta */
.hero-meta-top {
    position: relative;
    overflow: hidden;
}
.gps-counter {
    font-family: var(--font-tech);
    color: #cc5500;
    text-transform: uppercase;
    /* Petit effet de clignotement léger */
    animation: gps-flicker 1s infinite step-end;
}

@keyframes gps-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
    53% { opacity: 1; }
}
@media screen and (max-width: 1024px) {
    .page-contact { height: auto; overflow: visible; } /* On libère le scroll sur mobile */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =================== FOOTER ==================== */

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
	scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-col .label {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

/* Témoin lumineux qui pulse */
.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    margin-bottom: 10px;
}

.led {
    width: 6px;
    height: 6px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
    animation: pulse-led 2s infinite;
}

@keyframes pulse-led {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links a {
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.hover-link:hover {
    text-shadow: 2px 0 0 rgba(255,0,0,0.5), -2px 0 0 rgba(0,255,255,0.5);
    animation: glitch-text 0.2s infinite;
}

@keyframes glitch-text {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

.promo-banner {
    background: #cc5500; /* Un orange "industriel" qui tranche avec le noir */
    color: #fff;
    font-family: var(--font-tech);
    font-size: 1rem;
    padding: 0;
    text-align: center;
	font-weight: 800;
    letter-spacing: 1px;
    position: fixed;
    bottom: 0;
	width: 100%;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.blink {
    animation: blinker 1s linear infinite;
    font-weight: bold;
}

@keyframes blinker {
    50% { opacity: 0; }
}
/* --- LANDING PAGE PROMO --- */

.lp-promo {
    --promo-accent: #cc5500;
}

/* Hero Section */
.lp-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    
}

.lp-hero .highlight {
    color: var(--promo-accent);
    text-transform: uppercase;
}
.lp-moniteur {
	margin-top: 50px;
	opacity: 0;
	visibility: hidden;
}
/* Compteur d'urgence */
/* --- ALIGNEMENT COMPTEUR ET BOUTON --- */
.countdown-wrapper, .cta-btn {
    height: 54px; /* Hauteur standardisée */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid var(--promo-accent);
    box-sizing: border-box;
    vertical-align: middle;
    margin: -3px; /* Petit espacement entre les deux */
	gap : 10px;
}

.countdown-wrapper {
    background: rgba(204, 85, 0, 0.05);
    color: var(--promo-accent);
    border-color: rgba(204, 85, 0, 0.5);
}

.cta-btn {
    background: var(--promo-accent);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.cta-btn:hover {
    background: transparent;
    color: var(--promo-accent);
}

/* --- STYLE TERMINAL (Si pas déjà dans ton style global) --- */
.terminal-style {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    position: relative;
}

.terminal-style .label {
    display: block;
    font-size: 0.65rem;
    color: var(--promo-accent);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.terminal-style input, 
.terminal-style textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.terminal-style input:focus, 
.terminal-style textarea:focus {
    outline: none;
    border-color: var(--promo-accent);
}
#submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
    border-color: rgba(255,255,255,0.1);
}
/* Responsive : On les empile proprement sur mobile */
@media (max-width: 600px) {
    .countdown-wrapper, .cta-btn {
        display: flex;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Grid de réassurance */
/* --- SECTION FEATURES (PROMO LP) --- */
.lp-features {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
}

/* Texte principal */
.features-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--gray-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    border-left: 2px solid #cc5500;
    padding-left: 20px;
}

.lead-text strong {
    color: #fff;
}

/* Grille compacte des arguments */
.tech-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-grid-compact .tech-card {
    background: transparent;
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 20px 0 0 0;
}

.tech-grid-compact .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-num {
    color: #cc5500;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
}

.tech-grid-compact h4 {
    margin: 0;
}

/* Zone du radar/moniteur à droite */
.features-radar {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 4px;
    position: relative;
}

.radar-intro {
    margin-bottom: 30px;
}

.radar-intro h4 {
    color: #cc5500;
    margin-bottom: 10px;
}

.radar-intro p {
    font-size: 0.85rem;
    color: var(--gray-muted);
    margin: 0;
}

/* On s'assure que le moniteur prend toute la place dans sa boîte */
.features-radar .slots-monitor {
    max-width: 100%;
    margin-top: 0;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .features-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .features-radar {
        padding: 20px;
    }
}

/* Formulaire dédié */
.lp-contact {
    padding: 100px 0;
}
/* --- LAYOUT FORMULAIRE (2 COLONNES) --- */

/* Mobile First : On empile par défaut */
.form-row {
    display: flex;
    flex-direction: column;
}

/* Sur PC / Tablette large */
@media screen and (min-width: 769px) {
    /* 1. On élargit le conteneur principal de la page Promo */
    .lp-contact .form-container {
        max-width: 850px; /* Au lieu des 600px de base */
        padding: 60px; /* Un peu plus d'air autour */
    }

    /* 2. On met les champs côte à côte */
    .form-row {
        flex-direction: row;
        gap: 30px; /* Espace net entre la colonne gauche et droite */
    }

    /* 3. Chaque champ prend exactement 50% de l'espace */
    .form-row .input-group {
        flex: 1;
        width: 100%;
    }
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #111;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-container h3 {
    font-family: var(--font-tech);
    margin-bottom: 30px;
    text-align: center;
}
/* Adaptation du moniteur quand il est centré (ex: Page Promo) */
.form-container .slots-monitor {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
    border-left: 1px dashed rgba(255, 255, 255, 0.1);
    border-top: 2px solid #cc5500; /* La barre orange passe en haut */
}
/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .lp-hero { padding-top: 100px; text-align: center; }
    .form-container { padding: 30px 20px; }
}
/* --- ONGLETS FORMULAIRES CONTACT --- */
.form-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-muted);
    padding: 10px 20px;
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.tab-btn.active {
    background: rgba(204, 85, 0, 0.1);
    border-color: #cc5500;
    color: #cc5500;
    box-shadow: 0 0 15px rgba(204, 85, 0, 0.2);
}

/* On cache les formulaires inactifs avec une petite animation */
.stacky-form {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.stacky-form.active {
    display: block;
}

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

@media screen and (max-width: 600px) {
    .form-tabs { flex-direction: column; gap: 10px; }
}
/* --- STYLE DU SÉLECTEUR DE MOIS (TERMINAL) --- */
.terminal-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
    cursor: pointer;
    appearance: none; /* Enlève la flèche par défaut de l'OS */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23cc5500%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

.terminal-select:focus {
    outline: none;
    border-color: #cc5500;
}

/* Le fond des options déroulées (noir pur pour rester lisible) */
.terminal-select option {
    background: #111;
    color: #fff;
    padding: 10px;
}
/* --- PORTFOLIO WIP / LOCKED --- */

.portfolio-hero {
    min-height: 80vh;
    border-bottom: 1px solid var(--border-color);
}

.locked-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
	scroll-snap-align: center;
    scroll-snap-stop: normal;
}

.locked-card {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    aspect-ratio: 4/3; /* Format carte standard */
    overflow: hidden;
    cursor: not-allowed; /* Curseur interdit */
}

/* Version active (La carte contact) */
.locked-card.active-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    border: 1px dashed #cc5500; /* Bordure orange pour attirer l'oeil */
    background: rgba(204, 85, 0, 0.05);
}
.locked-card.active-card:hover {
    background: rgba(204, 85, 0, 0.1);
}

/* Contenu Flouté */
.blur-content {
    filter: blur(8px) grayscale(100%);
    opacity: 0.4;
    padding: 20px;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.fake-image {
    background: #333;
    flex: 1;
    margin-bottom: 20px;
    width: 100%;
}

/* L'Overlay Cadenas */
.lock-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.lock-text {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #fff;
    background: #000;
    padding: 5px 10px;
    border: 1px solid #fff;
}

/* Barre de chargement */
.loading-bar-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
	scroll-snap-align: end;
    scroll-snap-stop: normal;
}

.loading-label {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    color: #cc5500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #cc5500;
    width: 0%; /* Animé par GSAP */
    position: relative;
    box-shadow: 0 0 15px #cc5500;
}

/* Petite tête lumineuse au bout de la barre */
.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
}

@media screen and (max-width: 768px) {
    .locked-grid { grid-template-columns: 1fr; }
}
/* --- HOME MISSION LOGS (TERMINAL STYLE) --- */

.mission-logs .logs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.log-entry {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    font-family: 'Consolas', 'Monaco', monospace; /* Police code pure */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.log-entry:hover {
    border-color: #cc5500;
    transform: translateY(-5px);
    background: #0f0f0f;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Header de la carte (Le point qui clignote) */
.log-header {
    font-size: 0.7rem;
    color: var(--gray-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.log-date { opacity: 0.5; }

/* Contenu */
.log-content h4 {
    font-family: var(--font-tech);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Bloc de code (Carte 1) */
.code-block {
    background: rgba(0, 255, 102, 0.05); /* Vert hacker très léger */
    padding: 15px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    border-left: 2px solid #00ff66;
}

/* Barre de progression (Carte 2) */
.progress-wrapper {
    margin-top: 20px;
}
.progress-label {
    font-size: 0.7rem;
    color: #cc5500;
    margin-bottom: 5px;
    animation: blink 2s infinite;
}
.mini-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
}
.bar-fill {
    height: 100%;
    background: #cc5500;
    box-shadow: 0 0 10px #cc5500;
}

/* Footer de carte */
.log-footer {
    font-size: 0.6rem;
    color: #555;
    margin-top: 20px;
    text-align: right;
}

/* Stat row */
.stat-row {
    margin-top: 15px;
    font-size: 0.9rem;
    border-top: 1px dashed rgba(255,255,255,0.1);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .mission-logs .logs-container {
        grid-template-columns: 1fr;
    }
}
/* --- HOME LOGS : MIGRATION & CTA --- */

/* CARTE 1 : VISUALISATION MIGRATION */
.migration-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.server-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.node-label {
    font-size: 0.6rem;
    color: var(--gray-muted);
}

.node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    border: 1px solid #555;
}

.node-dot.active {
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66;
}

/* Flux de données animé */
.data-stream {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 15px;
    position: relative;
    overflow: hidden;
}

.data-packet {
    width: 20px;
    height: 4px;
    background: #fff;
    position: absolute;
    top: -1px;
    left: -20px;
    animation: transfer 1.5s infinite linear;
    box-shadow: 0 0 5px #fff;
}

@keyframes transfer {
    0% { left: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* CARTE 2 : CTA LOG (SLOT VIDE) */
.cta-log {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed rgba(204, 85, 0, 0.3); /* Bordure orange pointillée */
    background: rgba(204, 85, 0, 0.02);
}

.cta-log:hover {
    background: rgba(204, 85, 0, 0.08);
    border-color: #cc5500;
}

.cta-icon {
    font-size: 3rem;
    color: #cc5500;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1;
}

.cta-log h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cta-log p {
    font-size: 0.8rem;
    color: var(--gray-muted);
}

/* Effet de brackets aux coins pour le CTA */
.corner-bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #cc5500;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.top-left {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
}
.bottom-right {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
}

.cta-log:hover .corner-bracket {
    width: 100%;
    height: 100%;
    opacity: 1;
}
/* --- PROFIL CIBLE (LOGO + TITRES) --- */
.target-profile {
    display: flex;
    align-items: center;
	justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.target-logo-link {
    flex-shrink: 0; /* Empêche le logo de s'écraser */
    display: block;
}

.target-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05); /* Fond subtil si le logo est transparent */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.target-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8); /* Look radar par défaut */
    transition: all 0.3s ease;
}

/* Effet au survol du logo */
.target-logo-link:hover .target-logo {
    border-color: #00ff66; /* Devient vert validé */
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
    background: rgba(0, 255, 102, 0.05);
}

.target-logo-link:hover .target-logo img {
    filter: grayscale(0%) opacity(1); /* Le logo reprend ses couleurs */
    transform: scale(1.1);
}

/* Ajustement des titres */
.target-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.target-info h4 {
    margin-bottom: 5px !important; /* Écrase la marge par défaut pour rapprocher le sous-titre */
    line-height: 1;
}

.target-sub {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--gray-muted);
    letter-spacing: 1px;
}

.target-sub .highlight {
    color: #cc5500; /* La petite flèche en orange Stacky */
}
/* --- MONITEUR DE SLOTS --- */
.slots-monitor {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
	border-left: 2px solid #cc5500; /* Petite touche Stacky sur la gauche */
    padding: 20px;
    margin-bottom: 30px;
    font-family: var(--font-tech);
}

.slots-header {
    font-size: 0.7rem;
    color: var(--gray-muted);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.slot-box {
    border: 1px solid;
    padding: 10px 5px;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.slot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* État : Pris (Rouge) */
.slot-box.taken {
    border-color: rgba(255, 51, 0, 0.3);
    color: #ff3300;
    background: rgba(255, 51, 0, 0.05);
}
.slot-box.taken .slot-dot {
    background: #ff3300;
}

/* NOUVEAU : État : Engagé (Orange FOMO) */
.slot-box.engaged {
    border-color: rgba(204, 85, 0, 0.4);
    color: #cc5500;
    background: rgba(204, 85, 0, 0.05);
}
.slot-box.engaged .slot-dot {
    background: #cc5500;
    box-shadow: 0 0 8px #cc5500;
}

/* État : Libre (Vert) */
.slot-box.free {
    border-color: rgba(0, 255, 102, 0.3);
    color: #00ff66;
    background: rgba(0, 255, 102, 0.05);
}
.slot-box.free .slot-dot {
    background: #00ff66;
    box-shadow: 0 0 8px #00ff66;
}

.slots-footer {
    font-size: 0.75rem;
    color: #fff;
    text-align: right;
}
.slots-footer strong {
    color: #cc5500;
    font-size: 1rem;
}

@media screen and (max-width: 600px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* --- MONITEUR : PRÉVISIONS (Q+) --- */
.forecast-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espacement entre les mois */
}

.forecast-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    font-size: 0.65rem;
}

.f-month {
    color: var(--gray-muted);
    width: 70px; /* Aligne parfaitement les mois */
    letter-spacing: 1px;
}

.f-slots {
    display: flex;
    gap: 5px; /* Espacement entre les mini slots */
}

.mini-slot {
    width: 14px;
    height: 14px;
    border: 1px solid;
}

/* Couleurs des mini slots */
.mini-slot.taken {
    background: rgba(255, 51, 0, 0.2);
    border-color: #ff3300;
}

.mini-slot.engaged {
    background: rgba(204, 85, 0, 0.2);
    border-color: #cc5500;
}

.mini-slot.free {
    background: rgba(0, 255, 102, 0.05);
    border-color: rgba(0, 255, 102, 0.3);
}

.f-text {
    font-weight: 700;
    text-align: right;
    width: 65px;
    letter-spacing: 1px;
}

/* --- PAGE CONCEPT (LA DOCTRINE) --- */
.page-concept {
    padding-top: 150px;
    padding-bottom: 100px;
}

.concept-hero {
	height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: 40px;
    box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
}

.concept-hero .hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
}

.concept-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-muted);
    line-height: 1.6;
}

/* Les Blocs de Chapitres */
.concept-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Ligne directrice qui relie les blocs (style circuit) */
.concept-body::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.concept-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.block-number {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    font-weight: 700;
    color: #cc5500;
    background: #050505; /* Masque la ligne en dessous */
    height: fit-content;
    padding: 10px 0;
}

.block-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.block-content p {
    color: var(--text-color-2);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.block-content p:last-child {
    margin-bottom: 0;
}

/* La boîte Call to Action finale */
.concept-cta {
	margin-top: 100px;
	height: 80dvh;
	display: flex;
	flex-direction: column;
    justify-content: flex-end
}
.concept-cta .cta-box {
    text-align: center;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    border-top: 2px solid #cc5500;
}

.concept-cta .cta-box h3 {
    font-size: 1.8rem;
    margin: 15px 0;
}
.concept-cta p {
	margin-bottom: 50px;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .concept-hero .hero-title { font-size: 2.5rem; }
    
    .concept-body::before { display: none; }
    
    .concept-block {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .block-number {
        font-size: 1.4rem;
        padding: 0;
    }
    
    .concept-cta .cta-box { padding: 30px 20px; }
}