/* --- 1. RESET & VARIABLES GLOBALES --- */
:root {
    --bg-dark: #1b1b1b;
    --bg-card: #222222;
    --bg-darker: #111111;
    
    --color-cyan: #19deee;
    --color-cyan-dim: rgba(25, 222, 238, 0.15);
    --color-orange: #ff6b00;
    --color-orange-hover: #ff8533;
    --color-orange-dim: rgba(255, 107, 0, 0.15);
    
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-dim: #94a3b8;
    
    --border-light: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', system-ui, sans-serif;

    /* Chat variables */
    --chat--color-primary: #19deee;
    --chat--color-secondary: #ff6b00;
    --chat--color-dark: #1b1b1b;
    --chat--color-light: #ffffff;
    --chat--body--background: #1a1a1a;
    --chat--message--bot--background: #252525;
    --chat--message--bot--color: #ffffff; 
    --chat--message--bot--border: 1px solid #404040;
    --chat--message--user--background: #19deee;
    --chat--message--user--color: #000000;
    --chat--input--background: #111111;
    --chat--input--text-color: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Utilitaires Textes */
.text-gradient { background: linear-gradient(90deg, #ffd700, #ffaa00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- 2. HEADER (Validé) --- */
.nav-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(27, 27, 27, 0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light); padding: 15px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; cursor: pointer; user-select: none; }
.brand-initials {
    background: #fff; color: #000; font-weight: 900; font-size: 0.9rem;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; letter-spacing: -1px;
}
.brand-divider { width: 1px; height: 24px; background: #444; margin: 0 14px; }
.nav-logo-icon { font-size: 1.2rem; margin-right: 8px; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.brand-text-container { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px; }
.brand-n8n { color: #fff; }
.brand-architect { color: var(--color-cyan); transition: color 0.3s ease; margin-left: 4px; }

.nav-logo:hover .brand-architect { color: var(--color-orange); }
.nav-logo:hover .nav-logo-icon { transform: scale(1.2) rotate(15deg); }

.nav-links { display: flex; gap: 30px; }
.nav-link { color: #ccc; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--color-cyan); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.nav-btn {
    background: var(--color-orange); color: white; border: none;
    padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: all 0.3s;
}
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3); background: var(--color-orange-hover); }

.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-mobile-toggle span { display: block; width: 25px; height: 2px; background: #fff; transition: 0.3s; }
.nav-mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bg-dark); border-bottom: 1px solid var(--border-light);
    padding: 20px; display: flex; flex-direction: column; gap: 20px;
    transform: translateY(-150%); transition: transform 0.3s ease; z-index: -1;
}
.nav-mobile-menu.active { transform: translateY(0); }
.nav-mobile-link { color: #fff; font-size: 1.1rem; font-weight: 600; text-align: center; padding: 10px; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-actions .nav-btn { display: none; } /* Hide only the header button */
}

/* --- 3. HERO SECTION (Validé) --- */
.hero-section { padding: 160px 0 100px; position: relative; overflow: hidden; }
.hero-bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    z-index: -1; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; background: rgba(25, 222, 238, 0.1);
    border: 1px solid rgba(25, 222, 238, 0.3); color: var(--color-cyan);
    font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 99px; margin-bottom: 25px;
}
.hero-title { font-size: 3.5rem; line-height: 1.1; font-weight: 800; margin-bottom: 25px; letter-spacing: -1px; }
.hero-title span { background: linear-gradient(90deg, #19deee, #ffffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.15rem; line-height: 1.6; color: var(--text-light); margin-bottom: 40px; max-width: 540px; }

.hero-btn-primary {
    background-color: var(--color-orange); color: white; font-size: 1.1rem; font-weight: 700;
    padding: 18px 32px; border-radius: 12px; border: none; cursor: pointer;
    display: inline-flex; align-items: center; transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}
.hero-btn-primary:hover { background: var(--color-orange-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5); }
.hero-btn-primary svg { width: 20px; height: 20px; margin-left: 10px; }

.hero-tech-stack { margin-top: 25px; display: flex; align-items: center; font-size: 0.9rem; color: #888; flex-wrap: wrap; gap: 15px; }
.tech-icons { display: flex; gap: 10px; }
.tech-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #ccc; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 500; }

/* Terminal Visual */
.terminal-window {
    background: #111; border-radius: 12px; border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); font-family: 'Courier New', monospace;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform 0.3s ease;
}
.terminal-window:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.terminal-header { background: #1f1f1f; padding: 12px 15px; display: flex; align-items: center; border-bottom: 1px solid #333; }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.dot-red { background: #ff5f56; } .dot-yellow { background: #ffbd2e; } .dot-green { background: #27c93f; }
.terminal-body { padding: 20px; color: #fff; font-size: 0.9rem; line-height: 1.6; }
.term-line { margin-bottom: 8px; display: flex; }
.prompt { color: var(--color-orange); margin-right: 10px; font-weight: bold; }
.term-green { color: #27c93f; margin-right: 8px; }
.term-blue { color: #19deee; margin-right: 8px; }
.cursor { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
    .hero-section { padding: 120px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 2.5rem; }
    .hero-visual { display: none; }
    .hero-btn-primary { width: 100%; justify-content: center; }
}
@media (min-width: 600px) and (max-width: 900px) { .hero-visual { display: block; margin-top: 30px; } }

/* --- 4. BLOC COMPARATIF (Restauré Style Carte) --- */
.iv-section { background-color: var(--bg-dark); padding: 80px 20px; }
.iv-container { max-width: 1000px; margin: 0 auto; }
.iv-header { text-align: center; margin-bottom: 50px; }
.iv-main-title { color: #ffffff; font-size: 2.5rem; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.5px; line-height: 1.2; }
.iv-subtitle { color: var(--text-light); font-size: 1.25rem; font-weight: 500; opacity: 0.9; }

.iv-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }

.iv-card { background: var(--bg-dark); border-radius: 24px; padding: 40px; position: relative; }
.iv-card-muted { border: 1px solid #333; background: #222; }
.iv-card-featured { background: #252525; border: 2px solid var(--color-cyan); box-shadow: 0 0 50px rgba(25, 222, 238, 0.1); transform: scale(1.02); z-index: 10; padding: 50px 40px; }

.iv-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--color-cyan); color: #0f172a; font-weight: 800; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; padding: 8px 22px; border-radius: 99px;
    box-shadow: 0 4px 15px rgba(25, 222, 238, 0.5);
    white-space: nowrap;
}

.iv-card-title { color: #ffffff; font-size: 1.4rem; text-align: center; margin: 0 0 25px; font-weight: 700; }
.iv-metric { text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.iv-number { display: block; font-size: 3.5rem; font-weight: 800; line-height: 1; color: #e2e8f0; margin-bottom: 8px; }
.iv-number.iv-accent { color: var(--color-cyan); text-shadow: 0 0 25px rgba(25, 222, 238, 0.25); }
.iv-label { color: #f1f5f9; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; opacity: 0.8; }
.iv-label-accent { color: var(--color-cyan); opacity: 1; }

.iv-check-list { list-style: none; padding: 0; margin: 0; }
.iv-check-list li { display: flex; align-items: flex-start; margin-bottom: 18px; font-size: 1rem; line-height: 1.5; font-weight: 500; }
.iv-icon { flex-shrink: 0; width: 24px; height: 24px; margin-right: 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: 14px; }

.iv-list-bad .iv-icon { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.iv-list-bad li { color: #cbd5e1; }
.iv-list-good .iv-icon { background: rgba(25, 222, 238, 0.2); color: var(--color-cyan); }
.iv-list-good li { color: #ffffff; }
.iv-list-good li strong { color: #ffffff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(25, 222, 238, 0.5); text-underline-offset: 3px; }

@media (max-width: 900px) {
    /* Align Section Headers Left using higher specificity */
    .iv-section .iv-header, 
    .del-section .del-header, 
    .how-section .how-header, 
    .prc-section .prc-header, 
    .faq-section .faq-header { 
        text-align: left; 
    }

    .iv-grid { grid-template-columns: 1fr; gap: 40px; max-width: 500px; margin: 0 auto; }
    .iv-card-featured { transform: scale(1); order: -1; width: 100%; }
    
    /* Align Pricing Card Header Left on Mobile */
    .prc-card .prc-left { 
        text-align: left; 
        align-items: flex-start; 
    }
}

/* --- 5. BLOC LIVRABLES (Restauré Style Carte Grille) --- */
.del-section { background-color: var(--bg-dark); padding: 80px 20px; }
.del-container { max-width: 1200px; margin: 0 auto; }
.del-header { text-align: center; margin-bottom: 60px; }
.del-main-title { color: #ffffff; font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.del-subtitle { color: var(--text-light); font-size: 1.2rem; font-weight: 500; }

.del-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.del-card {
    background: var(--bg-card); border: 1px solid #333; border-radius: 20px;
    padding: 35px 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative;
}
.del-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.5); border-color: #555; }

.del-icon-box {
    width: 50px; height: 50px; background: var(--color-cyan-dim); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 25px; color: var(--color-cyan);
}
.del-icon-box svg { width: 28px; height: 28px; }
.del-title { color: #ffffff; font-size: 1.25rem; font-weight: 700; margin: 0 0 12px 0; }
.del-text { color: var(--text-light); font-size: 1rem; line-height: 1.5; font-weight: 400; margin-bottom: 25px; min-height: 45px; }

.del-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #444; padding-top: 20px; }
.del-list li { position: relative; padding-left: 25px; margin-bottom: 12px; color: #f8fafc; font-size: 0.95rem; line-height: 1.5; font-weight: 500; }
.del-list li::before { content: '›'; position: absolute; left: 0; top: -2px; color: var(--color-cyan); font-size: 1.5rem; line-height: 1; font-weight: bold; }

.del-card-bonus { border: 1px solid var(--color-orange); box-shadow: 0 0 20px rgba(255, 107, 0, 0.05); }
.del-card-bonus:hover { box-shadow: 0 0 30px rgba(255, 107, 0, 0.15); }
.del-icon-bonus { background: var(--color-orange-dim); color: var(--color-orange); }
.del-card-bonus .del-list li::before { color: var(--color-orange); }
.del-card-bonus .del-list li strong { color: var(--color-orange); font-weight: 700; }
.del-badge {
    position: absolute; top: 20px; right: 20px; background: var(--color-orange); color: white;
    font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; letter-spacing: 0.5px;
}
@media (max-width: 768px) { .del-grid { grid-template-columns: 1fr; } .del-card { padding: 30px 24px; } .del-text { min-height: auto; } }

/* --- 6. WORKFLOW (Validé) --- */
.how-section {
    background-color: var(--bg-dark);
    padding: 100px 20px;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

.how-container {
    max-width: 1100px;
    margin: 0 auto;
}

.how-header {
    text-align: center;
    margin-bottom: 70px;
}

.how-main-title {
    color: var(--text-white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.how-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
}

/* --- STEPS LAYOUT --- */
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Ligne connecteur (Desktop seulement) */
.how-steps::before {
    content: '';
    position: absolute;
    top: 55px; /* Ajuster pour aligner avec le milieu des icônes */
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, 
    rgba(25, 222, 238, 0.3) 0%, 
    rgba(25, 222, 238, 0.3) 60%, 
    rgba(255, 107, 0, 0.3) 100%);
    z-index: 0;
    display: block;
}

@media (max-width: 900px) {
    .how-steps::before {
        display: none;
    }
}

/* --- CARD DESIGN --- */
.how-card {
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
    z-index: 1; /* Pour passer au dessus de la ligne */
    transition: transform 0.3s ease;
}

.how-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

/* Numéro en fond */
.how-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    opacity: 0.05;
    line-height: 1;
}

.how-number-accent {
    color: var(--color-orange);
    opacity: 0.1;
}

/* Icône */
.how-icon-box {
    width: 70px;
    height: 70px;
    background: var(--bg-card); /* Cache la ligne derrière */
    border: 2px solid var(--color-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--color-cyan);
    position: relative;
    box-shadow: 0 0 20px var(--color-cyan-dim);
}

.how-icon-box svg {
    width: 32px;
    height: 32px;
}

/* Step Final (Orange) */
.how-step-final .how-icon-box.how-icon-accent {
    border-color: var(--color-orange);
    color: var(--color-orange);
    box-shadow: 0 0 20px var(--color-orange-dim);
}

.how-title {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.how-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .how-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .how-card {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .how-icon-box {
        margin: 0 0 20px 0;
    }
}

/* --- 7. PRICING (Bouton Corrigé) --- */
.prc-section { padding: 100px 0; }
.prc-header { text-align: center; margin-bottom: 60px; }
.prc-main-title { color: var(--text-white); font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.prc-subtitle { color: var(--text-light); font-size: 1.2rem; font-weight: 500; }

.prc-card {
    background: var(--bg-card); border: 1px solid #333; border-radius: 24px; overflow: hidden;
    display: grid; grid-template-columns: 0.8fr 1.2fr; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-width: 1000px; margin: 0 auto;
}
.prc-left { background: #1a1a1a; padding: 50px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid #333; }
.prc-tag {
    background: rgba(255, 107, 0, 0.15); color: var(--color-orange); font-weight: 800; font-size: 0.8rem;
    padding: 6px 12px; border-radius: 6px; margin-bottom: 25px; border: 1px solid rgba(255, 107, 0, 0.3);
}
.prc-price-row { display: flex; align-items: flex-start; line-height: 1; }
.prc-amount { font-size: 6rem; font-weight: 800; color: #fff; letter-spacing: -3px; }
.prc-currency { font-size: 2.5rem; font-weight: 600; color: var(--text-light); margin-top: 10px; margin-left: 5px; }
.prc-period { color: var(--text-dim); font-size: 1.1rem; font-weight: 500; margin-bottom: 20px; }
.prc-desc { color: #fff; font-weight: 500; margin-bottom: 30px; }

.prc-separator { height: 1px; background: #333; width: 100%; margin-bottom: 30px; }
.prc-bonus-highlight { background: linear-gradient(135deg, #2d1b0d 0%, #201305 100%); border: 1px solid var(--color-orange); border-radius: 12px; padding: 20px; width: 100%; position: relative; }
.prc-bonus-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--color-orange); color: white; font-size: 0.7rem; font-weight: 800; padding: 2px 10px; border-radius: 10px; }
.prc-bonus-content { display: flex; align-items: center; justify-content: center; gap: 15px; }
.prc-bonus-val { font-size: 2rem; font-weight: 800; color: var(--color-orange); line-height: 1; }
.prc-bonus-detail { text-align: left; color: #fff; font-size: 0.9rem; font-weight: 600; line-height: 1.2; }

.prc-right { padding: 50px; display: flex; flex-direction: column; }
.prc-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 30px; }
.prc-list li { display: flex; align-items: center; color: var(--text-light); font-weight: 500; }
.prc-check { color: var(--color-cyan); font-weight: 800; margin-right: 12px; font-size: 1.2rem; }

.prc-upsell-box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); border-left: 4px solid #ffd700; padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.prc-upsell-flex { display: flex; align-items: flex-start; gap: 15px; }
.prc-upsell-title { color: #ffd700; font-weight: 700; margin-bottom: 5px; }
.prc-upsell-text { color: #fff; font-size: 0.95rem; font-weight: 500; }
.prc-upsell-link { background: none; border: none; padding: 0; color: #ffd700; font-weight: 600; font-size: 0.85rem; text-decoration: underline; cursor: pointer; margin-top: 10px; margin-left: 38px; }

/* BOUTON CORRIGÉ : TAILLE RÉDUITE */
.prc-btn {
    display: flex; align-items: center; justify-content: center; width: 100%;
    background-color: var(--color-orange); color: white; font-weight: 700; font-size: 1rem; /* Réduit */
    padding: 14px 24px; /* Réduit par rapport à 20px */
    border-radius: 12px; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    cursor: pointer; border:none;
}
.prc-btn:hover { background-color: var(--color-orange-hover); transform: translateY(-2px); }
/* Taille de l'icône contrainte pour éviter l'effet "énorme" */
.prc-btn svg { width: 18px; height: 18px; margin-left: 10px; flex-shrink: 0; }

.prc-guarantee { text-align: center; color: var(--text-light); font-size: 0.85rem; margin-top: 15px; font-weight: 500; }

@media (max-width: 900px) { .prc-card { grid-template-columns: 1fr; } .prc-left { border-right: none; border-bottom: 1px solid #333; padding: 40px 20px; } .prc-right { padding: 40px 20px; } .prc-amount { font-size: 5rem; } }

/* --- 8. FAQ (Validé) --- */
.faq-section { padding: 80px 20px; background: var(--bg-dark); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-main-title { color: var(--text-white); font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.faq-subtitle { color: var(--text-light); font-size: 1.2rem; font-weight: 500; }

.faq-grid { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--bg-card); border: 1px solid #333; border-radius: 12px; overflow: hidden; }
.faq-item[open] { border-color: var(--color-cyan); box-shadow: 0 0 20px rgba(25, 222, 238, 0.1); background: #252525; }
.faq-question { padding: 22px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.1rem; color: #fff; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; margin-left: 15px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background-color: var(--color-cyan); border-radius: 2px; transition: transform 0.3s ease; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::before { width: 2px; height: 14px; } .faq-icon::after { width: 14px; height: 2px; }
.faq-item[open] .faq-icon::before { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(180deg); }
.faq-answer { padding: 0 25px 25px 25px; color: #fff; font-weight: 500; line-height: 1.6; }
.faq-item[open] .faq-answer { animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* --- 9. FOOTER (Validé Idées Vives) --- */
.site-footer { background-color: var(--bg-darker); border-top: 1px solid #333; padding: 70px 0 30px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo { 
    font-size: 1.3rem; 
    font-weight: 800; 
    color: #fff; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none;
}
.footer-icon { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.footer-architect { color: var(--color-cyan); transition: color 0.3s ease; margin-left: 4px; }

/* Interaction au survol */
.footer-logo:hover .footer-architect { color: var(--color-orange); }
.footer-logo:hover .footer-icon { transform: scale(1.2) rotate(15deg); }

.footer-title { color: #fff; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-cyan); }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 30px; display: flex; justify-content: space-between; color: var(--text-dim); }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } .footer-bottom { flex-direction: column; gap: 15px; text-align: center; } }

/* --- 10. MODAL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(8px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { 
    background: #1a1a1a; 
    width: 90%; 
    max-width: 550px; 
    padding: 0; 
    border-radius: 20px; 
    position: relative; 
    border: 1px solid #333; 
    box-shadow: 0 0 50px rgba(0,0,0,0.8); 
    transform: translateY(20px) scale(0.95); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure border-radius clips children */
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

/* Sticky Header */
.modal-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 25px 30px; 
    border-bottom: 1px solid #333;
    background: #1a1a1a;
    flex-shrink: 0; 
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Scrollable Body */
.modal-body {
    padding: 30px;
    overflow-y: auto;
}

.modal-close { 
    background: none; 
    border: none; 
    color: #fff; 
    font-size: 2rem; 
    cursor: pointer; 
    line-height: 1; 
    transition: transform 0.2s; 
    padding: 5px;
    margin-right: -10px; /* Adjust alignment */
}
.modal-close:hover { transform: scale(1.1); }

.modal-icon-glow { font-size: 2.2rem; margin-right: 15px; filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)); }
.modal-title { color: #fff; font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.modal-intro { color: #fff; font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; font-weight: 500; }
.modal-intro strong { font-weight: 800; color: #ffd700; }
.modal-divider { height: 1px; background: linear-gradient(90deg, transparent, #444, transparent); width: 100%; margin-bottom: 25px; }
.modal-list li { margin-bottom: 18px; color: #f8fafc; font-weight: 500; display: flex; align-items: flex-start; }
.modal-bullet { color: var(--color-orange); margin-right: 12px; font-size: 1.1rem; }
.modal-list li strong { color: #fff; font-weight: 800; margin-right: 5px; }
.modal-footer { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); text-align: center; padding: 20px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.modal-price-label { color: #fff; font-size: 0.95rem; text-transform: uppercase; font-weight: 700; }
.modal-price-val { color: #ffd700; font-size: 1.5rem; font-weight: 800; text-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }

@media (max-width: 600px) {
    .modal-content { width: 95%; max-height: 85vh; }
    .modal-header { padding: 20px; }
    .modal-body { padding: 20px; }
    .modal-title { font-size: 1.1rem; }
    .modal-footer { flex-direction: column; gap: 5px; }
    .modal-icon-glow { font-size: 1.8rem; margin-right: 10px; }
}

/* --- 11. CHAT --- */
.chat-layout, .chat-body, .chat-messages-list, .chat-scroll-wrapper { background-color: #1a1a1a !important; background: #1a1a1a !important; }
.chat-layout { display: flex !important; flex-direction: column !important; height: 100% !important; overflow: hidden !important; }
.chat-messages-list { flex: 1 1 auto !important; height: 0 !important; padding-bottom: 20px; }
.chat-input-container { flex: 0 0 auto !important; width: 100% !important; background: #111 !important; border-top: 1px solid #333 !important; position: relative !important; z-index: 1000 !important; }
.chat-message-user { color: #000 !important; font-weight: 600 !important; }
.chat-message-bot { color: #fff !important; font-weight: 400 !important; }
.chat-toggle, .chat-header { display: none !important; }
