:root {
    --primary: #d4a5a5;
    --primary-dark: #b88989;
    --secondary: #9db4a3;
    --accent: #f4e8d8;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #faf8f5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: width 0.3s ease;
}

.nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav a:not(.nav-cta):hover {
    color: var(--primary-dark);
}

.nav-cta {
    background: var(--primary-dark);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header-content {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav a {
        padding: 15px 30px;
        width: 100%;
        text-align: left;
    }
    
    .nav a:not(.nav-cta)::after {
        display: none;
    }
    
    .nav-cta {
        margin: 10px 30px;
        width: calc(100% - 60px);
        text-align: center;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.3), transparent 70%);
    z-index: 1;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.5);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-title i {
    color: var(--accent);
    margin-right: 15px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.15);
}

.cta-btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--white);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; top: 16px; }
    100% { opacity: 0; top: 8px; }
}

/* Mon Histoire */
.histoire {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.histoire-parallax {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    will-change: transform;
}

.histoire .container {
    position: relative;
    z-index: 1;
}

.histoire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.histoire-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.histoire-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.histoire-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
    color: var(--text-dark);
}

.histoire-text h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.histoire-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.histoire-text .highlight {
    color: var(--primary-dark);
    font-weight: 500;
}

/* Pour Qui */
.pour-qui {
    padding: 120px 0;
    background: var(--white);
}

.pour-qui h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
}

h2 i {
    margin-right: 10px;
    color: var(--primary-dark);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.card p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Déséquilibres */
.desequilibres {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--white), var(--bg-light));
}

.desequilibres h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px var(--shadow);
}

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.accordion-header i {
    margin-right: 10px;
    color: var(--primary-dark);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 30px 25px;
}

.accordion-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Mon Approche */
.approche {
    padding: 120px 0;
    background: var(--white);
}

.approche-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.approche-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
}

.approche-text .intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.benefits {
    list-style: none;
}

.benefits li {
    font-size: 1.1rem;
    padding: 15px 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.benefits li i {
    color: var(--secondary);
    margin-right: 10px;
}

.approche-visual {
    position: relative;
    height: 500px;
}

.approche-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    animation: float 6s ease-in-out infinite;
}

/* Formations */
.formations {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.formations-parallax {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    will-change: transform;
}

.formations .container {
    position: relative;
    z-index: 1;
}

.formations h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow);
}

.cert-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.cert-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.cert-card p {
    color: var(--text-light);
}

.specializations {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    z-index: 1;
}

.specializations p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Formules */
.formules {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.formules h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 3px solid var(--accent);
}

.badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.pricing-header h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-cta {
    text-align: center;
}

.cta-label {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cta-label i {
    margin-right: 8px;
    color: var(--primary-dark);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Fonctionnement */
.fonctionnement {
    padding: 120px 0;
    background: var(--white);
}

.fonctionnement h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 80px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px var(--shadow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--bg-light);
}

.testimonials h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}

/* CTA Final */
.cta-final {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

.cta-final h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
}

.cta-final p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn-large {
    display: inline-block;
    padding: 22px 55px;
    background: var(--white);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-btn-large i {
    margin-right: 10px;
}

.cta-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: var(--accent);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--text-dark);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary);
}

.footer-contact a:hover {
    color: var(--primary);
}

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

/* Responsive */
@media (max-width: 768px) {
    .histoire-grid,
    .approche-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        min-width: auto;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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