/* =====================================================
   MALONGI TIME'S - STYLESHEET
   Design: Moderne, Epure, Spirituel, Premium
   Version: 3.0
   ===================================================== */

/* ─── VARIABLES & DESIGN TOKENS ─── */
:root {
    /* Couleurs principales */
    --primary: #4FC3F7;
    --primary-light: #B3E5FC;
    --primary-lighter: #E1F5FE;
    --primary-dark: #0288D1;
    --primary-darker: #01579B;

    /* Couleurs neutres */
    --bg: #FAFBFC;
    --surface: #FFFFFF;
    --surface-hover: #F8F9FA;
    --text: #1A1A2E;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-light: #A0AEC0;
    --border: #E2E8F0;
    --border-light: #EDF2F7;

    /* Blanc & ombres */
    --white: #FFFFFF;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 40px -10px rgba(79, 195, 247, 0.4);

    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Rayons */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Espacements */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* Header */
    --header-height: 72px;
    --header-height-mobile: 64px;
}

/* ─── 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;
    text-rendering: optimizeLegibility;
}

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

::selection {
    background: var(--primary-light);
    color: var(--primary-darker);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── SKIP LINK (Accessibilite) ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ─── CONTAINER ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ─── SECTIONS ─── */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-light {
    background: var(--bg);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-lighter);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section-gradient .section-tag {
    background: rgba(255,255,255,0.2);
    color: white;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.section-gradient .section-title {
    color: white;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-gradient .section-desc {
    color: rgba(255,255,255,0.85);
}

/* ─── BOUTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(79, 195, 247, 0.5);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    border-color: rgba(255,255,255,0.5);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    padding: 8px 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover svg {
    transform: translateX(5px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ─── HEADER ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    height: 64px;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo img {
    height: 44px;
    width: auto;
    transition: transform 0.3s;
}

.logo a:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Navigation desktop */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-1);
}

.nav-link {
    display: block;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: var(--primary-lighter);
}

/* Menu toggle */
.menu-toggle {
    display: none;
    padding: var(--space-2);
    border-radius: var(--radius);
    color: var(--text);
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--border-light);
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-light);
}

.sidebar-close {
    padding: var(--space-2);
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.sidebar-close:hover {
    background: var(--border-light);
    color: var(--text);
    transform: rotate(90deg);
}

.sidebar-nav {
    flex: 1;
    padding: var(--space-4) 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav ul li a {
    display: block;
    padding: 14px var(--space-6);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-left-color: var(--primary);
}

.sidebar-footer {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--border-light);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-height) + var(--space-10)) var(--space-6) var(--space-10);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.88) 50%, rgba(225, 245, 254, 0.85) 100%);
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-dark);
    background: var(--primary-lighter);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: var(--space-5);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    color: var(--primary);
    transition: var(--transition);
}

.hero-scroll a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ─── GRID & CARDS ─── */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

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

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: var(--space-5);
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-fast);
}

.card-link svg {
    transition: transform 0.3s;
}

.card-link:hover {
    color: var(--primary-dark);
}

.card-link:hover svg {
    transform: translateX(4px);
}

/* ─── ABOUT GRID ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(79, 195, 247, 0.1) 100%);
    pointer-events: none;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.about-text strong {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* ─── STATS ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat-item {
    padding: var(--space-6);
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: var(--space-3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

/* ─── TESTIMONIALS ─── */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: var(--space-6);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - var(--space-4));
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-4);
    color: #F59E0B;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.testimonial-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: var(--radius-full);
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - var(--space-3));
    }
}

@media (max-width: 640px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

/* ─── CTA ─── */
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── APP SECTION ─── */
.app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.app-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.app-content > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.app-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.app-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.app-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.app-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--text);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.app-store-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.app-store-btn svg {
    flex-shrink: 0;
}

.app-store-btn div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-store-btn div span {
    font-size: 0.7rem;
    opacity: 0.7;
}

.app-store-btn div strong {
    font-size: 1rem;
    font-weight: 600;
}

/* Phone mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--text);
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #2d3748;
    border-radius: 10px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    padding: 40px 20px 16px;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.phone-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-card {
    background: white;
    border-radius: 12px;
    height: 80px;
    box-shadow: var(--shadow-sm);
}

.phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: white;
    border-top: 1px solid var(--border-light);
}

.phone-nav div {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--border);
}

.phone-nav div:first-child {
    background: var(--primary);
}

@media (max-width: 768px) {
    .app-section {
        grid-template-columns: 1fr;
    }
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}

/* ─── PAGE HEADER ─── */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(2, 136, 209, 0.7) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: var(--space-12) 0;
}

.page-header-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: var(--space-5);
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: var(--space-2);
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumb li a {
    color: rgba(255,255,255,0.9);
    transition: color 0.2s;
}

.breadcrumb li a:hover {
    color: white;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-2);
    color: rgba(255,255,255,0.4);
}

/* ─── MISSION & VISION ─── */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.mission-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mission-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: var(--space-6);
}

.mission-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── STORY ─── */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.story-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.story-image:hover img {
    transform: scale(1.03);
}

.story-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    color: var(--text);
}

.story-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.story-text blockquote {
    margin: var(--space-8) 0 0;
    padding: var(--space-6) var(--space-8);
    background: var(--primary-lighter);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.story-text blockquote p {
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-3);
}

.story-text blockquote cite {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
    }
}

/* ─── VALUES ─── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.value-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-number {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-lighter);
    line-height: 1;
    z-index: 0;
}

.value-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text);
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── TEAM ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.team-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: var(--space-6);
}

.team-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── PROGRAMME DETAIL ─── */
.programme-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.programme-detail-reverse {
    direction: rtl;
}

.programme-detail-reverse > * {
    direction: ltr;
}

.programme-detail-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.programme-detail-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.programme-detail-image:hover img {
    transform: scale(1.03);
}

.programme-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programme-detail-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: var(--space-5);
}

.programme-detail-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.programme-detail-content .lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.programme-detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.programme-detail-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.programme-list {
    list-style: none;
    margin-bottom: var(--space-6);
}

.programme-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.programme-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.programme-meta {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    padding: var(--space-5) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item svg {
    color: var(--primary);
}

@media (max-width: 768px) {
    .programme-detail {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    .programme-detail-reverse {
        direction: ltr;
    }
}

/* ─── EVENTS ─── */
.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.event-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-6);
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    color: var(--primary-dark);
    text-align: center;
}

.event-day {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-year {
    font-size: 0.75rem;
    opacity: 0.7;
}

.event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-meta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-3);
    align-items: center;
}

.event-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.tag-formation { background: #DBEAFE; color: #1E40AF; }
.tag-evenement { background: #FCE7F3; color: #9D174D; }
.tag-retraite { background: #D1FAE5; color: #065F46; }
.tag-social { background: #FEF3C7; color: #92400E; }

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text);
}

.event-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

@media (max-width: 640px) {
    .event-card {
        grid-template-columns: 1fr;
    }
    .event-date {
        flex-direction: row;
        gap: var(--space-2);
        min-width: auto;
        justify-content: flex-start;
    }
}

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-form-wrapper {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text);
}

.form-intro {
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lighter);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-error {
    display: none;
    font-size: 0.8rem;
    color: #EF4444;
    margin-top: 2px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #EF4444;
}

.form-group.error .form-error {
    display: block;
}

.contact-info-wrapper {
    padding: var(--space-4) 0;
}

.contact-info-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text);
}

.contact-info-wrapper > p {
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-lighter);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.contact-info-text a:hover {
    color: var(--primary);
}

.contact-whatsapp h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ─── FOOTER ─── */
.footer {
    background: var(--text);
    color: white;
    padding: var(--space-16) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    color: white;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-3);
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

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

.footer-bottom {
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}

/* ─── INSTALL BANNER ─── */
.install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    border: 1px solid var(--border-light);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.install-banner.show {
    transform: translateY(0);
}

.install-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 1;
}

.install-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.install-banner-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 2px;
}

.install-banner-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.install-banner-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* ─── TOAST ─── */
.toast {
    position: fixed;
    top: calc(var(--header-height) + var(--space-4));
    right: var(--space-6);
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    max-width: 380px;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.toast-content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.toast-close {
    padding: var(--space-1);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--border-light);
    color: var(--text);
}

@media (max-width: 640px) {
    .toast {
        left: var(--space-4);
        right: var(--space-4);
        max-width: none;
    }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .main-nav,
    .btn-download {
        display: none;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-container {
        padding: 0 var(--space-4);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mobile);
    }
    .section {
        padding: var(--space-12) 0;
    }
    .hero {
        padding-top: calc(var(--header-height) + var(--space-8));
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    .install-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-4);
    }
    .install-banner-content {
        flex-direction: column;
    }
}

/* ─── ACCESSIBILITE ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
.stats-note {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 16px 24px;

    font-size: 1rem;
    line-height: 1.7;
    text-align: center;

    color: #555;
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid #6c63ff;

    border-radius: 8px;
    backdrop-filter: blur(6px);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.stats-note {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.team-card:first-child {
    border: 2px solid #6c63ff;
    transform: scale(1.03);
}