/* ============================================
   DOPAHÔ - STYLES CSS PERSONNALISÉS
   Complément à Bootstrap 5
   ============================================ */

:root {
    /* Palette de couleurs Dopahô */
    --color-primary: #2563eb;        /* Bleu santé - confiance, sérieux */
    --color-primary-dark: #1e40af;
    --color-primary-light: #3b82f6;
    --color-secondary: #10b981;      /* Vert doux - bien-être, croissance */
    --color-secondary-dark: #059669;
    --color-secondary-light: #34d399;
    
    /* Couleurs neutres */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   OVERRIDE BOOTSTRAP
   ============================================ */

:root {
    --bs-primary: var(--color-primary);
    --bs-primary-rgb: 37, 99, 235;
    --bs-secondary: var(--color-secondary);
    --bs-secondary-rgb: 16, 185, 129;
}

/* ============================================
   LIQUID GLASS GLOBAL SYSTEM
   ============================================ */

body {
    font-family: var(--font-primary);
    color: var(--color-gray-800);
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Liquid Glass Background pour tout le site */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: liquidBackground 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes liquidBackground {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-gray-900);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

.header {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 12px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    opacity: 1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-white);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* ============================================
   LIQUID GLASS BUTTONS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    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: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 1) 0%, rgba(30, 64, 175, 1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.5),
                0 0 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary,
.btn-outline-light {
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before,
.btn-outline-light::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: left 0.5s ease;
}

.btn-outline-primary:hover::before,
.btn-outline-light:hover::before {
    left: 100%;
}

.btn-outline-primary:hover,
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px -8px rgba(255, 255, 255, 0.2),
                0 0 20px rgba(255, 255, 255, 0.1);
}

/* ============================================
   SECTION DOPAHÔ SHOWCASE (GENESIS STYLE)
   ============================================ */

.dopaho-showcase-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Liquid Glass Background */
.liquid-glass-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: liquidMove 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.6) 0%, rgba(37, 99, 235, 0.2) 50%, transparent 100%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, rgba(16, 185, 129, 0.2) 50%, transparent 100%);
    bottom: -300px;
    right: -200px;
    animation-delay: 5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

.blob-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.15) 50%, transparent 100%);
    bottom: 10%;
    left: 20%;
    animation-delay: 15s;
}

@keyframes liquidMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

.dopaho-showcase-section .container {
    position: relative;
    z-index: 1;
}

/* Glass morphism effect for text containers */
.dopaho-showcase-section .col-lg-6:first-child {
    position: relative;
}

.dopaho-showcase-section .col-lg-6:first-child::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dopaho-showcase-section .col-lg-6:first-child:hover::after {
    opacity: 1;
}

.dopaho-showcase-title {
    font-size: 5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.dopaho-showcase-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--font-primary);
    color: var(--color-white);
    line-height: 1.4;
    opacity: 0.95;
}

.dopaho-showcase-description {
    font-size: 1.1rem;
    font-weight: 400;
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 90%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.dopaho-showcase-subtitle {
    position: relative;
    z-index: 2;
}

.dopaho-showcase-actions {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.dopaho-cta-btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dopaho-cta-btn::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: left 0.5s ease;
}

.dopaho-cta-btn:hover::before {
    left: 100%;
}

.dopaho-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.5),
                0 0 20px rgba(37, 99, 235, 0.3);
}

.btn-primary.dopaho-cta-btn {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline-light.dopaho-cta-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline-light.dopaho-cta-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.dopaho-features-preview {
    margin-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.dopaho-feature-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dopaho-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.dopaho-feature-item:hover::before {
    left: 100%;
}

.dopaho-feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px) translateY(-2px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dopaho-feature-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.dopaho-feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.dopaho-visual-wrapper {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.3));
}

.dopaho-visual-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.dopaho-visual-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dopaho-visual-image:hover::before {
    opacity: 1;
}

.dopaho-visual-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px -12px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(37, 99, 235, 0.4);
}

.dopaho-badge-wrapper {
    z-index: 2;
}

.dopaho-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.dopaho-badge::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: left 0.5s ease;
}

.dopaho-badge:hover::before {
    left: 100%;
}

.dopaho-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dopaho-badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    font-family: var(--font-primary);
}

.min-vh-90 {
    min-height: 90vh;
}

@media (max-width: 992px) {
    .dopaho-showcase-title {
        font-size: 3.5rem;
    }
    
    .dopaho-showcase-subtitle {
        font-size: 1.25rem;
    }
    
    .dopaho-showcase-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .dopaho-showcase-section {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .dopaho-showcase-title {
        font-size: 2.5rem;
    }
    
    .dopaho-showcase-subtitle {
        font-size: 1.1rem;
    }
    
    .dopaho-showcase-description {
        font-size: 0.95rem;
    }
    
    .dopaho-showcase-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .min-vh-90 {
        min-height: auto;
    }
    
    .dopaho-showcase-actions {
        flex-direction: column;
    }
    
    .dopaho-showcase-actions .btn {
        width: 100%;
    }
    
    .dopaho-features-preview {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .dopaho-showcase-title {
        font-size: 2rem;
    }
    
    .dopaho-showcase-subtitle {
        font-size: 1rem;
    }
    
    .dopaho-showcase-description {
        font-size: 0.9rem;
    }
    
    .dopaho-showcase-actions .btn {
        font-size: 0.9rem;
        padding: 0.625rem 1.5rem;
    }
    
    .dopaho-feature-item {
        padding: 0.5rem;
    }
    
    .dopaho-feature-item i {
        font-size: 1rem;
    }
    
    .dopaho-feature-item span {
        font-size: 0.8rem;
    }
    
    .dopaho-badge-wrapper {
        position: relative !important;
        bottom: auto !important;
        end: auto !important;
        padding: 1rem 0 0 0 !important;
        text-align: center;
    }
}

/* ============================================
   SECTION HERO
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
    z-index: 0;
    animation: heroLiquid 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroLiquid {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    display: block;
    min-height: 100vh;
}

.hero-bg-image.active {
    opacity: 0.4;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

@media (max-width: 768px) {
    .hero-section .container {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding: 1rem 0.75rem;
    }
}


.hero-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

.hero-visual img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

h1, h2, h3, h4, h5, h6 {
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

/* ============================================
   LIQUID GLASS CARDS SYSTEM
   ============================================ */

.problem-card,
.app-card,
.feature-card,
.audience-card,
.value-card,
.vision-card,
.team-card,
.blog-card,
.stat-card,
.security-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.problem-card::before,
.app-card::before,
.feature-card::before,
.audience-card::before,
.value-card::before,
.vision-card::before,
.team-card::before,
.blog-card::before,
.stat-card::before,
.security-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.problem-card:hover::before,
.app-card:hover::before,
.feature-card:hover::before,
.audience-card:hover::before,
.value-card:hover::before,
.vision-card:hover::before,
.team-card:hover::before,
.blog-card:hover::before,
.stat-card:hover::before,
.security-item:hover::before {
    left: 100%;
}

.problem-card:hover,
.app-card:hover,
.feature-card:hover,
.audience-card:hover,
.value-card:hover,
.vision-card:hover,
.team-card:hover,
.blog-card:hover,
.stat-card:hover,
.security-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(37, 99, 235, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.problem-card > *,
.app-card > *,
.feature-card > *,
.audience-card > *,
.value-card > *,
.vision-card > *,
.team-card > *,
.blog-card > *,
.stat-card > *,
.security-item > * {
    position: relative;
    z-index: 1;
}

.app-icon,
.feature-icon,
.value-icon,
.vision-icon,
.stat-icon {
    color: var(--color-primary);
}

.problem-icon {
    color: var(--color-gray-500);
}

/* ============================================
   SECTION APPLICATIONS
   ============================================ */

.app-card {
    border-left: 4px solid var(--color-primary);
}

.app-card ul {
    margin-top: 1rem;
}

.app-card ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SECTION STATISTIQUES
   ============================================ */

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

/* ============================================
   SECTION SÉCURITÉ
   ============================================ */

.security-item {
    padding: 1.5rem;
}

.security-icon {
    flex-shrink: 0;
}

/* ============================================
   SECTION ÉQUIPE
   ============================================ */

.team-photo img {
    border: 3px solid var(--color-primary);
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.partner-logo {
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.partnership-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* ============================================
   SECTION CONTACT
   ============================================ */

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-info-card-compact {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.contact-info-card-compact:hover::before {
    left: 100%;
}

.contact-info-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(37, 99, 235, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-info-card-compact > * {
    position: relative;
    z-index: 1;
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25),
                0 0 20px rgba(37, 99, 235, 0.2);
    color: rgba(255, 255, 255, 0.95);
    outline: none;
}

.contact-form .form-control option {
    background: var(--color-gray-900);
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-card {
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    color: var(--color-primary);
}

.social-links-large .social-link {
    transition: all 0.3s ease;
}

.social-links-large .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ============================================
   SECTION BLOG
   ============================================ */

.blog-image {
    overflow: hidden;
}

.blog-image img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.blog-meta {
    color: rgba(255, 255, 255, 0.7);
}

.blog-content p {
    color: rgba(255, 255, 255, 0.8);
}

.blog-meta {
    font-size: 0.875rem;
}

.blog-content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.blog-content p {
    flex-grow: 1;
}

/* ============================================
   SECTION CTA
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.3) 0%, transparent 50%);
    z-index: 0;
    animation: ctaLiquid 15s ease-in-out infinite;
}

@keyframes ctaLiquid {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2,
.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 500;
}

.btn-light:hover {
    background-color: var(--color-gray-100);
    color: var(--color-primary-dark);
}

.btn-outline-light {
    border-color: var(--color-white);
    color: var(--color-white);
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(10, 14, 39, 0.8) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: rgba(255, 255, 255, 0.95);
}

.footer p,
.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer a:hover {
    color: rgba(255, 255, 255, 1) !important;
    transform: translateX(3px);
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem !important;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .page-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-section .container {
        padding: 1.5rem 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    p, .lead {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Liquid Glass Mobile Adjustments */
    .liquid-blob {
        filter: blur(60px);
    }
    
    .blob-1, .blob-2, .blob-3, .blob-4 {
        width: 300px;
        height: 300px;
    }
    
    .apple-video-wrapper {
        border-radius: 20px;
    }
    
    .apple-video-caption {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        bottom: 1rem;
    }
    
    .problem-card,
    .app-card,
    .feature-card,
    .stat-card {
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.25rem !important;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }
    
    .page-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-actions .btn {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
    }
    
    .hero-section .container {
        padding: 1rem 0;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p, .lead {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Liquid Glass Small Mobile */
    .liquid-blob {
        filter: blur(40px);
        opacity: 0.2;
    }
    
    .blob-1, .blob-2, .blob-3, .blob-4 {
        width: 200px;
        height: 200px;
    }
    
    .apple-video-section {
        padding: 3rem 0;
    }
    
    .apple-video-caption {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .dopaho-showcase-title {
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .hero-actions .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.min-vh-75 {
    min-height: 75vh;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   LIQUID GLASS SECTIONS
   ============================================ */

.problem-section,
.applications-section,
.features-section,
.security-section,
.stats-section,
.about-lumaka-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.problem-section::before,
.applications-section::before,
.features-section::before,
.security-section::before,
.stats-section::before,
.about-lumaka-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: sectionLiquid 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sectionLiquid {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotate(2deg);
    }
}

.problem-section .container,
.applications-section .container,
.features-section .container,
.security-section .container,
.stats-section .container,
.about-lumaka-section .container {
    position: relative;
    z-index: 1;
}

.problem-section .lead,
.applications-section .lead,
.features-section .lead,
.security-section .lead,
.stats-section .lead,
.about-lumaka-section .lead {
    color: rgba(255, 255, 255, 0.8);
}

.problem-section .text-muted,
.applications-section .text-muted,
.features-section .text-muted,
.security-section .text-muted,
.stats-section .text-muted,
.about-lumaka-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Override Bootstrap bg classes */
.bg-light,
.bg-white {
    background: transparent !important;
}

/* ============================================
   APPLE STYLE VIDEO COMPONENT
   ============================================ */

.apple-video-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
}

.apple-video-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(37, 99, 235, 0.3);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.6),
                0 0 80px rgba(37, 99, 235, 0.4);
}

.apple-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
}

.apple-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    border-radius: 32px;
}

.apple-video-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

/* ============================================
   TEXT COLORS FOR DARK BACKGROUND
   ============================================ */

p,
.lead,
.text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus visible pour accessibilité */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
