/* --- 1. VARIABLES & DESIGN SYSTEM --- */
:root {
    /* Couleurs Fond */
    --bg-dark: #0b0c10;       /* Noir très profond */
    --bg-card: #14161c;       /* Gris anthracite bleuté */
    --bg-glass: rgba(20, 22, 28, 0.7);
    
    /* Couleurs Accent */
    --primary: #2563eb;       /* Bleu électrique */
    --primary-hover: #1d4ed8;
    --secondary: #60a5fa;     /* Bleu clair pour les dégradés */
    
    /* Typographie */
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    
    /* Effets */
    --glass-blur: blur(20px);
    --border-light: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 0 50px rgba(37, 99, 235, 0.15);
    --radius: 16px;
}

/* --- 2. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; color: var(--text-white); }
p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

section { padding: 120px 6%; position: relative; z-index: 1; }

/* --- 3. COMPONENTS --- */

/* Titres avec dégradé */
.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.section-header h2 { font-size: 3rem; margin-bottom: 20px; }
.accent-line {
    width: 60px; height: 4px; background: var(--primary);
    margin: 0 auto 20px auto; border-radius: 2px;
}

/* Boutons "Next Gen" */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; border: none;
    transition: all 0.3s ease; font-size: 1rem; position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.6);
    background: var(--primary-hover);
}
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white;
    width: 100%; justify-content: center;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* Classes utilitaires */
.btn-fullwidth { width: 100%; }
.contact-nav-btn { padding: 10px 24px; font-size: 0.9rem; }
.paper-plane-icon { margin-left: 10px; }

/* --- 4. NAVBAR PREMIUM --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 6%; display: flex; justify-content: space-between; align-items: center;
    background: rgba(11, 12, 16, 0.8); /* Fond sombre semi-transparent */
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur); /* Flou derrière la navbar */
    border-bottom: var(--border-light);
    transition: 0.3s;
}

.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; } /* Taille logo navbar */

nav ul { display: flex; gap: 35px; align-items: center; }
nav a { font-size: 0.95rem; font-weight: 500; color: #cbd5e1; position: relative; }
nav a:hover { color: white; }
nav a::after {
    content:''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background: var(--primary); transition: 0.3s;
}
nav a:hover::after { width: 100%; }

/* --- 5. HERO SECTION --- */
#home {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.2), transparent 60%);
    padding-top: 100px;
}
.hero-tag {
    display: inline-block; padding: 8px 16px; border-radius: 30px;
    background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--secondary); font-size: 0.85rem; font-weight: 600; margin-bottom: 30px;
}
#home h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px; }
#home p.lead { 
    font-size: 1.25rem; max-width: 650px; margin: 0 auto 40px; color: var(--text-muted); 
}

/* --- 6. PRICING CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-card); padding: 40px 30px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.4s;
    display: flex; flex-direction: column; position: relative;
}
.pricing-card:hover {
    transform: translateY(-10px); border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.pricing-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pricing-card .description { font-size: 0.9rem; min-height: 60px; margin-bottom: 20px; }

.price { font-size: 2.2rem; font-weight: 700; color: white; margin-bottom: 5px; }
.price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.price-note { font-size: 0.8rem; color: var(--text-muted); font-style: italic; margin-bottom: 25px; display: block;}

.pricing-card ul { margin-bottom: 30px; flex-grow: 1; text-align: left; }
.pricing-card li { 
    margin-bottom: 12px; font-size: 0.9rem; color: #d1d5db; 
    display: flex; align-items: start; 
}
.pricing-card li i { color: var(--primary); margin-right: 10px; margin-top: 5px; font-size: 0.8rem; flex-shrink: 0; }

.included-plan {
    background: rgba(37,99,235,0.1); padding: 8px 12px; border-radius: 6px;
    color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 15px;
    display: inline-block;
}

/* --- 7. FAQ --- */
.faq-item {
    background: var(--bg-card); border: var(--border-light);
    margin-bottom: 15px; border-radius: 12px; overflow: hidden; transition: 0.3s;
}
.faq-question {
    padding: 25px; cursor: pointer; font-weight: 600; font-size: 1.1rem;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-answer {
    padding: 0 25px 25px; color: var(--text-muted); display: none;
    border-top: 1px solid rgba(255,255,255,0.03); padding-top: 20px;
}
.faq-item.active { border-color: var(--primary); background: rgba(37,99,235,0.03); }
.faq-item.active .faq-answer { display: block; }
.faq-item i { transition: 0.3s; font-size: 0.9rem; color: var(--primary); }
.faq-item.active i { transform: rotate(180deg); }

/* --- 8. SECTION CONTACT (DESIGN WOW) --- */
#contact {
    position: relative;
    background: radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.08), transparent 40%),
                var(--bg-dark);
    padding: 100px 6%;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Formulaire légèrement plus large */
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* Infos Gauche */
.contact-details h2 { font-size: 2.5rem; margin-bottom: 15px; line-height: 1.2; }
.contact-details p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }

.info-box {
    display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 25px; border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease; cursor: pointer; text-decoration: none;
}
.info-box:not(.no-hover):hover {
    background: rgba(37, 99, 235, 0.1); border-color: var(--primary);
    transform: translateX(10px);
}
.info-icon {
    width: 45px; height: 45px; background: rgba(37, 99, 235, 0.2);
    color: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; margin-right: 20px; flex-shrink: 0;
}
.info-text h4 { font-size: 1rem; color: white; margin-bottom: 2px; }
.info-text span { font-size: 0.95rem; color: var(--text-muted); }

/* Formulaire Droite */
.contact-form-wrapper { position: relative; }
.contact-form-wrapper::before {
    content: ''; position: absolute;
    top: -20px; right: -20px; bottom: -20px; left: -20px;
    background: var(--primary); filter: blur(80px); opacity: 0.15; z-index: 0;
}
.contact-form {
    position: relative;
    background: rgba(20, 22, 28, 0.8);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 40px; border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); z-index: 1;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: #cbd5e1; margin-bottom: 8px; margin-left: 5px;
}

/* STYLES DES INPUTS (CORRIGÉS POUR ÉVITER LE FOND BLANC) */
.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%; padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3); /* Fond sombre transparent */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white; font-family: 'Inter', sans-serif; font-size: 0.95rem;
    transition: 0.3s all;
}
.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none; border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.contact-form textarea { resize: vertical; min-height: 120px; }
.form-footer { text-align: center; font-size: 0.8rem; color: #64748b; margin-top: 15px; margin-bottom: 0; }

/* --- FOOTER --- */
footer {
    border-top: var(--border-light); padding: 50px 6% 30px; background: #08090c;
    text-align: center; color: var(--text-muted); font-size: 0.9rem;
}

/* Logo Footer Réduit */
.footer-logo {
    height: 70px; /* Petit et discret */
    width: auto; opacity: 0.8; margin-bottom: 20px;
}

.footer-links .footer-link { color: #64748b; margin: 0 10px; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    #home h1 { font-size: 3rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 50px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 30px 20px; }
    nav { display: none; }
}