@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1; /* Indigo vibrant */
    --primary-dark: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.15);
    --secondary: #06b6d4;
    --secondary-light: rgba(6, 182, 212, 0.15);
    --accent: #10b981;
    --accent-light: rgba(16, 185, 129, 0.15);
    
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-glow: 0 0 25px rgba(99, 102, 241, 0.25);
    
    --bg-color: #0f172a; /* Bleu ardoise très doux, agréable pour la lecture */
    --bg-card: #1e293b;  /* Cartes de sections bleues ardoise douces */
    --surface: rgba(30, 41, 59, 0.7); /* Effet de verre flou sombre */
    --text-color: #f8fafc; /* Texte blanc argenté */
    --text-muted: #94a3b8; /* Texte atténué */
    --border-color: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.3);
    
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body { 
    font-family: var(--font-sans); 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

a { 
    text-decoration: none; 
    color: inherit; 
}

/* --- BOUTONS --- */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 12px 28px; 
    border-radius: 14px; 
    font-weight: 600; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
    cursor: pointer; 
    border: none; 
    font-size: 0.95rem;
}
.btn-primary { 
    background: var(--gradient); 
    color: white; 
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3), var(--gradient-glow); 
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5), var(--gradient-glow); 
    opacity: 0.95;
}
.btn-secondary { 
    background-color: var(--bg-card); 
    color: var(--text-color); 
    border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { 
    border-color: var(--primary); 
    background-color: var(--bg-color);
    transform: translateY(-2px);
}
.btn-lg { 
    padding: 16px 36px; 
    font-size: 1.05rem; 
    border-radius: 16px;
}

/* --- EN-TÊTE (HEADER) --- */
.landing-header { 
    background: transparent;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    transition: all 0.4s;
    border-bottom: 1px solid transparent;
}
.landing-header.scrolled {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}
.landing-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
}
.logo { 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--text-color); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    letter-spacing: -0.5px;
}
.logo i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 24px; 
}
.nav-links a:not(.btn) { 
    color: var(--text-muted); 
    font-weight: 600; 
    font-size: 0.95rem;
    transition: color 0.2s; 
    padding: 8px 4px;
}
.nav-links a:not(.btn):hover { 
    color: var(--primary); 
}

/* --- SECTION HERO --- */
.hero { 
    padding: 130px 0 100px; 
    text-align: center; 
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, var(--bg-color) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero h1 { 
    font-size: 4rem; 
    line-height: 1.15; 
    margin-bottom: 24px; 
    color: var(--text-color); 
    letter-spacing: -2px; 
    font-weight: 800;
}
.hero .highlight { 
    background: var(--gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero .subtitle { 
    font-size: 1.3rem; 
    color: var(--text-muted); 
    max-width: 750px; 
    margin: 0 auto 40px; 
    font-weight: 400;
    line-height: 1.6;
}

/* --- HERO MOCKUP --- */
.dashboard-mockup {
    max-width: 950px;
    margin: 60px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(79, 70, 229, 0.05);
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: rgba(0,0,0,0.01);
    border-bottom: 1px solid var(--border-color);
}
.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }
.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.mockup-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 400px;
    text-align: left;
}
.mockup-sidebar {
    background: rgba(0,0,0,0.005);
    border-right: 1px solid var(--border-color);
    padding: 24px;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.sidebar-item.active {
    background: var(--primary-light);
    color: var(--primary);
}
.mockup-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mockup-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.widget-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s;
}
.widget-card:hover {
    transform: translateY(-2px);
}
.widget-card .label { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.widget-card .value { 
    font-size: 1.6rem; 
    font-weight: 800; 
    margin: 8px 0; 
    color: var(--text-color);
}
.widget-card .trend { 
    font-size: 0.8rem; 
    color: var(--accent); 
    font-weight: 600;
    display: inline-flex;
    align-items: center; 
    gap: 4px;
    background: var(--accent-light);
    padding: 2px 8px;
    border-radius: 99px;
}
.widget-card .trend.down { 
    color: #ef4444; 
    background: rgba(239, 68, 68, 0.1);
}

.mockup-chart-container {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    flex-grow: 1;
}
.chart-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}
.chart-title { 
    font-size: 1rem; 
    font-weight: 700; 
}
.chart-legend { 
    display: flex; 
    gap: 16px; 
    font-size: 0.8rem; 
    color: var(--text-muted); 
}
.legend-dot { 
    width: 9px; 
    height: 9px; 
    border-radius: 50%; 
    display: inline-block; 
    background: var(--primary); 
    margin-right: 6px; 
}
.legend-dot.sec { 
    background: var(--secondary); 
}
.chart-visual {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 10px;
    gap: 12px;
}
.chart-bar-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
    gap: 8px;
}
.chart-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: calc(100% - 20px);
    width: 100%;
    max-width: 48px;
}
.chart-bar {
    width: 50%;
    background: var(--primary);
    border-radius: 6px 6px 0 0;
    transform-origin: bottom;
    transform: scaleY(0);
    animation: growBar 1.2s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.chart-bar.sec { 
    background: var(--secondary); 
}
.chart-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
@keyframes growBar {
    to { transform: scaleY(1); }
}

/* --- TRUST BANNER --- */
.trust-banner {
    background-color: var(--bg-card);
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}
.trust-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 600;
}
.trust-text strong {
    color: var(--primary);
}
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 700;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.trust-badge:hover {
    color: var(--primary);
}
.trust-badge i {
    color: var(--secondary);
}

/* --- FONCTIONNALITÉS --- */
.features { 
    padding: 100px 0; 
    background: var(--bg-color); 
}
.features h2 { 
    text-align: center; 
    font-size: 2.6rem; 
    margin-bottom: 60px; 
    font-weight: 800;
    letter-spacing: -1px;
}
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px; 
}
.feature-card { 
    padding: 40px 30px; 
    border-radius: 24px; 
    border: 1px solid var(--border-color); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    background: var(--bg-card); 
    box-shadow: var(--shadow-sm);
}
.feature-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(79, 70, 229, 0.06); 
    border-color: var(--primary); 
}
.feature-card i { 
    font-size: 2.4rem; 
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px; 
    display: inline-block;
}
.feature-card h3 { 
    font-size: 1.35rem; 
    margin-bottom: 16px; 
    font-weight: 700;
}
.feature-card p { 
    color: var(--text-muted); 
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- VOICE ASSISTANT SIMULATOR --- */
.voice-demo-container {
    max-width: 650px;
    margin: 50px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mic-button-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
}
.mic-btn-interactive {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 2.2rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.35);
    z-index: 2;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mic-btn-interactive:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.5);
}
.mic-btn-interactive:active {
    transform: scale(0.95);
}
.mic-pulse {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.3s;
}
.voice-demo-container.listening .mic-pulse {
    animation: pulseMic 1.8s infinite ease-out;
}
@keyframes pulseMic {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.7); opacity: 0; }
}
.voice-waves {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 40px;
    margin: 20px 0;
    opacity: 0.1;
    transition: opacity 0.3s;
}
.voice-demo-container.listening .voice-waves {
    opacity: 1;
}
.voice-wave-bar {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 99px;
}
.voice-demo-container.listening .voice-wave-bar:nth-child(odd) {
    animation: waveBar 0.6s infinite alternate ease-in-out;
}
.voice-demo-container.listening .voice-wave-bar:nth-child(even) {
    animation: waveBar 0.6s infinite alternate-reverse ease-in-out;
}
.voice-demo-container.listening .voice-wave-bar:nth-child(2) { animation-delay: 0.1s; }
.voice-demo-container.listening .voice-wave-bar:nth-child(3) { animation-delay: 0.2s; }
.voice-demo-container.listening .voice-wave-bar:nth-child(4) { animation-delay: 0.3s; }
.voice-demo-container.listening .voice-wave-bar:nth-child(5) { animation-delay: 0.15s; }
.voice-demo-container.listening .voice-wave-bar:nth-child(6) { animation-delay: 0.25s; }
.voice-demo-container.listening .voice-wave-bar:nth-child(7) { animation-delay: 0.05s; }
@keyframes waveBar {
    0% { height: 8px; }
    100% { height: 38px; }
}
.speech-text-bubble {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 16px 28px;
    border-radius: 18px;
    min-height: 58px;
    max-width: 520px;
    margin: 20px auto;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}
.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}
.typing-dots span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingDot 1s infinite alternate;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.voice-invoice-result {
    margin-top: 30px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-card);
    padding: 24px;
    transform: scale(0.95);
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.voice-invoice-result.show {
    transform: scale(1);
    opacity: 1;
    height: auto;
}
.invoice-result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}
.invoice-result-header h4 {
    font-weight: 700;
    color: var(--primary);
}
.invoice-result-badge {
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.invoice-result-details {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}
.invoice-detail-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}
.invoice-detail-row.total {
    color: var(--text-color);
    font-weight: 800;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 6px;
    font-size: 1.1rem;
}

/* --- COMMENT CA MARCHE --- */
.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-card);
}
.how-it-works h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.step-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}
.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- TÉMOIGNAGES --- */
.testimonials {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 100%, rgba(79, 70, 229, 0.08) 0%, rgba(6, 182, 212, 0.03) 60%, var(--bg-color) 100%);
}
.testimonials h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.testimonial-card p {
    font-style: normal;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.testimonial-avatar-css {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.testimonial-card .author h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-color);
    font-weight: 700;
}
.testimonial-card .author p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- FAQ ACCORDEON --- */
.faq {
    padding: 100px 0;
    background-color: var(--bg-color);
}
.faq h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
}
.faq-items {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s;
}
.accordion-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}
.accordion-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.accordion-header {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: left;
    font-family: inherit;
}
.accordion-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}
.accordion-item.active .accordion-content {
    padding: 0 24px 24px;
}
.accordion-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* --- TARIFS & CURRENCY SWITCHER --- */
.pricing { 
    padding: 100px 0; 
    background-color: var(--bg-card);
}
.pricing h2 { 
    text-align: center; 
    font-size: 2.6rem; 
    margin-bottom: 12px; 
    font-weight: 800;
    letter-spacing: -1px;
}
.pricing .subtitle { 
    text-align: center; 
    color: var(--text-muted); 
    margin-bottom: 40px; 
    font-size: 1.15rem; 
}

.pricing-switcher-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.pricing-switcher {
    display: inline-flex;
    background: var(--bg-color);
    padding: 5px;
    border-radius: 99px;
    border: 1px solid var(--border-color);
}
.switcher-btn {
    padding: 10px 24px;
    border-radius: 99px;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}
.switcher-btn.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    align-items: stretch; 
}
.pricing-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 24px; 
    padding: 45px 35px; 
    text-align: center; 
    position: relative; 
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.popular { 
    border: 2px solid var(--primary); 
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(79, 70, 229, 0.08); 
    z-index: 10;
}
.badge-popular { 
    position: absolute; 
    top: -16px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--gradient); 
    color: white; 
    padding: 6px 20px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 800; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.pricing-card h3 { 
    font-size: 1.6rem; 
    margin-bottom: 12px; 
    font-weight: 800;
}
.pricing-card .price { 
    font-size: 2.8rem; 
    font-weight: 800; 
    color: var(--text-color); 
    margin-bottom: 12px; 
    letter-spacing: -1.5px;
}
.pricing-card .price-unit { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    font-weight: 600; 
}
.pricing-card .plan-desc { 
    color: var(--text-muted); 
    margin-bottom: 30px; 
    padding-bottom: 30px; 
    border-bottom: 1px solid var(--border-color); 
    font-size: 0.95rem;
}
.pricing-card ul { 
    list-style: none; 
    text-align: left; 
    margin-bottom: 40px; 
    flex-grow: 1;
}
.pricing-card ul li { 
    margin-bottom: 16px; 
    color: var(--text-color); 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 0.95rem;
    font-weight: 500;
}
.pricing-card ul li i { 
    color: var(--accent); 
    font-size: 1.1rem;
}
.pricing-card ul li.disabled { 
    color: var(--text-muted); 
    text-decoration: line-through; 
    opacity: 0.7;
}
.pricing-card ul li.disabled i { 
    color: var(--text-muted); 
}
.pricing-card .btn {
    width: 100%;
}

/* --- CONTACT --- */
.contact { 
    padding: 100px 0; 
    background-color: var(--bg-color); 
    text-align: center; 
}
.contact-form { 
    max-width: 650px; 
    margin: 40px auto 0; 
    background: var(--bg-card); 
    padding: 45px; 
    border-radius: 28px; 
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md); 
}
.contact-form .form-group { 
    margin-bottom: 24px; 
    text-align: left; 
}
.contact-form label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 700; 
    color: var(--text-color); 
    font-size: 0.9rem;
}
.contact-form .form-control { 
    width: 100%; 
    padding: 16px; 
    border: 1px solid var(--border-color); 
    background-color: var(--bg-color);
    border-radius: 12px; 
    font-family: inherit; 
    font-size: 0.95rem; 
    transition: all 0.3s; 
    box-sizing: border-box; 
    color: var(--text-color);
}
.contact-form .form-control:focus { 
    outline: none; 
    border-color: var(--primary); 
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); 
    background-color: var(--bg-card);
}
.contact-form button { 
    width: 100%; 
    margin-top: 10px; 
}

/* --- CALL TO ACTION (CTA) --- */
.cta { 
    padding: 110px 0; 
    background: var(--gradient); 
    color: white; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.cta h2 { 
    font-size: 2.8rem; 
    margin-bottom: 20px; 
    color: white; 
    font-weight: 800;
    letter-spacing: -1px;
}
.cta p { 
    font-size: 1.25rem; 
    margin-bottom: 40px; 
    opacity: 0.95; 
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.cta .btn { 
    background: white; 
    color: var(--primary); 
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.cta .btn:hover { 
    background: var(--bg-color); 
    transform: scale(1.03); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* --- PIED DE PAGE --- */
.landing-footer { 
    background: var(--bg-color); 
    padding: 40px 0; 
    text-align: center; 
    color: var(--text-muted); 
    border-top: 1px solid var(--border-color); 
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .hero h1 { 
        font-size: 2.8rem; 
        letter-spacing: -1px;
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    .features h2, .how-it-works h2, .testimonials h2, .pricing h2, .faq h2, .contact h2, .cta h2 {
        font-size: 2.1rem;
        margin-bottom: 40px;
    }
    
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: var(--bg-card); 
        padding: 24px; 
        box-shadow: var(--shadow-lg); 
        gap: 16px; 
        text-align: center; 
        border-bottom: 1px solid var(--border-color);
        z-index: 1100; /* Assure le rendu par-dessus le Hero */
    }
    .nav-links.active { 
        display: flex; 
        animation: slideDown 0.3s ease forwards; 
    }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .mobile-menu-btn { 
        display: block !important; 
    }
    
    .pricing-grid { 
        gap: 40px; 
    }
    .pricing-card.popular { 
        transform: scale(1); 
    }
    .mockup-body {
        grid-template-columns: 1fr;
    }
    .mockup-sidebar {
        display: none;
    }
    .mockup-content {
        padding: 16px;
    }
    .mockup-widgets {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 24px;
    }
}