/* ========================================
   VIRAA® - Complete Stylesheet
   ======================================== */

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

/* === CSS VARIABLES === */
:root {
    --royal-blue: #1e40af;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --dark-navy: #0f172a;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --text-gray: #64748b;
    --border-color: #e2e8f0;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark-navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 50%, var(--emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.back-link:hover {
    opacity: 0.8;
}

.btn-primary {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.25);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--royal-blue);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border: 2px solid var(--royal-blue);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--royal-blue);
    color: white;
}

/* === HERO SECTIONS === */
.hero {
    margin-top: 85px;
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p,
.hero .subtitle {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero variants */
.hero-tabac,
.hero-sommeil {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.hero-stress {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.hero-methode {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 120px 2rem 100px;
    text-align: center;
    color: white;
    margin-top: 85px;
}

.hero-methode .content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-methode .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* === TABS === */
.tabs-section {
    background: var(--light-gray);
    padding: 2rem 0;
    position: sticky;
    top: 85px;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.tabs-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
}

.tab {
    padding: 0.875rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
}

.tab.active {
    background: var(--royal-blue);
    color: white;
}

.tab:hover:not(.active) {
    background: rgba(30, 64, 175, 0.1);
}

/* === FAQ SECTION === */
.faq-section {
    padding: 4rem 2rem;
}

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

.faq-category {
    margin-bottom: 4rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--dark-navy);
}

.category-icon {
    font-size: 2.5rem;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--royal-blue);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-answer-content strong {
    color: var(--dark-navy);
}

/* === STATS === */
.stats {
    background: var(--light-gray);
    padding: 3rem 2rem;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* === BENEFITS GRID === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--royal-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-navy);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* === SECTIONS === */
section {
    padding: 5rem 2rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* === CONTENT === */
.content-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-navy);
    max-width: 900px;
    margin: 0 auto 2rem;
}

.highlight-box {
    background: var(--light-gray);
    border-left: 5px solid var(--royal-blue);
    padding: 2rem;
    border-radius: 16px;
    margin: 3rem auto;
    max-width: 900px;
}

.highlight-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.highlight-box p {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* === LISTS === */
ul.check-list {
    list-style: none;
    margin: 2rem auto;
    max-width: 900px;
}

ul.check-list li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.6;
}

ul.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: bold;
    font-size: 1.5rem;
}

.ordered-list {
    font-size: 1.15rem;
    line-height: 2;
    margin: 2rem auto;
    max-width: 900px;
    padding-left: 2rem;
}

.ordered-list li {
    margin-bottom: 1.5rem;
}

.protocol-list {
    list-style: none;
    max-width: 900px;
    margin: 2rem auto;
}

.protocol-list li {
    background: var(--light-gray);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--royal-blue);
}

/* === CTA === */
.cta-final {
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    margin: 4rem auto;
    max-width: 900px;
    border: 2px solid rgba(30, 64, 175, 0.1);
}

.cta-final h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

/* === STICKY CTA === */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--border-color);
    padding: 1rem 2rem;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.sticky-cta-btn {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.25);
    transition: all 0.3s;
}

.sticky-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.35);
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border: 2px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--royal-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-navy);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* === DOMAINS GRID === */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.domain-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s;
}

.domain-item:hover {
    border-color: var(--royal-blue);
    transform: translateY(-3px);
}

.domain-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.domain-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-navy);
}

/* === FOOTER === */
footer {
    background: var(--dark-navy);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    margin-top: 1rem;
    opacity: 0.7;
}

.footer-copyright {
    margin-top: 2rem;
    opacity: 0.7;
}

/* === UTILITY CLASSES === */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.p-2 { padding: 0 2rem; }

.max-w-800 { max-width: 800px; }

.text-center { text-align: center; }
.text-italic { font-style: italic; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.2rem; }
.text-base { font-size: 1.15rem; }
.text-sm { font-size: 0.9rem; }

.text-gray { color: var(--text-gray); }
.text-red { color: #dc2626; }
.text-white-70 { color: rgba(255, 255, 255, 0.7); }

.bg-light { background: var(--light-gray); }
.bg-gradient-blue { background: linear-gradient(135deg, #e0f2fe 0%, #f8fafc 100%); }

.section-bg-light {
    background: var(--light-gray);
    padding: 5rem 2rem;
    margin: 4rem -2rem;
    border-radius: 24px;
}

.hero-cta-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.hero-cta-xlarge {
    font-size: 1.25rem;
    padding: 1.1rem 3rem;
}

.content-mt-3 {
    margin-top: 3rem;
    padding: 0 2rem;
}

.highlight-mx-2 {
    margin: 3rem 2rem;
}

.cta-mx-2 {
    margin: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
}

.disclaimer {
    margin-top: 2rem;
    font-weight: 600;
    color: #dc2626;
}

.results-note {
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    color: var(--text-gray);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero h1,
    .hero-tabac h1,
    .hero-sommeil h1,
    .hero-stress h1,
    .hero-methode h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-final h3 {
        font-size: 2rem;
    }
    
    .features-grid,
    .domains-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-container {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
}
