/* ========================================
   RACKING HORIZON - BLUE PROFESSIONAL THEME
   Couleurs inspirees du logo : bleu acier + navy
   ======================================== */

:root {
    --primary: #2563EB;              /* royal blue, accent principal */
    --primary-dark: #1E3A8A;          /* navy profond */
    --primary-light: #60A5FA;         /* bleu ciel hover/accent */
    --primary-glow: rgba(37, 99, 235, 0.28);
    --accent: #2563EB;                /* alias — plus de orange */
    --accent-glow: rgba(37, 99, 235, 0.25);
    --dark: #0F172A;                  /* slate-900, navy noir du logo */
    --dark-2: #1E293B;                /* slate-800 */
    --dark-3: #475569;                /* slate-600 */
    --gray-700: #334155;
    --gray-500: #64748B;
    --gray-300: #CBD5E1;
    --gray-100: #F1F5F9;
    --white: #ffffff;
    --bg: #ffffff;
    --text: #0F172A;
    --text-muted: #475569;
    --gradient: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
    --gradient-accent: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    --gradient-dark: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 8px rgba(15,23,42,0.08);
    --shadow-lg: 0 8px 30px rgba(30,58,138,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: #ffffff !important;
    color: #1a1a1a !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

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

.logo-icon {
    font-size: 28px;
    color: var(--primary);
}

.logo-text {
    font-size: 12px;
    letter-spacing: 3px;
    line-height: 1.3;
    color: var(--white);
    font-weight: 300;
}

.logo-text strong {
    font-weight: 800;
    font-size: 14px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 18px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-links li {
    list-style: none;
    white-space: nowrap;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a.nav-highlight {
    color: #2563EB;
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

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

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px !important;
}

.dropdown a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary) !important;
}

.dropdown a::after {
    display: none !important;
}

.arrow {
    font-size: 10px;
    margin-left: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-phone {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-phone:hover {
    color: var(--primary);
}

.phone-icon {
    margin-right: 4px;
}

.nav-cta {
    background: var(--gradient);
    color: var(--dark) !important;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 23, 0.55) 0%,
        rgba(10, 14, 23, 0.3) 50%,
        rgba(10, 14, 23, 0.55) 100%
    );
    z-index: 2;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.10), transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(96, 165, 250, 0.08), transparent 50%);
    z-index: 0;
    animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--primary-glow);
}

.btn-glow {
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-play {
    font-size: 10px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

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

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    display: inline;
}

.stat-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll span {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* ========================================
   CLIENTS BANNER
   ======================================== */
.clients-banner {
    background: var(--dark-3);
    padding: 30px 0;
    overflow: hidden;
    color: var(--white);
}

.clients-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-500);
    margin-bottom: 20px;
    font-weight: 600;
}

.clients-scroll {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scrollClients 20s linear infinite;
    width: max-content;
}

.client-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-500);
    opacity: 0.5;
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--gradient);
    transform: translateY(-50%);
}

.section-tag-light {
    color: var(--primary);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
}

.section-subtitle-light {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
}

.section-header {
    margin-bottom: 60px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 120px 0;
    background: var(--dark);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray-500);
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 500px;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-img-1 {
    grid-row: 1 / 3;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
}

.img-placeholder span {
    font-size: 40px;
}

.img-placeholder p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-img-3 {
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-badge {
    text-align: center;
    color: var(--dark);
}

.exp-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--dark-2);
    color: var(--white);
}

.section-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.92);
}

.products-section .container {
    position: relative;
    z-index: 2;
}

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

.product-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.product-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.product-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.product-link:hover {
    letter-spacing: 1px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 120px 0;
    background: var(--dark);
    color: var(--white);
}

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

.service-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.service-card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-large:hover {
    background: var(--dark-2);
}

.service-card-large h3 {
    color: var(--white);
}

.service-card-large p {
    color: rgba(255,255,255,0.6);
}

.service-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.15);
    position: absolute;
    top: 16px;
    right: 24px;
}

.service-icon-lg {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.service-link:hover {
    letter-spacing: 1px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.88);
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

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

.stat-card {
    padding: 20px;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-number-lg {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    display: inline;
}

.stat-percent {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label-lg {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    font-weight: 500;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--dark-2);
    color: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 60px;
    color: rgba(37, 99, 235, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
}

.testimonial-author strong {
    font-size: 14px;
    display: block;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ========================================
   LOCATIONS
   ======================================== */
.locations-section {
    padding: 120px 0;
    background: var(--white);
}

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

.location-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.location-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.location-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.location-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.location-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 107, 53, 0.1), transparent 50%);
    animation: ctaPulse 6s ease-in-out infinite alternate;
}

@keyframes ctaPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
}

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

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 120px 0;
    background: var(--dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    padding: 10px 20px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

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

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.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-glow);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255,255,255,0.6);
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
}

.footer-bottom a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

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

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 20px;
        gap: 8px;
        border-bottom: 2px solid var(--primary);
        z-index: 999;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 12px 16px;
        border-radius: 8px;
        display: block;
    }

    .nav-links a:hover {
        background: var(--dark-3);
    }

    .nav-links .has-dropdown .dropdown {
        position: static;
        display: none;
        background: var(--dark-3);
        border-radius: 8px;
        margin-top: 4px;
    }

    .nav-links .has-dropdown:hover .dropdown,
    .nav-links .has-dropdown:focus-within .dropdown {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .service-card-large {
        grid-column: auto;
        grid-row: auto;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-grid {
        height: 300px;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .products-grid,
    .testimonials-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-right {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   LIGHT MINIMALIST THEME OVERRIDES
   Inspired by dev27.adikprod.com
   ======================================== */

/* Global body reset — fond off-white avec nuance bleu */
body, html {
    background: #F8FAFC !important;
    color: #0F172A !important;
}

/* Navigation — light avec tint bleu */
.navbar {
    background: rgba(248, 250, 252, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(37, 99, 235, 0.06) !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.nav-logo img {
    height: 60px !important;
    width: auto;
}

.nav-logo,
.nav-links a,
.nav-phone {
    color: #1a1a1a !important;
}

.nav-links a {
    color: #1a1a1a !important;
    opacity: 0.85;
}

.nav-links a:hover {
    color: #1E3A8A !important;
    opacity: 1;
}

.nav-links a::after {
    background: #1E3A8A !important;
}

.dropdown {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
}

.dropdown a {
    color: #1a1a1a !important;
    opacity: 0.85;
}

.dropdown a:hover {
    background: #EFF6FF !important;
    color: #1E3A8A !important;
    opacity: 1;
}

.logo-text,
.logo-text strong {
    color: #1a1a1a !important;
}

.logo-icon {
    color: #1E3A8A !important;
}

.nav-cta {
    background: #1E3A8A !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.nav-cta:hover {
    background: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(50, 55, 60, 0.3) !important;
}

.nav-toggle span {
    background: #1a1a1a !important;
}

/* Hero — light with subtle video/bg */
.hero {
    background: #ffffff !important;
}

/* Overlay sombre par defaut — ne PAS utiliser sur hero-drone (qui a son propre overlay sombre) */
.hero-video-overlay:not(.hero-video-overlay-strong) {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(30, 58, 138, 0.45) 50%,
        rgba(15, 23, 42, 0.6) 100%
    ) !important;
}

.hero-gradient-bg {
    background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235, 0.06), transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(50, 55, 60, 0.04), transparent 50%) !important;
}

.hero-badge {
    background: rgba(37,99,235, 0.1) !important;
    border: 1px solid rgba(37,99,235, 0.3) !important;
    color: #2563EB !important;
}

.badge-dot {
    background: #2563EB !important;
}

.hero-title {
    color: #1a1a1a !important;
    font-size: clamp(32px, 5.5vw, 56px) !important;
    letter-spacing: -1.5px !important;
}

.text-gradient {
    background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-subtitle {
    color: #555 !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
}

.hero-stats {
    color: #1a1a1a !important;
}

.hero-stat-value {
    color: #1a1a1a !important;
}

.hero-stat-label {
    color: #555 !important;
}

.hero-stat-divider {
    background: #e5e7eb !important;
}

.particle {
    background: #2563EB !important;
    opacity: 0.3 !important;
}

/* Buttons — blue primary (match logo) */
.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E3A8A 100%) !important;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35) !important;
}

.btn-glow {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.22) !important;
}

.btn-outline {
    background: transparent !important;
    color: #1E3A8A !important;
    border: 2px solid #CBD5E1 !important;
    border-radius: 8px !important;
}

.btn-outline:hover {
    border-color: #2563EB !important;
    color: #2563EB !important;
    background: #EFF6FF !important;
}

.btn-accent {
    background: #2563EB !important;
    color: #ffffff !important;
}

.btn-accent:hover {
    background: #1E40AF !important;
}

/* Sections — alternating : fond clair legerement teinte bleu + contraste */
section,
.section,
.services,
.products,
.testimonials,
.stats,
.about,
.features,
.contact,
.cta,
.locations,
.gallery,
.why-us,
.process {
    background: #FFFFFF !important;
    color: #0F172A !important;
    padding: 100px 0 !important;
}

.section-alt,
.services-section,
.stats-section,
.features-section,
.testimonials-section {
    background: #F1F5F9 !important;
}

/* Alternate every other section for visual rhythm — contraste bleu-gris */
section:nth-of-type(even) {
    background: #F1F5F9 !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

section:nth-of-type(odd) {
    background: #FFFFFF !important;
}

.hero,
.hero-section {
    background: #FFFFFF !important;
}

/* Section headers — plus de contraste */
.section-title,
.section-header h2,
section h1,
section h2,
section h3,
section h4 {
    color: #0F172A !important;
}

.section-subtitle,
.section-header p,
section p {
    color: #334155 !important;
}

/* Cards — blanc avec bordure bleu-gris + ombre plus marquee */
.card,
.product-card,
.service-card,
.testimonial-card,
.feature-card,
.stat-card,
.location-card,
.pricing-card,
.team-card,
.blog-card {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #DBEAFE !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(37, 99, 235, 0.04) !important;
    padding: 24px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card:hover,
.product-card:hover,
.service-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.location-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-6px);
    border-color: #93C5FD !important;
}

.card h3,
.card h4,
.product-card h3,
.product-card h4,
.service-card h3,
.service-card h4,
.feature-card h3,
.feature-card h4 {
    color: #1a1a1a !important;
}

.card p,
.product-card p,
.service-card p,
.feature-card p,
.testimonial-card p {
    color: #555 !important;
}

/* Stats */
.stat-value,
.stat-number {
    color: #1a1a1a !important;
}

.stat-label {
    color: #555 !important;
}

/* Forms */
input, textarea, select {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #1E3A8A !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(50, 55, 60, 0.1) !important;
}

/* Scope: ne s'applique PAS aux toolbars/panneaux dark du simulateur */
label:not(.sim-tool-check):not(.sim-opt-check):not(.sim-opt-section) {
    color: #1a1a1a;
}
.sim-toolbar label,
.sim-tool-options label,
.sim-tool-bays label {
    color: #ffffff !important;
}

/* Footer */
.footer,
footer {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

.footer a,
footer a {
    color: rgba(255,255,255,0.8) !important;
}

.footer a:hover,
footer a:hover {
    color: #2563EB !important;
}

.footer h3,
.footer h4,
footer h3,
footer h4 {
    color: #ffffff !important;
}

.footer p,
footer p {
    color: rgba(255,255,255,0.7) !important;
}

.footer-bottom,
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.5) !important;
}

/* Badges & tags */
.badge,
.tag,
.pill {
    background: rgba(37,99,235, 0.12) !important;
    color: #1E40AF !important;
    border: 1px solid rgba(37,99,235, 0.3) !important;
    border-radius: 50px !important;
    padding: 6px 14px !important;
}

/* CTA section — fond bleu profond pour rompre le blanc */
.cta-section,
.cta {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%) !important;
    color: #FFFFFF !important;
}

.cta-section h2,
.cta h2 {
    color: #FFFFFF !important;
}

.cta-section p,
.cta p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-section .btn-primary,
.cta .btn-primary {
    background: #FFFFFF !important;
    color: #1E3A8A !important;
}

.cta-section .btn-primary:hover,
.cta .btn-primary:hover {
    background: #EFF6FF !important;
    color: #1E3A8A !important;
}

.cta-section .btn-outline,
.cta .btn-outline {
    color: #FFFFFF !important;
    border-color: rgba(255,255,255,0.6) !important;
}

.cta-section .btn-outline:hover,
.cta .btn-outline:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* Override any inline dark backgrounds via generic selectors */
[style*="background:#0A0E17"],
[style*="background: #0A0E17"],
[style*="background-color:#0A0E17"],
[style*="background-color: #0A0E17"],
[style*="background:#111827"],
[style*="background: #111827"],
[style*="background:#1F2937"],
[style*="background: #1F2937"] {
    background: #ffffff !important;
}

[style*="color:#fff"],
[style*="color: #fff"],
[style*="color:#ffffff"],
[style*="color: #ffffff"],
[style*="color:white"],
[style*="color: white"] {
    color: #1a1a1a !important;
}

/* Exception: keep text white on dark elements (footer, btn-primary) */
.footer [style*="color:#fff"],
.footer [style*="color: #fff"],
.footer [style*="color:white"],
footer *,
.btn-primary,
.nav-cta,
.btn-primary *,
.nav-cta * {
    color: #ffffff !important;
}

/* Subpage hero — fond bleu profond pour cohérence avec logo */
.page-hero,
.subpage-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #2563EB 100%) !important;
    color: #FFFFFF !important;
    padding: 160px 0 100px !important;
    position: relative !important;
    overflow: hidden !important;
}

.page-hero::before,
.subpage-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(96, 165, 250, 0.25), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(37, 99, 235, 0.2), transparent 55%) !important;
    pointer-events: none !important;
}

.page-hero > *,
.subpage-hero > * {
    position: relative !important;
    z-index: 1 !important;
}

.page-hero h1,
.subpage-hero h1 {
    color: #FFFFFF !important;
    font-size: 52px !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
}

.page-hero p,
.subpage-hero p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 20px !important;
}

/* Lists and content */
ul, ol {
    color: #1a1a1a;
}

li {
    color: #1a1a1a;
}

a {
    color: #1E3A8A;
}

a:hover {
    color: #2563EB;
}

/* Typography polish */
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a !important;
    font-family: 'Inter', -apple-system, sans-serif;
}

h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: 24px; font-weight: 700; }

p {
    line-height: 1.7;
}

/* Product grid polish */
.products-grid,
.services-grid,
.features-grid,
.testimonials-grid,
.locations-grid {
    gap: 24px !important;
}

/* Remove heavy gradients & overlays on light theme */
.hero-particles {
    opacity: 0.4;
}


/* ========================================
   MOBILE FIXES COMPLETS — AVRIL 2026
   Optimise pour iPhone (375px), Android (360-420px), et plus petits (<360px)
   ======================================== */

/* === BREAKPOINT TABLETTE & MOBILE (≤768px) === */
@media (max-width: 768px) {

    /* Container : moins de padding sur mobile */
    .container {
        padding: 0 16px !important;
    }

    /* Logo plus petit dans navbar */
    .nav-logo img {
        height: 44px !important;
    }

    /* Nav-right : afficher SEULEMENT le numero de telephone (pas le bouton soumission) */
    .nav-right {
        display: flex !important;
        gap: 6px;
        align-items: center;
    }
    .nav-right .nav-cta {
        display: none !important;
    }
    .nav-phone {
        font-size: 13px !important;
        padding: 8px 10px !important;
        background: #2563EB !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        white-space: nowrap;
    }
    .nav-phone .phone-icon,
    .nav-phone span {
        color: #ffffff !important;
    }

    /* Hamburger menu plus visible */
    .nav-toggle {
        display: flex !important;
        margin-left: 8px;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 8px;
        padding: 8px;
    }
    .nav-toggle span {
        background: #1E3A8A !important;
    }

    .nav-container {
        padding: 8px 16px !important;
        gap: 8px;
    }

    /* Hero — titre plus petit, padding ajuste */
    .hero {
        min-height: auto !important;
        padding: 100px 0 60px !important;
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 16px !important;
    }

    .hero-subtitle,
    .hero p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
        padding: 0 8px;
    }

    /* Hero buttons : pleine largeur + stack vertical */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 8px;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100% !important;
        min-height: 52px !important;
        font-size: 15px !important;
        justify-content: center;
    }

    /* Stats hero : 1 col */
    .hero-stats {
        gap: 16px !important;
        margin-top: 24px !important;
    }
    .hero-stat-num,
    .hero-stat-value {
        font-size: 32px !important;
    }
    .hero-stat-label {
        font-size: 12px !important;
    }
    .hero-stat-divider {
        display: none !important;
    }

    /* Sections : padding reduit */
    section {
        padding: 50px 0 !important;
    }

    .section-tag {
        font-size: 12px !important;
    }

    .section-header h2,
    h2 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    h3 {
        font-size: 20px !important;
    }

    /* Cards (produits, services, etc.) : pleine largeur + padding reduit */
    .product-card,
    .service-card,
    .stat-card,
    .testimonial-card,
    .feature-card,
    .location-card {
        padding: 20px !important;
    }

    /* Contact form : champs pleine largeur */
    .contact-form {
        padding: 0 !important;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* iOS evite zoom auto */
        padding: 12px !important;
    }
    .btn-full {
        min-height: 52px !important;
        font-size: 15px !important;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px !important;
    }
    .footer-grid {
        gap: 30px !important;
    }
    .footer-brand p,
    .footer-links a,
    .footer-contact p {
        font-size: 14px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }

    /* Realisations / projets : grille 1 col */
    .realisations-grid,
    .projects-grid {
        grid-template-columns: 1fr !important;
    }

    /* About section */
    .about-image-grid {
        height: 220px !important;
    }
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* === MOBILE STANDARD (≤480px) === */
@media (max-width: 480px) {

    .container {
        padding: 0 14px !important;
    }

    .nav-logo img {
        height: 38px !important;
    }

    .nav-phone {
        font-size: 12px !important;
        padding: 7px 9px !important;
    }

    /* Hero ultra compact */
    .hero {
        padding: 90px 0 50px !important;
    }
    .hero-title {
        font-size: 26px !important;
    }
    .hero-subtitle,
    .hero p {
        font-size: 14px !important;
    }

    .hero-stat-num,
    .hero-stat-value {
        font-size: 26px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    /* Toutes les grilles 1 col */
    .products-grid,
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Boutons plus tactiles */
    .btn {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

/* === TRES PETITS (≤360px) === */
@media (max-width: 360px) {
    .nav-logo img {
        height: 34px !important;
    }
    .nav-phone {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }
    .hero-title {
        font-size: 22px !important;
    }
    h2 {
        font-size: 20px !important;
    }
}

/* === CHAT WIDGET MOBILE === */
@media (max-width: 768px) {
    .chat-widget,
    #chatWidget {
        bottom: 16px !important;
        right: 16px !important;
    }
    .chat-window,
    #chatWindow {
        width: calc(100vw - 24px) !important;
        max-width: 380px !important;
        right: 12px !important;
        left: auto !important;
        bottom: 80px !important;
        max-height: 70vh !important;
    }
    .chat-toggle,
    #chatToggle {
        width: 56px !important;
        height: 56px !important;
    }
}

/* === EMPECHE OVERFLOW HORIZONTAL === */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    img, video, canvas, svg {
        max-width: 100% !important;
        height: auto;
    }
    table {
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }
}

/* ========================================
   MENU MOBILE — Lisibilite forcee
   Texte BLANC sur fond NOIR pour le menu hamburger
   ======================================== */

@media (max-width: 1024px) {
    /* Le menu hamburger ouvert : fond noir profond */
    .nav-links.mobile-open,
    .nav-links {
        background: #0F172A !important;
        border-top: 2px solid #2563EB !important;
        border-bottom: 3px solid #2563EB !important;
        padding: 16px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
    }

    /* Tous les liens du menu mobile : BLANC, gras, gros */
    .nav-links a,
    .nav-links li > a {
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
        display: block !important;
        background: rgba(255,255,255,0.04) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        margin-bottom: 4px !important;
    }

    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a:active {
        background: #2563EB !important;
        color: #ffffff !important;
        border-color: #2563EB !important;
    }

    /* Sous-menus deroulants (Produits, Services) */
    .nav-links .has-dropdown .dropdown {
        background: rgba(0,0,0,0.4) !important;
        border-radius: 8px !important;
        margin-top: 6px !important;
        padding: 8px !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
    }

    .nav-links .has-dropdown .dropdown a {
        color: #E2E8F0 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        padding: 10px 14px !important;
        margin-bottom: 2px !important;
        background: transparent !important;
        border: none !important;
    }

    .nav-links .has-dropdown .dropdown a:hover {
        background: #1E3A8A !important;
        color: #ffffff !important;
    }

    /* Fleche du dropdown bien visible */
    .nav-links .has-dropdown > a .arrow,
    .nav-links .has-dropdown > a {
        color: #ffffff !important;
    }

    /* Bouton hamburger : barres blanches bien visibles */
    .nav-toggle span {
        background: #ffffff !important;
        height: 3px !important;
        border-radius: 2px;
    }

    .nav-toggle {
        background: #2563EB !important;
        border-radius: 8px !important;
        padding: 10px !important;
        width: 44px;
        height: 44px;
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
    }
}

/* ========================================
   ACCESSIBILITÉ — skip-to-content link
   ======================================== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: #1a1a1a;
    color: #ffffff !important;
    padding: 12px 20px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease-in-out;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #2563EB;
}

/* ========================================
   MOBILE — Footer link spacing + dropdown open state
   ======================================== */
@media (max-width: 768px) {
    .footer a {
        padding: 8px 0 !important;
        display: inline-block !important;
    }
}
@media (max-width: 1024px) {
    .nav-links .has-dropdown.open .dropdown {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

/* ========================================
   ACCESSIBILITÉ — prefers-reduced-motion
   Désactive les vidéos décoratives autoplay (gain perf mobile + a11y)
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    section video[autoplay] {
        display: none !important;
    }
    .hero video[autoplay] {
        display: block !important;
    }
}
