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

:root {
    --deep-blue: #0A2342;
    --sky-blue: #87CEEB;
    --peach: #FFD7BA;
    --pastel-yellow: #FFF4B8;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
}

body {
    font-family: 'MADE Outer Sans Thin PERSONAL USE', 'Montserrat', sans-serif;
    color: var(--deep-blue);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 350;
}

h1 {
    font-family: 'Italiana', serif;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 4px;
}

h2, h3, h4, h5, h6, p, a, label, input, textarea, select, button {
    font-family: 'MADE Outer Sans Thin PERSONAL USE', 'Montserrat', sans-serif;
    font-weight: 350;
}

/* Navigation Arrondie (style Esther Perel) */
nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    max-width: 90%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    background: rgba(10, 35, 66, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 8px 32px rgba(10, 35, 66, 0.3);
    border: 2px solid #FFD7BA;
}

nav.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(10, 35, 66, 0.15);
    border: 2px solid #FFD7BA;
}

.logo {
    font-family: 'Italiana', serif;
    font-size: 1.3rem;
    font-weight: 100;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s ease;
}

nav.scrolled .logo {
    color: var(--deep-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 350;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding: 0.5rem 0;
}

nav.scrolled .nav-links a {
    color: var(--deep-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sky-blue);
    transition: width 0.3s ease;
}

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

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

.rdv-button {
    background: var(--sky-blue);
    color: var(--deep-blue) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.rdv-button::after {
    display: none;
}

.rdv-button:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--deep-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Video Overlay (filtre bleu) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.5) 0%, rgba(26, 77, 122, 0.5) 100%);
    z-index: 1;
}

/* Audio Control Button */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--sky-blue);
    color: var(--deep-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.audio-control:hover {
    transform: scale(1.1);
    background: var(--sky-blue);
    color: var(--white);
    box-shadow: 0 6px 30px rgba(135, 206, 235, 0.4);
}

.audio-control:active {
    transform: scale(0.95);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    font-weight: 100;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
    color: var(--white);
    display: block;
    position: relative;
    z-index: 100;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sky-blue);
    font-weight: 350;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--sky-blue);
    color: var(--deep-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 350;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid var(--sky-blue);
}

.cta-button:hover {
    background: transparent;
    color: var(--sky-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.3);
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: var(--white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 35, 66, 0.15);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--deep-blue);
    letter-spacing: 3px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: #555;
}

.highlight {
    background: linear-gradient(120deg, var(--pastel-yellow) 0%, var(--peach) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: 400;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 5rem;
    color: #666;
    font-weight: 350;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(10, 35, 66, 0.1);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 2rem;
    margin: 2rem 2.5rem 1.5rem;
    color: var(--deep-blue);
    letter-spacing: 1px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin: 0 2.5rem 2rem;
}

.service-link {
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: 350;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 2.5rem 2rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Offerings Section */
.offerings {
    padding: 8rem 5%;
    background: var(--deep-blue);
    color: var(--white);
}

.offerings-grid {
    max-width: 1400px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.offering-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(135, 206, 235, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.offering-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--sky-blue);
    transform: translateY(-5px);
}

.offering-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.offering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offering-card:hover .offering-image img {
    transform: scale(1.1);
}

.offering-card h3 {
    font-size: 1.8rem;
    margin: 2rem 2rem 1rem;
    color: var(--sky-blue);
    letter-spacing: 1px;
}

.offering-card p {
    opacity: 0.9;
    margin: 0 2rem 1.5rem;
}

/* Contact Form Section */
.contact {
    padding: 8rem 5%;
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--deep-blue);
    letter-spacing: 2px;
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.contact-detail {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-detail a {
    color: var(--sky-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--deep-blue);
}

/* Styled Form */
.styled-form {
    width: 100%;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 350;
    color: var(--deep-blue);
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'MADE Outer Sans Thin PERSONAL USE', 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 350;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--deep-blue);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
    transform: translateY(-2px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230A2342' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--white);
    color: var(--deep-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1.3rem 2rem;
    background: var(--deep-blue);
    color: var(--white);
    border: 2px solid var(--deep-blue);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 350;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.submit-button:hover {
    background: var(--sky-blue);
    border-color: var(--sky-blue);
    color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(10, 35, 66, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--sky-blue);
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    display: block;
    cursor: default;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    display: block;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--sky-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 968px) {
    nav {
        top: 1rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: 4px;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .nav-links li:not(:last-child):not(:nth-child(1)):not(:nth-child(2)) {
        display: none;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Appointment Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 35, 66, 0.95);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    margin: 3% auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    font-weight: 350;
}

.close-modal:hover {
    color: var(--deep-blue);
}

/* Form validation visual feedback */
.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #4CAF50;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ff5252;
}
