@import url('root.css');
/* =====================================================
   PAGE FORMULAIRE DE PRÉSENTATION
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* Amélioration de l'accessibilité sur mobile */
@media (max-width: 768px) {
    /* Éviter le zoom automatique sur les champs de saisie */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select {
        font-size: 16px !important;
    }
    
    /* Améliorer la lisibilité des liens */
    a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    /* Améliorer l'interaction avec les boutons */
    button, .btn {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
}

.presentation-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-presentation {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-presentation::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;
}

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

.hero-presentation h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-presentation p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    padding: 4rem 2rem;
    background: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.presentation-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--neutral);
}

.form-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-group h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group h2 i {
    color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--neutral);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-field small {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--neutral);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover,
.radio-item:hover {
    border-color: var(--accent);
    background: rgba(76, 175, 80, 0.05);
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    width: auto;
    margin: 0;
}

.checkbox-item label,
.radio-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--neutral);
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--neutral);
    color: var(--text);
}

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

/* Modal d'aperçu */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 2rem;
    border-bottom: 2px solid var(--neutral);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
}

.close {
    color: var(--text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-presentation {
        padding: 2rem 1rem;
    }
    
    .hero-presentation h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-presentation p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .form-section {
        padding: 2rem 1rem;
    }
    
    .presentation-form {
        padding: 1.5rem 1rem;
        margin: -1.5rem 0.5rem 0;
        border-radius: 15px;
    }
    
    .form-group {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .form-group h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .form-group h2 i {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-field {
        margin-bottom: 1rem;
    }
    
    .form-field label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .form-field input,
    .form-field select {
        padding: 0.8rem;
        font-size: 0.95rem;
        border-radius: 8px;
        min-height: 44px; /* Taille minimale recommandée pour les écrans tactiles */
    }
    
    /* Amélioration spécifique pour les champs de date */
    .form-field input[type="date"] {
        position: relative;
    }
    
    .form-field input[type="date"]::-webkit-calendar-picker-indicator {
        padding: 0.2rem;
        cursor: pointer;
    }
    
    .checkbox-item,
    .radio-item {
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .checkbox-item label,
    .radio-item label {
        font-size: 0.95rem;
    }
    
    .form-field small {
        font-size: 0.85rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .hero-presentation {
        padding: 1.5rem 0.8rem;
    }
    
    .hero-presentation h1 {
        font-size: 1.6rem;
    }
    
    .hero-presentation p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .form-section {
        padding: 1.5rem 0.8rem;
    }
    
    .presentation-form {
        padding: 1.2rem 0.8rem;
        margin: -1.2rem 0.3rem 0;
        border-radius: 12px;
    }
    
    .form-group h2 {
        font-size: 1.2rem;
    }
    
    .form-field input,
    .form-field select {
        padding: 0.7rem;
        font-size: 0.9rem;
        min-height: 42px;
    }
    
    .checkbox-item,
    .radio-item {
        padding: 0.7rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}



/* =====================================================
   PAGE DE SUCCÈS
   ===================================================== */

.success-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.success-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.success-content h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.account-info {
    background: var(--neutral);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.account-info h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--neutral);
    border-radius: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--accent);
    font-size: 1.2rem;
    min-width: 20px;
}

.next-steps {
    text-align: left;
    margin-bottom: 2rem;
}

.next-steps h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.action-buttons .btn {
    min-width: 200px;
}

.help-section {
    background: var(--neutral);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
}

.help-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.help-section p {
    margin-bottom: 1rem;
    color: var(--text);
}

.help-section ul {
    padding-left: 1.5rem;
}

.help-section li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .success-content {
        padding: 2rem 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        min-width: auto;
        width: 100%;
    }
}

/* =====================================================
   HEADER SIMPLIFIÉ POUR FORMULAIRE
   ===================================================== */

.header-simple {
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

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

.logo-simple {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-simple i {
    font-size: 2rem;
    color: var(--accent);
}

.header-info {
    text-align: center;
    flex: 1;
    order: 2;
}

.header-info p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.nav-actions-simple {
    order: 3;
}

/* Responsive pour le header simplifié */
@media (max-width: 768px) {
    .header-simple {
        padding: 0.8rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .header-info {
        text-align: center;
        order: 1;
    }
    
    .header-info p {
        font-size: 0.9rem;
    }
    
    .logo-simple {
        font-size: 1.2rem;
        order: 2;
    }
    
    .logo-simple i {
        font-size: 1.6rem;
    }
    
    .nav-actions-simple {
        order: 3;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-simple {
        padding: 0.6rem 0;
    }
    
    .header-container {
        padding: 0 0.8rem;
        gap: 0.6rem;
    }
    
    .header-info p {
        font-size: 0.85rem;
    }
    
    .logo-simple {
        font-size: 1.1rem;
    }
    
    .logo-simple i {
        font-size: 1.4rem;
    }
}

/* =====================================================
   HEADER SIMPLE
   ===================================================== */

.nav-actions-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions-simple .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.nav-actions-simple .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Responsive pour les actions de navigation */
@media (max-width: 768px) {
    .nav-actions-simple {
        margin-top: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .nav-actions-simple .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-radius: 6px;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-actions-simple {
        gap: 0.6rem;
    }
    
    .nav-actions-simple .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}
    