/* ===== SUN OF A BEACH - STYLE FUTURISTE ===== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --noir: #050505;
    --jaune: #f1b900;
    --orange: #ff8c00;
    --ambre: #ffb347;
    --rouge: #ff0000;
    --gris: #1e1e1e;
    /* Couleurs pour le fond circuit */
    --circuit-main: #0a0a0a;
    --circuit-line-light: rgba(255, 179, 0, 0.08); 
    --circuit-line-medium: rgba(255, 140, 0, 0.06);
    --circuit-line-dark: rgba(241, 185, 0, 0.04);
}

/* Base */
body {
    font-family: 'Orbitron', sans-serif;
    background: var(--noir);
    color: var(--jaune);
    overflow-x: hidden;
}

/* Canvas Laser Background */
#laser-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
}

.content {
    position: relative;
    z-index: 2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 2px solid var(--jaune);
    box-shadow: 0 0 15px var(--jaune);
}

/* MODIFIÉ ICI : Ajout de flexbox pour aligner le SVG et le texte */
nav .logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--jaune);
    text-shadow: 0 0 8px var(--jaune);
    display: flex; /* Ajouté */
    align-items: center; /* Ajouté */
    gap: 0.75rem; /* Ajouté (espace entre logo et texte) */
}

/* AJOUTÉ ICI : Style pour le SVG dans la nav */
.nav-logo-svg {
    width: auto;
    height: 2.5rem; /* Ajustez cette hauteur si besoin */
}

nav ul {
    display: flex;
    gap: 2rem; 
    list-style: none;
}

nav a {
    color: var(--jaune);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--orange);
    text-shadow: 0 0 15px var(--orange);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home {
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 3rem;
    position: relative;
}

.sun-logo {
    width: 800px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    animation: logoScan 3s infinite ease-in-out;
}

.sun-logo svg {
    width: 100%;
    height: 100%;
}

@keyframes logoScan {
    0%, 100% { 
        filter: drop-shadow(0 0 10px var(--jaune)); 
    }
    50% { 
        filter: drop-shadow(0 0 15px var(--orange)); 
    }
}

/* MODIFIÉ ICI : Ajout de display: none pour cacher la barre */
.scanner-line {
    display: none; /* CACHÉ */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--jaune), 
        var(--orange), 
        var(--ambre), 
        transparent
    );
    box-shadow: 0 0 20px var(--orange), 0 0 40px var(--ambre);
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--jaune);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        text-shadow: 0 0 10px var(--jaune); 
    }
    50% { 
        text-shadow: 0 0 20px var(--orange); 
    }
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px var(--jaune);
}

.tagline {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 3rem;
    text-shadow: 0 0 8px var(--orange);
}

/* CTA Button */
.cta-button {
    /* CORRECTION DE LA FAUTE DE FRAPPE ICI */
    background: linear-gradient(135deg, var(--jaune), var(--orange), var(--ambre));
    color: var(--noir);
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% { 
        box-shadow: 0 0 10px var(--jaune); 
    }
    50% { 
        box-shadow: 0 0 20px var(--orange); 
    }
}

.cta-button:hover {
    transform: scale(1.05);
}

/* ========================== */
/* ==   QUI SOMMES-NOUS     == */
/* ========================== */

#about {
    /* Le 'background: var(--noir)' est maintenant surchargé par .circuit-background */
    min-height: auto; /* Pas besoin de 100vh */
    padding: 8rem 2rem; /* Plus d'espace */
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center; /* Centre le H2 et l'intro */
    border: 1px solid rgba(241,185,0,0.25);
    padding: 2.5rem 3rem;
    background: rgba(10, 10, 10, 0.5);
    box-shadow: 0 0 20px rgba(241, 185, 0, 0.1);
    border-radius: 12px;
}

.about-container h2 {
    margin-bottom: 2rem;
}

.about-container .about-intro {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--orange);
}

/* LE BLOC CI-DESSOUS EST CELUI QUI A ÉTÉ MODIFIÉ */
.about-container p {
    font-family: 'Exo 2', sans-serif; /* Police style "Star Wars" lisible */
    font-size: 1.43rem; /* Taille 30% plus grande */
    font-weight: 400; /* Poids normal pour une bonne lisibilité */
    line-height: 1.7; /* Espacement de ligne confortable */
    color: #dcdcdc;
    margin-bottom: 1.8rem;
    text-align: left;
    text-shadow: 0 0 6px rgba(255, 179, 0, 0.2); /* Légère lueur ambre */
}

.about-container p:last-child {
    margin-bottom: 0;
}


/* =================================== */
/* ==   NOUVEAU FOND STYLE CIRCUIT  == */
/* =================================== */
.circuit-background {
    background: var(--circuit-main);
    background-image: 
        /* Point central lumineux */
        radial-gradient(ellipse at center, var(--circuit-line-light) 0%, transparent 60%),
        /* Grille principale */
        repeating-linear-gradient(0deg, transparent 0px, transparent 39px, var(--circuit-line-dark) 39px, var(--circuit-line-dark) 40px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 39px, var(--circuit-line-dark) 39px, var(--circuit-line-dark) 40px),
        /* Grille diagonale fine */
        repeating-linear-gradient(45deg, var(--circuit-line-medium) 0px, var(--circuit-line-medium) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, var(--circuit-line-medium) 0px, var(--circuit-line-medium) 1px, transparent 1px, transparent 20px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-position: center center, 0 0, 0 0, 0 0, 0 0;
    position: relative;
    overflow: hidden;
}

/* Animation de "flux" pour le fond */
.circuit-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 179, 0, 0.0) 0%,
        rgba(255, 179, 0, 0.05) 50%,
        rgba(255, 140, 0, 0.0) 100%
    );
    opacity: 0.8;
    animation: circuitGlow 8s linear infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes circuitGlow {
    0% { transform: scale(1.2) rotate(0deg); opacity: 0.1; }
    100% { transform: scale(1.0) rotate(3deg); opacity: 0.2; }
}


/* ========================== */
/* ==      PRESTATIONS     == */
/* ========================== */

#prestations {
    padding: 6rem 2rem 4rem; 
}

/* Grille flexible */
#prestations .services-grid {
    display: grid;
    /* Change la grille pour être flexible */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Au-dessus du fond */
}

/* Cartes */
#prestations .service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2rem 1.2rem;
    background: linear-gradient(180deg, rgba(10,10,10,0.85), rgba(0,0,0,0.85));
    backdrop-filter: blur(5px);
    border-radius: 12px;
    border: 1px solid rgba(241,185,0,0.25);
    min-height: 300px;
    box-sizing: border-box;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* Effet de lueur */
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--jaune), var(--orange), var(--ambre), var(--jaune));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 14px;
}

.service-card:hover::before {
    opacity: 0.5;
    animation: borderGlow 1.5s infinite;
}

@keyframes borderGlow {
    0%, 100% { filter: blur(5px); }
    50% { filter: blur(10px); }
}

/* Hover */
#prestations .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255,179,0,0.15), inset 0 0 12px rgba(255,179,0,0.08);
    border-color: rgba(255,179,0,0.9);
}

/* Contenu des cartes */
#prestations .service-card .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 0.75rem;
    flex: 0 0 auto;
}
#prestations .service-card h3 {
    margin: 0.45rem 0 0.8rem;
    color: var(--jaune);
    font-size: 1.05rem;
    line-height: 1.15;
    flex: 0 0 auto;
    text-shadow: 0 0 5px var(--jaune);
}

/* TYPO AMÉLIORÉE (PARAGRAPHES) */
#prestations .service-card p {
    color: #dcdcdc;
    font-size: 0.95rem; /* Plus grand */
    line-height: 1.5; /* Plus espacé */
    margin-top: 0.6rem;
    flex: 1 1 auto;
    max-width: 36ch; 
    margin-left: auto; 
    margin-right: auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Police lisible */
    font-weight: 400;
}

/* =================================== */
/* STYLES POUR ICÔNES LASER (PRESTATIONS) */
/* =================================== */

#prestations .service-card svg.service-icon.laser-style {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: url(#laserGradient);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px #ffb300);
    margin-bottom: 10px;
    flex: 0 0 auto;
    overflow: visible; 
}

/* Cas particuliers pour icônes (remplissage vs contour) */
.laser-style circle {
    fill: url(#laserGradient);
    stroke: none;
}
.laser-style path[d*="M22 12"] {
    fill: none;
    stroke: url(#laserGradient);
}
.laser-style path[d*="M48 24"] {
    fill: url(#laserGradient);
    stroke: none;
}
.laser-style rect[x="18"] {
    fill: url(#laserGradient);
    stroke: none;
}
.laser-style polygon[points*="28,18"] {
    fill: url(#laserGradient);
    stroke: none;
}
.laser-style path[d*="M 32,22"] {
    fill: none;
    stroke: url(#laserGradient);
}
.laser-style path[d*="M 32,18"] {
    fill: none;
    stroke: url(#laserGradient);
}
.laser-style path[d*="M 24 40"] {
    fill: url(#laserGradient);
    stroke: none;
}

/* STYLES POUR LES NOUVELLES ICÔNES */
.laser-style[aria-label="Design"] path,
.laser-style[aria-label="Vente LED sur Mesure"] path,
.laser-style[aria-label="Régie Lumière & Vidéo"] path {
    fill: none;
    stroke: url(#laserGradient);
}
.laser-style[aria-label="Vente LED sur Mesure"] rect {
    fill: none;
    stroke: url(#laserGradient);
}
.laser-style[aria-label="Régie Lumière & Vidéo"] rect {
    fill: none;
    stroke: url(#laserGradient);
}

/* Responsive Grille Prestations */
@media (max-width: 1100px) {
    #prestations .services-grid { 
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}
@media (max-width: 600px) {
    #prestations .services-grid { 
        grid-template-columns: 1fr; 
        padding: 0 1rem; 
    }
}


/* ========================== */
/* ==     RÉALISATIONS     == */
/* ========================== */

/* MODIFIÉ ICI : Fond retiré pour laisser passer le canvas laser */
#realisations {
    /* Fond de base noir pour cette section */
    /* background: var(--noir); */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.gallery-item {
    position: relative;
    height: 300px;
    background: var(--gris);
    border: 2px solid var(--jaune);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        var(--orange) 50%, 
        transparent
    );
    box-shadow: 0 0 20px var(--orange);
    transition: left 0.5s;
    z-index: 1;
}

.gallery-item:hover::after {
    left: 100%;
}

.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(5,5,5,0.95), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--jaune);
    z-index: 2;
}

/* ========================== */
/* ==       CONTACT        == */
/* ========================== */

#contact {
    z-index: 2;
    /* La classe .circuit-background est appliquée depuis le HTML */
}

/* MISE EN PAGE CENTRÉE (FORMULAIRE SUPPRIMÉ) */
.contact-container {
    display: flex;
    justify-content: center; /* Centre le .contact-info */
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-person {
    padding: 1.5rem;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--jaune);
    box-shadow: 0 0 20px rgba(241, 185, 0, 0.3);
}

.contact-person h3 {
    color: var(--orange);
    margin-bottom: 0.5rem;
    font-size: 1.6rem; /* Police augmentée */
}

/* TYPO AMÉLIORÉE (LIENS CONTACT) */
.contact-person a {
    color: var(--jaune);
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Police lisible */
    font-size: 1.43rem; /* Police augmentée (1.1 * 1.3) */
    font-weight: 500; /* Légèrement plus gras */
    letter-spacing: 0.5px;
}

.contact-person a:hover {
    text-shadow: 0 0 10px var(--jaune);
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 2rem auto;
    background: white;
    padding: 10px;
    border: 2px solid var(--jaune);
    box-shadow: 0 0 20px var(--jaune);
}

/* ========================== */
/* ==       FOOTER         == */
/* ========================== */

footer {
    text-align: center;
    padding: 2rem;
    background: var(--noir);
    border-top: 2px solid var(--jaune);
    position: relative;
    z-index: 10;
}

/* ===== NOUVEAUX STYLES MENU BURGER ===== */

#burger-menu {
    display: none; /* Caché par défaut sur desktop */
    font-size: 2.2rem;
    line-height: 1;
    background: none;
    border: none;
    color: var(--jaune);
    cursor: pointer;
    z-index: 101; /* Doit être au-dessus de la nav */
}


/* ========================== */
/* ==      RESPONSIVE      == */
/* ========================== */

@media (max-width: 768px) {
    h1 { 
        font-size: 2.5rem; 
    }
    
    h2 { 
        font-size: 2rem; 
    }
    
    .tagline { 
        font-size: 1.2rem; 
    }

    /* === STYLES MENU BURGER ACTIF SUR MOBILE === */
    
    #burger-menu {
        display: block; /* Afficher le burger sur mobile */
    }

    /* Remplace l'ancienne règle 'nav ul' par celle-ci */
    nav ul {
        display: none; /* Caché par défaut */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        
        /* Fond plein écran avec flou */
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
        
        /* Liens centrés */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        font-size: 1.5rem; /* Polices plus grandes pour le plein écran */
    }

    /* Classe 'active' qui sera ajoutée par JS */
    nav ul.active {
        display: flex; 
    }
    
    /* === FIN STYLES MENU BURGER === */
    
    .sun-logo {
        width: 100%;
        max-width: 400px;
        height: 200px;
    }

    .about-container {
        padding: 2rem 1.5rem;
    }

    .about-container p {
        font-size: 1.2rem; /* Légèrement réduit pour mobile */
    }

    /* Ajustement responsive du contact (car le texte est plus grand) */
    .contact-person a {
        font-size: 1.2rem;
    }
    .contact-person h3 {
        font-size: 1.4rem;
    }
}