/**
 * WATERRE - Styles principaux
 * Design system et composants
 * Version: 1.0
 */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Palette principale */
    --blue-deep: #003B5C;
    --blue-deep-rgb: 0, 59, 92;
    --turquoise: #00B8C4;
    --turquoise-rgb: 0, 184, 196;
    --yellow-solar: #F4B400;
    --yellow-solar-rgb: 244, 180, 0;
    --white: #FFFFFF;
    --gray-technical: #2E3A42;
    --gray-technical-rgb: 46, 58, 66;
    
    /* Couleurs étendues */
    --blue-light: #E8F4FD;
    --blue-medium: #005B8C;
    --turquoise-light: #E0F7FA;
    --turquoise-dark: #0097A7;
    --yellow-light: #FFF8E1;
    --gray-light: #F5F7FA;
    --gray-medium: #8B95A1;
    --gray-dark: #1A2127;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Tailles de police */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 2rem;      /* 32px */
    --text-4xl: 2.5rem;    /* 40px */
    --text-5xl: 3.5rem;    /* 56px */
    --text-6xl: 4.5rem;    /* 72px */
    
    /* Espacement */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Bordures */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow-blue: 0 0 30px rgba(0, 59, 92, 0.3);
    --shadow-glow-turquoise: 0 0 30px rgba(0, 184, 196, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 600ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
    
    /* Layout */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    --header-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-technical);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-deep);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue-deep);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.water-drop-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.water-drop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 40px;
    background: var(--turquoise);
    border-radius: 50% 0 50% 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: dropPulse 1.5s ease-in-out infinite;
}

.water-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid var(--turquoise);
    border-radius: 50%;
    animation: rippleExpand 1.5s ease-out infinite;
    opacity: 0;
}

@keyframes dropPulse {
    0%, 100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(45deg) scale(1.1); }
}

@keyframes rippleExpand {
    0% { width: 30px; height: 30px; opacity: 1; }
    100% { width: 70px; height: 70px; opacity: 0; }
}

.loading-text {
    font-size: var(--text-3xl);
    color: var(--white);
    letter-spacing: 0.2em;
    margin-bottom: 0.25rem;
}

.loading-subtext {
    font-size: var(--text-sm);
    color: var(--turquoise);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin: 2rem auto 0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--turquoise);
    width: 0%;
    border-radius: var(--radius-full);
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    position: relative;
}

.water-drop-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 24px;
    height: 32px;
    background: var(--turquoise);
    border-radius: 50% 0 50% 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.15em;
    transition: color var(--transition-fast);
}

.header.scrolled .logo-name {
    color: var(--blue-deep);
}

.logo-slogan {
    font-size: var(--text-xs);
    color: var(--turquoise);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.header.scrolled .nav-link {
    color: var(--gray-technical);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--turquoise);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-contact {
    background: var(--turquoise);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-full);
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-link-contact::after {
    display: none;
}

.nav-link-contact:hover {
    background: var(--turquoise-dark);
    transform: translateY(-2px);
}

/* WhatsApp button in nav */
.btn-whatsapp-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-whatsapp-nav:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: var(--white);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.header.scrolled .hamburger-line {
    background: var(--blue-deep);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background: var(--turquoise);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--blue-deep);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--turquoise);
    color: var(--white);
    border: 2px solid var(--turquoise);
}

.btn-primary:hover {
    background: var(--turquoise-dark);
    border-color: var(--turquoise-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-turquoise);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-sm);
}

.btn-whatsapp-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-whatsapp-full:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--blue-deep);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 59, 92, 0.85) 0%,
        rgba(0, 59, 92, 0.6) 50%,
        rgba(0, 184, 196, 0.3) 100%
    );
}

.video-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.video-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

/* Hero Fallback */
.hero-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/hero/hero-bg.jpg') center/cover no-repeat;
    display: none;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 59, 92, 0.85) 0%,
        rgba(0, 59, 92, 0.6) 50%,
        rgba(0, 184, 196, 0.3) 100%
    );
}

/* Particles Canvas */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#particlesCanvas {
    width: 100%;
    height: 100%;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
    margin-top: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--turquoise);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, var(--text-6xl));
    color: var(--white);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, var(--text-2xl));
    color: var(--turquoise);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.scroll-text {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.wave-separator svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
    position: relative;
}

.stat-icon {
    margin-bottom: var(--spacing-lg);
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.stat-item:hover .icon-circle {
    background: var(--turquoise-light);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-turquoise);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--blue-deep);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
}

.stat-suffix {
    font-size: var(--text-2xl);
    color: var(--turquoise);
}

.stat-label {
    font-size: var(--text-lg);
    color: var(--gray-technical);
    margin-bottom: var(--spacing-xs);
}

.stat-description {
    font-size: var(--text-sm);
    color: var(--gray-medium);
}

.stats-bg-decoration {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
}

.decoration-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--turquoise) 20%,
        var(--turquoise) 80%,
        transparent
    );
    opacity: 0.2;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* Service Card */
.service-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
}

.card-inner:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .card-image {
    transform: scale(1.1);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 59, 92, 0.8) 100%
    );
}

.card-content {
    padding: var(--spacing-xl);
    position: relative;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -32px;
    left: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}

.card-title {
    font-size: var(--text-xl);
    color: var(--blue-deep);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.card-description {
    font-size: var(--text-sm);
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--turquoise);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: 0.75rem;
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

.service-card:hover .card-shine {
    left: 100%;
}

/* ============================================
   REALISATIONS SECTION
   ============================================ */
.realisations-section {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.realisations-slider-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.realisations-swiper {
    padding: 3rem 1rem;
}

.realisations-swiper .swiper-slide {
    width: 350px;
    transition: transform var(--transition-base);
}

.realisation-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.realisation-image-wrapper {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.realisation-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.realisation-card:hover .realisation-image-wrapper img {
    transform: scale(1.1);
}

.realisation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 59, 92, 0.9), transparent);
    transform: translateY(0);
    transition: transform var(--transition-base);
}

.overlay-content {
    color: var(--white);
}

.realisation-region {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--turquoise);
    font-weight: 600;
}

.realisation-title {
    font-size: var(--text-lg);
    margin: 0.25rem 0;
}

.realisation-desc {
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* Swiper Navigation */
.realisations-swiper .swiper-button-prev,
.realisations-swiper .swiper-button-next {
    color: var(--turquoise);
    background: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.realisations-swiper .swiper-button-prev::after,
.realisations-swiper .swiper-button-next::after {
    font-size: 1.25rem;
    font-weight: bold;
}

.realisations-swiper .swiper-pagination-bullet {
    background: var(--turquoise);
    opacity: 0.5;
}

.realisations-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ============================================
   MADAGASCAR MAP SECTION
   ============================================ */
.madagascar-section {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-light);
}

.madagascar-map-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-2xl);
    align-items: start;
}

.map-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.madagascar-svg {
    width: 100%;
    height: auto;
}

.map-outline {
    transition: fill var(--transition-base);
}

.region-dot {
    fill: var(--turquoise);
    cursor: pointer;
    transition: all var(--transition-fast);
    filter: drop-shadow(0 0 6px rgba(0, 184, 196, 0.5));
}

.region-dot:hover {
    fill: var(--yellow-solar);
    r: 10;
    filter: drop-shadow(0 0 12px rgba(244, 180, 0, 0.8));
}

.region-label {
    font-size: 10px;
    fill: var(--gray-technical);
    pointer-events: none;
}

/* Pulse Rings */
.pulse-ring {
    fill: none;
    stroke: var(--turquoise);
    opacity: 0;
    animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
    0% { r: 8; opacity: 0.6; stroke-width: 3; }
    100% { r: 25; opacity: 0; stroke-width: 1; }
}

/* Region Info Panel */
.region-info-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.panel-region-name {
    font-size: var(--text-xl);
    color: var(--blue-deep);
}

.panel-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    transition: all var(--transition-fast);
}

.panel-close:hover {
    background: #ff4444;
    color: var(--white);
}

.panel-stat {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--blue-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.panel-stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--blue-deep);
}

.panel-stat-label {
    font-size: var(--text-sm);
    color: var(--gray-medium);
}

.panel-description {
    color: var(--gray-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* ============================================
   POURQUOI SECTION
   ============================================ */
.pourquoi-section {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.timeline-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--turquoise),
        var(--blue-deep)
    );
}

.timeline-item {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-turquoise);
    flex-shrink: 0;
}

.marker-number {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
}

.timeline-card {
    background: var(--white);
    border: 1px solid rgba(0, 184, 196, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.timeline-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--turquoise);
}

.timeline-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
}

.timeline-title {
    font-size: var(--text-xl);
    color: var(--blue-deep);
    margin-bottom: var(--spacing-sm);
}

.timeline-description {
    font-size: var(--text-sm);
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.timeline-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.timeline-list li {
    font-size: var(--text-xs);
    background: var(--blue-light);
    color: var(--blue-deep);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}

/* ============================================
   TEMOIGNAGES SECTION
   ============================================ */
.temoignages-section {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-light);
}

.temoignages-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.temoignages-swiper {
    padding: 1rem;
}

.temoignage-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.temoignage-quote {
    margin-bottom: var(--spacing-lg);
    color: var(--turquoise);
}

.temoignage-text {
    font-size: var(--text-lg);
    color: var(--gray-technical);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--turquoise);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--blue-deep);
}

.author-role {
    font-size: var(--text-sm);
    color: var(--gray-medium);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-form-wrapper {
    background: var(--gray-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-technical);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background: var(--white);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--gray-technical);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(0, 184, 196, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    display: none;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-feedback.error {
    display: block;
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-info-card {
    background: var(--blue-deep);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    color: var(--white);
}

.info-title {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--spacing-xl);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--turquoise);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-xs);
}

.info-value {
    font-size: var(--text-base);
    color: var(--white);
    font-weight: 500;
}

a.info-value:hover {
    color: var(--turquoise);
}

.info-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-lg) 0;
}

/* Map */
.contact-info-wrapper .map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-lg);
}

.footer-logo .logo-name {
    color: var(--white);
    font-size: var(--text-xl);
}

.footer-logo .logo-slogan {
    color: var(--turquoise);
    font-size: var(--text-xs);
}

.footer-description {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--turquoise);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--text-base);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--turquoise);
    padding-left: 0.25rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
}

.footer-contact svg {
    color: var(--turquoise);
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--turquoise);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: var(--text-sm);
}

.footer-madeby {
    font-size: var(--text-sm);
    color: var(--turquoise);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.invisible {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}