/* ===== VARIABLES CSS ===== */
:root {
    /* Couleurs principales */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;

    /* Nouvelles couleurs spécifiées */
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --border-color: #dee2e6;
    --cathedral-blue: #1e3a8a;
    --cathedral-gold: #fbbf24;

    /* Couleurs de fond */
    --bg-primary: #ffffff;
    --bg-secondary: var(--light-bg);
    --bg-dark: var(--primary-color);
    --bg-light: #ecf0f1;

    /* Couleurs de texte */
    --text-primary: var(--dark-text);
    --text-secondary: #7f8c8d;
    --text-light: #bdc3c7;
    --text-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--cathedral-blue) 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, var(--cathedral-gold) 0%, #f59e0b 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-catechumene: linear-gradient(135deg, var(--cathedral-gold) 0%, #f97316 100%);

    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Bordures */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
/* ===== RESET ET BASE ===== */

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

/* Croix en arrière-plan - VISIBLE EN BLEU */
body::after {
    content: '✟';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 800px;
    color: rgba(26, 75, 140, 0.08) !important;
    z-index: 0;
    pointer-events: none;
    font-weight: 300;
}

/* Pas d'effets de gradient radial */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

.container-fluid, .container {
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 1;
}

/* Supprimer l'espace potentiel dans le header */
header.navbar {
    margin-top: 0;
    position: relative;
    z-index: 1200;
}

/* Si le problème persiste, ciblez l'élément spécifique */
body > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* ===== ANIMATIONS KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -10px, 0);
    }

    70% {
        transform: translate3d(0, -5px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== CONTENU PRINCIPAL ===== */
.main-content {
    min-height: 100vh;
    padding: 2rem 0;
    background: rgba(245, 245, 245, 0.945);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.container-header h1{
    text-align: center;
    margin-bottom: 2rem;
}

/* ===== SECTION D'ACCUEIL ===== */
.welcome-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
    position: relative;
    overflow: hidden;
    margin-top: 13%;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.welcome-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.welcome-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cathedral-blue);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease 0.2s both;
}

.welcome-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInDown 1s ease 0.4s both;
}

.choice-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.choice-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 2rem 3rem;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    min-width: 250px;
    animation: slideInLeft 0.8s ease;
}

.choice-btn:nth-child(2) {
    animation: slideInRight 0.8s ease;
}

.choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.choice-btn:hover::before {
    left: 100%;
}

.choice-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.choice-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.choice-btn i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.choice-btn.animateur {
    background: var(--gradient-primary);
}

.choice-btn.catechumenes {
    background: var(--gradient-secondary);
}

/* ===== SECTIONS CACHÉES ===== */
.hidden-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    margin-top: 15%;
}

.hidden-section.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease;
}


/* ===== SELECTION DES ENTITES ===== */
#selectionEntite {
    padding: 2rem;
    margin: 2rem 0;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

#selectionEntite h2 {
    font-family: 'Playfair Display', serif;
    color: var(--cathedral-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

#selectionEntite h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--cathedral-gold);
}

.choice-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cathedral-blue);
}

.choice-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--cathedral-blue);
    transition: all var(--transition-normal);
}

.choice-card h3 {
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 0;
}

/* Couleurs spécifiques pour chaque carte */
.choice-card:nth-child(1) i {
    color: #3b82f6; /* Bleu pour enfants */
}

.choice-card:nth-child(2) i {
    color: #10b981; /* Vert pour jeunes */
}

.choice-card:nth-child(3) i {
    color: #f59e0b; /* Or pour adultes */
}

.choice-card:nth-child(1):hover {
    border-color: #3b82f6;
}

.choice-card:nth-child(2):hover {
    border-color: #10b981;
}

.choice-card:nth-child(3):hover {
    border-color: #f59e0b;
}

/* Animation au survol */
.choice-card:hover i {
    transform: scale(1.1);
    animation: bounce 1s ease infinite;
}

/* Responsive */
@media (max-width: 768px) {
    #selectionEntite {
        padding: 1.5rem;
    }
    
    .choice-card {
        padding: 1.5rem 0.5rem;
    }
    
    .choice-card i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    #selectionEntite h2 {
        font-size: 1.5rem;
    }
    
    .choice-card {
        margin-bottom: 1rem;
    }
}

/* ===== SECTION FORMULAIRE ===== */
.form-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    margin-top: 13%;
}

.back-btn {
    background: var(--cathedral-blue);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.back-btn:hover {
    background: #1e40af;
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.back-btn i {
    transition: transform var(--transition-fast);
}

.back-btn:hover i {
    transform: translateX(-3px);
}

/* ===== CONTAINER ET HEADER ===== */
.container {
    padding: 2rem;
    max-width: 1200px;
    margin-top: 2rem;
}





/* ===== btn-back ===== */

.btn-back {
    background-color: var(--cathedral-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--cathedral-blue); /* Bordure ajoutée */
}

.btn-back:hover {
    background-color: #0f1f3d; /* Version plus foncée */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-color: #0f1f3d; /* Changement de bordure */
}

.btn-back:active {
    transform: translateY(1px);
}

/* Animation de l'icône plus visible */
.btn-back i {
    transition: transform 0.3s ease;
}

.btn-back:hover i {
    transform: translateX(-5px);
    color: var(--cathedral-gold); /* Changement de couleur de l'icône */
}

/* Effet de lueur au survol */
.btn-back:hover {
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.6);
}

/* Alternative avec effet de remplissage */
.btn-back::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 191, 36, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: 0;
}

.btn-back:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Pour que le texte reste au-dessus */
.btn-back span, 
.btn-back i {
    position: relative;
    z-index: 1;
}






/* ===== ÉTAPES DU FORMULAIRE ===== */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--transition-normal);
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.5s ease;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--cathedral-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--cathedral-blue);
}

/* ===== GROUPES DE FORMULAIRE ===== */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.form-group label.required::after {
    content: ' *';
    color: var(--danger-color);
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 1rem;
     border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--cathedral-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: var(--secondary-color);
}

.form-control.error {
    border-color: var(--danger-color);
    background-color: rgba(231, 76, 60, 0.05);
    animation: shake 0.5s ease-in-out;
}

/* ===== UPLOAD DE FICHIERS ===== */
.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed #bdc3c7;
    border-radius: var(--border-radius-md);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
    color: var(--text-secondary);
}

.file-upload-label:hover {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.05);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.file-upload-label i {
    font-size: 1.5rem;
}

.file-upload.has-file .file-upload-label {
    border-color: var(--success-color);
    background: rgba(39, 174, 96, 0.05);
    color: var(--success-color);
}

.drag-over {
    border-color: var(--secondary-color) !important;
    background: rgba(52, 152, 219, 0.1) !important;
}

/* ===== MESSAGES D'ERREUR ===== */
.error-message {
    display: none;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--danger-color);
    animation: fadeInUp 0.3s ease;
}

.error-message.show {
    display: block;
}

/* ===== BOUTONS DE NAVIGATION ===== */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-light);
}

.nav-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.btn-prev {
    background: var(--text-secondary);
    color: var(--text-white);
}

.btn-prev:hover {
    background: #6c7b7d;
    transform: translateX(-5px);
}

.btn-next {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-next:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    background: var(--gradient-success);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== INDICATEUR DE PROGRESSION ===== */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

.progress-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-light);
    color: var(--text-white);
    font-weight: 600;
    margin: 0 1rem;
    transition: all var(--transition-fast);
    position: relative;
}

.progress-step.active {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.progress-step.completed {
    background: var(--success-color);
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 2rem;
    height: 2px;
    background: var(--text-light);
    transform: translateY(-50%);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: var(--success-color);
}

/* ===== STYLES SPÉCIFIQUES POUR CATÉCHUMÈNES ===== */
#catechumenesSection .header h1 {
    color: var(--cathedral-gold);
}

#catechumenesSection .section-title::before {
    background: var(--cathedral-gold);
}

#catechumenesSection .form-control:focus {
    border-color: var(--cathedral-gold);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

#catechumenesSection .btn-next {
    background: var(--gradient-secondary);
}

#catechumenesSection .progress-step.active {
    background: var(--cathedral-gold);
}

#catechumenesSection .choice-btn.catechumenes {
    background: var(--gradient-catechumene);
}

/* ===== STYLES POUR LES CHECKBOXES ===== */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.form-check-label {
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.95rem;
}

.form-check-label a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* ===== STYLES POUR LES TEXTAREA ===== */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== STYLES POUR LES SELECT ===== */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    max-width: 400px;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

.notification-warning {
    border-left: 4px solid var(--warning-color);
}

.notification-info {
    border-left: 4px solid var(--secondary-color);
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    margin-left: auto;
    padding: 0.25rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.notification-close:hover {
    color: var(--text-primary);
    background: var(--bg-light);
}

/* ===== OVERLAY DE SUCCÈS ===== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.success-overlay.show {
    opacity: 1;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.success-overlay.show .success-content {
    transform: scale(1);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.btn-success:hover {
    transform: translateY(-2px);
}

/* ===== ÉTATS DE CHARGEMENT ===== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--secondary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

/* ===== TOOLTIPS ===== */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    
    .main-content {
        padding: 1rem;
        margin-top: 20%;
    }    
    .choice-buttons {
        flex-direction: column;
        align-items: center;
    }

    .choice-btn {
        min-width: 200px;
        padding: 1.5rem 2rem;
    }

    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
        text-align: center;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 100%;
    }

    .progress-indicator {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .progress-step {
        margin: 0.25rem;
    }

    .progress-step::after {
        display: none;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }

    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0;
    }

    .welcome-section {
        padding: 2rem 1rem;
        margin-top: 10%;
    }

    

    .choice-btn {
        min-width: 180px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .choice-btn i {
        font-size: 2rem;
    }

    .form-section {
        margin: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 0.75rem;
    }

    .file-upload-label {
        padding: 1.5rem;
    }
}

/* ===== ACCESSIBILITÉ ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible pour l'accessibilité */
.form-control:focus-visible,
.nav-btn:focus-visible,
.choice-btn:focus-visible,
.back-btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {

    .choice-buttons,
    .navigation-buttons,
    .back-btn,
    .progress-indicator {
        display: none;
    }

    .form-section {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .main-content {
        background: white;
    }

    .hidden-section {
        display: block !important;
        opacity: 1 !important;
    }

    .form-step {
        display: block !important;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}

/* ===== ANIMATIONS D'ENTRÉE ===== */
.animate-in {
    animation: fadeInUp 0.6s ease;
}

.animate-in-delay {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.animate-in-delay-2 {
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* ===== STYLES POUR LES FORMULAIRES SPÉCIFIQUES ===== */
.form-section[data-form="animateur"] .progress-step.active {
    background: var(--secondary-color);
}

.form-section[data-form="catechumene"] .progress-step.active {
    background: #e91e63;
}

.form-section[data-form="animateur"] .btn-next {
    background: var(--gradient-primary);
}

.form-section[data-form="catechumene"] .btn-next {
    background: var(--gradient-catechumene);
}

/* ===== STYLES POUR LES SECTIONS PARENT/TUTEUR ===== */
.parent-section {
    background: rgba(233, 30, 99, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid #e91e63;
    margin: 2rem 0;
}

.parent-section h3 {
    color: #e91e63;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

/* ===== STYLES POUR LES INFORMATIONS ENFANT ===== */
.child-info-section {
    background: rgba(52, 152, 219, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--secondary-color);
    margin: 2rem 0;
}

.child-info-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}
