:root {
    /* Couleurs */
    --color-primary: #2b57ff;
    /* Bleu électrique */
    --color-accent-pink: #d936ff;
    /* Rose fuchsia */
    --color-accent-orange: #ff6b2b;
    /* Orange vif */
    --color-dark: #0c0b13;
    --color-text: #343145;
    --color-light-bg: #f8f9fa;
    --color-white: #ffffff;
    --color-gray: #eee;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Bordures */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Typographie */
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}


.btn-sm {
    font-size: 0.8rem;
    padding: 8px 16px;
}

section {
    padding: var(--spacing-lg) 0;
}

/* Utilities */
.text-primary {
    color: var(--color-primary);
}

.text-pink {
    color: var(--color-accent-pink);
}

.text-orange {
    color: var(--color-accent-orange);
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0;
    background-color: transparent;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark);
}

.logo span {
    color: var(--color-primary);
    transition: color 0.3s;
    /* Pour l'icône/lettre colorée */
}

.contact-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    margin-top: var(--spacing-md);
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.highlight {
    color: var(--color-primary);
    display: inline-block;
}

.hero p {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    font-size: 0.9rem;
    color: #555;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Process Section */
.process {
    background-color: var(--color-dark);
    padding: var(--spacing-lg) 0;
}

.process-card {
    /* background: var(--color-white);
    border-radius: var(--border-radius-lg); */
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.process-card:nth-child(even) {
    flex-direction: row-reverse;
}

.card-visual {
    flex: 1;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Styles spécifiques pour les visuels (formes abstraites) */
.visual-bg-blue {
    background-color: rgba(43, 87, 255, 0.1);
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.visual-bg-purple {
    background-color: rgba(217, 54, 255, 0.1);
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.visual-bg-orange {
    background-color: rgba(255, 107, 43, 0.1);
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.visual-shape {
    position: absolute;
}

/* Styles pour les visuels images */
.visual-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    /* ou cover selon préférence */
    border-radius: var(--border-radius-md);
}

.card-content {
    flex: 1;
    text-align: left;
}

.step-number {
    font-size: 5rem;
    /* Ajusté pour correspondre à l'image */
    font-weight: 700;
    color: var(--color-gray);
    /* Gris très clair */
    margin-bottom: var(--spacing-xs);
    display: block;
    opacity: 0.4;
}

.step1 h2 {
    color: rgba(185, 191, 231, 0.9);
}

.step2 h2 {
    color: rgba(192, 231, 185, 0.9)
}

.step3 h2 {
    color: rgba(231, 203, 185, 0.9);
}

.step4 h2 {
    color: rgba(231, 185, 185, 0.9);
}

.card-content h2 {
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    font-size: 2.25rem;
    line-height: 144%;
}

.card-content p {
    color: rgba(211, 212, 218, 0.9);
    font-size: 1rem;
    line-height: 1.44;
}


.team-grid .card-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.team-grid .card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.50rem;
}

.features-list {
    margin-top: var(--spacing-sm);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-accent-pink);
    display: inline-block;
}


/* Portfolio Section */
.portfolio {
    text-align: center;
    background-color: var(--color-light-bg);
}

.portfolio h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.portfolio-desc {
    color: #666;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    justify-content: center;
}

.portfolio-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 30px;
    height: auto;
    position: relative;
    transition: transform 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-content {
    background-color: var(--color-light-bg);
    margin: 10px;
    padding: 10px;
}

.portfolio-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.portfolio-dark {
    background-color: #1a2a3a;
    color: white;
}

.portfolio-music {
    background-color: #e0e0f0;
    color: #333;
}

.portfolio-audio {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #eee;
}

.portfolio-fashion {
    background-color: #f0f4f8;
    color: #333;
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid #eee;
    /* margin-top: var(--spacing-lg); */
}

.copyright-container {
    text-align: center;
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.legal-link {
    font-size: 0.85rem;
    color: #999;
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-link:hover {
    color: var(--color-primary);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    width: 24px;
    height: 24px;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--color-primary);
}

.bg_blue {
    background: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(77, 89, 237, 100) 375%)
}

.bg_purple {
    background-image: url('assets/Vector_purple.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: right;
}

.bg_orange {
    background-image: url('assets/Vector_orange.svg');
    background-repeat: no-repeat;
    background-size: 53%;
    background-position: right;

}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .process-card,
    .process-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .process-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-content {
        text-align: center;
    }

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

    .hero-stats {
        gap: 10px;
    }
}

/* FAQ Accordion */
.faq {
    padding: var(--spacing-xl) 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Header (Question) */
.faq-header {
    padding: var(--spacing-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    transition: all 0.2s;
}

.faq-header h3 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin: 0;
    font-weight: 500;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}

.faq-icon::before {
    transform: translateX(-3px) rotate(45deg);
}

.faq-icon::after {
    transform: translateX(3px) rotate(-45deg);
}

/* Body (Answer) with Grid Animation */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    overflow: hidden;
}

.faq-body p {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    padding: 0 0 var(--spacing-md) 0;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* État Actif (Ouvert) */
.faq-item.active .faq-body {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-body p {
    opacity: 1;
    padding-top: 0.5rem;
}

.faq-item.active .faq-icon::before {
    transform: translateX(-3px) rotate(-45deg);
}

.faq-item.active .faq-icon::after {
    transform: translateX(3px) rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header {
        padding: var(--spacing-sm) 0;
    }

    .faq-header h3 {
        font-size: 1rem;
    }
}

/* Classe ajoutée via JS au scroll */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Plus compact */
}

/* Ajustement pour que le contenu ne soit pas caché sous le header fixe */
body {
    padding-top: 80px;
    /* Hauteur approx du header */
}

/* 2. Animations Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: transform, opacity;
}

.reveal.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Délai pour les éléments en séquence (ex: stats, grid) */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* 3. Modale de Contact */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Overlay sombre */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    background: none;
    border: none;
}

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

.modal h2 {
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    transition: border-color 0.2s;
}

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


.btn-full {
    width: 100%;
    text-align: center;
}

/* Messages de formulaire */
.form-success-message {
    text-align: center;
    padding: var(--spacing-md);
    animation: fadeIn 0.5s ease-out;
}

.form-success-icon {
    font-size: 3rem;
    color: #4CAF50;
    /* Vert succès */
    margin-bottom: var(--spacing-sm);
    display: block;
}

.form-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.form-success-text {
    color: #666;
    margin-bottom: var(--spacing-md);
}

.form-error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* --- NOUVEAUX STYLES PAGE VITRINE (Design Unique) --- */

/* Split Hero */
.hero-split {
    padding: 48px 2rem;
    display: flex;
    gap: var(--spacing-lg);
    min-height: calc(100vh - 80px);
    align-items: center;
}

.hero-content-left {
    flex: 1;
}

.hero-visual-right {
    flex: 1;
    position: relative;
    height: 400px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Business Collage */
.business-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    height: 100%;
    padding: 50px;
}

.collage-photo {
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.collage-photo:hover {
    transform: scale(1.02);
}

.collage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Card Success (Green checkmark) */
.card-success {
    top: 124px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: 0s;
}

.card-success .card-icon {
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-success .card-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: 0.3px;
}

/* Card Revenue (Top right) */
.card-revenue {
    top: 60px;
    right: 20px;
    min-width: 180px;
    animation-delay: 0.5s;
}

.card-revenue .card-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.card-revenue .card-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.card-revenue .card-count {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Card Balance (Bottom) */
.card-balance {
    bottom: 28px;
    left: 41%;
    transform: translateX(-50%);
    min-width: 220px;
    animation-delay: 1s;
}

.card-balance .card-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.card-balance .card-subtitle {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 8px;
}

.card-balance .card-amount-large {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}



/* Responsive */
@media (max-width: 768px) {
    .hero-visual-right {
        height: 350px;
    }

    .collage-grid {
        gap: 8px;
        padding: 15px;
    }

    .floating-card {
        font-size: 0.85rem;
        padding: 12px 16px;
    }

    .card-revenue,
    .card-balance {
        min-width: 150px;
    }

    .card-revenue .card-amount {
        font-size: 1.4rem;
    }

    .card-balance .card-amount-large {
        font-size: 1.6rem;
    }
}


/* --- STRIPE-LIKE CHAT ANIMATION --- */

.chat-animation {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: var(--border-radius-md);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-md);
    gap: 8px;
    /* Reduced gap for smoother transitions */
    overflow: hidden;
}

.chat-message {
    max-width: 80%;
    width: fit-content;
    /* Force width to fit text */
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Default hidden state */
    display: none;
    opacity: 0;
}

/* Base Styles */
.user-message {
    align-self: flex-end;
    background-color: #0a2540;
    color: #ffffff;
    border-bottom-right-radius: 2px;
}

.support-message {
    align-self: flex-start;
    background-color: #e3e8ee;
    color: #1F1C2F;
    border-bottom-left-radius: 2px;
}

.typing {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Animations */

/* 1. User Typing: 0s -> 1.5s */
#anim-user-typing {
    display: flex;
    animation: showAndHide 1.5s forwards;
}

/* 2. User Msg: 1.5s -> Forever */
#anim-user-msg {
    display: block;
    animation: popIn 0.5s forwards;
    animation-delay: 1.6s;
}

/* 3. Support Typing: 2.5s -> 4s */
#anim-support-typing {
    display: flex;
    animation: showAndHideDelayed 1.5s forwards;
    animation-delay: 2.5s;
    /* Wait for user msg + pause */
}

/* 4. Support Msg: 4s -> Forever */
#anim-support-msg {
    display: block;
    animation: popIn 0.5s forwards;
    animation-delay: 4.1s;
}


/* Keyframes */
@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes showAndHide {
    0% {
        opacity: 0;
        transform: translateY(10px);
        display: flex;
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
        height: auto;
        padding: 12px 16px;
        border: inherit;
    }

    95% {
        opacity: 0;
        transform: translateY(0);
        height: auto;
        padding: 12px 16px;
        border: inherit;
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
        border: none;
    }
}

@keyframes showAndHideDelayed {
    0% {
        opacity: 0;
        transform: translateY(10px);
        display: flex;
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
        height: auto;
        padding: 12px 16px;
        border: inherit;
    }

    95% {
        opacity: 0;
        transform: translateY(0);
        height: auto;
        padding: 12px 16px;
        border: inherit;
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
        border: none;
    }
}


/* Keyframes Communes Fade Inside */
@keyframes fadeInText {

    0%,
    35% {
        opacity: 0;
    }

    50%,
    100% {
        opacity: 1;
        white-space: normal;
    }

    /* White-space normal à la fin */
}


.typing .dot {
    width: 6px;
    height: 6px;
    background-color: #8898aa;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}


/* Feature Grid (3 Colonnes) */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    margin-top: var(--spacing-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}


.feature-box {
    padding: var(--spacing-md);
    border: 1px solid #eee;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    display: block;
    width: 48px;
    height: 48px;
}

/* Pricing / Packages */

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    align-items: stretch;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform 0.3s;
    flex: 0 1 380px;
    /* Largeur idéale, mais peut réduire */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
    align-self: center;
}

.pricing-section {
    padding: var(--spacing-sm) 0;
    background-color: var(--color-white);
}

.pricing-card.featured {
    border: 1px solid var(--color-primary);
    box-shadow: 0 20px 40px rgba(43, 87, 255, 0.1);
    position: relative;
    z-index: 1;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: var(--spacing-md) 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
}

.pricing-features {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.pricing-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 36px;
    /* Espace pour l'icône cercle */
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    /* Alignement haut */
    width: 24px;
    height: 24px;
    /* Vert clair comme l'image */
    color: var(--color-primary);
    /* Texte sombre */
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Ajout des icones dans les cartes de prix */
.pricing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    display: block;
}

.pricing-features li.plus-icon::before {
    content: "+";
    background-color: var(--color-primary);
    /* Bleu très clair */
    color: #e0e7ff;
    font-size: 1.1em;
}

/* Responsive Vitrine */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        padding-top: 48px;
        padding-left: 1rem;
        padding-right: 1rem;
        /* Espace header */
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

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

    .pricing-card.featured {
        transform: none;
    }
}

.burger-menu {
    display: none;
}

.desktop-hidden {
    display: none;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .desktop-hidden {
        display: inline-block;
    }

    .mobile-hidden {
        display: none;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background-color: transparent;
        /* Explicit transparent */
        border: none;
        cursor: pointer;
        z-index: 10002;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        /* RESET iOS : Enlève le style par défaut du bouton */
        appearance: none;
        padding: 0;
        outline: none;
    }

    .burger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-dark);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Animation Burger vers Croix */
    .burger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        /* Fond solide, pas de flou */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 10001;
        /* Doit être sous le burger (10002) */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding-bottom: 50px;
        /* Espace pour éviter que le dernier lien soit trop bas */
        -webkit-overflow-scrolling: touch;
        /* Scroll fluide sur iOS */
    }

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

    /* Disable backdrop-filter only on mobile header when menu is open/active to avoid stacking bugs */
    header.scrolled {
        /* On garde le style desktop de base, mais on peut le simplifier sur mobile si bug */
        -webkit-backdrop-filter: blur(10px);
        /* Testé: supporté, mais parfois buggé avec fixed elements */
        backdrop-filter: blur(10px);
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--color-dark);
    }

    /* On n'affiche pas le bouton "Prendre RDV" du menu desktop dans le drawer car on a le bouton header */
    .nav-menu .btn-open-modal.mobile-hidden {
        display: block;
        /* On le réaffiche DANS le menu hamburger si on veut */
        margin-top: 20px;
    }

    /* On réduit un peu le padding du header pour gagner de la place */
    .header-inner {
        padding: 0 10px;
        gap: 10px;
    }

    .logo {
        font-size: 1rem;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* --- Team Grid Layout --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.team-grid .process-card {
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
    height: 100%;
}

.team-grid .process-card:nth-child(even) {
    flex-direction: column;
}

.team-grid .card-content {
    text-align: center;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix internal alignment */
.team-grid .card-visual,
.team-grid .card-content {
    flex: 0 0 auto;
    /* Stop them from stretching to fill height */
}

.team-grid .card-visual {
    min-height: auto;
    /* Reset legacy min-height */
}

.team-grid .process-card {
    gap: var(--spacing-sm);
    /* Reduce gap between icon and text */
}