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

:root {
    --primary: #4c1d95;
    --secondary: #5b21b6;
    --accent: #8b5cf6;
    --background: #faf5ff;
    --surface: #ffffff;
    --text: #3b0764;
    --muted: #c4b5fd;
}

[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.main-nav {
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--accent);
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--surface);
    text-align: center;
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(59, 7, 100, 0.85);
    padding: 4rem 3rem;
    border-radius: 8px;
    max-width: 800px;
}

.hero h1 {
    color: var(--surface);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--muted);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--surface);
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--surface);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.services-grid,
.expertise-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card,
.expertise-item,
.value-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(76, 29, 149, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-alt .service-card,
.section-alt .value-card {
    background: var(--background);
}

.service-card:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 29, 149, 0.15);
}

.service-card img,
.value-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

.mistake-item {
    padding: 2rem;
    background: var(--background);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
}

.approach-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-number {
    background: var(--accent);
    color: var(--surface);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.contact-preview {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--background);
    border-radius: 8px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-item h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.page-header {
    background: var(--primary);
    color: var(--surface);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--surface);
}

.page-header p {
    color: var(--muted);
    font-size: 1.25rem;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.column-image img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(76, 29, 149, 0.2);
}

.cta-block {
    text-align: center;
    padding: 3rem;
    background: var(--background);
    border-radius: 8px;
}

.offering-detail {
    margin-bottom: 4rem;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(76, 29, 149, 0.1);
}

.offering-header {
    position: relative;
}

.offering-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.offering-header h2 {
    padding: 2rem;
    background: var(--surface);
}

.new-offering {
    border: 2px solid var(--accent);
}

.new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--surface);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.offering-content {
    padding: 2rem;
}

.offering-content ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.offering-content li {
    margin-bottom: 0.5rem;
}

.process-block {
    text-align: center;
}

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

.process-step {
    padding: 2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--muted);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.legal-content {
    background: var(--surface);
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2.5rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
}

.legal-text ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.siret {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-content {
    max-width: 700px;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.gradient-footer {
    background: linear-gradient(to bottom, transparent, var(--primary));
    color: var(--surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.footer-column h4 {
    color: var(--surface);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--muted);
}

.footer-column a:hover {
    color: var(--surface);
}

.footer-column p {
    color: var(--muted);
}

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

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--surface);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    color: var(--muted);
}

.cookie-content a {
    color: var(--surface);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .two-column-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}