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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Navigation - ajuster pour pleine largeur */
.navbar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    margin: 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1e293b;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
    background-color: #eff6ff;
}

/* Supprimer l'ancien style navbar-simple */
.navbar-simple {
    display: none;
}

.back-button {
    display: none;
}

/* Responsive pour la navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-brand .brand-text {
        display: none;
    }

    .brand-logo {
        height: 35px;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Hero section avec image de fond - chemin absolu */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/img/DSC_4280.JPG');
    background-size: cover;
    background-position: 50% 30%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    height: calc(100vh - 70px);
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 15vh;
}


.nomination-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/img/IMG_9926.JPG');
    background-size: cover;
    background-position: 50% 30%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    height: calc(100vh - 70px);
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 15vh;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
    margin-top: 12vh;
}

.hero-content .header-icon {
    font-size: 4rem;
    /* margin-bottom: 1rem; */
    display: block;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Contenu principal */
.main-content {
    background: white;
    min-height: 100vh;
    padding: 3rem 0;
}

/* Supprimer l'ancien page-header */
.page-header {
    display: none;
}

/* Responsive pour le hero */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-content .header-icon {
        font-size: 3.5rem;
    }
}

/* Container principal */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* En-tête de la page */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Section d'introduction */
.intro-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5fa 100%);
    border-radius: 16px;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.intro-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #191c20;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.intro-content p strong {
    color: #000000b2;
    font-weight: 600;
}

.intro-content p em {
    color: #059669;
    font-style: italic;
    font-weight: 500;
}

.cta-highlight {
    background: linear-gradient(135deg, #dc9326 0%, #f0a313 100%);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(220, 141, 38, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cta-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 141, 38, 0.4);
}

/* Styles pour les descriptions des catégories */
.categories-info {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.category-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
}

.category-info:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.category-info h3 {
    color: #1e293b;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.category-info p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.criteria {
    background: white;
    border-radius: 8px;
    padding: 0.8rem;
    border-left: 4px solid #3b82f6;
    flex: 1;
    overflow-y: auto;
}

.criteria strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.criteria ul {
    margin: 0;
    padding-left: 1rem;
    list-style-type: disc;
}

.criteria li {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .categories-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0.5rem auto;
        padding: 0 0.5rem;
    }
    
    .category-info {
        padding: 0.75rem;
        height: auto;
        min-height: 250px;
    }
    
    .category-info h3 {
        font-size: 1.1rem;
    }
    
    .criteria {
        padding: 0.6rem;
    }
}

/* Formulaire */
.form-card {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Groupes de champs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Grille pour les champs côte à côte */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Bouton de soumission */
.submit-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Note d'information */
.info-note {
    background: #fef3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-note.orange {
    background: #fff7ed;
    border-color: #fed7aa;
}

.note-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.note-content {
    color: #92400e;
    font-size: 0.875rem;
    line-height: 1.5;
}

.note-content strong {
    font-weight: 600;
    color: #78350f;
}

/* Bouton de soumission - centré et espacé */
.submit-button {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
}

.submit-button.orange {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.submit-button:hover {
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

/* Messages d'aide */
.help-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-simple {
        padding: 1rem;
    }

    .navbar-simple .nav-brand .brand-text {
        display: none;
    }

    .back-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .form-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

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

    .submit-button {
        width: 100%;
        max-width: 300px;
    }

    /* Responsive pour la section d'introduction */
    .intro-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .intro-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .intro-content p {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 1rem;
    }

    .cta-highlight {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}

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

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

.form-card {
    animation: slideUp 0.6s ease-out;
}

/* États de validation */
.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #10b981;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Indicateur requis */
.required::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

/* Navigation normale avec logo */
.navbar .brand-logo {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.navbar .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-simple {
        padding: 1rem;
    }

    .navbar-simple .nav-brand .brand-text {
        display: none;
    }

    .back-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Groupe de checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.checkbox-option:hover {
    background: #faf5ff;
    border-color: #d8b4fe;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.checkbox-option:has(input:checked) {
    background: #fff7ed;
    border-color: #ea580c;
    color: #ea580c;
}

.checkmark {
    flex: 1;
}

/* Champs de formulaire - état sélectionné/focus en violet */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

input:valid,
textarea:valid,
select:valid {
    border-color: #8b5cf6;
}

/* Note d'information - couleur violette */
.info-note {
    background: #faf5ff;
    border: 1px solid #d8b4fe;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 600px;
    justify-content: center;
    text-align: center;
}

.info-note.orange {
    background: #faf5ff;
    border-color: #d8b4fe;
}

.note-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    color: #8b5cf6;
}

.note-content {
    color: #6b21a8;
    font-size: 0.875rem;
    line-height: 1.5;
}

.note-content strong {
    font-weight: 600;
    color: #581c87;
}

/* Bouton de soumission */
.submit-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
}

.submit-button.orange {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.submit-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

/* Checkbox sélectionnée - couleur violette */
.checkbox-option:has(input:checked) {
    background: #faf5ff;
    border-color: #8b5cf6;
    color: #7c3aed;
}

.checkbox-option input[type="checkbox"] {
    accent-color: #8b5cf6;
}





