/* --- Variables & Configuration --- */
:root {
    /* Nouvelle Palette Premium */
    --primary: #0066FF;
    --primary-dark: #004ecc;
    --secondary: #10B981;
    --dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;
    
    /* Gradients Modernes */
    --gradient-1: linear-gradient(135deg, #0066FF 0%, #60A5FA 100%);
    --gradient-2: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-3: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    --gradient-text: linear-gradient(90deg, #0066FF, #10B981);
    
    /* Font */
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: var(--font-main);
    letter-spacing: -0.5px;
}

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

.bg-light-alt { background-color: var(--bg-light-alt); }
.bg-soft-primary { background-color: rgba(0, 102, 255, 0.1); }
.bg-soft-success { background-color: rgba(16, 185, 129, 0.1); }

/* --- Navbar Glassmorphism --- */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
}

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

.brand-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    margin: 0 12px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* --- Language Switcher --- */
.lang-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1040;
}
#lang-btn {
    font-family: var(--font-main);
    transition: 0.3s;
}
#lang-btn:hover {
    background: var(--primary);
    color: white;
}

/* --- Buttons & Inputs --- */
.btn-gradient {
    background: var(--gradient-1);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.25);
}

.lift-on-hover { transition: transform 0.3s, box-shadow 0.3s; }
.lift-on-hover:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }

/* --- Hero Section --- */
.hero-section {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
    overflow: hidden;
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}
.blob-1 { top: -10%; right: -10%; width: 600px; height: 600px; background: #bfdbfe; }
.blob-2 { bottom: 0%; left: -10%; width: 500px; height: 500px; background: #d1fae5; animation-delay: -5s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-20px, 30px) scale(1.1); }
}

.hero-img { border-radius: 30px; }

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.6);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Cards --- */
.section-padding { padding: 100px 0; }

.service-card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover, .service-card.active {
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transform: translateY(-10px);
    border-color: transparent;
}

.icon-box-lg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.gradient-1 { background: var(--gradient-1); box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2); }
.gradient-2 { background: var(--gradient-2); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2); }
.gradient-3 { background: var(--gradient-3); box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2); }

.read-more {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    transition: 0.3s;
}
.read-more:hover { color: var(--primary); }

/* --- Appointment & Map --- */
.overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.booking-card {
    border: 1px solid rgba(0,0,0,0.05);
}

/* Map specific */
.map-container iframe {
    filter: grayscale(0.2) contrast(1.1); /* Slightly custom map look */
    transition: filter 0.3s;
}
.map-container iframe:hover {
    filter: grayscale(0);
}

.contact-box {
    transition: transform 0.3s;
}
.contact-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
}

/* --- WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* --- Animations Utility --- */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.visible { opacity: 1; transform: translate(0); }

/* Mobile Tweaks */
@media (max-width: 991px) {
    .hero-section { text-align: center; padding-top: 100px; }
    .hero-img { margin-top: 50px; }
    .floating-badge { left: 50%; transform: translateX(-50%); bottom: -20px; width: 90%; }
    @keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
    .lang-switch-wrapper { top: 15px; right: 60px; } /* Move left of toggler */
}