/* Styles spécifiques à la page Adhésion */
/* adhesion.css - Design responsive avec la charte graphique */
        :root {
            --bleu-nuit: #1a237e;
            --rouge-nuit: #b71c1c;
            --blanc: #ffffff;
            --gris-clair: #f5f5f5;
            --gris-fonce: #424242;
            --bleu-clair: #3f51b5;
            --rouge-clair: #e53935;
            --bleu-gradient: linear-gradient(135deg, #1a237e 0%, #283593 100%);
            --rouge-gradient: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
            --shadow: 0 10px 30px rgba(0,0,0,0.1);
            --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
            --black:#020205;
            --animation: slideUp 1s ease;
        }
        /* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gris-clair);
    color: var(--gris-fonce);
    line-height: 1.6;
    overflow-x: hidden;
}

        /* Section Adhésion */
       .adhesion-hero {
   background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--rouge-nuit) 100%);
    color: var(--blanc);
    padding: 60px 10px;
    text-align: center;
    position: relative;
}

.adhesion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../media/UCAO-TECH.png') center/contain no-repeat;
    opacity: 0.1; /* Très léger pour ne pas gêner la lecture */
    z-index: 1;
}

.adhesion-hero.container {
    position: relative;
    z-index: 2;
}

        .adhesion-container {
            margin: 0 auto;
        }

        /* En-tête Hero */
        .adhesion-hero {
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(183, 28, 28, 0.8) 100%),
                    url('../media/rejoindre.png') center/cover;
                color: var(--blanc);
                padding: 80px 0 60px;
                text-align: center;
                position: relative;
                overflow: hidden;
                animation: slideUp 1s ease;
        }
        

        .adhesion-hero h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            font-weight: 700;
        }
        

        .adhesion-hero p {
            font-size: 1.2rem;
            color: var(--blanc);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
            opacity: 0.9;
            font-weight: 300;
        }
        /* Animation de frappe au clavier */
/* Typing animation replaced by a responsive reveal that allows wrapping */
.typing-animation {
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
    white-space: normal; /* allow wrapping when needed */
    opacity: 0;
    transform: translateY(6px);
    animation: textReveal 0.7s ease forwards;
}

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

/* caret for typing animation */
.typing-animation.typing-active::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--bleu-nuit);
    margin-left: 8px;
    vertical-align: text-bottom;
    animation: blink-caret 1s steps(2,start) infinite;
}

@keyframes blink-caret {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .typing-animation.typing-active::after { animation: none; opacity: 0; }
}



        /* Section Avantages */
        .avantages-section {
            margin-bottom: 50px;
            margin-left: px;
            margin-right:px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }

        .section-title h2 {
            font-size: 3rem;
            color: var(--bleu-nuit);
            display: inline-block;
            padding-bottom: 0px;
            font-weight: 700;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 4px;
            background: var(--rouge-gradient);
            border-radius: 2px;
        }


        .section-title p {
            font-size: 1.1rem;
            color: var(--gris-fonce);
            max-width: 600px;
            margin: auto;
            padding: 10px;
        }

        /* New avantages layout: flexible cards with staggered animation */
        .avantages-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 22px;
            margin: 0 auto;
            max-width: 1200px;
            justify-content: center;
            padding: 0 12px;
        }

        /* Desktop: wider layout, two columns with horizontal card style */
        @media (min-width: 992px) {
            .avantages-grid { gap: 24px; }
            .avantage-card { width: calc(50% - 24px); }
        }

        /* Very large screens: allow four cards in a row if space permits */
        @media (min-width: 1400px) {
            .avantage-card { width: calc(25% - 24px); }
        }

        /* Tablet and mobile: two columns on small screens, stacked cards with full width on very small devices */
        @media (max-width: 991px) {
            .avantage-card { width: calc(50% - 16px); }
        }

        @media (max-width: 576px) {
            .avantage-card { width: 100%; padding: 18px 14px; }
            .avantage-card h3 { font-size: 1.05rem; }
            .avantage-card p { font-size: 0.98rem; }
        }

        /* Banner styles re-used from homepage/UCAO-TECH for consistency */
        /* Banner improved responsiveness and layout parity with homepage */
        .banner {
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(183, 28, 28, 0.75) 100%),
                        url('../media/rejoindre.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: var(--blanc);
            padding: clamp(36px, 6vh, 100px) 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 320px; /* ensure reasonable hero height */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .banner::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.18);
            z-index: 1;
        }

    .banner-content { position: relative; z-index: 2; width: 100%; }
    .banner-inner { display: block; background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); padding: 20px 26px; border-radius: 14px; margin: 0 auto; max-width: 1100px; text-align: center; }
        /* Responsive typography using clamp for consistent scaling */
    .banner-content h1 { font-size: clamp(1.6rem, 4vw, 3rem); margin-bottom: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
        .banner-content p { font-size: clamp(0.95rem, 1.8vw, 1.1rem); margin-bottom: 16px; opacity: 0.95; font-weight: 300; max-width: 980px; margin-left: auto; margin-right: auto; }

        /* CTA buttons: keep on a single line on mobile and look balanced */
        .banner-actions {
            margin-top: 14px;
            display: flex;
            gap: 10px;
            justify-content: center;
            align-items: center;
            flex-wrap: nowrap; /* prefer staying on one line */
        }

        .banner-actions .btn {
            padding: 10px 14px;
            font-size: 0.98rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        /* Force buttons to share the same line on narrow screens by using percentage widths */
        @media (max-width: 576px) {
            .banner-actions { gap: 8px; }
            .banner-actions .btn {
                flex: 0 0 48%; /* two buttons fit on a single row */
                justify-content: center;
                padding: 8px 10px;
                font-size: 0.92rem;
            }
            /* reduce icon size inside buttons if present */
            .banner-actions .btn i { font-size: 0.95rem; }
        }

        /* Extra small devices fallback */
        @media (max-width: 360px) {
            .banner-actions .btn { padding: 7px 8px; font-size: 0.88rem; }
        }

        /* Make sure banner content aligns nicely on wider screens */
        @media (min-width: 992px) {
            .banner-inner { text-align: left; padding: 28px 36px; }
            .banner-content { display: flex; align-items: center; }
        }

        /* Mobile tweaks for banner */
        @media (max-width: 768px) {
            .banner { padding: 40px 0; }
            .banner-inner { padding: 16px 18px; }
            .banner-content h1 { text-align: center; }
            .banner-content p { text-align: center; }
        }

        @media (max-width: 576px) {
            .banner { padding: 32px 0; min-height: 260px; }
            .banner-inner { padding: 12px 14px; }
            .banner-content h1 { font-size: clamp(1.2rem, 6vw, 1.6rem); }
            .banner-content p { font-size: 0.95rem; }
        }

        /* Additional adjustments for section titles and grid on small screens */
        @media (max-width: 768px) {
            .section-title h2 { font-size: 2.2rem; }
        }

        @media (max-width: 576px) {
            .section-title h2 { font-size: 1.6rem; }
            .form-control { padding: 14px 12px; font-size: 1rem; }
            .btn-submit, .btn-primary, .btn-secondary { padding: 10px 16px; font-size: 0.95rem; }
        }

        .avantage-card {
            background: var(--blanc);
            padding: 22px 18px;
            border-radius: 14px;
            box-shadow: var(--shadow);
            transition: transform 0.36s ease, box-shadow 0.36s ease;
            border: 1px solid rgba(0,0,0,0.04);
            display: flex;
            align-items: flex-start;
            gap: 16px;
            overflow: hidden;
            opacity: 0;
            transform: translateY(12px);
            /* entrance animation - will be staggered via nth-child below */
            animation: fadeInUp 0.6s ease forwards;
        }

        .avantage-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .avantage-icon {
            flex: 0 0 70px;
            width: 70px;
            height: 70px;
            background: var(--bleu-gradient);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--blanc);
            font-size: 1.4rem;
            box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        }

        .avantage-icon i { color: var(--blanc); }

        .avantage-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--bleu-nuit);
            margin: 0 0 6px 0;
        }

        .avantage-card p {
            color: var(--gris-fonce);
            line-height: 1.4;
            margin: 0;
            font-size: 0.98rem;
        }

        /* Simple staggered entrance using nth-child */
        .avantages-grid .avantage-card:nth-child(1) { animation-delay: 0.06s; }
        .avantages-grid .avantage-card:nth-child(2) { animation-delay: 0.14s; }
        .avantages-grid .avantage-card:nth-child(3) { animation-delay: 0.22s; }
        .avantages-grid .avantage-card:nth-child(4) { animation-delay: 0.30s; }

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

/* Section Processus */
.processus-section {
    padding: 80px 0;
    background: var(--blanc); 
    margin-bottom: 60px;
}

.processus-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.processus-steps::before {
    content: '';
    position: absolute;
    top: 40px; /* Ajusté pour être au centre des cercles */
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--bleu-gradient);
    z-index: 1; /* Le trait est derrière les chiffres */
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2; /* Les étapes sont au-dessus du trait */
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bleu-gradient);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    flex-shrink: 0;
    z-index: 3; /* Les chiffres sont au-dessus du trait */
    position: relative;
    box-shadow: var(--shadow);
}

.process-step:hover .step-number {
    background: var(--rouge-gradient);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.3);
}

.step-content h4 {
    transition: all 0.3s ease;
    color: var(--bleu-nuit);
    margin-bottom: 10px;
}

.process-step:hover .step-content h4 {
    color: var(--rouge-nuit);
    transform: translateY(-2px);
}

.step-content p {
    transition: all 0.3s ease;
    color: var(--gris-fonce); /* ← CHANGEMENT ICI - Couleur normale pour le texte */
}

.process-step:hover .step-content p {
    color: var(--rouge-nuit);
}

/* Style pour l'étape active (après clic) */
.process-step.active {
    background: var(--gris-clair); /* ← CHANGEMENT ICI - Gris clair pour l'état actif */
    transform: scale(1.05);
    border: 2px solid var(--rouge-nuit);
}

.process-step.active .step-number {
    background: var(--rouge-gradient);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.3);
}

.process-step.active .step-content h4 {
    color: var(--rouge-nuit);
}

.process-step.active .step-content p {
    color: var(--rouge-nuit);
}

/* =====SECTION TARIFS - ÉTUDIANT UCAO-UUC=====*/ 
.tarifs-section {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    background: var(--bleu-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--rouge-nuit);
    border-radius: 2px;
}
.section-title p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--gris-fonce);
    opacity: 0.8;
}

.tarif-card {
    background: var(--blanc);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

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

.tarif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(183, 28, 28, 0.8) 100%);
}

.tarif-header {
    padding: 30px;
    text-align: center;
    background: rgba(26, 35, 126, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tarif-type {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bleu-nuit);
    margin-bottom: 10px;
}


.tarif-content {
    display: flex;
    flex-wrap: wrap;
}

.tarif-features {
    padding: 30px;
    flex: 1;
    min-width: 300px;
}

.tarif-features h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--bleu-nuit);
    display: flex;
    align-items: center;
}

.tarif-features h3::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--bleu-gradient);
    color: var(--blanc);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.tarif-features ul {
    list-style-type: none;
}

.tarif-features li {
    padding: 12px 0;
    position: relative;
    padding-left: 35px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--gris-fonce);
}

.tarif-features li:hover {
    background-color: rgba(26, 35, 126, 0.03);
    padding-left: 40px;
}

.tarif-features li:last-child {
    border-bottom: none;
}

.tarif-features li::before {
    content: '•';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bleu-nuit);
    font-size: 1.5rem;
}

.tarif-pricing {
    padding: 30px;
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(26, 35, 126, 0.03);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.tarif-prix {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin-bottom: 5px;
}

.tarif-prix span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--gris-fonce);
    opacity: 0.7;
}

.tarif-note {
    font-size: 0.9rem;
    color: var(--gris-fonce);
    opacity: 0.7;
    text-align: center;
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: var(--bleu-gradient);
    color: var(--blanc);
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.4);
    background: var(--rouge-gradient);
}

/* Animation d'apparition */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.tarif-card {
    animation: var(--animation);
}

/* Badge spécial étudiant */
.student-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--rouge-gradient);
    color: var(--blanc);
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .tarif-content {
        flex-direction: column;
    }

    .tarif-pricing {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        flex: 1;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }

    .student-badge {
        right: -30px;
        font-size: 0.8rem;
        padding: 6px 30px;
    }
}

@media (max-width: 480px) {
    .tarif-header {
        padding: 20px;
    }

    .tarif-features,
    .tarif-pricing {
        padding: 20px;
    }

    .student-badge {
        display: none;
    }

    .tarif-type {
        font-size: 1.5rem;
    }

    .tarif-prix {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}
/* Section Formulaire avec Layout */
.formulaire-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.formulaire-section {
    background: var(--gris-clair);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    animation: var(--animation);
    height: fit-content;
}

.form-header {
    text-align: left;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--bleu-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--bleu-gradient);
    border-radius: 2px;
}

.form-header p {
    color: var(--gris-fonce);
    font-size: 1rem;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

#photo-preview {
    display: none;
    margin-top: 15px;
    text-align: center;
}

#photo-preview.active {
    display: block;
}

#photo-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
    border: 4px solid var(--bleu-nuit);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}

#photo-preview .remove-photo {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--rouge-nuit);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#photo-preview .remove-photo:hover {
    background: var(--rouge-clair);
    transform: translateY(-2px);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--bleu-nuit);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--blanc);
    color: var(--gris-fonce);
    font-family: inherit;
}

.form-control:hover {
    border-color: var(--bleu-clair);
}

.form-control:focus {
    outline: none;
    border-color: var(--bleu-nuit);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    transform: translateY(-1px);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231a237e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--bleu-nuit);
    transform: scale(1);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: 500;
    margin-bottom: 0;
    color: var(--gris-fonce);
    line-height: 1.4;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 1;
}

.reglement {
    color: var(--rouge-clair);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.reglement::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rouge-clair);
    transition: width 0.3s ease;
}

.reglement:hover {
    color: var(--rouge-nuit);
}
#autre-filiere-group {
    transition: all 0.3s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

#autre-filiere-group[style*="display: block"] {
    opacity: 1;
    height: auto;
    margin-top: 10px;
}
.reglement:hover::after {
    width: 100%;
}

.form-submit {
    text-align: center;
    margin-top: 25px;
}

.btn-submit {
    background: var(--bleu-gradient);
    color: var(--blanc);
    border: none;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.btn-submit:hover {
    background: var(--rouge-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 28, 28, 0.4);
}

/* Section Animation Droite */
.animation-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.animation-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.animation-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--rouge-nuit) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.animation-subtitle {
    font-size: 1.3rem;
    color: var(--gris-fonce);
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Animation des éléments flottants */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: var(--bleu-gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
    background: var(--rouge-gradient);
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 10%;
    animation-delay: 3s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 4.5s;
    background: var(--rouge-gradient);
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Icônes animées */
.tech-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.tech-icon {
    font-size: 3rem;
    background: var(--bleu-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: bounce 2s ease-in-out infinite;
}

.tech-icon:nth-child(1) {
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.tech-icon:nth-child(3) {
    animation-delay: 1s;
}

.tech-icon:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .formulaire-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .animation-title {
        font-size: 2.8rem;
    }

    .animation-section {
        padding: 30px 20px;
        order: -1;
    }

    .formulaire-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .formulaire-container {
        padding: 30px 15px;
        gap: 30px;
    }

    .formulaire-section {
        padding: 30px 25px;
    }

    .animation-title {
        font-size: 2.2rem;
    }

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

    .tech-icons {
        gap: 20px;
    }

    .tech-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .formulaire-section {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .animation-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .tech-icons {
        gap: 15px;
    }

    .tech-icon {
        font-size: 2rem;
    }

    .btn-submit {
        width: 100%;
        min-width: auto;
    }
}

        /* Animation bouton Soumettre - Version Élégante */
.btn-submit {
    background: var(--bleu-gradient);
    color: var(--blanc);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rouge-gradient);
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit:hover::after {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(183, 28, 28, 0.5);
    color: var(--blanc);
}

.btn-submit:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(183, 28, 28, 0.4);
}

.btn-submit i {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.btn-submit:hover i {
    transform: translateX(8px) scale(1.1);
}

.btn-submit span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-submit:hover span {
    letter-spacing: 0.5px;
}

/* États désactivés */
.btn-submit:disabled {
    background: var(--gris-fonce);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit:disabled::before,
.btn-submit:disabled::after {
    display: none;
}

.btn-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-submit:disabled:hover i {
    transform: none;
}

  
        /* Section CTA */
        /* Section CTA modifiée */
.cta-section {
     background: linear-gradient(135deg, var(--gris-clair) 0%, var(--gris-clair) 100%);
    color: var(--bleu-nuit);
    padding: 80px 0;
    text-align: center;
    border-radius: 20px;
    border: 3px solid var(--blanc);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(63, 81, 181, 0.05) 100%);
    z-index: -1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bleu-nuit);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gris-fonce);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Bouton Adhérer Maintenant - Bleu par défaut */
.btn-primary {
    background: var(--bleu-gradient);
    color: var(--blanc);
    border-color: var(--bleu-nuit);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rouge-gradient);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--blanc);
    border-color: var(--rouge-nuit);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.3);
}

.btn-primary:hover::before {
    left: 0;
}

/* Bouton Nous Contacter - Rouge par défaut */
.btn-secondary {
    background: var(--rouge-gradient);
    color: var(--blanc);
    border-color: var(--rouge-nuit);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bleu-gradient);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--blanc);
    border-color: var(--bleu-nuit);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.3);
}

.btn-secondary:hover::before {
    left: 0;
}

/* Animations des icônes */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

        /* Responsive */
        @media (max-width: 768px) {
            .adhesion-hero h1 {
                font-size: 2.5rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .processus-steps {
                flex-direction: column;
                gap: 40px;
            }
            
            .processus-steps::before {
                display: none;
            }
            
            .tarif-card.popular {
                transform: none;
            }
            
            .tarif-card.popular:hover {
                transform: translateY(-5px);
            }
            
            .formulaire-section {
                padding: 30px 20px;
            }
            
            .form-grid {
                grid-template-columns: 1fr;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 200px;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .adhesion-container {
                padding: 0 15px;
            }
            
            .adhesion-hero h1 {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .avantages-grid,
            .tarifs-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            
            .cta-content h2 {
                font-size: 2rem;
            }
        }

