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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #3a3a52;
    background: #ffffff;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Header */
header {
    background: #272952;
    border-bottom: 1px solid rgba(143, 148, 231, 0.2);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(39, 41, 82, 0.3);
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    position: relative;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
    z-index: 1001;
}

.logo-container {
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

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

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 41, 82, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

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

/* Hero Section */
.hero {
    background: #e3e8ff;
    padding: 180px 3rem 120px;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a3a52;
    border-bottom: 1px solid #e6e8f9;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.3;
    color: #3a3a52;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5a5a72;
    line-height: 1.8;
    font-weight: 300;
}

.hero-baseline {
    font-size: 1rem;
    font-style: italic;
    color: #7a7a92;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-info {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #5a5a72;
    font-weight: 300;
}

.separator {
    color: #8f94e7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    letter-spacing: 0.3px;
}

.cta-button.primary {
    background: #272952;
    color: white;
    border: 1px solid #272952;
}

.cta-button.primary:hover {
    background: #353a6e;
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: transparent;
    color: #272952;
    border: 1px solid #8f94e7;
}

.cta-button.secondary:hover {
    border-color: #272952;
    transform: translateY(-1px);
}

.cta-button.large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

.promo-banner {
    background: rgba(143, 148, 231, 0.12);
    color: #3a3a52;
    padding: 1rem 2rem;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #e6e8f9;
    margin-top: 3rem;
}

.promo-icon {
    font-size: 1.2rem;
}

.promo-text {
    font-size: 0.95rem;
    font-weight: 300;
}

.promo-text strong {
    font-weight: 500;
}

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

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #3a3a52;
    font-weight: 300;
    letter-spacing: -0.3px;
}

.section-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #7a7a92;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Services Grid */
#services {
    background: #e3e8ff;
    border-top: 1px solid #e6e8f9;
    border-bottom: 1px solid #e6e8f9;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border: 1px solid #e6e8f9;
    border-radius: 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: #8f94e7;
    box-shadow: 0 2px 12px rgba(143, 148, 231, 0.25);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 42px;
    height: 42px;
    background: #e3e8ff;
    color: #272952;
    border-radius: 0;
    border: 1px solid #e6e8f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.service-card:hover .service-icon {
    background: #272952;
    border-color: #272952;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #3a3a52;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.service-card p {
    color: #7a7a92;
    line-height: 1.8;
    font-weight: 300;
    font-size: 0.95rem;
}

/* Spécialités Section */
.specialites {
    background: #e3e8ff;
    border-top: 1px solid #e6e8f9;
    border-bottom: 1px solid #e6e8f9;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.specialites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.specialite-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 2px solid #e6e8f9;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.specialite-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.specialite-card:hover {
    border-color: #5B9BD5;
    box-shadow: 0 8px 25px rgba(91, 155, 213, 0.15);
    transform: translateY(-5px);
}

.specialite-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.specialite-icon {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialite-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.specialite-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: #3a3a52;
    font-weight: 600;
}

.specialite-card p {
    color: #6a6a82;
    line-height: 1.7;
}

/* Formules */
.formules {
    background: #272952;
    color: white;
}

.formules h2 {
    color: white;
}

.formules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.formule-card {
    background: rgba(143, 148, 231, 0.08);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(143, 148, 231, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.formule-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.formule-card:hover {
    background: rgba(143, 148, 231, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.formule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.formule-header h3 {
    font-size: 1.5rem;
    color: white;
}

.formule-badge {
    background: rgba(143, 148, 231, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.formule-badge.secondary {
    background: rgba(143, 148, 231, 0.15);
}

.formule-card > p {
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.formule-avantages {
    list-style: none;
}

.formule-avantages li {
    padding: 0.6rem 0;
    opacity: 0.95;
}

/* About */
.about {
    background: #ffffff;
    border-top: 1px solid #e6e8f9;
    border-bottom: 1px solid #e6e8f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text {
    font-size: 1.05rem;
    color: #4a4a62;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin-top: 1rem;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #272952;
    font-weight: bold;
}

.about-image {
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-placeholder {
    background: #272952;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.about-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-placeholder p {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.about-placeholder span {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e6e8f9;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e6e8f9;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-label {
    color: #6a6a82;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #272952;
    line-height: 1.5;
}

/* Contact */
.contact-container {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.2rem;
    color: #4a4a62;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: #e3e8ff;
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid #e6e8f9;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    border-color: #5B9BD5;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(91, 155, 213, 0.15);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: #272952;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    background: #353a6e;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: #272952;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-link {
    display: inline-block;
    color: #272952;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #272952;
    border-radius: 6px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    word-break: break-all;
    max-width: 100%;
}

.contact-link:hover {
    background: #272952;
    color: white;
    transform: scale(1.05);
}

.cta-final {
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: #272952;
    border-radius: 12px;
    color: white;
}

.cta-question {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: #272952;
    color: #e6e8f9;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-info p:first-child {
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-direction: column;
}

.footer-social-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.social-link {
    width: auto;
    height: auto;
    background: rgba(143, 148, 231, 0.12);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: #353a6e;
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(143, 148, 231, 0.2);
    text-align: center;
    opacity: 0.8;
}

/* Animations */
.fade-in {
    animation: fadeInUp 1s ease-out;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0 1.5rem;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(39, 41, 82, 0.15);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
        color: #272952;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        color: #272952;
    }

    .hero {
        padding: 120px 1.5rem 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .cta-button {
        width: 100%;
    }

    section {
        padding: 4rem 1.5rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 300px;
    }

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

    .services-grid,
    .specialites-grid,
    .formules-container,
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-social {
        align-items: center;
        justify-content: center;
    }
}
