/* css/style.css */

/* ===========================
   1. VARIABLES & RESET
   =========================== */
:root {
    /* --- NOUVELLE PALETTE (Basée sur le disque fourni) --- */
    /* Le vert vif, "pomme" */
    --ig5-core: #76c043;       
    /* Le vert plus sombre, métallique */
    --ig5-dark: #4a7a2b;       
    /* Le vert très pâle, presque jaune */
    --ig5-light: #dce775;      
    
    /* Vert Cobalt (Chartreuse distinct) */
    --ig5-cobalt: #a8e063;

    --bg-dark: #121212;        
    --bg-carbon-base: #1a1a1a; 
    --bg-overlay: rgba(18, 18, 18, 0.98);

    --primary: var(--ig5-core);        
    --primary-dark: var(--ig5-dark);
    --accent: var(--ig5-light);
    
										
    --primary-glow: rgba(118, 192, 67, 0.3); 
    
																	  
    --text-main: #ffffff;      
    --text-muted: #b0b3b8;     
    --border: #333333;         
    
    --gradient-text: linear-gradient(135deg, #ffffff 30%, var(--ig5-core) 100%); 
    --gradient-btn: linear-gradient(180deg, #a2d45e 0%, var(--ig5-core) 100%);
    
    --font-main: 'Montserrat', sans-serif;
    --font-tech: 'Michroma', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, .stat-number { 
    font-family: var(--font-tech); 
    font-weight: 400; 
    letter-spacing: -0.02em; 
    color: #ffffff; 
    text-transform: uppercase;
}

h3, h4, .btn {
    font-family: var(--font-main);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* ===========================
   2. UTILITAIRES
   =========================== */
.bg-carbon {
    background-color: var(--bg-carbon-base);
    background-image: 
        linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222),
        linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.9);
    position: relative;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.num-alt {
    font-family: var(--font-main) !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em;
}

.text-cobalt { color: var(--ig5-cobalt) !important; }

														  
			  
										
 
/* ===========================
   3. NAVIGATION (Layout mis à jour)
   =========================== */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 0.8rem 0; z-index: 1000;
    background: var(--bg-overlay); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-brand-group { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }

									  
.nav-logo {
    font-family: var(--font-tech); font-size: 3.2rem; color: white;
					   
				 
    text-shadow: 0 0 20px rgba(0,0,0,0.8); display: inline-block; margin-bottom: 4px;
						   
					   
    position: relative; line-height: 1;
				   
}

													 
.nav-logo::after {
				
    content: ''; display: inline-block;
									   
				 
    width: 14px; height: 14px; background-color: var(--primary);
					 
    margin-left: 6px; box-shadow: 0 0 10px var(--primary); vertical-align: baseline;
													 
}

.nav-tagline {
    font-family: var(--font-main); font-size: 0.65rem; color: var(--primary);
    text-transform: uppercase; letter-spacing: 3px; font-weight: 700;
    margin-left: 4px; opacity: 0.9;
}

/* Nouveau Groupe Droite : Menu + Drapeaux */
.nav-right-group {
    display: flex; align-items: center; gap: 2rem;
}

.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-cta {
    padding: 0.6rem 1.5rem; border: 2px solid var(--primary); border-radius: 4px;
    color: var(--primary); font-weight: 800; font-size: 0.85rem; text-transform: uppercase;
}
.nav-cta:hover { background: var(--primary); color: #1a1a1a; box-shadow: 0 0 20px var(--primary-glow); }

/* --- DRAPEAUX UNIFORMES --- */
.nav-flags {
    display: flex; gap: 12px; align-items: center; border-left: 1px solid #333; padding-left: 1.5rem;
}
.nav-flags a { display: block; line-height: 0; } /* Évite les espaces verticaux */

.nav-flags a img {
    width: 28px;  /* Largeur fixe pour tous */
    height: 20px; /* Hauteur fixe pour tous */
    object-fit: cover; /* Coupe l'image pour remplir le rectangle (corrige le format carré suisse) */
    border-radius: 2px; 
    transition: transform 0.2s, filter 0.2s;
    filter: grayscale(0.5); 
    opacity: 0.8;
}

.nav-flags a:hover img {
    transform: scale(1.1); filter: grayscale(0); opacity: 1; box-shadow: 0 0 10px var(--primary-glow);
}

/* ===========================
   4. HERO SECTION
   =========================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    padding: 120px 5% 40px; overflow: hidden;
    background: radial-gradient(circle at center, #252525 0%, #000000 100%);
}
.hero-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; width: 100%; z-index: 2;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(157, 201, 83, 0.1); color: var(--primary);
    padding: 0.5rem 1rem; border-radius: 4px;
    font-size: 0.8rem; font-family: var(--font-main); font-weight: 700;
    margin-bottom: 1.5rem; border-left: 4px solid var(--primary);
    text-transform: uppercase; letter-spacing: 2px;
}


/* TITRE AJUSTÉ : Équilibre Espaces */
.hero-title {
    margin-bottom: 1.5rem; 
    display: flex; 
    flex-direction: column;
    gap: 0;
}

.title-bold {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 3.8rem;
    line-height: 1.1; 
    padding-top: 10px;
    /* Ajustement modéré */
    letter-spacing: -0.03em; 
    display: block;
}

.title-tech {
    font-family: var(--font-tech);
    font-size: 2.8rem;
    line-height: 1.2;
    /* Espace réinitialisé à neutre ou léger positif */
    margin-top: 0px; 
    letter-spacing: -0.02em;
    display: block;
}

.text-gradient {
									 
    background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 90%; font-weight: 400;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    padding: 1rem 2rem; border-radius: 4px; cursor: pointer; text-align: center;
    font-size: 0.95rem; transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
						
}
.btn-primary { background: var(--primary); color: #121212; border: none; }
.btn-primary:hover { background: #b0d668; transform: translateY(-3px); box-shadow: 0 0 25px var(--primary-glow); }
.btn-outline { background: transparent; border: 2px solid #444; color: white; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.disc-container {
    position: relative; width: 500px; height: 500px;
    border: 1px solid rgba(255,255,255,0.05); border-radius: 50%;
}
.disc-image {
    width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.9));
    animation: disc-spin-pro 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.disc-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    z-index: -1; opacity: 0.15; filter: blur(60px);
}

.float-badge {
    position: absolute; background: rgba(18, 18, 18, 0.9); backdrop-filter: blur(5px);
    padding: 0.6rem 1.2rem; border-radius: 2px; border-left: 3px solid var(--primary);
    color: white; font-family: var(--font-main); font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    animation: float 4s ease-in-out infinite; display: flex; align-items: center; gap: 10px;
}
.float-badge i { font-size: 1.1rem; color: var(--primary); }
.float-badge strong { font-weight: 800; color: white; }

									
					 
.badge-cobalt-style { border-left-color: var(--ig5-cobalt); }
 
					   
.badge-cobalt-style i, .badge-cobalt-style .num-alt { color: var(--ig5-cobalt); }

 
.badge-top { top: 10%; right: 0; animation-delay: 0s; }
.badge-bottom { bottom: 10%; left: 0; animation-delay: 2s; }

@keyframes disc-spin-pro { 0% { transform: rotate(0deg); } 10% { transform: rotate(-10deg); } 35% { transform: rotate(1080deg); } 65% { transform: rotate(2160deg); } 100% { transform: rotate(2160deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Stats Bar --- */
.stats-bar {
    composes: bg-carbon;
    border-top: 1px solid #333; border-bottom: 1px solid #333;
    padding: 3rem 0; margin-top: -3rem; position: relative; z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}
.stats-grid { display: flex; justify-content: space-evenly; align-items: center; }
.stat-item { text-align: center; }
.stat-number {
    display: block; font-size: 2.8rem; color: var(--primary);
    line-height: 1; margin-bottom: 0.2rem; text-shadow: 0 0 15px rgba(157, 201, 83, 0.3);
}
.stat-label {
    font-family: var(--font-main); font-size: 0.85rem; color: white;
    text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
}
.stat-divider { width: 1px; height: 50px; background: #333; }

/* --- Features --- */
.section-padding { padding: 8rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { 
    font-size: 2.5rem; margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.text-highlight { color: var(--primary); -webkit-text-fill-color: var(--primary) !important; }
.underline { width: 80px; height: 4px; background: var(--primary); margin: 0 auto; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }


.glass-panel {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Pour s'assurer que le contenu reste au-dessus du fond si besoin */
    z-index: 1; 
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.5;
    transition: var(--transition);
    /* LA CORRECTION EST ICI : */
    pointer-events: none; /* Permet de cliquer "au travers" de l'effet vert */
    z-index: 0; /* Reste derrière le contenu */
}

/* Le reste ne change pas */
.glass-panel:hover {
    background: rgba(40, 40, 40, 0.9);
    transform: translateY(-5px);
}
.glass-panel:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* On force le formulaire à passer au premier plan */
.contact-form {
    position: relative;
    z-index: 2;
}

.card-icon { font-size: 3rem; margin-bottom: 1.5rem; color: var(--primary); text-shadow: 0 0 10px rgba(157, 201, 83, 0.3); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 800; }
.feature-card p { color: var(--text-muted); font-size: 1rem; }



/* --- Styles de base (Catalogue GAMME DISQUES) --- */
        .category-wrapper {
            margin-bottom: 4rem;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 2rem;
            scroll-margin-top: 250px;
        }

        .category-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--primary);
            padding-bottom: 1.5rem;
        }

        .machine-icon img {
            width: 80px;
            height: auto;
            mix-blend-mode: screen; 
            filter: drop-shadow(0 0 8px rgba(118, 192, 67, 0.4));
        }

        .category-info { flex: 1; }

        .category-image img {
            max-width: 150px;
            height: auto;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.1);
            transition: transform 0.3s ease;
        }
        .category-image img:hover { transform: scale(1.05); }

        /* --- Tableaux --- */
        .table-responsive {
            overflow-x: auto;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
        }
        .ig5-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
            color: #ccc;
            font-family: var(--font-main);
        }
        .ig5-table th {
            background: rgba(255, 255, 255, 0.05);
            color: var(--primary);
            font-family: var(--font-tech);
            text-transform: uppercase;
            padding: 1rem;
            text-align: left;
            font-size: 0.8rem;
            letter-spacing: 1px;
            white-space: nowrap;
        }
        .ig5-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            vertical-align: middle;
        }
        .ig5-table tr:hover td {
            background: rgba(118, 192, 67, 0.05);
            color: white;
        }
        .segment-height { font-weight: 700; color: #fff; }

        /* --- NAVIGATION GRILLE (MENU HAUT) --- */
        
        .machine-nav-grid {
            display: grid;
            /* Mobile : grille flexible */
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
            gap: 1rem;
        }

        /* --- STYLE DES CARTES (Commun) --- */
        .machine-nav-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start; /* Aligné en haut pour éviter l'étirement bizarre */
            text-decoration: none;
            text-align: center; 
            background: rgba(255,255,255,0.03); 
            border: 1px solid rgba(255,255,255,0.05); 
            border-radius: 8px; 
            transition: all 0.3s ease;
            cursor: pointer;
            height: 100%; 
        }

        .machine-nav-card h4 {
            color: #fff;
            font-weight: 600;
            line-height: 1.3;
        }
        
        .machine-nav-card img {
            width: auto;
            mix-blend-mode: screen; 
            filter: drop-shadow(0 0 5px rgba(118, 192, 67, 0.3));
            transition: filter 0.3s ease;
        }

        .machine-nav-card:hover {
            transform: translateY(-3px);
            background: rgba(255,255,255,0.05);
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }
        .machine-nav-card:hover img {
            filter: drop-shadow(0 0 10px rgba(118, 192, 67, 0.8));
        }

        /* --- SPÉCIFIQUE ORDI (Large) : MODE BANDEAU COMPACT --- */
        @media (min-width: 1200px) {
            .machine-nav-grid {
                /* Force 7 colonnes strictes */
                grid-template-columns: repeat(7, 1fr); 
                gap: 0.8rem; 
            }
            
            .machine-nav-card {
                /* Padding réduit pour diminuer la hauteur */
                padding: 1rem 0.5rem; 
            }
            
            .machine-nav-card img {
                /* Icône plus petite pour gagner de la place */
                height: 45px; 
                margin-bottom: 0.5rem;
            }
            
            .machine-nav-card h4 {
                font-size: 0.8rem; /* Texte compact */
                margin: 0;
            }
            
            /* Ajustement fin pour les sous-titres spans */
            .machine-nav-card h4 span {
                font-size: 0.75rem;
                display: block; /* Force le saut de ligne propre */
                margin-top: 2px;
            }
        }

        /* --- SPÉCIFIQUE MOBILE / TABLETTE (Pour garder de la lisibilité) --- */
        @media (max-width: 1199px) {
            .machine-nav-card {
                padding: 1.5rem;
            }
            .machine-nav-card img {
                height: 60px;
                margin-bottom: 1rem;
            }
            .machine-nav-card h4 {
                font-size: 1rem;
                margin: 0;
            }
        }
        
        html { scroll-behavior: smooth; }




/* --- Materials --- */
.dark-bg { background-color: #050505; }
.materials-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.material-box {
    height: 200px; background: #111; display: flex; flex-direction: column; gap: 15px;
    align-items: center; justify-content: center; font-family: var(--font-main); font-weight: 800;
    font-size: 1rem; color: #555; border: 1px solid #222; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 1px; position: relative; border-radius: 4px;
}
.material-box i { font-size: 2.5rem; transition: var(--transition); }
.material-box:hover { color: white; border-color: var(--primary); box-shadow: 0 0 15px rgba(157, 201, 83, 0.15); background: #161616; }
.material-box:hover i { color: var(--primary); transform: scale(1.1); }


.material-box span {
    color: #ffffff !important; /* Force le texte en blanc pur */
    font-weight: 600;          /* Rend le texte un peu plus gras */
    opacity: 1;                /* Supprime toute transparence éventuelle */
    letter-spacing: 0.5px;     /* Aère légèrement le texte */
}



/* Container principal ajusté */
#ig5-gallery-mini .swiper {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 30px; /* Juste assez pour les points de pagination */
}

/* LA SLIDE (La boîte) */
#ig5-gallery-mini .swiper-slide {
    /* Hauteur drastiquement réduite */
    height: 420px; 
    
    /* Centrage parfait du contenu */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Transition douce */
    transition: transform 0.3s;
    opacity: 0.5; /* Les images de côté sont mi-transparentes */
}

/* LA SLIDE ACTIVE (Celle du milieu) */
#ig5-gallery-mini .swiper-slide-active {
    opacity: 1;
    z-index: 10;
    transform: scale(1.1); /* Petit zoom pour la mettre en valeur */
}

/* LE CADRE DE L'IMAGE */
.img-box {
    width: 90%; /* Laisse une petite marge sur les côtés */
    height: 100%;
    
    background: #111; /* Fond de la carte */
    border: 1px solid #333;
    border-radius: 8px;
    
    /* Flexbox pour centrer l'image DANS le cadre */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* STYLE DE L'IMAGE */
.img-box img {
    /* CONTAIN est le secret : L'image entière est visible, pas de crop */
    object-fit: contain; 
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    cursor: zoom-in;
}

/* Bordure verte UNIQUEMENT sur la boite active */
#ig5-gallery-mini .swiper-slide-active .img-box {
    border: 2px solid #76C043;
    box-shadow: 0 0 15px rgba(118, 192, 67, 0.4);
    background: #000;
}

/* Pagination plus petite */
.swiper-pagination-bullet { width: 6px; height: 6px; background: #555; }
.swiper-pagination-bullet-active { background: #76C043; }

/* Mobile : Encore plus petit */
@media (max-width: 768px) {
    #ig5-gallery-mini .swiper-slide {
        height: 180px; 
    }
}


/* L'arrière-plan noir transparent qui couvre tout l'écran */
.modal-overlay {
    display: none; /* Caché par défaut */
    position: fixed; /* OBLIGATOIRE pour flotter au dessus */
    z-index: 10000; /* Très haut pour passer devant le menu et le footer */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Noir quasi opaque */
    backdrop-filter: blur(5px); /* Petit effet de flou classe derrière */
    
    /* Centrage Flexbox parfait */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* L'image agrandie */
.modal-content {
    max-width: 90%;
    max-height: 85vh; /* Laisse de la place pour la légende */
    border: 2px solid #76C043; /* Bordure verte IG5 */
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(118, 192, 67, 0.5); /* Glow vert */
    object-fit: contain;
    animation: zoomIn 0.3s ease; /* Petite animation d'ouverture */
}

/* La croix de fermeture */
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 10001;
}

.modal-close:hover {
    color: #76C043;
}

/* Animation d'ouverture */
@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}



/* --- PERSONNALISATION DES POINTS DE PAGINATION --- */

/* 1. Le conteneur des points (pour les décoller un peu des images) */
.swiper-pagination {
    bottom: 0px !important; /* Colle les points tout en bas du conteneur */
    padding-bottom: 15px;   /* Petite marge de sécurité par rapport au bord */
}

/* 2. Les points INACTIFS (les "autres") */
.swiper-pagination-bullet {
    background-color: #666 !important; /* Gris visible sur fond noir */
    opacity: 0.5;
    width: 8px;
    height: 8px;
    margin: 0 8px !important;
}


/* 3. Le point ACTIF (celui sélectionné) */

.swiper-pagination-bullet-active {
    background-color: #76C043 !important; /* VERT IG5 */
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(118, 192, 67, 0.6);
}

/* 4. On augmente l'espace en bas du carrousel pour laisser respirer les points */
#ig5-gallery-mini .swiper {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 50px; /* Augmenté de 30px à 50px pour descendre les points */
}



/* --- CTA Final --- */
.cta-final {
    background-color: #1a1a1a;
    background-image: 
        linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222),
        linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222);
    background-position: 0 0, 10px 10px; background-size: 20px 20px;
    padding: 8rem 2rem; text-align: center; border-top: 1px solid #444;
}
.cta-content h2 { 
    margin-bottom: 1.5rem; font-size: 2.8rem; line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}
.cta-content p { color: #e0e0e0; margin-bottom: 3rem; font-size: 1.3rem; }
.btn-large { padding: 1.2rem 4rem; font-size: 1.1rem; font-weight: 800; }

/* --- Footer --- */
footer {
    background: #080808; padding: 5rem 2rem 2rem; border-top: 4px solid var(--primary);
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem;
}

.logo-footer {
    font-family: var(--font-tech); font-size: 3.5rem; color: white;
    position: relative; display: inline-block; line-height: 1;
}
																		 
.logo-footer::after {
    content: ''; display: inline-block;
    width: 16px; height: 16px; background-color: var(--primary);
    margin-left: 6px; box-shadow: 0 0 15px var(--primary);
}

.tagline-footer {
    color: #ffffff; font-size: 0.85rem; display: block; margin-top: 8px;
    letter-spacing: 2px; font-weight: 700; opacity: 1;
}
.footer-desc { color: #e0e0e0; font-size: 1rem; margin-top: 1rem; font-weight: 500; }

.footer-col h4 { margin-bottom: 2rem; color: white; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; }

.footer-col a, .footer-col span {
    display: flex; align-items: center; gap: 8px;
    color: #ffffff; margin-bottom: 1rem; font-size: 1rem; font-weight: 500;
    transition: var(--transition); opacity: 0.8;
}
.footer-col a:hover { color: var(--primary); opacity: 1; padding-left: 5px; }

.copyright { text-align: center; color: #888; font-size: 0.85rem; padding-top: 2rem; border-top: 1px solid #222; }

/* --- Scroll & Forms --- */
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); opacity: 0.8; }
.arrow { width: 20px; height: 20px; border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(45deg); animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0) rotate(45deg);} 40% {transform: translateX(-50%) translateY(-10px) rotate(45deg);} 60% {transform: translateX(-50%) translateY(-5px) rotate(45deg);} }

.contact-form { position: relative; z-index: 2; }
.contact-form input, .contact-form select, .contact-form textarea {
    transition: var(--transition); border: 1px solid #333 !important;
    background: #111 !important; color: white !important; border-radius: 4px !important;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary) !important; box-shadow: 0 0 15px rgba(157, 201, 83, 0.1);
}




/* --- BOUTON BACK TO TOP --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.9); /* Fond sombre semi-transparent */
    border: 1px solid var(--primary); /* Bordure verte */
    color: var(--primary);
    border-radius: 50%; /* Rond */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    z-index: 9999; /* Toujours au-dessus */
    
    /* Animation d'apparition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    
    /* Effet Glass & Ombre */
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* État visible (ajouté par JS) */
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* État survol */
#backToTop:hover {
    background: var(--primary);
    color: #000; /* Texte noir sur fond vert */
    box-shadow: 0 0 20px var(--primary-glow); /* Glow vert */
    transform: translateY(-5px); /* Légère remontée */
}