/* ═══════════════════════════════════════════════════════════════════════════
   MEDIASTRATIX - CSS RESPONSIVE CORRIGÉ
   ═══════════════════════════════════════════════════════════════════════════ */

/* ======== VARIABLES MODE SOMBRE (PAR DÉFAUT) ======== */
:root {
    --color-background: #0A0A0A;
    --color-surface: #121212;
    --color-border: #272727;
    --color-text-primary: #F5F5F5;
    --color-text-secondary: #A3A3A3;
    --color-accent-primary: #FFFFFF;
    --color-accent-secondary: #333333;
    --color-accent-text: #0A0A0A;
    --color-success: #34D399;
    --font-main: 'Manrope', sans-serif;
    --header-height: 70px;
    --beta-height: 36px;
}

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

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    padding-top: var(--header-height);
}

body.has-beta-banner {
    padding-top: calc(var(--header-height) + var(--beta-height));
}

h1, h2, h3, h4 {
    font-weight: 800;
    color: var(--color-text-primary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER (FIXE)
   ═══════════════════════════════════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-background);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
    transition: transform 0.3s ease;
    padding: 10px 0;
    height: var(--header-height);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-links { 
    display: flex; 
    align-items: center; 
    list-style: none; 
    gap: 24px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--color-text-secondary); 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: color 0.3s ease; 
    padding: 4px 8px; 
    position: relative; 
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover { 
    color: var(--color-text-primary); 
}

.nav-toggle, .nav-close { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--color-text-primary); 
    cursor: pointer; 
}

.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

/* ═══════════════════════════════════════════════════════════════════════════
   BARRE BETA (FIXE SOUS HEADER) - CORRIGÉ RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
.beta-banner {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: #FFFFFF;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    min-height: var(--beta-height);
    transition: transform 0.3s ease, opacity 0.3s ease; /* Ajout de opacity */
    transform: translateY(0); /* État initial */
}

.beta-banner.hidden {
    display: none;
}

.beta-banner-scroll-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.beta-banner-content-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.beta-banner-content-wrapper {
    display: none;
}

.beta-banner-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: #FFFFFF;
}

.beta-banner-close {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
}

.beta-banner-close:hover {
    background: rgba(0, 0, 0, 0.4);
}

.beta-banner-close .close-x {
    font-size: 20px;
    line-height: 1;
    color: #FFFFFF;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PILIER ROMAIN
   ═══════════════════════════════════════════════════════════════════════════ */
.roman-pillar {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    height: 40vh;
    width: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.12) 100%);
    box-shadow: inset 3px 0 0 rgba(0, 0, 0, 0.3), inset -3px 0 0 rgba(0, 0, 0, 0.3), 2px 0 8px rgba(255, 255, 255, 0.05);
    z-index: 50;
    transition: height 0.4s ease;
}

.roman-pillar.header-hidden {
    height: 70vh;
}

.roman-pillar.header-visible {
    height: 55vh;
}

.roman-pillar::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -7px;
    width: 28px;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.roman-pillar::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -7px;
    width: 28px;
    height: 10px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pillar-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 10px 0;
    height: 100%;
    justify-content: center;
}

.pillar-nav-item {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: block;
}

.pillar-nav-item:hover {
    background-color: var(--color-accent-primary);
    transform: scale(1.3);
}

.pillar-nav-item.active {
    background-color: var(--color-accent-primary);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.pillar-tooltip {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-surface);
    color: var(--color-text-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--color-border);
    z-index: 100;
}

.pillar-nav-item:hover .pillar-tooltip {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATION VAGUE
   ═══════════════════════════════════════════════════════════════════════════ */
.wave-animation {
    position: absolute;
    top: 150px;
    left: -100%;
    width: 250%;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 40% 50%;
    opacity: 0;
    z-index: 0;
    animation: traverseWave 5s ease-out 0.5s forwards;
}

@keyframes traverseWave {
    from { 
        left: -100%; 
        transform: rotate(-10deg); 
        opacity: 0.8; 
    }
    to { 
        left: 100%; 
        transform: rotate(10deg); 
        opacity: 0; 
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.cta-button { 
    padding: 8px 18px; 
    border: none; 
    border-radius: 8px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-decoration: none; 
    cursor: pointer; 
    transition: transform 0.2s ease, background-color 0.3s ease; 
    display: inline-block; 
}

.cta-button:hover { 
    transform: scale(1.03); 
}

.cta-button.primary, .nav-cta, .hero-cta { 
    background-color: var(--color-accent-primary); 
    color: var(--color-accent-text); 
}

.nav-cta { 
    padding: 6px 14px; 
}

.cta-button.secondary { 
    background-color: var(--color-accent-secondary); 
    color: var(--color-text-primary); 
    border: 1px solid var(--color-border); 
}

.cta-button.secondary:hover { 
    background-color: #222222; 
}

.cta-button.large { 
    padding: 12px 28px; 
    font-size: 1rem; 
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 12px;
}

.theme-toggle:hover {
    background: var(--color-accent-secondary);
    border-color: var(--color-accent-primary);
    transform: scale(1.05);
}

.theme-toggle .theme-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-primary);
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION - CORRIGÉ RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

.hero { 
    text-align: center; 
    padding: 30px 0 80px;
    position: relative;
    z-index: 1;
 
}

.hero::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fond-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: -1;
    border-radius: 20px;
    animation: fadeInBackgroundDark 2s ease-in 3s forwards;
}

@keyframes fadeInBackgroundDark {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.20;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-surface);
    color: var(--color-text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
}

.hero-badge i {
    width: 16px;
    height: 16px;
    color: var(--color-success);
}

.hero-badge strong {
    color: var(--color-text-primary);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-accent {
    color: var(--color-text-secondary);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-disclaimer {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Mode clair - Wave alternative */
body.light-mode .hero::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -100%;
    width: 250%;
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(40, 153, 247, 0.08) 0%, 
        rgba(40, 153, 247, 0.12) 50%, 
        rgba(40, 153, 247, 0.08) 100%
    );
    border-radius: 40% 50%;
    opacity: 0;
    z-index: -1;
    animation: traverseWaveLightMode 5s ease-out 0.5s forwards;
}

@keyframes traverseWaveLightMode {
    from { 
        left: -100%; 
        transform: rotate(-10deg); 
        opacity: 0; 
    }
    50% {
        opacity: 1;
    }
    to { 
        left: 100%; 
        transform: rotate(10deg); 
        opacity: 0; 
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS (Trust bar, Social proof, Product demo, etc.)
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-bar {
    background-color: var(--color-surface);
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-bar-content {
    display: flex;
    justify-content: center;
    gap: 36px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--color-success);
}

.social-proof {
    padding: 50px 0;
    text-align: center;
}

.social-proof-title {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    opacity: 0.6;
}

.product-demo-section {
    padding: 60px 0;
    background-color: var(--color-surface);
}

.product-demo-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
    border: 2px dashed var(--color-border);
}

.video-placeholder i {
    width: 64px;
    height: 64px;
    color: var(--color-text-secondary);
}

.video-placeholder p {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.video-placeholder span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.product-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 16px;
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
}

.screenshot-placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    border: 1px dashed var(--color-border);
}

.screenshot-placeholder i {
    width: 32px;
    height: 32px;
    color: var(--color-text-secondary);
}

.screenshot-placeholder p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.screenshot-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.screenshot-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.why-different-section {
    padding: 60px 0;
}

.why-different-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.diff-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
}

.diff-icon-container {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.diff-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent-primary);
}

.diff-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.diff-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.features-section {
    padding: 60px 0;
}

.features-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 28px;
    height: 28px;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.testimonials-section {
    padding: 60px 0;
    background-color: var(--color-surface);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 10px;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.testimonial-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.verified-user {
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-badge-mini {
    width: 14px;
    height: 14px;
    color: var(--color-success);
}

.pricing-section {
    padding: 60px 0;
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

.pricing-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.reviews-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.verified-icon {
    color: var(--color-success);
    width: 18px;
    height: 18px;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.star-rating {
    position: relative;
    font-size: 1.1rem;
    line-height: 1;
}

.star-rating-bottom {
    color: var(--color-border);
}

.star-rating-top {
    color: var(--color-text-primary);
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.example-comment {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 8px 14px;
}

.example-comment p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card { 
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.recommended {
    border-color: var(--color-accent-primary);
    border-width: 2px;
}

.recommend-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--color-accent-primary);
    color: var(--color-accent-text);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.price-period {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-desc {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.check-icon {
    color: var(--color-success);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .cta-button {
    width: 100%;
    text-align: center;
}

.lifetime-card {
    border-color: #FFD700 !important;
    border-width: 2px;
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.lifetime-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--color-background);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.lifetime-remaining {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 1px;
    height: 0;
    overflow: visible;
}

.trial-section {
    margin-top: 50px;
    padding: 36px;
    background: linear-gradient(135deg, var(--color-surface), #1a1a1a);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
}

.trial-section h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.trial-section p {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    font-size: 1rem;
}

.trial-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.trial-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.trial-action i {
    width: 28px;
    height: 28px;
    color: var(--color-accent-primary);
}

.trial-action span {
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
}

.trial-cta-text {
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.trial-cta-text a {
    color: var(--color-text-primary);
}

.faq-section {
    background-color: var(--color-surface);
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--color-text-primary);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent-primary);
}

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.final-cta {
    padding: 60px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.final-cta p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.final-cta-disclaimer {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-top: 12px;
}

.footer {
    padding: 50px 0 30px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand h3 i {
    width: 20px;
    height: 20px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.footer-section h4 {
    color: var(--color-text-primary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-list a:hover {
    color: var(--color-text-primary);
}

.citation-container {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 28px;
}

.citation-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.citation-author {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    margin-left: 6px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 6px;
    color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODE CLAIR (SURCHARGES)
   ═══════════════════════════════════════════════════════════════════════════ */
body.light-mode {
    --color-background: #F0F3FF;
    --color-surface: #FAFAFA;
    --color-border: #B9B6B6;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #6B6B6B;
    --color-accent-primary: #1A1A1A;
    --color-accent-secondary: #F5F5F5;
    --color-accent-text: #FFFFFF;
    --color-success: #10B981;
}

body.light-mode header {
    background-color: #FAFAFA;
}

body.light-mode .nav-cta,
body.light-mode .hero .hero-cta:not(.secondary),
body.light-mode .final-cta .hero-cta {
    background-color: #2899F7;
    color: #FFFFFF;
}

body.light-mode .beta-banner {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: #FFFFFF;
}

body.light-mode .pillar-nav-item {
    background-color: rgba(100, 100, 100, 0.3);
}

body.light-mode .pillar-nav-item:hover {
    background-color: rgba(80, 80, 80, 0.6);
}

body.light-mode .pillar-nav-item.active {
    background-color: rgba(60, 60, 60, 0.8);
}

body.light-mode .cta-button.secondary:hover { 
    background-color: #E8E8E8; 
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - CORRECTIONS MAJEURES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablettes */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid, .features-grid, .diff-grid, .product-screenshots {
        grid-template-columns: 1fr;
    }
}

/* Mobile - CORRECTIONS PRINCIPALES */
@media (max-width: 850px) {
    :root {
        --header-height: 60px;
        --beta-height: 32px;
    }
    
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    body {
        padding-top: var(--header-height);
    }
    
    body.has-beta-banner {
        padding-top: calc(var(--header-height) + var(--beta-height));
    }
    
    header {
        padding: 8px 0;
        height: var(--header-height);
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav-cta {
        display: inline-block !important;
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
        white-space: nowrap;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-actions {
        gap: 8px;
        align-items: center;
    }
    
    /* BARRE BETA RESPONSIVE - FIX DÉFILEMENT */
    .beta-banner {
        top: var(--header-height);
        padding: 6px 12px;
        min-height: var(--beta-height);
        gap: 8px;
    }
    
    .beta-banner-content-desktop {
        display: none !important;
    }
    
    .beta-banner-scroll-container {
        flex: 1;
        overflow: hidden;
        margin-right: 8px;
    }
    
    .beta-banner-content-wrapper {
        display: flex !important;
        gap: 40px;
        white-space: nowrap;
        animation: scrollTextMobile 25s linear infinite;
    }
    
    @keyframes scrollTextMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.333%);
        }
    }
    
    .beta-banner-text {
        font-size: 0.75rem !important;
        color: #FFFFFF !important;
    }
    
    .beta-banner-close {
        padding: 4px;
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        flex-shrink: 0;
    }
    
    .beta-banner-close .close-x {
        font-size: 18px;
    }
    
    .roman-pillar { 
        display: none; 
    }
    
    /* HERO SECTION RESPONSIVE - FIX ESPACEMENT */
    .hero { 
        text-align: center; 
        padding: 40px 0 60px;
        margin-top: 10px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 20px;
    }
    
    .hero-title { 
        font-size: 1.9rem;
        line-height: 1.3;
        padding: 0 1rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle { 
        font-size: 1rem; 
        padding: 0 1rem;
        margin-bottom: 24px;
    }
    
    .hero-cta-group { 
        flex-direction: column; 
        align-items: center;
        width: 100%;
        padding: 0 1rem;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .hero-cta-group .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .hero-disclaimer {
        font-size: 0.8rem;
        margin-bottom: 36px;
    }
    
    .hero-stats { 
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 36px;
    }
    
    .hero-stat-number {
        font-size: 1.8rem;
    }
    
    .hero-stat-label {
        font-size: 0.8rem;
    }
    
    .trust-bar-content { 
        flex-direction: column; 
        gap: 12px; 
        padding: 12px 0;
    }
    
    .trial-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 24px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    
    .theme-toggle .theme-icon {
        width: 18px;
        height: 18px;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Petits mobiles - CORRECTIONS FINALES */
@media (max-width: 480px) {
    :root {
        --header-height: 56px;
        --beta-height: 30px;
    }
    
    body.has-beta-banner {
        padding-top: calc(var(--header-height) + var(--beta-height));
    }
    
    header {
        height: var(--header-height);
        padding: 6px 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .beta-banner {
        top: var(--header-height);
        padding: 5px 10px;
        min-height: var(--beta-height);
        gap: 6px;
    }
    
    .beta-banner-text {
        font-size: 0.7rem !important;
    }
    
    .beta-banner-close {
        padding: 2px;
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
    }
    
    .beta-banner-close .close-x {
        font-size: 16px;
    }
    
    .hero { 
        padding: 30px 0 50px;
        margin-top: 8px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .hero-title { 
        font-size: 1.6rem;
        line-height: 1.25;
        padding: 0 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 0.75rem;
    }
    
    .hero-cta-group .cta-button {
        padding: 14px 20px;
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.6rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    .trial-actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .pricing-card {
        padding: 24px 16px;
    }
    
    .feature-card {
        padding: 16px;
    }
    
    .testimonial-card {
        padding: 16px;
    }
    
    .container {
        padding: 0 0.75rem;
        max-width: 100%;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 0.75rem;
    }
}