@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --light: #f8fafc;
    --accent: #fbbf24;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-3: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #1e40af 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeOut 0.5s ease-out 2s forwards;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo img {
    width: 180px;
    height: auto;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Navigation Ultra Luxe */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo {
    display: block;
    transition: all 0.4s ease;
}

.logo img {
    width: 115px;
    height: auto;
    transition: transform 0.4s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--light);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-3);
    transition: width 0.4s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

.nav-cta {
    background: var(--gradient-2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* Hero Section Ultra Moderne */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><pattern id="dots" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(56, 189, 248, 0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated Background Orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
}

.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
    top: -300px;
    left: -300px;
}

.hero::after {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    bottom: -400px;
    right: -400px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-light);
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative;
    padding-left: 50px;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: var(--gradient-3);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--light);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-content h1 .highlight {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(248, 250, 252, 0.9);
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn-luxury {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-luxury:hover::before {
    width: 300px;
    height: 300px;
}

.btn-luxury:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-light);
    transition: all 0.4s ease;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 700px;
    perspective: 1000px;
}

.luxury-card {
    position: absolute;
    background: rgba(248, 250, 252, 0.08);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--light);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.luxury-card:hover::before {
    opacity: 1;
}

.luxury-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    border-color: rgba(56, 189, 248, 0.3);
}

.card-1 {
    top: 50px;
    left: 0;
    width: 320px;
    animation: floatCard1 15s ease-in-out infinite;
}

.card-2 {
    top: 250px;
    right: 20px;
    width: 300px;
    animation: floatCard2 15s ease-in-out infinite;
    animation-delay: -5s;
}

.card-3 {
    bottom: 50px;
    left: 100px;
    width: 340px;
    animation: floatCard3 15s ease-in-out infinite;
    animation-delay: -10s;
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(2deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, 20px) rotate(-2deg); }
    66% { transform: translate(30px, -40px) rotate(1deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, 40px) rotate(1deg); }
    66% { transform: translate(-30px, -20px) rotate(-2deg); }
}

.luxury-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.luxury-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.luxury-card p {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
}

/* Section Produits Améliorée */
.products-showcase {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.products-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-3);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    transform-origin: left;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.2);
}

.product-image-container {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-card:hover .product-image-container::after {
    opacity: 1;
}

.product-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: all 0.6s ease;
    filter: grayscale(0.2);
}

.product-card:hover .product-image {
    transform: scale(1.1);
    filter: grayscale(0);
}

.product-content {
    padding: 2rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* Section Témoignages Améliorée */
.testimonials {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.doctor-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.doctor-card:hover::before {
    top: -150%;
    left: -150%;
}

.doctor-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.doctor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-2);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

.doctor-photo::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-card:hover .doctor-photo::after {
    opacity: 1;
}

.doctor-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Section Espaces Améliorée */
.audience-section {
    padding: 8rem 3rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.audience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.audience-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-3);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    transform-origin: left;
}

.audience-card:hover::before {
    transform: scaleX(1);
}

.audience-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-light);
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.15);
    background: white;
}

.audience-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
    transition: all 0.4s ease;
}

.audience-card:hover .audience-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Services Section Améliorée */
.services {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    transition: height 0.6s ease;
}

.service-card:hover::after {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.15);
}

.service-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    opacity: 1;
    transform: scale(1.1);
}

/* Contact Section Améliorée */
.contact {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, var(--dark) 0%, #020617 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    font-weight: 300;
    border-radius: 15px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 250, 252, 0.5);
}

.form-group select option {
    background: var(--dark);
    color: white;
}

/* Section Headers Améliorées */
.section-header {
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding: 0 30px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--primary);
}

.section-subtitle::before {
    left: 0;
}

.section-subtitle::after {
    right: 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

/* Animations au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Responsive Design Amélioré */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        height: 500px;
        display: none;
    }

    .services-grid,
    .audience-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctors-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cta-container {
        flex-direction: column;
        width: 100%;
    }

    .btn-luxury,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border: 2px solid #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    max-width: 400px;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.info {
    border-left: 4px solid var(--primary);
}

.notification-content {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
}

.notification.success .notification-icon {
    background: #10b981;
}

.notification.error .notification-icon {
    background: #ef4444;
}

.notification.info .notification-icon {
    background: var(--primary);
}

.notification-message {
    flex: 1;
    color: var(--dark);
    font-weight: 400;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--dark);
}
