:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #6366f1;
    --accent-glow: #4f46e5;
    --gradient: linear-gradient(90deg, #6366f1, #a855f7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}
/* --- Nouveau style pour l'image du logo --- */
.logo-img {
    height: 50px;      /* On force une hauteur raisonnable */
    width: auto;       /* La largeur s'adapte toute seule */
    vertical-align: middle;
    border-radius: 5px; /* Petit arrondi sympa si ton image est carrée */
}
.links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}

.btn-nav {
    border: 1px solid var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: white;
    color: black;
}

/* =========================================
   STYLE HERO (Fond + Image)
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    
    /* --- L'IMAGE DE FOND ICI --- */
    background-image: url('https://images.unsplash.com/photo-1639322537228-ad714291f22c?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;       /* L'image couvre tout l'écran */
    background-position: center;  /* L'image est centrée */
    background-attachment: fixed; /* EFFET PARALLAXE (L'image ne bouge pas au scroll) */
    background-repeat: no-repeat;
}

/* Le filtre sombre (Overlay) OBLIGATOIRE pour lire le texte */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* On met un filtre noir à 70% pour assombrir l'image */
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1; /* Juste au-dessus de l'image */
}

/* Les particules (si tu les as gardées) */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2; /* Au-dessus du filtre noir */
}

/* Le contenu (Texte + Boutons) */
.hero-content {
    position: relative;
    z-index: 3; /* Tout au-dessus pour être cliquable */
    max-width: 800px;
    margin: 0 auto;
}

/* Services */
.services {
    padding: 100px 10%;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-content ul {
    margin-top: 20px;
    list-style: none;
    color: var(--text-muted);
}

.card-content li {
    margin-bottom: 10px;
}

/* Contact */
.contact {
    padding: 100px 10%;
    text-align: center;
}

.contact-box {
    background: linear-gradient(180deg, var(--card-bg), var(--bg-color));
    padding: 60px;
    border-radius: 30px;
    border: 1px solid #333;
}

.contact h2 {
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #333;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    margin-left: 20px;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}
a.card {
    text-decoration: none;
    color: inherit;
    display: block;
}
/* --- Section Paiement / Pricing --- */

.pricing-section {
    padding: 120px 10%;
    min-height: 100vh;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header p {
    color: var(--text-muted);
    margin-top: 10px;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px;
    width: 350px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

/* Style spécifique pour la carte populaire */
.pricing-card.popular {
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), var(--card-bg));
    transform: scale(1.05); /* Un peu plus grosse */
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0 10px 0;
}

.description {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1; /* Pousse le bouton vers le bas */
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-full {
    display: block;
    text-align: center;
    width: 100%;
}
/* --- Page de Contact / Formulaire --- */

.contact-page-section {
    padding: 120px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
}

.form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
    width: 100%;
    max-width: 700px; /* Limite la largeur pour que ce soit joli */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Groupe pour mettre 2 champs côte à côte */
.input-group {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column; /* Sur mobile, on empile tout */
        gap: 20px;
    }
}

.input-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-box label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Style des champs (Input, Select, Textarea) */
.input-box input, 
.input-box select, 
.input-box textarea {
    background-color: #0a0a0a;
    border: 1px solid #333;
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

/* Effet quand on clique dans le champ */
.input-box input:focus, 
.input-box select:focus, 
.input-box textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* Pour le placeholder (texte gris) */
::placeholder {
    color: #555;
}
/* --- Section Témoignages --- */
.testimonials {
    padding: 80px 10%;
    background-color: #0d0d0d;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 20px;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #cccccc;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.client-info strong {
    display: block;
    color: white;
}

.client-info span {
    color: var(--accent);
    font-size: 0.85rem;
}
/* --- Page Mentions Légales --- */

.legal-section {
    padding: 120px 5% 60px 5%; /* Marge en haut pour ne pas être caché par le menu */
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.legal-card {
    background: var(--card-bg); /* Le même fond gris foncé que tes cartes services */
    border: 1px solid #333;
    border-radius: 20px;
    padding: 50px;
    max-width: 800px; /* Pour éviter que le texte soit trop large et illisible */
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.legal-card h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.intro-text {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-block {
    margin-bottom: 30px;
    border-bottom: 1px solid #333; /* Petite ligne de séparation */
    padding-bottom: 30px;
}

.legal-block:last-child {
    border-bottom: none;
}

.legal-block h2 {
    color: var(--text-main); /* Blanc */
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--accent); /* Titres en violet pour le rappel */
}

.legal-block p, .legal-block li {
    color: #d1d1d1;
    line-height: 1.8; /* Espacement des lignes pour la lisibilité */
    margin-bottom: 10px;
}

.legal-block ul {
    list-style: none;
    margin-left: 10px;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* =========================================
   PRELOADER STYLE "VAGUE PREMIUM"
   ========================================= */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; /* Fond noir */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* Important pour que la vague ne dépasse pas */
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader-content {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Le texte au centre */
.loading-text {
    z-index: 10;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Les Vagues (Cercles déformés qui tournent) */
.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #a855f7, #6366f1); /* Dégradé Violet/Bleu */
    border-radius: 40%; /* Forme patatoïde */
    opacity: 0.4;
    animation: fluid 8s infinite linear;
}

/* La deuxième vague tourne dans l'autre sens pour l'effet "organique" */
.wave:nth-child(2) {
    background: linear-gradient(45deg, #6366f1, #a855f7);
    opacity: 0.3;
    animation: fluid 12s infinite linear reverse; /* Tourne à l'envers */
    border-radius: 45%;
}

/* Animation de rotation fluide */
@keyframes fluid {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation du texte */
@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

/* Classe pour cacher le loader (gérée par le JS) */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}
/* --- Page de Paiement --- */

.payment-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 5%;
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid #333;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px; /* Plus étroit pour faire "Ticket de caisse" */
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.summary-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px dashed #555; /* Effet pointillé sympa */
}

.price-display {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 10px 0;
}

.pay-btn {
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.secure-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
/* --- Section Portfolio --- */
.portfolio {
    padding: 80px 10%;
    background-color: #000;
}

.portfolio-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.portfolio-card {
    width: 350px;
    background: #111;
    border-radius: 15px;
    overflow: hidden; /* Important pour que l'image ne dépasse pas */
    border: 1px solid #333;
    transition: transform 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: #a855f7;
}

.portfolio-image {
    height: 200px;
    background-color: #222; /* Gris en attendant tes images */
    background-size: cover;
    background-position: center;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    color: white;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: #bbb;
    font-size: 0.9rem;
}
/* --- Section FAQ --- */
.faq-section {
    padding: 80px 20%; /* Plus de marge sur les côtés pour centrer le texte */
    background-color: #050505;
}

.faq-item {
    background: #111;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #333;
    overflow: hidden;
}

/* La question (ce qu'on voit tout le temps) */
.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    list-style: none; /* Cache la petite flèche moche par défaut */
    position: relative;
}

/* Le texte caché (la réponse) */
.faq-item p {
    padding: 0 20px 20px 20px;
    color: #ccc;
    line-height: 1.6;
    border-top: 1px solid #333;
    margin-top: 10px; /* Petit espace */
}

/* Petit effet au survol */
.faq-item:hover {
    border-color: #666;
}

/* Petite croix ou flèche custom en CSS (Optionnel mais classe) */
.faq-item summary::after {
    content: '+'; 
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: #a855f7;
    transition: transform 0.3s;
}

/* Quand c'est ouvert, le + devient un x (rotation) */
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
/* --- Footer Social (Images) --- */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Force la taille des images pour qu'elles ne soient pas géantes */
.social-links img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s;
    filter: invert(1);
}

/* Petit effet quand on passe la souris dessus */
.social-links img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}
/* =========================================
   VERSION MOBILE (Pour téléphones)
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. On transforme le menu horizontal en colonne verticale */
    nav {
        flex-direction: column;
        padding: 20px;
        gap: 15px; /* Espace entre le logo et les boutons */
    }

    /* 2. On s'assure que les liens sont bien centrés */
    .links {
        display: flex;
        flex-direction: column; /* Les liens l'un sous l'autre */
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    /* 3. On réduit un peu la taille du gros titre (H1) pour qu'il rentre mieux */
    .hero h1 {
        font-size: 2.2rem; /* Plus petit que sur PC */
    }

    /* 4. On ajuste les marges de la section Hero */
    .hero {
        padding-top: 120px; /* Plus d'espace en haut car le menu est plus grand */
        padding-left: 5%;
        padding-right: 5%;
    }
    
    /* 5. On s'assure que les images ne dépassent jamais de l'écran */
    img {
        max-width: 100%;
        height: auto;
    }
}
/* --- Section Vidéo --- */
.video-section {
    padding: 80px 10%;
    background-color: #050505; /* Un poil plus clair que le fond noir */
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Largeur max sur PC */
    margin: 0 auto; /* Centrer le bloc */
    padding-bottom: 56.25%; /* Ratio 16:9 magique pour YouTube */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2); /* Lueur violette */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* =========================================
   STYLE DES BOUTONS (Upgrade)
   ========================================= */

.btn-primary {
    display: inline-block;
    padding: 15px 40px; /* Plus d'espace autour du texte */
    background: linear-gradient(45deg, #a855f7, #ec4899); /* Dégradé Violet -> Rose */
    color: white;
    text-decoration: none; /* Enlève le soulignement moche */
    border-radius: 50px; /* Bords très arrondis (Pill shape) */
    font-weight: 700; /* Texte gras */
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease; /* Animation fluide */
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4); /* Ombre violette lumineuse */
    margin-top: 20px;
}

/* Effet quand on passe la souris dessus */
.btn-primary:hover {
    transform: translateY(-5px); /* Le bouton monte un peu */
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.6); /* L'ombre devient rose et plus forte */
    background: linear-gradient(45deg, #9333ea, #db2777); /* Le dégradé change légèrement */
}
/* =========================================
   CUSTOM SCROLLBAR (Barre de défilement)
   ========================================= */

/* La largeur de la barre */
::-webkit-scrollbar {
    width: 10px;
}

/* Le fond de la barre (le rail) */
::-webkit-scrollbar-track {
    background: #050505; /* Noir très sombre */
}

/* La partie qui bouge (l'ascenseur) */
::-webkit-scrollbar-thumb {
    background: #333; /* Gris foncé au repos */
    border-radius: 5px;
}

/* Quand on attrape la barre avec la souris */
::-webkit-scrollbar-thumb:hover {
    background: #a855f7; /* Devient Violet NexGen ! */
}
/* =========================================
   SCROLLBAR POUR FIREFOX
   ========================================= */

html {
    scrollbar-width: thin;          /* Rend la barre plus fine */
    scrollbar-color: #a855f7 #050505; /* Couleur du curseur (Violet) et du fond (Noir) */
}
/* --- INTRO CINÉMATIQUE --- */
#intro-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000; /* Noir profond */
    z-index: 99999; /* Au-dessus de tout */
    display: flex; justify-content: center; align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1); /* Effet fluide */
}

.intro-content { text-align: center; font-family: 'Inter', sans-serif; }

/* Logo animé */
.intro-logo {
    font-size: 3.5rem; font-weight: 800; color: white;
    letter-spacing: -2px; margin-bottom: 15px;
    opacity: 0; animation: fadeUp 0.8s ease-out forwards;
}

/* Texte technique */
.intro-status {
    color: #666; font-size: 0.8rem; letter-spacing: 3px;
    margin-bottom: 30px; text-transform: uppercase;
    font-family: monospace;
}

/* Barre de progression */
.progress-container {
    width: 150px; height: 3px; background: #222;
    margin: 0 auto; border-radius: 2px; overflow: hidden;
}

.progress-bar {
    height: 100%; background: #a855f7; width: 0%;
    box-shadow: 0 0 15px #a855f7;
    animation: loadBar 2s ease-in-out forwards;
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes loadBar {
    0% { width: 0%; }
    50% { width: 40%; }
    100% { width: 100%; }
}

/* CLASSE POUR FAIRE DISPARAÎTRE L'INTRO */
.intro-finished {
    transform: translateY(-100%); /* Le rideau monte vers le ciel */
}
/* Animation du curseur console */
.blink {
    animation: blinker 1s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0; }
}
/* --- EFFET ÉCRAN CRT / HACKER --- */
#ai-console {
    position: relative;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

/* La ligne de balayage (Scanline) */
#ai-console::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Texte Code (plus petit et gris) */
.code-line {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #555; /* Gris discret */
    margin-left: 20px;
    display: block;
}

/* Texte Système (plus gros et coloré) */
.sys-line {
    font-family: 'Courier New', monospace;
    color: #a855f7; /* Violet */
    font-weight: bold;
    text-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
    margin-top: 10px;
    display: block;
}
/* CORRECTIF : Le site doit passer au-dessus des rayures */
#ai-preview {
    position: relative;
    z-index: 10; /* On force le site à être au premier plan */
    background: white; /* On s'assure que le fond est bien opaque */
}
/* --- Variables Couleurs --- */
:root {
    --neon-purple: #a855f7; /* Ton violet principal */
    --neon-blue: #3b82f6;   /* Bleu complémentaire */
    --dark-bg: #0f172a;     /* Fond sombre section */
    --darker-bg: #020617;   /* Fond très sombre (input/terminal) */
    --text-light: #e2e8f0;  /* Texte clair */
}

/* --- Section Générale --- */
.ai-generator-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    font-family: 'Inter', sans-serif; /* Assure-toi d'avoir une police propre */
}

.ai-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.ai-interface-container {
    max-width: 800px;
    margin: 50px auto 0;
    min-height: 400px; /* Important pour éviter les sauts */
    position: relative;
    padding: 0 20px;
}

/* --- ÉTAPE 1 : Input Glowing (L'entrée) --- */
.glowing-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--darker-bg);
    border-radius: 50px;
    padding: 5px;
    /* L'effet de halo néon violet */
    box-shadow: 0 0 0 2px var(--darker-bg), 0 0 20px rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #334155;
}

.glowing-input-wrapper:focus-within {
     box-shadow: 0 0 0 2px var(--neon-purple), 0 0 40px rgba(168, 85, 247, 0.6);
     border-color: var(--neon-purple);
}

.ai-icon {
    font-size: 1.5rem;
    color: var(--neon-purple);
    margin-left: 20px;
}

.glowing-input-wrapper input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 15px 20px;
    font-size: 1.1rem;
    outline: none;
}

/* Bouton Néon */
.btn-neon {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-neon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--neon-purple);
}

/* Suggestions (Petits boutons en dessous) */
.ai-suggestions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #94a3b8;
}

.suggestion-pill {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--neon-purple);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-pill:hover {
    background: var(--neon-purple);
    color: white;
}

/* --- ÉTAPE 2 : Terminal Animation (Le code qui défile) --- */
.terminal-window {
    background: var(--darker-bg);
    border: 1px solid #334155;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
    text-align: left;
    animation: slideUpFade 0.5s ease-out;
}

.terminal-header {
    background: #1e293b;
    padding: 10px 15px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #64748b;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Petits ronds mac style */
.terminal-header::before {
    content: "● ● ●";
    color: #475569;
    font-size: 10px;
    letter-spacing: -2px;
    margin-right: 10px;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    height: 250px;
    overflow-y: auto;
    color: #22c55e; /* Vert hacker */
    font-size: 0.95rem;
    line-height: 1.5;
}

.log-line {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.2s forwards;
}
.log-highlight { color: var(--neon-purple); font-weight: bold; }
.log-success { color: #3b82f6; font-weight: bold; }

.progress-bar-container {
    height: 4px;
    background: #1e293b;
    width: 100%;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    width: 0%;
    transition: width 0.3s ease-out;
}


/* --- ÉTAPE 3 : Résultat (Carte finale) --- */
.result-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 40px;
    animation: zoomIn 0.5s ease-out;
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.15);
}

.result-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 20px;
}

/* Skeleton screen (Faux site en gris) */
.site-preview-skeleton {
    margin: 30px auto;
    background: var(--darker-bg);
    border-radius: 10px;
    padding: 15px;
    max-width: 450px;
    opacity: 0.8;
    border: 1px solid #334155;
}
.skeleton-nav { height: 15px; background: #334155; border-radius: 4px; margin-bottom: 20px; width: 100%;}
.skeleton-hero { height: 100px; background: #334155; border-radius: 4px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;}
.skeleton-text-lg { width: 60%; height: 10px; background: #475569; border-radius: 10px;}
.skeleton-btn { width: 80px; height: 25px; background: var(--neon-purple); border-radius: 15px;}
.skeleton-grid { display: flex; gap: 10px; margin-top: 10px;}
.skeleton-grid div { flex: 1; height: 50px; background: #334155; border-radius: 4px;}

/* Utilitaires */
.hidden { display: none !important; }
.btn-primary { 
    background-color: var(--neon-purple); 
    color: white; 
    padding: 15px 40px; 
    border-radius: 30px; 
    text-decoration: none; 
    display: inline-block; 
    font-weight: bold; 
    margin-top: 25px;
    transition: transform 0.2s;
}
.btn-primary:hover { transform: scale(1.05); }
.full-width { width: 100%; display: block; text-align: center; box-sizing: border-box;}

/* Loader Spinner */
.btn-loader {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* Responsive Mobile */
@media (max-width: 600px) {
    .glowing-input-wrapper { flex-direction: column; padding: 10px; border-radius: 20px;}
    .glowing-input-wrapper input { width: 100%; text-align: center; margin-bottom: 10px; }
    .btn-neon { width: 100%; }
    .ai-icon { display: none; }
}
/* ... Tout ton ancien code CSS est au-dessus ... */
.footer {
    background-color: black;
}
/* Fin de ton ancien code */


/* --- COLLE LE NOUVEAU CODE ICI --- */
:root {
    --neon-purple: #a855f7;
    /* ... la suite du code ... */
}
/* =========================================
   🛡️ BOUCLIER ANTI-COPIE (Texte et Images)
   ========================================= */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    pointer-events: none; 
}
