/*
Theme Name: Tivimate Premium IPTV
Theme URI: https://tivimatepremium.fr
Author: Tivimate Premium
Author URI: https://tivimatepremium.fr
Description: Thème WordPress professionnel pour Tivimate Premium IPTV - Abonnement IPTV France avec design dark moderne et optimisé SEO.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tivimate-premium
Tags: iptv, streaming, dark-theme, modern, responsive
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Dark Theme */
    --bg-primary: #0a0a0b;
    --bg-secondary: #121214;
    --bg-tertiary: #1a1a1d;
    --bg-card: #121214;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Accent - Purple (Tivimate) */
    --accent: #7c3aed;
    --accent-light: #a855f7;
    --accent-dark: #6d28d9;
    --accent-glow: rgba(124, 58, 237, 0.15);
    
    /* Secondary */
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.15);
    --orange: #f97316;
    --red: #ef4444;
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px -15px rgba(124, 58, 237, 0.3);
    
    /* Spacing */
    --container-max: 1200px;
    --container-narrow: 800px;
    
    /* Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ========================================
   LAYOUT
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
}

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

/* ========================================
   UTILITIES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(168, 85, 247, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.glow {
    box-shadow: var(--shadow-glow);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.btn-white {
    background: white;
    color: var(--bg-primary);
}

.btn-white:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 11, 0.95);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu li.active a {
    color: var(--text-primary);
}

.header-cta .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-panel.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.mobile-cta {
    margin-top: auto;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge .pulse {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-section h1 .text-muted {
    color: var(--text-muted);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

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

.trust-item i {
    color: var(--green);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    padding: 32px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

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

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

.stat-number span {
    color: var(--accent-light);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-glow);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    padding: 100px 0;
}

/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-tab:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.pricing-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    color: white;
}

/* Pricing Grid */
.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

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

/* Pricing Card */
.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.15);
    border-color: var(--accent);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--accent-light), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pricing-card.popular .pricing-tier {
    color: var(--accent-light);
}

.pricing-duration {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 24px;
}

.price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.price-current {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
}

.price-current span {
    font-size: 18px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent-light);
    font-size: 12px;
    margin-top: 4px;
}

.pricing-features li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-icons {
    margin-top: 20px;
    text-align: center;
}

.pricing-icons img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

.pricing-os {
    max-height: 30px;
    margin-bottom: 12px;
}

.pricing-payment {
    max-height: 24px;
}

/* Pricing Stats */
.pricing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.reviews-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.trustpilot-stars {
    text-align: center;
    margin-bottom: 16px;
}

.trustpilot-stars img {
    height: 32px;
}

.reviews-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 0 auto 40px;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.review-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.review-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.review-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CHANNELS SECTION
   ======================================== */
.channels-section {
    padding: 100px 0;
}

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

.vod-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 2/3;
}

.vod-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vod-item:hover img {
    transform: scale(1.05);
}

.vod-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vod-item:hover .vod-overlay {
    opacity: 1;
}

.vod-overlay i {
    font-size: 48px;
    color: white;
}

/* Platforms Showcase */
.platforms-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.platform-logo img {
    height: 40px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
}

.platform-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Channels Slider */
.channels-slider-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.channel-slide {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.channel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    color: var(--accent-light) !important;
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us-section {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--accent-glow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-light);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Devices Section */
.devices-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.devices-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.devices-text .section-label {
    margin-bottom: 16px;
}

.devices-text .section-title {
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

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

.device-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.device-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.device-item i {
    font-size: 28px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.device-item span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Installation Section */
.installation-section {
    padding: 100px 0;
}

.installation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.installation-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.installation-steps {
    margin: 32px 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-light);
    flex-shrink: 0;
}

.step-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon .fa-plus {
    display: block;
    color: var(--accent-light);
}

.faq-icon .fa-minus {
    display: none;
    color: var(--accent-light);
}

.faq-item.active .faq-icon .fa-plus {
    display: none;
}

.faq-item.active .faq-icon .fa-minus {
    display: block;
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
}

.faq-cta p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
}

.cta-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--accent), var(--accent-light), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.cta-feature i {
    color: var(--green);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: span 3; margin-bottom: 10px; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr) !important; text-align: left !important; }
    .footer-about { grid-column: span 2; }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 12px;
    margin-top: 8px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-content {
    max-width: 500px;
    text-align: center;
}

.error-icon {
    font-size: 64px;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.error-title {
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
}

.error-subtitle {
    font-size: 24px;
    margin-bottom: 16px;
}

.error-description {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   POLICY PAGES
   ======================================== */
.policy-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.policy-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 40px;
    text-align: center;
}

.policy-header h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.policy-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0 0;
    font-size: 14px;
}

.policy-body {
    padding: 48px;
}

.policy-body h2 {
    color: var(--accent-light);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.policy-body h2:first-child {
    margin-top: 0;
}

.policy-body p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.policy-body ul li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.policy-body a {
    color: var(--accent-light);
}

.policy-intro {
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    border-left: 4px solid var(--accent);
}

.policy-intro p {
    margin: 0;
    font-style: italic;
}

.policy-contact {
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}

.policy-contact p {
    margin: 0;
}

/* ========================================
   CHANNELS LIST PAGE
   ======================================== */
.channels-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.channels-hero h1 span {
    color: var(--accent-light);
}

.channels-content {
    padding: 60px 0 100px;
}

.channels-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.countries-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 40px;
}

.countries-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
}

.countries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

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

.country-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-content,
    .installation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid .review-item:nth-child(5) {
        display: none;
    }
    
    .vod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .policy-body {
        padding: 32px 24px;
    }
    
    .countries-section {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .pricing-tabs {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
/* Logo Image */
.site-logo .logo-img,
.footer-logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 36px;
}

/* ========================================
   BREADCRUMB (toutes pages internes)
   Imbriqué dans le .container d'une section hero existante :
   pas de padding propre, juste un espacement bas avant le H1.
   ======================================== */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px 0;
}
.breadcrumb-nav a { color: var(--text-muted); }
.breadcrumb-nav a:hover { color: var(--accent-light); }
.breadcrumb-nav .sep { opacity: .5; }
.breadcrumb-nav .current { color: var(--text-secondary); }

/* ========================================
   INNER PAGE HERO (pages dédiées SEO)
   ======================================== */
.inner-hero {
    padding: 140px 0 56px;
    position: relative;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 20px;
    max-width: 820px;
}
.inner-hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 28px;
}
.inner-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========================================
   ARTICLE / CONTENT BODY (pages SEO + blog)
   ======================================== */
.content-section { padding: 56px 0; }
.content-section.alt { background: var(--bg-secondary); }
.content-wrapper { max-width: 820px; margin: 0 auto; }
.content-wrapper.wide { max-width: 1040px; }
.article-body h2 {
    color: var(--text-primary);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    margin: 40px 0 16px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
    color: var(--accent-light);
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 12px;
}
.article-body p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}
.article-body ul, .article-body ol { margin: 18px 0 22px; padding-left: 22px; }
.article-body li { color: var(--text-secondary); font-size: 15.5px; line-height: 1.8; margin-bottom: 10px; }
.article-body strong { color: var(--text-primary); }
.article-body a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }
.article-callout {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 28px 0;
}
.article-callout p { margin: 0; color: var(--text-secondary); }
.article-callout p strong { color: var(--accent-light); }

/* ========================================
   COMPARISON TABLE (vs concurrents / vs app gratuite)
   ======================================== */
.compare-table-wrap { overflow-x: auto; margin: 24px 0 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--bg-card); }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--bg-tertiary); color: var(--text-primary); font-weight: 700; }
.compare-table td { color: var(--text-secondary); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .ok { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--text-muted); }
.compare-table .highlight-col { background: var(--accent-glow); }

/* ========================================
   GUIDES HUB GRID (homepage "Tutoriels" + hub tutoriel + footer maillage)
   ======================================== */
.guides-section { padding: 64px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}
.guide-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.guide-card-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    background: var(--accent-glow);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.guide-card h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.guide-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex-grow: 1; }
.guide-card-link { font-size: 14px; font-weight: 600; color: var(--accent-light); display: inline-flex; align-items: center; gap: 6px; }
.guide-card:hover .guide-card-link { gap: 10px; }

/* ========================================
   AVIS / TÉMOIGNAGES DÉTAILLÉS (page avis)
   ======================================== */
.avis-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin: 24px 0 40px; }
.avis-score { text-align: center; }
.avis-score-number { font-size: 48px; font-weight: 800; color: var(--accent-light); line-height: 1; }
.avis-score-stars { color: #fbbf24; font-size: 18px; letter-spacing: 3px; margin: 8px 0; }
.avis-score-count { font-size: 13px; color: var(--text-muted); }
.avis-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.avis-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.avis-bar-track { flex: 1; height: 8px; background: var(--bg-tertiary); border-radius: var(--radius-full); overflow: hidden; }
.avis-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: var(--radius-full); }
.avis-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.avis-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.avis-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.avis-card-name { font-weight: 700; color: var(--text-primary); font-size: 14.5px; }
.avis-card-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.avis-card-text { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; }
.avis-card-date { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ========================================
   TAG / BADGE
   ======================================== */
.tag-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-glow); color: var(--accent-light); border: 1px solid rgba(124,58,237,0.25); border-radius: var(--radius-full); padding: 5px 14px; font-size: 12.5px; font-weight: 600; }

/* ========================================
   BLOG — INDEX & SINGLE
   ======================================== */
.blog-hero { padding: 110px 0 40px; text-align: left; }
.blog-title { font-size: clamp(30px, 5.5vw, 46px); font-weight: 800; margin: 16px 0 12px; }
.blog-desc { color: var(--text-secondary); font-size: 16px; max-width: 560px; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 20px 0 60px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--accent-dark), var(--bg-tertiary)); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-placeholder { display: flex; align-items: center; justify-content: center; }
.blog-card-placeholder i { font-size: 42px; color: rgba(255,255,255,0.25); }
.blog-card-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12px; }
.blog-card-category { background: var(--accent-glow); color: var(--accent-light); padding: 4px 12px; border-radius: var(--radius-full); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.blog-card-date { color: var(--text-muted); }
.blog-card-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-card-title a { color: var(--text-primary); }
.blog-card-title a:hover { color: var(--accent-light); }
.blog-card-excerpt { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; flex-grow: 1; }
.blog-card-link { font-size: 13.5px; font-weight: 600; color: var(--accent-light); display: inline-flex; align-items: center; gap: 6px; }
.blog-pagination { margin-top: 20px; text-align: center; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span { padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); font-weight: 500; }
.blog-pagination a:hover { border-color: var(--accent); color: var(--accent-light); }
.blog-pagination .current { background: var(--accent); color: white; border-color: var(--accent); }
.blog-empty { text-align: center; padding: 60px 20px; }
.blog-empty i { font-size: 50px; color: var(--accent-glow); margin-bottom: 18px; }

.single-post .post-hero { padding: 110px 0 40px; }
.post-meta-top { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.post-category { background: var(--accent-glow); color: var(--accent-light); padding: 5px 14px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.post-date { color: var(--text-muted); font-size: 13.5px; }
.post-title { font-size: clamp(26px, 5vw, 40px); font-weight: 800; line-height: 1.2; max-width: 860px; }
.post-layout { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.post-featured-image { margin-bottom: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.post-featured-image img { width: 100%; height: auto; display: block; }
.post-share { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-share span { font-weight: 600; color: var(--text-primary); font-size: 14px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.share-btn:hover { border-color: var(--accent); color: var(--accent-light); }
.post-sidebar { display: none; }
.sidebar-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.sidebar-card.sticky { position: sticky; top: 100px; }
.sidebar-card h3 { text-align: center; font-size: 18px; margin-bottom: 18px; }
.sidebar-price { text-align: center; margin-bottom: 22px; }
.price-from { display: block; font-size: 13px; color: var(--text-muted); }
.price-amount { font-size: 42px; font-weight: 800; color: var(--accent-light); }
.price-period { font-size: 14px; color: var(--text-muted); }
.sidebar-features { padding: 0; margin-bottom: 22px; }
.sidebar-features li { list-style: none; display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.sidebar-features li:last-child { border-bottom: none; }
.sidebar-features i { color: var(--green); }
.sidebar-note { text-align: center; font-size: 11.5px; color: var(--text-muted); margin-top: 14px; }
.related-guides { padding-top: 8px; }
.related-guides h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 12px; }
.related-guides ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.related-guides a { font-size: 13.5px; color: var(--accent-light); }

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .guides-grid { grid-template-columns: repeat(3, 1fr); }
    .post-layout { grid-template-columns: 1fr 320px; gap: 50px; }
    .post-sidebar { display: block; margin-top: 40px; }
    .avis-summary { flex-wrap: nowrap; }
}
@media (max-width: 767px) {
    .inner-hero { padding-top: 110px; }
    .blog-hero, .single-post .post-hero { padding-top: 110px; }
}