/* ==========================================================================
   ATLAS PRO IPTV - LIGHT VIOLET & GOLD DESIGN SYSTEM
   Fonts chargées via <link rel="preconnect"> dans le <head> (non render-blocking)
   ========================================================================== */

:root {
    /* Colors */
    --bg-light: #F8F7FC;
    --bg-dark-purple: #13072E;
    --bg-card-white: #FFFFFF;
    
    --primary-purple: #7C3AED;
    --primary-hover: #6D28D9;
    --accent-gold: #EAB308;
    --accent-gold-hover: #D97706;
    
    --text-dark: #1E1638;
    --text-muted-dark: #5C627A;
    --text-light: #F8FAFC;
    --text-muted-light: #A5B4FC;
    
    --border-light: #EBE9F5;
    --border-purple-focus: #C4B5FD;
    
    --star-color: #EAB308;
    --success: #10B981;
    --danger: #EF4444;
    
    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(124, 58, 237, 0.03);
    --shadow-medium: 0 10px 30px rgba(124, 58, 237, 0.06);
    --shadow-strong: 0 20px 40px rgba(124, 58, 237, 0.1);
    
    /* Fonts */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    --container-width: 1200px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

/* Highlights */
.highlight-gold {
    color: var(--accent-gold);
}

.gradient-text-purple {
    background: linear-gradient(135deg, var(--text-dark) 30%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted-dark);
    font-size: 1.05rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   COMPONENTS - BUTTONS & BADGES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 30px; /* Rounded pill style buttons */
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Golden buttons (Primary accent) */
.btn-gold {
    background-color: var(--accent-gold);
    color: var(--bg-dark-purple);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.25);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
}

/* Purple buttons (Secondary accent) */
.btn-purple {
    background-color: var(--primary-purple);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.btn-purple:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-whatsapp {
    background-color: #22C55E;
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp:hover {
    background-color: #16A34A;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary-purple);
    border: 1px solid rgba(124, 58, 237, 0.15);
    margin-bottom: 15px;
}

.badge-gold-outline {
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

/* ==========================================================================
   COMPONENTS - CARDS (WHITE SHADOW DESIGN)
   ========================================================================== */

.card {
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(124, 58, 237, 0.15);
}

/* ==========================================================================
   HEADER & NAVIGATION (ALWAYS DARK PURPLE ACCORDING TO REFERENCE)
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-dark-purple);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-normal);
}

header .container {
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(19, 7, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.logo span {
    color: var(--accent-gold);
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--accent-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark-purple);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--accent-gold);
}

.nav-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION (DARK PURPLE GRADIENT)
   ========================================================================== */

.hero {
    padding-top: 160px;
    padding-bottom: 90px;
    background: linear-gradient(135deg, #0e0523 0%, #1c0a3f 50%, #2f116a 100%);
    position: relative;
    color: var(--text-light);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 100%;
    text-align: left;
}

.hero-title {
    font-size: 3.3rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta .btn {
    min-width: 200px;
}

.hero-features {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.9;
}

.hero-feature-item svg {
    color: var(--accent-gold);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   PRICING / ABONNEMENTS (3 COLUMNS + FAMILY PLAN BANNER)
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* Middle highlighted card (12 Months Popular) */
.pricing-card.popular {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-hover) 100%);
    border-color: transparent;
    color: var(--text-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
    padding: 35px 30px;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.popular h3,
.pricing-card.popular .price-value,
.pricing-card.popular .price-feature-item {
    color: var(--text-light);
}

.pricing-card.popular .price-duration,
.pricing-card.popular .price-value span {
    color: var(--text-muted-light);
}

.pricing-card.popular .price-feature-item .check-icon {
    color: var(--accent-gold);
}

.pricing-card.popular .price-header {
    border-color: rgba(255, 255, 255, 0.1);
}

.ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-dark-purple);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.price-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.price-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-purple);
}

.pricing-card.popular .price-title {
    color: var(--accent-gold);
}

.price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-headings);
    line-height: 1;
}

.price-value span {
    font-size: 1rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}

.price-duration {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    margin-top: 5px;
}

.price-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.price-feature-item.disabled {
    color: var(--text-muted-dark);
    text-decoration: line-through;
    opacity: 0.5;
}

.price-feature-item svg {
    flex-shrink: 0;
}

.price-feature-item .check-icon {
    color: var(--primary-purple);
}

.price-feature-item .cross-icon {
    color: var(--danger);
}

.pricing-card .btn {
    width: 100%;
}

/* Family Plan Horizontal Banner */
.family-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EBE8F9; /* Very light purple tint */
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: 40px;
    gap: 30px;
}

.family-banner-info {
    max-width: 60%;
}

.family-banner-badge {
    background: var(--primary-purple);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.family-banner-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.family-banner-desc {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.family-banner-price-box {
    background: var(--bg-dark-purple);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 25px rgba(19, 7, 46, 0.2);
}

.family-price {
    text-align: center;
}

.family-price-val {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-headings);
    line-height: 1;
}

.family-price-val span {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

.family-price-lbl {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    margin-top: 5px;
}

/* ==========================================================================
   WHY CHOOSE US (BENEFITS 2 COLUMNS)
   ========================================================================== */

.benefits-row {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 40px;
    align-items: center;
}

.benefits-mockup-card {
    background: linear-gradient(135deg, var(--bg-dark-purple) 0%, var(--primary-hover) 100%);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    padding: 10px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.benefits-mockup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(124, 58, 237, 0.15);
}

.benefit-icon-container {
    width: 46px;
    height: 46px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.benefit-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.benefit-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    line-height: 1.5;
}

/* ==========================================================================
   DOWNLOAD CARD STYLES
   ========================================================================== */

.download-hero {
    padding-top: 150px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #0e0523 0%, #1c0a3f 100%);
    text-align: center;
    color: var(--text-light);
}

.download-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.download-hero p {
    color: var(--text-muted-light);
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-card-white);
}

.download-device-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.download-version-info {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    margin: 10px 0 20px;
}

.download-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    margin-top: 15px;
}

/* ==========================================================================
   TUTORIALS PAGE STYLES
   ========================================================================== */

.tuto-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tuto-tabs .tab-btn {
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    color: var(--text-muted-dark);
    box-shadow: var(--shadow-subtle);
}

.tuto-tabs .tab-btn:hover,
.tuto-tabs .tab-btn.active {
    background: var(--primary-purple);
    color: var(--text-light);
    border-color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.tuto-content-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.tuto-panel {
    display: none;
}

.tuto-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tuto-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.tuto-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 21px;
    width: 2px;
    height: calc(100% - 10px);
    background: var(--border-light);
}

.tuto-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-hover) 100%);
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.tuto-step-body {
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 25px;
    flex-grow: 1;
    box-shadow: var(--shadow-subtle);
}

.tuto-step-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.tuto-step-text {
    color: var(--text-muted-dark);
    margin-bottom: 15px;
}

.tuto-code-block {
    background: #F1F0F7;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 18px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary-purple);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.tuto-code-block button {
    background: none;
    border: none;
    color: var(--text-muted-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tuto-code-block button:hover {
    color: var(--primary-purple);
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS (AVIS)
   ========================================================================== */

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    gap: 40px;
    box-shadow: var(--shadow-medium);
}

.rating-big {
    text-align: center;
}

.rating-big-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    font-family: var(--font-headings);
}

.rating-big-stars {
    color: var(--star-color);
    margin: 10px 0;
    font-size: 1.2rem;
}

.rating-big-count {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

.rating-bars {
    flex-grow: 1;
    max-width: 500px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.rating-bar-label {
    width: 60px;
    color: var(--text-muted-dark);
}

.rating-bar-track {
    flex-grow: 1;
    height: 8px;
    background: #EBE9F5;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--primary-purple);
    border-radius: 10px;
}

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

.review-stars {
    color: var(--star-color);
    display: flex;
    gap: 2px;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.15);
}

.review-username {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--success);
    margin-top: 2px;
    font-weight: 600;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.review-text {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

.write-review-container {
    max-width: 600px;
    margin: 50px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-purple-focus);
    background: var(--bg-card-white);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.star-rating-select {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    color: var(--text-muted-dark);
    cursor: pointer;
}

.star-rating-select span:hover,
.star-rating-select span.selected {
    color: var(--star-color);
}

/* ==========================================================================
   FAQ ACCORDIONS (WHITE BOX DESIGN WITH BORDER)
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-subtle);
}

.faq-question {
    padding: 22px 30px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-headings);
    cursor: pointer;
    gap: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted-dark);
    padding: 0 30px;
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: var(--shadow-medium);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 25px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F1F0F7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: var(--transition-normal);
    flex-shrink: 0;
    font-weight: 700;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-purple);
    color: var(--text-light);
}

/* ==========================================================================
   MODAL (INTERACTIVE CHECKOUT FORM)
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 7, 46, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    box-shadow: 0 25px 60px rgba(19, 7, 46, 0.2);
}

.modal-backdrop.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F0F7;
    border: none;
    color: var(--text-muted-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    font-weight: 700;
    font-size: 1.1rem;
}

.modal-close:hover {
    background: #E5E3F3;
    color: var(--text-dark);
}

.modal-body {
    padding: 40px;
}

/* Multi-step form indicators */
.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicators::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-light);
    z-index: 1;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F0F7;
    border: 2px solid var(--border-light);
    color: var(--text-muted-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    position: relative;
    transition: var(--transition-normal);
}

.step-indicator.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

.step-indicator.completed {
    background: var(--success);
    border-color: var(--success);
    color: var(--text-light);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-subtitle {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.modal-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.device-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.device-option {
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    border-radius: 12px;
    padding: 18px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.device-option:hover {
    background: #FFFFFF;
    border-color: var(--border-purple-focus);
}

.device-option.selected {
    border-color: var(--primary-purple);
    background: rgba(124, 58, 237, 0.05);
    color: var(--primary-purple);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.device-option svg {
    margin-bottom: 8px;
    color: var(--primary-purple);
}

.summary-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted-dark);
}

.summary-row.total {
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
}

/* ==========================================================================
   FOOTER (ALWAYS DARK PURPLE ACCORDING TO REFERENCE)
   ========================================================================== */

footer {
    background: var(--bg-dark-purple);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0 30px;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.95;
}

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

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 15px;
    max-width: 290px;
    color: var(--text-muted-light);
    line-height: 1.5;
}

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

.footer-links a {
    color: var(--text-muted-light);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted-light);
}

.disclaimer {
    font-size: 0.75rem;
    color: rgba(165, 180, 252, 0.35);
    max-width: 900px;
    margin: 15px auto 0;
    line-height: 1.4;
}

/* ==========================================================================
   BLOC TEXTE SEO (BAS DE PAGE)
   ========================================================================== */

.seo-text {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 70px 0;
}

.seo-text-inner {
    max-width: 880px;
    margin: 0 auto;
}

.seo-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.seo-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--primary-purple);
}

.seo-text p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.seo-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.seo-text ul.seo-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.seo-text ul.seo-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.seo-text ul.seo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-weight: 800;
}

@media (max-width: 768px) {
    .seo-text { padding: 45px 0; }
    .seo-text h2 { font-size: 1.6rem; }
}

/* ==========================================================================
   BOUTON WHATSAPP FLOTTANT
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition-normal);
    position: relative;
    flex-shrink: 0;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* Anneau de pulsation */
.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Bulle texte (desktop) */
.whatsapp-float-label {
    background: #fff;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    white-space: nowrap;
    position: relative;
}

.whatsapp-float-label::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #fff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

@media (max-width: 768px) {
    .whatsapp-float { bottom: 18px; right: 18px; }
    .whatsapp-float-btn { width: 54px; height: 54px; }
    .whatsapp-float-label { display: none; }
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .family-banner {
        flex-direction: column;
        align-items: stretch;
    }
    
    .family-banner-info {
        max-width: 100%;
    }
    
    .benefits-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-mockup-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-mockup-img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--bg-dark-purple);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 80%;
    }
    
    .family-banner {
        padding: 25px;
    }
    
    .family-banner-title {
        font-size: 1.5rem;
    }
    
    .family-banner-price-box {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-summary {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .rating-bars {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-body {
        padding: 25px;
    }
    
    .device-select-grid {
        grid-template-columns: 1fr;
    }
    
    .tuto-step {
        gap: 15px;
    }
    
    .tuto-step-num {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .tuto-step:not(:last-child)::after {
        left: 18px;
        top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
}
