/*
* PlayTV 4K - Main Stylesheet
* Modern Dark Neon Theme
*/

/* ===== Base Styles ===== */
:root {
    /* Color Variables */
    --primary-color: #00f7ff;
    --secondary-color: #ff00e5;
    --accent-color: #7000ff;
    --background-dark: #0a0a0f;
    --background-darker: #050508;
    --background-light: #121218;
    --text-light: #ffffff;
    --text-dim: #a0a0b0;
    --text-dark: #505060;
    --border-color: rgba(255, 255, 255, 0.05);
    --shadow-color: rgba(0, 247, 255, 0.15);
    --gradient-1: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    --gradient-2: linear-gradient(45deg, var(--secondary-color), var(--primary-color));

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.preloader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a2e 0%, #1a0b35 50%, #170b40 100%);
    z-index: -1;
    overflow: hidden;
}

/* Particules animées */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px var(--primary-color);
    animation: float 15s infinite linear;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-duration: 20s; animation-delay: 0s; }
.particle:nth-child(2) { top: 25%; left: 15%; animation-duration: 18s; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 70%; animation-duration: 22s; animation-delay: 2s; }
.particle:nth-child(4) { top: 40%; left: 25%; animation-duration: 15s; animation-delay: 3s; }
.particle:nth-child(5) { top: 65%; left: 40%; animation-duration: 25s; animation-delay: 4s; }
.particle:nth-child(6) { top: 75%; left: 80%; animation-duration: 17s; animation-delay: 5s; }
.particle:nth-child(7) { top: 35%; left: 50%; animation-duration: 19s; animation-delay: 6s; }
.particle:nth-child(8) { top: 50%; left: 60%; animation-duration: 21s; animation-delay: 7s; }
.particle:nth-child(9) { top: 20%; left: 30%; animation-duration: 16s; animation-delay: 8s; }
.particle:nth-child(10) { top: 85%; left: 20%; animation-duration: 23s; animation-delay: 9s; }
.particle:nth-child(11) { top: 15%; left: 85%; animation-duration: 24s; animation-delay: 1.5s; }
.particle:nth-child(12) { top: 55%; left: 10%; animation-duration: 26s; animation-delay: 2.5s; }
.particle:nth-child(13) { top: 30%; left: 75%; animation-duration: 18s; animation-delay: 3.5s; }
.particle:nth-child(14) { top: 70%; left: 35%; animation-duration: 20s; animation-delay: 4.5s; }
.particle:nth-child(15) { top: 45%; left: 90%; animation-duration: 22s; animation-delay: 5.5s; }
.particle:nth-child(16) { top: 5%; left: 45%; animation-duration: 19s; animation-delay: 6.5s; }
.particle:nth-child(17) { top: 90%; left: 55%; animation-duration: 21s; animation-delay: 7.5s; }
.particle:nth-child(18) { top: 25%; left: 65%; animation-duration: 17s; animation-delay: 8.5s; }
.particle:nth-child(19) { top: 80%; left: 75%; animation-duration: 23s; animation-delay: 9.5s; }
.particle:nth-child(20) { top: 60%; left: 5%; animation-duration: 25s; animation-delay: 10.5s; }

.particle:nth-child(odd) {
    background: var(--primary-color);
    width: 4px;
    height: 4px;
}

.particle:nth-child(even) {
    background: var(--secondary-color);
    width: 5px;
    height: 5px;
}

.particle:nth-child(3n) {
    background: var(--accent-color);
    width: 7px;
    height: 7px;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100vw) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Cercles lumineux */
.glow-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: pulse-glow 8s infinite alternate;
}

.glow-circle:nth-child(1) {
    top: 30%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.6) 0%, rgba(112, 0, 255, 0) 70%);
    animation-delay: 0s;
}

.glow-circle:nth-child(2) {
    top: 60%;
    left: 60%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 247, 255, 0.6) 0%, rgba(0, 247, 255, 0) 70%);
    animation-delay: 2s;
}

.glow-circle:nth-child(3) {
    top: 40%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 229, 0.6) 0%, rgba(255, 0, 229, 0) 70%);
    animation-delay: 4s;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.8);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

/* Loader */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.logo-container {
    position: relative;
    margin-bottom: 30px;
}

.logo-animation {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logo-zoom 3s infinite alternate;
}

.logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 247, 255, 0.7));
    animation: logo-pulse 2s infinite alternate;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 247, 255, 0.4) 0%, rgba(112, 0, 255, 0.2) 50%, rgba(0, 0, 0, 0) 70%);
    filter: blur(20px);
    animation: glow-pulse 3s infinite alternate;
    z-index: 1;
}

.loading-bar-container {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
    animation: loading-progress 3s infinite;
}

.loading-text {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-light);
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 1px;
}

.dots {
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes logo-zoom {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes logo-pulse {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(0, 247, 255, 0.9));
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.3;
        width: 180px;
        height: 180px;
    }
    100% {
        opacity: 0.6;
        width: 220px;
        height: 220px;
    }
}

@keyframes loading-progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes dots {
    0%, 20% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
    80%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
}

/* ===== Chat Bot ===== */
.chat-bot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 20px var(--shadow-color);
}

.chat-icon i {
    font-size: 2.4rem;
    color: var(--text-light);
}

.pulse {
    position: relative;
}

.pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.7;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 5px;
}

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

.logo-link {
    display: block;
    transition: transform var(--transition-normal);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-wrapper {
    position: relative;
    width: 90px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px; /* Déplace le logo légèrement vers le bas */
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 247, 255, 0.5));
    transition: filter var(--transition-normal);
    object-fit: contain;
}

.logo-link:hover .main-logo {
    filter: drop-shadow(0 0 12px rgba(0, 247, 255, 0.8));
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-item {
    margin: 0;
    position: relative;
}

.nav-link {
    font-size: 1.4rem;
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    margin: 0;
    background-color: transparent;
    letter-spacing: 0.02em;
}

.nav-link i {
    margin-left: 5px;
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-1);
    transition: width var(--transition-normal);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(0, 247, 255, 0.3);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-1px);
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: rgba(18, 18, 24, 0.95);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 247, 255, 0.1);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.dropdown-menu li {
    margin: var(--spacing-xs) 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-dim);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: rgba(0, 247, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-actions {
    display: flex;
    align-items: center;
    height: 100%;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-demo {
    background: var(--gradient-1);
    color: var(--text-light);
    box-shadow: 0 3px 10px rgba(0, 247, 255, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.btn-demo i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

@keyframes pulse-download {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 247, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 247, 255, 0);
    }
}

.btn-demo {
    animation: pulse-download 2s infinite;
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: 50px;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
    color: var(--text-light);
}

.btn-demo:hover::before {
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: var(--spacing-md);
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-normal);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 247, 255, 0.5);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center; /* Revient à l'alignement centré */
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 5, 8, 0.9), rgba(10, 10, 15, 0.7));
}

/* Satellite Animation */
.satellite-animation {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    z-index: 1;
    perspective: 1000px;
}

.satellite-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: satellite-pulse 4s infinite;
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.5);
}

.orbit-path {
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(0, 247, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: orbit-rotate 20s linear infinite;
}

.beam-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 300px;
    background: linear-gradient(to bottom, rgba(0, 247, 255, 0.8), rgba(0, 247, 255, 0));
    transform-origin: top;
    transform: translateX(-50%) rotate(45deg);
    animation: beam-pulse 2s infinite;
}

@keyframes satellite-pulse {
    0% { box-shadow: 0 0 20px rgba(0, 247, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 247, 255, 0.8); }
    100% { box-shadow: 0 0 20px rgba(0, 247, 255, 0.5); }
}

@keyframes orbit-rotate {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

@keyframes beam-pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin-top: 10px; /* Réduit considérablement l'espace entre l'en-tête et le contenu */
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 10px;
}

.logo-animation-hero {
    margin-bottom: var(--spacing-md);
    transform: scale(0.8);
    opacity: 0;
    animation: logo-appear 1s forwards 0.5s;
}

.hero-logo {
    max-width: 200px;
    filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.5));
}

@keyframes logo-appear {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 1s forwards 0.8s;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    animation: line-appear 1s forwards 1.5s;
}

@keyframes line-appear {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.text-gradient {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: gradient-shift 3s infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-dim);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 1s forwards 1s;
    word-wrap: break-word;
    hyphens: auto;
}

@keyframes fade-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 1s forwards 1.2s;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 247, 255, 0.4);
    color: var(--text-light);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.5s;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--background-darker);
}

.btn-outline:hover::before {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 1s forwards 1.4s;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 100px;
    margin-bottom: var(--spacing-sm);
}

.stat-icon {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    position: relative;
    line-height: 1.2;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--gradient-1);
}

.stat-label {
    font-size: 1.6rem;
    color: var(--text-dim);
    margin-top: 10px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    animation: fade-in 1s forwards 2s;
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dim);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ===== Coverage Section ===== */
.coverage-section {
    background-color: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.coverage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(112, 0, 255, 0.1), transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(0, 247, 255, 0.1), transparent 70%);
    z-index: 0;
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.coverage-map {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background-color: var(--background-darker);
    padding: var(--spacing-md);
}

.coverage-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.3));
}

.coverage-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
}

.hotspot-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    animation: pulse-dot 1.5s infinite;
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.3);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.5;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.hotspot-tooltip {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 10;
    border: 1px solid var(--border-color);
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--background-light);
}

.hotspot-tooltip h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.hotspot-tooltip p {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    top: -100px;
}

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

.coverage-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    background-color: rgba(18, 18, 24, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

.coverage-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
    font-size: 2.4rem;
    color: var(--text-light);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

.feature-content p {
    color: var(--text-dim);
    line-height: 1.6;
}

.coverage-cta {
    margin-top: var(--spacing-md);
    text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.1), transparent 70%),
                radial-gradient(circle at 80% 70%, rgba(0, 247, 255, 0.1), transparent 70%);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.testimonial-item {
    display: none;
    animation: fade-slide 0.5s ease-in-out;
}

.testimonial-item.active {
    display: block;
}

@keyframes fade-slide {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-content {
    background-color: rgba(18, 18, 24, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.8rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-sm);
    border: 2px solid var(--primary-color);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.author-info p {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
}

.control-prev,
.control-next {
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dim);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.control-prev:hover,
.control-next:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.control-dots {
    display: flex;
    gap: 10px;
    margin: 0 var(--spacing-md);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* ===== Partners Section ===== */
.partners-section {
    background-color: var(--background-dark);
    position: relative;
}

/* Carousel des partenaires */
.partners-carousel-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    position: relative;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.3), rgba(10, 10, 15, 0.5));
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.partners-carousel-container::before,
.partners-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--background-dark), transparent);
}

.partners-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--background-dark), transparent);
}

.partners-carousel-container::before,
.partners-carousel-container::after {
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    padding: var(--spacing-md) 0;
}

.partners-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
    position: relative;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 16)); /* Ajustez en fonction de la largeur des éléments */
    }
}

.partner-item {
    background-color: rgba(18, 18, 24, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    min-width: 180px;
    margin: 0 var(--spacing-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 247, 255, 0.1),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

.partner-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(0, 247, 255, 0.3);
    border-color: var(--primary-color);
    z-index: 10;
    background: linear-gradient(145deg, rgba(18, 18, 24, 0.8), rgba(30, 30, 40, 0.8));
}

.partner-logo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-normal);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%) brightness(1.2) contrast(1.1);
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        filter: grayscale(0%) brightness(1.2) contrast(1.1);
    }
    50% {
        filter: grayscale(0%) brightness(1.3) contrast(1.2);
    }
    100% {
        filter: grayscale(0%) brightness(1.2) contrast(1.1);
    }
}

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

/* ===== Services Section ===== */
.services {
    background-color: var(--background-darker);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.1), transparent 70%),
                radial-gradient(circle at 80% 70%, rgba(0, 247, 255, 0.1), transparent 70%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: rgba(18, 18, 24, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 0;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

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

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(10, 10, 15, 0.7));
    z-index: 1;
}

.service-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: var(--spacing-sm) var(--spacing-md) var(--spacing-xs);
    position: relative;
    z-index: 2;
}

.service-description {
    color: var(--text-dim);
    margin: 0 var(--spacing-md) var(--spacing-md);
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0 var(--spacing-md) var(--spacing-md);
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

.service-link i {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--background-darker);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    width: 150px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--text-dim);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-1);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
}

.widget-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-1);
}

.widget-text {
    color: var(--text-dim);
}

.widget-links li {
    margin-bottom: var(--spacing-xs);
}

.widget-links a {
    color: var(--text-dim);
    transition: all var(--transition-fast);
}

.widget-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.widget-contact li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dim);
}

.widget-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    min-width: 20px; /* Assure une largeur minimale pour l'alignement */
    text-align: center; /* Centre l'icône dans son espace */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap; /* Permet aux liens de passer à la ligne sur petits écrans */
    justify-content: center; /* Centre les liens */
}

.footer-links a {
    color: var(--text-dark);
    padding: 5px 10px; /* Ajoute de l'espace autour des liens pour une meilleure zone de clic */
}

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

/* ===== Mobile Menu ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(15px);
    z-index: 100;
    transition: right var(--transition-normal);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    padding: 100px var(--spacing-md) var(--spacing-md);
    overflow-y: auto;
    border-left: 1px solid rgba(0, 247, 255, 0.1);
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link i {
    transition: transform var(--transition-normal);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding-left: var(--spacing-sm);
}

.mobile-nav-item.active .mobile-dropdown {
    max-height: 200px;
}

.mobile-nav-item.active .mobile-nav-link i {
    transform: rotate(180deg);
}

.mobile-dropdown a {
    display: block;
    padding: var(--spacing-xs) 0;
    color: var(--text-dim);
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-dropdown a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }

    .hero-title {
        font-size: 5rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-wrapper {
        width: 120px;
    }

    .header-inner {
        height: 70px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        width: 100%;
        padding: 0 10px;
    }

    .stat-item {
        min-width: auto;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1.4rem;
    }

    /* Styles responsives pour la section de couverture */
    .coverage-content {
        grid-template-columns: 1fr;
    }

    .coverage-map {
        order: 1; /* Place la carte en premier sur mobile */
        margin-bottom: var(--spacing-md);
    }

    .coverage-info {
        order: 2; /* Place les informations en second sur mobile */
    }

    .coverage-feature {
        padding: var(--spacing-sm);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-right: var(--spacing-sm);
    }

    .feature-content h3 {
        font-size: 1.8rem;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content {
        text-align: center;
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: var(--spacing-lg); /* Plus d'espace entre les widgets */
    }

    .widget-contact li {
        justify-content: flex-start; /* Aligne à gauche pour un meilleur alignement */
        padding-left: 25%; /* Décale vers le centre tout en gardant l'alignement du texte */
    }

    .widget-contact i {
        display: inline-flex; /* Assure un meilleur alignement avec le texte */
        justify-content: center;
        align-items: center;
    }

    .logo-wrapper {
        width: 100px;
    }

    .header-inner {
        height: 60px;
    }

    .btn-demo {
        padding: 0.5rem 1.2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 3rem;
    }

    /* Ajustements supplémentaires pour la section de couverture sur petits écrans */
    .coverage-map {
        padding: var(--spacing-sm);
    }

    .coverage-feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto var(--spacing-sm);
    }

    .feature-content h3 {
        font-size: 1.6rem;
    }

    .feature-content p {
        font-size: 1.4rem;
    }

    .hotspot-tooltip {
        width: 150px;
    }

    .hotspot-tooltip h4 {
        font-size: 1.4rem;
    }

    .hotspot-tooltip p {
        font-size: 1.1rem;
    }

    /* Ajustements pour le pied de page sur petits écrans */
    .footer-content {
        gap: var(--spacing-md);
    }

    .widget-contact li {
        padding-left: 15%; /* Moins de décalage sur les petits écrans */
    }

    .widget-links, .widget-contact {
        margin-bottom: var(--spacing-md);
    }

    .logo-wrapper {
        width: 80px;
        margin-top: 15px; /* Déplace davantage le logo vers le bas sur mobile */
    }

    .header-inner {
        height: 55px;
        align-items: center;
    }

    .logo-container {
        display: flex;
        align-items: flex-start; /* Aligne le conteneur du logo en haut pour permettre le décalage vers le bas */
        padding-top: 0; /* Supprime l'espace en haut pour permettre un meilleur contrôle avec margin-top */
    }

    .header-actions {
        display: flex;
        align-items: center;
        padding-bottom: 10px; /* Ajoute un padding en bas pour aligner avec le logo */
    }

    .btn-demo {
        margin-top: 0;
    }

    .hero-title {
        font-size: 3.2rem;
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .stat-label {
        font-size: 1.2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .hero-content {
        margin-top: 5px; /* Espace fortement réduit sur mobile */
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-icon {
        font-size: 1.8rem;
    }

    /* Ajustements pour la section de couverture sur très petits écrans */
    .coverage-map {
        padding: var(--spacing-xs);
    }

    .coverage-feature {
        padding: var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 1.2rem;
    }

    .hotspot {
        transform: scale(0.8); /* Réduit légèrement la taille des points interactifs */
    }

    .hotspot-tooltip {
        width: 120px;
    }

    .hotspot-tooltip h4 {
        font-size: 1.2rem;
    }

    .hotspot-tooltip p {
        font-size: 1rem;
    }

    /* Ajustements pour le pied de page sur très petits écrans */
    .footer-content {
        gap: var(--spacing-sm);
    }

    .widget-title {
        font-size: 1.6rem;
        margin-bottom: var(--spacing-sm);
    }

    .widget-contact li {
        padding-left: 0; /* Supprime le décalage sur très petits écrans */
        justify-content: center; /* Centre complètement sur très petits écrans */
        font-size: 1.3rem; /* Taille de police légèrement réduite */
    }

    .widget-contact i {
        min-width: 18px; /* Largeur minimale réduite */
        margin-right: 8px; /* Espace réduit */
    }

    .widget-links a, .widget-text {
        font-size: 1.3rem; /* Taille de police légèrement réduite */
    }

    .logo-wrapper {
        width: 70px;
        margin-top: 18px; /* Déplace encore plus le logo vers le bas sur les très petits écrans */
    }

    .header-inner {
        height: 50px;
    }

    .btn-demo {
        font-size: 1rem;
        padding: 0.4rem 1rem;
        margin-top: 0;
    }

    .mobile-menu-toggle {
        margin-left: 5px;
    }

    .hero-content {
        margin-top: 2px; /* Espace minimal sur les très petits écrans */
    }

    /* Ajustement spécifique pour l'alignement du logo et du bouton sur mobile */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-container, .header-actions {
        display: flex;
        align-items: center;
    }

    .main-logo {
        max-height: 30px;
        width: auto;
        transform: translateY(4px); /* Ajustement fin de la position verticale */
    }

    .mobile-app-btn {
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0; /* Réinitialise la marge inférieure */
        margin-top: 0; /* S'assure qu'il n'y a pas de marge supérieure */
    }
}
