/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bandeau supérieur avec contact */
.top-bar {
    background-color: #000000;
    padding: 0;
    height: 5px;
}

.top-bar-content {
    height: 100%;
}

/* Bandeau orange principal - TITRE À GAUCHE */
.main-header {
    background-color: #ff8c00;
    padding: 12px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1002;
}

.main-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.site-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    margin: 0;
    font-family: Impact, 'Arial Black', sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.site-title:hover {
    transform: scale(1.02);
}

.site-title-single {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    font-family: Impact, 'Arial Black', sans-serif;
    text-decoration: none;
    transition: transform 0.3s ease;
    letter-spacing: 1px;
    display: inline-block;
    max-width: calc(100% - 70px);
}

.site-title-single:hover {
    transform: scale(1.02);
}

.title-white {
    color: #ffffff;
}

.title-black {
    color: #000000;
}

/* NOUVEAU : Barre de navigation séparée - FOND NOIR */
.nav-bar {
    background-color: #222222;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bouton menu hamburger (caché sur desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Menu de navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: center;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav ul li a:hover {
    background-color: #ff8c00;
    color: #ffffff;
}

/* Menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333333;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Afficher le dropdown au hover OU avec la classe hover (desktop) */
.dropdown:hover .dropdown-menu,
.dropdown.dropdown-hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    text-transform: none;
    white-space: nowrap;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li a:hover {
    background-color: #ff8c00;
    padding-left: 25px;
}

/* Indicateur flèche sur le dropdown toggle */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Contenu principal */
.main-content {
    min-height: calc(100vh - 250px);
    padding: 40px 0;
}

.main-content section {
    margin-bottom: 40px;
}

.main-content h1,
.main-content h2 {
    color: #ff8c00;
    margin-bottom: 20px;
    font-size: 28px;
}

.main-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Section accueil centrée */
.section-accueil {
    text-align: center;
}

.section-accueil h2 {
    text-align: center;
}

.titre-accueil {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.sous-titre-accueil {
    text-align: center;
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.note-automatique {
    text-align: center;
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-bottom: 20px;
}

/* Barre contact élégante */
.contact-bar {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px 30px;
    margin-top: 25px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-bar-intro {
    font-size: 13px;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left;
}

.contact-bar-items {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-bar-divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background 0.2s ease;
    flex: 1;
}

.contact-bar-item:hover {
    background: #fff5e6;
}

.contact-bar-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    background: #ff8c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-bar-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-bar-value {
    display: block;
    font-size: 15px;
    color: #000000;
    font-weight: 700;
}

/* Responsive contact bar */
@media screen and (max-width: 600px) {
    .contact-bar {
        padding: 15px 20px;
    }
    
    .contact-bar-items {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-bar-divider {
        width: 100%;
        height: 1px;
    }
    
    .contact-bar-item {
        width: 100%;
    }
    
    .contact-bar-value {
        font-size: 14px;
    }
}

.contact-texte a {
    color: #ff8c00;
    text-decoration: none;
}

.contact-texte a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 600px) {
    .titre-accueil {
        font-size: 26px;
    }
    
    .sous-titre-accueil {
        font-size: 16px;
    }
    
    .contact-texte {
        font-size: 14px;
    }
}

.section-accueil > p {
    text-align: center;
}

/* Grille agences - Design carte moderne sans bordure */
.agences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.agence-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.agence-card:hover {
    
    
}

.agence-image {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agence-icon-big {
    font-size: 60px;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.9;
}

.agence-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    color: #ff8c00;
}

.agence-content {
    padding: 20px;
}

.agence-content h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.agence-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agence-specs span {
    font-size: 14px;
    color: #666;
}

.agence-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    padding: 10px;
    margin: -10px;
    margin-bottom: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.agence-link:hover {
    background: #fff3e0;
}

.agence-link span {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.agence-link:hover span {
    color: #ff8c00;
}

/* Avis Google sous chaque carte d'agence */
.agence-avis {
    background: #ff8c00;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.agence-avis-stars {
    font-size: 14px;
}

.agence-avis-note {
    font-size: 16px;
    font-weight: 800;
    color: #000000;
}

.agence-avis-count {
    font-size: 13px;
    color: #000000;
    font-weight: 600;
}

/* Avis Google */
.avis-google-section {
    margin-top: 30px;
}

.avis-google-section h3 {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.avis-google-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.avis-google-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.avis-google-card:hover {
    
    
}

.avis-header {
    margin-bottom: 15px;
}

.avis-agence {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.avis-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.avis-rating .stars {
    font-size: 18px;
}

.avis-rating .note {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.avis-count {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.avis-link {
    display: inline-block;
    color: #ff8c00;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid #ff8c00;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.avis-link:hover {
    background: #ff8c00;
    color: #000000;
}

@media screen and (max-width: 600px) {
    .avis-google-grid {
        grid-template-columns: 1fr;
    }
}

.agence-agrement {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

/* Responsive agences */
@media screen and (max-width: 600px) {
    .agences-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}

/* Formateurs et Véhicules côte à côte sur desktop */
.formateurs-vehicules-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.formateurs-vehicules-row .section-half {
    min-width: 0;
}

.formateurs-vehicules-row .section-half#formations {
    flex: 2;
}

.formateurs-vehicules-row .section-half#vehicules {
    flex: 3;
}

.formateurs-vehicules-row .formateurs-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 15px;
}

.formateurs-vehicules-row .formateur-image {
    height: 150px;
}

.formateurs-vehicules-row .formateur-content {
    padding: 10px 12px;
}

.formateurs-vehicules-row .formateur-content h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.formateurs-vehicules-row .formateur-specs span {
    font-size: 11px;
}

.formateurs-vehicules-row .formateur-badge {
    padding: 4px 10px;
    font-size: 10px;
}

.formateurs-vehicules-row .vehicules-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.formateurs-vehicules-row .vehicule-image {
    height: 150px;
}

.formateurs-vehicules-row .vehicule-content {
    padding: 10px 12px;
}

.formateurs-vehicules-row .vehicule-content h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.formateurs-vehicules-row .vehicule-specs span {
    font-size: 11px;
}

.formateurs-vehicules-row .vehicule-badge {
    padding: 4px 8px;
    font-size: 9px;
}

@media screen and (max-width: 992px) {
    .formateurs-vehicules-row {
        flex-direction: column;
    }
}

/* Grille formateurs - Design carte moderne */
.formateurs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.formateur-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.formateur-card:hover {
    
    
}

.formateur-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.formateur-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.formateur-card:hover .formateur-image img {
    
}

.formateur-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: #ff8c00;
    color: #000000;
}

/* Badges formateurs - orange */

/* Moniteur - orange par défaut */

.formateur-content {
    padding: 20px;
    background: #ffffff;
    flex: 1;
}

.formateur-content h3 {
    color: #222222;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.formateur-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.formateur-specs span {
    font-size: 14px;
    color: #555555;
    font-weight: 600;
}

/* Responsive formateurs */
@media screen and (max-width: 600px) {
    .formateurs-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }
    
    .formateur-card {
        max-width: 100%;
    }
    
    .formateur-image {
        height: auto;
        aspect-ratio: 3 / 4;
    }
    
    .formateur-image img {
        object-fit: contain;
        background: #f5f5f5;
    }
}

/* Grille véhicules - Design carte moderne */
.vehicules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.vehicule-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vehicule-card:hover {
    
    
}

.vehicule-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.vehicule-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicule-card:hover .vehicule-image img {
    
}

.vehicule-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.vehicule-badge.badge-manuelle {
    background: #ff8c00;
    color: #000000;
}

.vehicule-badge.badge-auto {
    background: #ff8c00;
    color: #000000;
}

.vehicule-badge.badge-elec {
    left: auto;
    right: 10px;
    background: #ff8c00;
    color: #000000;
}

.vehicule-content {
    padding: 20px;
    background: #ffffff;
    flex: 1;
}

.vehicule-content h3 {
    color: #222222;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.vehicule-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vehicule-specs span {
    font-size: 14px;
    color: #555555;
    font-weight: 600;
}





/* Responsive véhicules */
@media screen and (max-width: 992px) {
    .vehicules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .vehicules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vehicule-card {
        max-width: 100%;
    }
    
    .vehicule-image {
        height: auto;
        aspect-ratio: 16 / 10;
    }
    
    .vehicule-image img {
        object-fit: contain;
        background: #f5f5f5;
    }
}

/* ==================== */
/* CARROUSEL MOBILE     */
/* ==================== */

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ff8c00;
    transform: scale(1.2);
}

/* Carrousel actif uniquement sur mobile */
@media screen and (max-width: 600px) {
    .carousel-container {
        overflow: hidden;
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .carousel-track {
        display: flex !important;
        gap: 0 !important;
        transition: transform 0.4s ease;
    }
    
    .carousel-item {
        min-width: 85%;
        flex-shrink: 0;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    .carousel-item:last-child {
        padding-right: 0;
    }
    
    .carousel-dots {
        display: flex;
    }
    
    /* Ajustements spécifiques formateurs */
    .formateurs-grid.carousel-track {
        max-width: none;
    }
    
    .formateur-card.carousel-item {
        max-width: none;
    }
    
    /* Ajustements spécifiques véhicules */
    .vehicules-grid.carousel-track {
        grid-template-columns: none;
    }
    
    .vehicule-card.carousel-item {
        max-width: none;
    }
    
    /* Ajustements carousel étapes inscription */
    .etapes-inscription-grid.carousel-track {
        display: flex !important;
        gap: 0 !important;
    }
    
    .etape-inscription-card.carousel-item {
        max-width: none;
    }
    
    /* Ajustements carousel tarifs */
    .tarifs-cards-grid.carousel-track {
        display: flex !important;
        gap: 0 !important;
    }
    
    .tarif-card-accueil.carousel-item {
        max-width: none;
    }
}

/* Pied de page */
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ff8c00;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff8c00;
}

.footer-agrement {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 10px !important;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ff8c00;
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section p {
        word-break: break-word;
    }
    
    .footer-section a {
        word-break: break-all;
    }
}

/* ==================== */
/* PAGE VÉRIFICATIONS   */
/* ==================== */

.verifications-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.verifications-intro p {
    margin: 8px 0;
    color: #555;
}

.expand-all-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px auto;
    padding: 12px 25px;
    background: #ff8c00;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3);
}

.verif-category {
    margin-bottom: 30px;
}

.verif-category-title {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
    margin-bottom: 15px;
}

.verif-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.verif-question {
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.verif-question:hover {
    border-color: #ff8c00;
    background: #fff8f0;
}

.verif-num {
    background: #ff8c00;
    color: #000000;
    min-width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.verif-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #888;
}

.verif-item.active .verif-arrow {
    transform: rotate(180deg);
}

.verif-item.active .verif-question {
    border-color: #ff8c00;
    border-radius: 6px 6px 0 0;
}

.verif-answer {
    display: none;
    padding: 20px;
    background: #fff8f0;
    border: 2px solid #ff8c00;
    border-top: none;
    border-radius: 0 0 10px 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.verif-item.active .verif-answer {
    display: block;
}

@media screen and (max-width: 600px) {
    .verif-question {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .verif-num {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ==================== */
/* POPUP COOKIES        */
/* ==================== */

.cookie-popup {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #ff8c00;
    color: #000000;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.cookie-decline {
    background: transparent;
    color: #ccc;
    border: 2px solid #555;
}

.cookie-decline:hover {
    border-color: #888;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== */
/* PAGE MERCI           */
/* ==================== */

.page-merci {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merci-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
}

.merci-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.merci-card h1,
.merci-card h2 {
    color: #2e7d32;
    font-size: 28px;
    margin-bottom: 20px;
}

.merci-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.merci-card .btn-inscription {
    margin-top: 20px;
}

/* ==================== */
/* PAGE EXAMEN PRATIQUE */
/* ==================== */

.notation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.notation-item {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.notation-points {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1;
}

.notation-label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 8px;
    line-height: 1.3;
}

.notation-info {
    font-size: 13px;
    color: #555;
    text-align: center;
    margin: 15px 0 0 0;
    line-height: 1.6;
}

.erreur-eliminatoire {
    background: #ffebee;
    border-left-color: #c62828;
}

.erreur-eliminatoire h4 {
    color: #c62828;
}

.erreur-eliminatoire ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.erreur-eliminatoire ul li {
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
}

@media screen and (max-width: 600px) {
    .notation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .notation-points {
        font-size: 28px;
    }
}

/* ==================== */
/* PAGE PROGRAMME REMC  */
/* ==================== */

.remc-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-top: -10px;
    margin-bottom: 25px;
}

.remc-section {
    margin-bottom: 40px;
}

.remc-section h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff8c00;
}

.remc-themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.remc-theme {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.remc-theme:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(255, 140, 0, 0.15);
}

.theme-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: #ff8c00;
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}

.theme-content h4 {
    color: #333;
    font-size: 15px;
    margin-bottom: 5px;
}

.theme-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Cartes compétences */
.competence-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.competence-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    color: white;
}

.competence-1 .competence-header { background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%); }
.competence-2 .competence-header { background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%); }
.competence-3 .competence-header { background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%); }
.competence-4 .competence-header { background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%); }

.competence-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.competence-header h4 {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

.competence-list {
    padding: 20px 25px 20px 45px;
    margin: 0;
}

.competence-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.competence-list li:last-child {
    border-bottom: none;
}

@media screen and (max-width: 768px) {
    .remc-themes-grid {
        grid-template-columns: 1fr;
    }
    
    .competence-header {
        flex-direction: column;
        text-align: center;
    }
    
    .competence-header h4 {
        font-size: 15px;
    }
}

/* ==================== */
/* PAGE REGLEMENT       */
/* ==================== */

.page-reglement {
    max-width: 900px;
    margin: 0 auto;
}

.reglement-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    border-left: 4px solid #ff8c00;
}

.reglement-intro p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.reglement-intro p:last-child {
    margin-bottom: 0;
}

.reglement-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.reglement-section h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.reglement-section p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

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

.reglement-section ul,
.reglement-section ol {
    margin: 15px 0;
    padding-left: 25px;
}

.reglement-section ul li,
.reglement-section ol li {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.reglement-section.obligations {
    background: #fff8e1;
    border: 2px solid #ffb300;
}

.reglement-section.obligations h3 {
    color: #e65100;
}

.reglement-section.sanctions {
    background: #ffebee;
    border: 2px solid #ef5350;
}

.reglement-section.sanctions h3 {
    color: #c62828;
}

.reglement-bienvenue {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    margin-top: 30px;
}

.reglement-bienvenue p {
    color: #2e7d32;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* STYLES DU FORMULAIRE - VERSION MODERNE */
.inscription-form {
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Sections du formulaire */
.form-section {
    padding: 40px;
    background-color: #ffffff;
    margin-bottom: 2px;
    position: relative;
}

.form-section:nth-child(odd) {
    background-color: #fafafa;
}

.form-section h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-number {
    background: #ff8c00;
    color: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.3);
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 20px;
    min-width: 0;
}

.form-group-full,
.form-group-half {
    min-width: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

.label-main {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.required {
    color: #ff8c00;
    font-weight: bold;
}

/* Champs de saisie */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Cartes radio pour type de formation */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.card-content {
    padding: 12px 10px;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.card-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.card-title {
    font-weight: bold;
    color: #333;
    font-size: 13px;
    margin-bottom: 3px;
}

.card-desc {
    color: #666;
    font-size: 11px;
}

.radio-card input[type="radio"]:checked + .card-content {
    background: #ff8c00;
    border-color: #ff8c00;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3);
    transform: translateY(-3px);
}

.radio-card input[type="radio"]:checked + .card-content .card-title,
.radio-card input[type="radio"]:checked + .card-content .card-desc {
    color: #000000;
}

/* Boutons radio en ligne */
.radio-inline {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.radio-button {
    flex: 1;
    min-width: 200px;
    position: relative;
    cursor: pointer;
}

.radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-button span {
    display: block;
    padding: 15px 25px;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.radio-button:hover span {
    background-color: #fff5e6;
    border-color: #ffc966;
}

.radio-button input[type="radio"]:checked + span {
    background: #ff8c00;
    border-color: #ff8c00;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

/* Upload de fichiers stylisé */
.file-upload-wrapper {
    position: relative;
    margin-top: 15px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: block;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 3px dashed #ff8c00;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    border-color: #ff6b00;
    transform: translateY(-2px);
}

.file-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.file-text {
    display: block;
    font-weight: 600;
    color: #ff8c00;
    font-size: 16px;
    margin-bottom: 8px;
}

.file-hint {
    display: block;
    color: #999;
    font-size: 14px;
}

.file-info {
    display: block;
    margin-top: 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.documents-note {
    background: #fff3e0;
    border-left: 4px solid #ff8c00;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    color: #e65100;
    font-size: 14px;
}

.file-list {
    margin-top: 15px;
}

.file-list-title {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 14px;
}

.file-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.file-list ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}

.file-list ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.file-list ul li:first-child {
    padding-top: 0;
}

.file-size {
    color: #888;
    font-size: 12px;
}

.file-remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1;
    transition: background 0.2s ease;
}

.file-remove-btn:hover {
    background: #c0392b;
}

/* Checkboxes situation */
.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: #fff3e0;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff8c00;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.conditional-input {
    margin-top: 15px;
    margin-left: 32px;
    padding: 15px;
    background: #fff;
    border: 2px solid #ff8c00;
    border-radius: 10px;
}

.conditional-input label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.conditional-input input {
    width: 120px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

/* Section représentant légal (mineurs) */
.mineur-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5e6 0%, #fff 100%);
    border: 2px solid #ff8c00;
    border-radius: 6px;
}

.mineur-section h4 {
    margin: 0 0 20px 0;
    color: #ff8c00;
    font-size: 18px;
}

.mineur-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.mineur-section label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.mineur-section input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.mineur-section input:focus {
    border-color: #ff8c00;
    outline: none;
}

@media screen and (max-width: 600px) {
    .mineur-section .form-row {
        grid-template-columns: 1fr;
    }
}

/* Boutons du formulaire */
.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.btn-submit,
.btn-reset {
    padding: 18px 45px;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-icon {
    font-size: 20px;
}

.btn-submit {
    background: #ff8c00;
    color: #000000;
}

.btn-submit:hover {
    background: #ff6b00;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-reset {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #ffffff;
}

.btn-reset:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-3px);
}

.form-footer {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: -20px;
    padding-bottom: 20px;
}

/* STYLES POUR LA PAGE VERIFICATIONS */
.verifications-intro {
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    border-left: 4px solid #ff8c00;
}

.verifications-intro p {
    margin-bottom: 10px;
}

.verifications-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #ff8c00;
    background: white;
    color: #ff8c00;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff8c00;
    color: #000000;
}

.verification-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.verification-card:hover {
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.15);
    border-color: #ff8c00;
}

.verification-header {
    background: #ff8c00;
    color: #000000;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verification-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-number {
    background: white;
    color: #ff8c00;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.verification-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.verification-card.open .verification-toggle {
    transform: rotate(180deg);
}

.verification-content {
    display: none;
    padding: 20px;
}

.verification-card.open .verification-content {
    display: block;
}

.verification-section {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
}

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

.verification-section.interieur {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.verification-section.exterieur {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.verification-section.securite {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
}

.verification-section.secours {
    background-color: #fce4ec;
    border-left: 4px solid #e91e63;
}

.verification-section h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verification-section.interieur h4 {
    color: #1565c0;
}

.verification-section.exterieur h4 {
    color: #2e7d32;
}

.verification-section.securite h4 {
    color: #e65100;
}

.verification-section.secours h4 {
    color: #c2185b;
}

.verification-question {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.verification-answer {
    color: #555;
    padding-left: 15px;
    border-left: 2px solid #ddd;
    margin-left: 5px;
}

.verification-answer ul {
    margin: 5px 0;
    padding-left: 20px;
}

.verification-answer li {
    margin-bottom: 5px;
}

.expand-all-btn {
    display: block;
    margin: 20px auto;
    padding: 12px 30px;
    background: #ff8c00;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* Overlay du menu latéral (caché sur desktop) */
.nav-overlay {
    display: none;
}

/* Bloquer le scroll quand le menu latéral est ouvert */
body.menu-open {
    overflow: hidden;
}

/* RESPONSIVE DESIGN */

/* Tablettes (768px et moins) */
@media screen and (max-width: 768px) {

    /* Header fixe sur mobile */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
    }

    /* Bouton hamburger dans le bandeau orange */
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1101;
    }

    /* Overlay sombre derrière le menu latéral */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1200;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Menu latéral qui glisse depuis la droite */
    .nav-bar {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 280px;
        max-width: 80vw;
        background-color: #1a1a1a;
        z-index: 1300;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }

    .nav-bar.active {
        transform: translateX(0);
    }

    .nav-bar .container {
        position: relative;
        padding: 0;
    }

    /* En-tête du menu latéral */
    .nav-bar::before {
        content: 'MENU';
        display: block;
        padding: 25px 25px 20px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 3px;
        color: #ff8c00;
        border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    }

    /* Menu visible quand actif */
    .main-nav {
        display: block;
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav ul li a {
        padding: 16px 25px;
        font-size: 14px;
        letter-spacing: 0.3px;
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    .main-nav ul li a:hover {
        background-color: rgba(255, 140, 0, 0.1);
        padding-left: 30px;
    }

    /* Menu déroulant sur mobile - désactiver le hover */
    .dropdown:hover .dropdown-menu,
    .dropdown.dropdown-hover .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu {
        position: static;
        background-color: rgba(255, 140, 0, 0.05);
        border-radius: 0;
        box-shadow: none;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        border-left: 3px solid #ff8c00;
        margin-left: 15px;
    }

    .dropdown.dropdown-active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 25px;
        font-size: 13px;
        color: #cccccc;
    }

    .dropdown-menu li a:hover {
        color: #ff8c00;
        padding-left: 30px;
    }

    .dropdown-toggle::after {
        content: ' ▼';
        font-size: 10px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.dropdown-active .dropdown-toggle::after {
        content: ' ▲';
    }

    .main-content {
        padding: 80px 0 20px 0;
    }

    .main-content h1,
    .main-content h2 {
        font-size: 24px;
    }
    
    /* Agences en colonne sur tablette */
    .agences-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    /* Formulaire responsive */
    .inscription-form {
        margin: 20px 10px;
        border-radius: 10px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .form-section h3 {
        font-size: 18px;
    }
    
    .section-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .radio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .radio-inline {
        flex-direction: column;
    }
    
    .radio-button {
        min-width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
}

/* Smartphones (480px et moins) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-header {
        padding: 15px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
    }

    .main-content h1,
    .main-content h2 {
        font-size: 20px;
    }

    .main-content p {
        font-size: 14px;
    }
    
    .inscription-form {
        padding: 0;
        margin: 15px 5px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .form-section h3 {
        font-size: 16px;
        gap: 10px;
    }
    
    .section-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .card-icon {
        font-size: 24px;
    }
    
    .card-title {
        font-size: 12px;
    }
    
    .file-upload-label {
        padding: 30px 20px;
    }
    
    .file-icon {
        font-size: 36px;
    }
    
    .btn-submit,
    .btn-reset {
        padding: 15px 30px;
        font-size: 15px;
    }
}

/* Animation du menu hamburger */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Burger au-dessus du menu latéral quand ouvert */
.menu-toggle.active {
    z-index: 1400;
}

/* ==================== */
/* PAGE TARIFS          */
/* ==================== */

.tarifs-page {
    max-width: 900px;
    margin: 0 auto;
}

.tarifs-intro {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Récapitulatif tarifs sur accueil */
.tarifs-recap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tarif-recap-card {
    display: block;
    background: #ffffff;
    border-radius: 6px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.tarif-recap-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

.tarif-recap-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.tarif-recap-card h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

.tarif-recap-desc {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.tarif-recap-from {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: lowercase;
}

.tarif-recap-price {
    display: inline-block;
    background: #ff8c00;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    margin: 0;
}

.tarifs-recap-link {
    text-align: center;
    margin-top: 30px;
}

.tarifs-recap-link a {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

.tarifs-recap-link a:hover {
    background: #e8e8e8;
}

/* Cartes tarifs accueil - style formateur */
.tarifs-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tarif-card-accueil {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.tarif-card-accueil:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tarif-card-top {
    padding: 15px 12px;
    text-align: center;
    flex: 1;
}

.tarif-card-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.tarif-card-top h3 {
    color: #333;
    font-size: 15px;
    margin-bottom: 4px;
}

.tarif-card-desc {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.tarif-card-bottom {
    padding: 10px 12px;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid #f0f0f0;
}

.tarif-card-from {
    font-size: 12px;
    color: #666666;
    font-weight: 600;
}

.tarif-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #ff8c00;
}
    color: #ff8c00;
}

/* Responsive tarifs accueil */
@media screen and (max-width: 992px) {
    .tarifs-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .tarifs-cards-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* Responsive récapitulatif tarifs */
@media screen and (max-width: 992px) {
    .tarifs-recap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .tarifs-recap-grid {
        grid-template-columns: 1fr;
    }
    
    .tarif-recap-card {
        padding: 20px 15px;
    }
}

/* ==================== */
/* ÉTAPES INSCRIPTION   */
/* ==================== */

#etapes-inscription {
    margin-bottom: 40px;
}

#etapes-inscription h2 {
    text-align: center;
}

#tarifs h2 {
    text-align: center;
}

.etapes-info-legale {
    text-align: center;
    color: #333;
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

.etapes-inscription-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.etape-inscription-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    position: relative;
}

.etape-inscription-card:hover {
    
    
}

.etape-inscription-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #ff8c00;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.etape-inscription-icon {
    font-size: 40px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.etape-inscription-card h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.etape-inscription-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.etapes-inscription-link {
    text-align: center;
    margin-top: 30px;
}

.etapes-inscription-link a {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

.etapes-inscription-link a:hover {
    background: #e8e8e8;
}

/* Responsive étapes */
@media screen and (max-width: 992px) {
    .etapes-inscription-grid {
        gap: 20px;
    }
    
    .etape-inscription-card {
        min-width: 150px;
        max-width: 180px;
    }
}

@media screen and (max-width: 600px) {
    .etapes-inscription-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .etape-inscription-card {
        width: 100%;
        max-width: 300px;
    }
}

.tarif-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.tarif-card:hover {
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.15);
}

.tarif-header {
    background: #ff8c00;
    padding: 25px 30px;
    border-bottom: none;
}

.tarif-header h3 {
    color: #000000;
    font-size: 22px;
    margin-bottom: 8px;
}

.tarif-subtitle {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px !important;
}

.tarif-age {
    color: #000000;
    font-size: 14px;
    margin: 0 !important;
    opacity: 0.8;
}

.tarif-price {
    background: #ff8c00;
    padding: 20px 30px;
    text-align: center;
    color: #000000;
}

.price-from {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.price-ttc {
    font-size: 16px;
    opacity: 0.9;
}

.tarif-content {
    padding: 25px 30px;
}

.tarif-note {
    background: #fff3e0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #e65100;
    margin-bottom: 20px;
    border-left: 4px solid #ff8c00;
}

.tarif-content h4 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 12px 0;
}

.tarif-inclus, .tarif-non-inclus {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tarif-inclus li, .tarif-non-inclus li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.tarif-inclus li:last-child, .tarif-non-inclus li:last-child {
    border-bottom: none;
}

.tarif-inclus li strong {
    color: #000000;
    background: #ff8c00;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 13px;
}

.tarif-non-inclus li strong {
    color: #000000;
    background: #ff8c00;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 13px;
}

.tarif-non-inclus li em {
    font-size: 12px;
    color: #888;
    display: block;
}

/* Section Annulation */
.tarif-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

.tarif-section h4 {
    margin-top: 0 !important;
}

.tarif-price-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    background: #ff8c00;
    color: #000000;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

.price-from-small {
    font-size: 12px;
    font-weight: 400;
}

.price-amount-small {
    font-size: 24px;
    font-weight: 700;
}

.tarif-note-small {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

/* Prestations unitaires */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.prestation-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

.prestation-category h4 {
    margin: 0 0 15px 0 !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff8c00;
}

.prestation-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prestation-category li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

.prestation-category li:last-child {
    border-bottom: none;
}

.prestation-category li span {
    flex: 1;
    padding-right: 10px;
}

.prestation-category li strong {
    color: #000000;
    background: #ff8c00;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 13px;
    white-space: nowrap;
}

.tarifs-footer {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Responsive tarifs */
@media screen and (max-width: 768px) {
    .tarif-header {
        padding: 20px;
    }
    
    .tarif-header h3 {
        font-size: 18px;
    }
    
    .tarif-content {
        padding: 20px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .prestations-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .tarif-inclus li, .tarif-non-inclus li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .tarif-inclus li strong, .tarif-non-inclus li strong {
        align-self: flex-end;
    }
}

/* ==================== */
/* PAGE RÉSULTAT        */
/* ==================== */

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

.resultat-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.resultat-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.resultat-card h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
}

.resultat-card > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.resultat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff8c00;
    color: #000000;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.resultat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.resultat-btn-secondary {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.resultat-btn-secondary:hover {
    box-shadow: 0 10px 25px rgba(21, 101, 192, 0.3);
}

/* Étapes */
.etapes-list {
    text-align: left;
    margin-top: 25px;
}

.etape {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.etape:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.etape-num {
    width: 40px;
    height: 40px;
    background: #ff8c00;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.etape-content h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

.etape-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Service aide */
.resultat-service {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 20px;
    border-radius: 6px;
    margin-top: 25px;
    text-align: left;
    border: 2px solid #ff8c00;
}

.service-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.service-content h4 {
    color: #e65100;
    font-size: 18px;
    margin-bottom: 10px;
}

.service-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-price {
    color: #ff8c00;
    font-size: 16px !important;
    margin-top: 10px !important;
}

/* Info box */
.resultat-info {
    display: flex;
    gap: 15px;
    background: #e3f2fd;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #1565c0;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.resultat-info p {
    color: #1565c0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .resultat-card {
        padding: 20px;
    }
    
    .resultat-card h3 {
        font-size: 18px;
    }
    
    .resultat-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .etape {
        flex-direction: column;
        gap: 10px;
    }
    
    .resultat-service {
        flex-direction: column;
        text-align: center;
    }
    
    .resultat-info {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== */
/* SECTION DOCUMENTS    */
/* ==================== */

.faq-accordions {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordions .accordion-body p {
    margin: 5px 0;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.faq-accordions .accordion-body ul {
    padding-left: 20px;
    margin: 8px 0;
}

.faq-accordions .accordion-body li {
    padding: 4px 0;
    color: #444;
    font-size: 14px;
}

/* Accordéons documents */
.documents-accordions {
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.documents-accordions > h2 {
    text-align: center;
    color: #ff8c00;
    margin-bottom: 10px;
}

.documents-intro {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.accordion-item {
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #ffffff;
    color: #000000;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f0f0f0;
}

.accordion-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    display: none;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-top: none;
}

.accordion-item.open .accordion-body {
    display: block;
}

.accordion-body ul {
    padding-left: 20px;
    margin: 0;
}

.accordion-body li {
    padding: 4px 0;
    color: #444;
    font-size: 14px;
}

.documents-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px dashed #ddd;
}

.documents-section > h2 {
    text-align: center;
    color: #ff8c00;
    margin-bottom: 30px;
}

.documents-card {
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.documents-header {
    background: #ff8c00;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.documents-icon {
    font-size: 28px;
}

.documents-header h3 {
    color: #000000;
    font-size: 18px;
    margin: 0;
}

.documents-content {
    padding: 25px;
}

.documents-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-content > ul > li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 15px;
}

.documents-content > ul > li:last-child {
    border-bottom: none;
}

.documents-content > ul > li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

.documents-subgroup {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.documents-subgroup:last-child {
    margin-bottom: 0;
}

.documents-subgroup h4 {
    color: #333;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.documents-subgroup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-subgroup ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.documents-subgroup ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #000000;
    font-weight: bold;
}

/* Carte hébergement */
.documents-hebergement .documents-header {
    background: linear-gradient(135deg, #5c6bc0 0%, #3949ab 100%);
}

.attestation-modele {
    margin-top: 20px;
    background: #fff8e1;
    border: 2px dashed #ffb300;
    border-radius: 10px;
    padding: 20px;
}

.attestation-modele h4 {
    color: #ff8c00;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.attestation-texte {
    background: white;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.attestation-texte em {
    color: #1565c0;
    font-style: normal;
    background: #e3f2fd;
    padding: 2px 6px;
    border-radius: 4px;
}

.attestation-signature {
    margin-top: 20px;
    text-align: right;
    font-style: italic;
}

/* Responsive documents */
@media screen and (max-width: 600px) {
    .documents-header {
        padding: 12px 20px;
    }
    
    .documents-header h3 {
        font-size: 16px;
    }
    
    .documents-content {
        padding: 20px;
    }
    
    .documents-content > ul > li {
        font-size: 14px;
    }
}

/* ==================== */
/* PAGES PERMIS         */
/* ==================== */

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

.permis-intro {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.permis-intro p {
    color: #555;
    font-size: 15px;
    margin-bottom: 15px;
}

.permis-intro p:last-child {
    margin-bottom: 0;
}

.permis-conditions {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.permis-conditions h3 {
    color: #ff8c00;
    font-size: 20px;
    margin-bottom: 15px;
}

.permis-conditions > p {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

.permis-conditions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.permis-conditions ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.permis-conditions ul li:last-child {
    border-bottom: none;
}

.permis-conditions ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
    font-size: 16px;
}

.permis-note {
    background: #fff3e0;
    border-left: 4px solid #ff8c00;
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
}

.permis-note h4 {
    color: #e65100;
    font-size: 16px;
    margin-bottom: 10px;
}

.permis-note p {
    color: #555;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.permis-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-inscription {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

.btn-inscription:hover {
    background: #e8e8e8;
}

.btn-tarifs {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-tarifs:hover {
    background: #e8e8e8;
    color: #000000;
}

/* Styles spécifiques page Code */
.code-enligne-btn {
    margin-top: 20px;
    text-align: center;
}

.permis-intro h3 {
    color: #ff8c00;
    font-size: 18px;
    margin-bottom: 15px;
}

.permis-intro a {
    color: #ff8c00;
}

.centre-examen {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.centre-examen h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 8px;
}

.centre-examen > a {
    color: #1565c0;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

.centre-examen ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.centre-examen ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.centre-examen ul li::before {
    content: '📍';
    position: absolute;
    left: 0;
    font-size: 12px;
}

.centre-note {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
}

.themes-code {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.themes-code ol {
    margin: 0;
    padding-left: 25px;
}

.themes-code ol li {
    padding: 6px 0;
    color: #555;
    font-size: 14px;
}

.examen-info {
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #2e7d32;
}

.examen-info p {
    margin: 8px 0;
    color: #2e7d32;
    font-size: 15px;
}

.examen-info p:first-child {
    margin-top: 0;
}

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

/* Avantages conduite accompagnée */
.avantages-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 25px;
    border: 2px solid #4caf50;
}

.avantages-card h3 {
    color: #2e7d32;
    font-size: 20px;
    margin-bottom: 20px;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.avantage-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.avantage-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.avantage-item strong {
    color: #2e7d32;
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.avantage-item p {
    color: #555;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.avantage-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
}

/* Variante supervisée (bleu) */
.avantages-supervisee {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #1976d2;
}

.avantages-supervisee h3 {
    color: #1565c0;
}

.avantages-supervisee .avantage-item strong {
    color: #1565c0;
}

@media screen and (max-width: 600px) {
    .avantages-grid {
        grid-template-columns: 1fr;
    }
    
    .avantages-card {
        padding: 20px;
    }
}

@media screen and (max-width: 600px) {
    .permis-intro, .permis-conditions {
        padding: 20px;
    }
    
    .permis-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-inscription, .btn-tarifs {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Lien document PDF */
.lien-document {
    color: #ff8c00;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #ff8c00;
}

.lien-document:hover {
    color: #ff6b00;
    border-bottom-style: solid;
}

/* Vérifications - Pagination */
.verif-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.verif-page-btn {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.verif-page-btn:hover {
    border-color: #ff8c00;
    color: #ff8c00;
}

.verif-page-btn.active {
    background: #ff8c00;
    color: #000000;
    border-color: #ff8c00;
}

/* Vérifications - Cards */
.verif-card {
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #eee;
}

.verif-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.verif-card-header:hover {
    background: #fff8f0;
}

.verif-num {
    background: #ff8c00;
    color: #000000;
    font-weight: 800;
    font-size: 14px;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verif-titre {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.verif-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.verif-type-interieur {
    background: #e3f2fd;
    color: #1565c0;
}

.verif-type-exterieur {
    background: #e8f5e9;
    color: #2e7d32;
}

.verif-chevron {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.verif-card.open .verif-chevron {
    transform: rotate(180deg);
}

.verif-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.verif-card.open .verif-card-body {
    max-height: 800px;
}

.verif-section {
    padding: 12px 18px;
    border-top: 1px solid #f0f0f0;
}

.verif-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.verif-section-title.verif-color-verif {
    color: #1565c0;
}

.verif-section-title.verif-color-securite {
    color: #ff8c00;
}

.verif-section-title.verif-color-secours {
    color: #e53935;
}

.verif-question {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

.verif-reponse {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    padding-left: 12px;
    border-left: 3px solid #ddd;
}

.verif-reponse.verif-border-verif {
    border-left-color: #1565c0;
}

.verif-reponse.verif-border-securite {
    border-left-color: #ff8c00;
}

.verif-reponse.verif-border-secours {
    border-left-color: #e53935;
}

/* Responsive verif */
@media screen and (max-width: 600px) {
    .verif-card-header {
        padding: 12px 14px;
        gap: 8px;
    }
    
    .verif-titre {
        font-size: 13px;
    }
    
    .verif-type-badge {
        display: none;
    }
    
    .verif-page-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Form grid layouts */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}

.form-group-span2 {
    grid-column: span 1;
}

@media screen and (max-width: 600px) {
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Cadre résultat minimum examen */
.resultat-minimum-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border: 2px solid #ff8c00;
    border-radius: 14px;
    padding: 24px 28px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.15);
}

.resultat-minimum-icon {
    font-size: 40px;
    flex-shrink: 0;
    line-height: 1;
}

.resultat-minimum-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ff8c00;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resultat-minimum-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 6px 0;
}

.resultat-minimum-content p:last-child {
    margin-bottom: 0;
    color: #666;
    font-size: 13px;
}

@media screen and (max-width: 600px) {
    .resultat-minimum-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .resultat-minimum-icon {
        font-size: 36px;
    }
}

/* Points complémentaires inside notation card */
.points-complementaires-titre {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.points-complementaires-list {
    margin-top: 8px;
    padding-left: 20px;
}

.points-complementaires-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 4px;
}

/* Erreur éliminatoire fond rouge */
.erreur-eliminatoire {
    background: #fef2f2 !important;
    border-left: 4px solid #e53935 !important;
    border-color: #e53935 !important;
}

.erreur-eliminatoire h4 {
    color: #c62828;
}

/* Timeline AAC */
.aac-timeline {
    margin: 30px 0;
}

.aac-timeline h3 {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
}

.timeline-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ff8c00, #ff6b00);
    border-radius: 3px;
}

.timeline-step {
    position: relative;
    margin-bottom: 8px;
}

.timeline-badge {
    position: absolute;
    left: -50px;
    top: 14px;
    width: 42px;
    height: 42px;
    background: #ff8c00;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.35);
}

.timeline-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.2s ease;
}

.timeline-content:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.timeline-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.timeline-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Étape mise en avant */
.timeline-step-highlight .timeline-content {
    background: #fff8f0;
    border-color: #ff8c00;
    border-width: 2px;
}

.timeline-step-highlight .timeline-badge {
    width: 48px;
    height: 48px;
    font-size: 18px;
    left: -53px;
    top: 11px;
}

/* Étape finale */
.timeline-step-final .timeline-badge {
    background: #4caf50;
    color: #fff;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.35);
}

.timeline-step-final .timeline-content {
    background: #f1f8e9;
    border-color: #4caf50;
    border-width: 2px;
}

.timeline-step-final .timeline-content h4 {
    color: #2e7d32;
}

/* Responsive timeline */
@media screen and (max-width: 600px) {
    .timeline-container {
        padding-left: 40px;
    }
    
    .timeline-container::before {
        left: 17px;
    }
    
    .timeline-badge {
        width: 36px;
        height: 36px;
        font-size: 14px;
        left: -40px;
        top: 12px;
    }
    
    .timeline-step-highlight .timeline-badge {
        width: 40px;
        height: 40px;
        left: -42px;
        top: 10px;
    }
    
    .timeline-content {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .timeline-icon {
        font-size: 22px;
    }
    
    .timeline-content h4 {
        font-size: 14px;
    }
    
    .timeline-content p {
        font-size: 12px;
    }
}

/* Liste intro évaluation examen */
.intro-eval-list {
    padding-left: 20px;
    margin: 10px 0;
}

.intro-eval-list li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 4px;
}


/* ==========================================

/* ==========================================
   CEPC Interactive Simulator
   ========================================== */
.cepc-visual {
    margin: 30px 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.cepc-header {
    background: linear-gradient(135deg, #0d1b4a 0%, #1b3a6b 50%, #274c8a 100%);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cepc-title-block { flex: 1; }

.cepc-header h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
}

.cepc-cat {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-style: italic;
}

.cepc-reset-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cepc-reset-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(180deg);
}

.cepc-body {
    background: #f5f6f8;
    padding: 24px;
}

/* Result strip */
.cepc-result-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0d1b4a 0%, #1b3a6b 100%);
    border-radius: 14px;
    padding: 20px 28px;
    margin-bottom: 16px;
    transition: background 0.4s ease;
}

.cepc-result-pass {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%) !important;
}

.cepc-result-fail {
    background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%) !important;
}

.cepc-label-sm {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.cepc-result-badge-dyn {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.cepc-badge-neutral {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
}

.cepc-badge-pass {
    background: #4caf50;
    color: #fff;
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

.cepc-badge-fail {
    background: #e53935;
    color: #fff;
    box-shadow: 0 4px 15px rgba(229,57,53,0.4);
}

/* Elim toggle */
.cepc-elim-line {
    margin-top: 10px;
}

.cepc-elim-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cepc-elim-toggle input {
    display: none;
}

.cepc-elim-switch {
    width: 36px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    position: relative;
    transition: background 0.3s;
    flex-shrink: 0;
}

.cepc-elim-switch::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.cepc-elim-toggle input:checked + .cepc-elim-switch {
    background: #e53935;
}

.cepc-elim-toggle input:checked + .cepc-elim-switch::after {
    transform: translateX(16px);
}

.cepc-elim-text {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Score circle */
.cepc-score-circle {
    position: relative;
    width: 100px;
    height: 100px;
}

.cepc-score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.cepc-circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 6;
}

.cepc-circle-fill {
    fill: none;
    stroke: #ccc;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease, stroke 0.4s ease;
}

.cepc-score-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.cepc-big-num {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    display: block;
}

.cepc-of {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

/* Grid interactive */
.cepc-grid-interactive {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e3e8;
    overflow: hidden;
    margin-bottom: 16px;
}

.cepc-grid-header {
    display: flex;
    align-items: center;
    background: #f0f2f6;
    border-bottom: 1px solid #e0e3e8;
    padding: 0;
}

.cepc-gh-comp {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
}

.cepc-gh-n {
    width: 48px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 0;
    flex-shrink: 0;
}

.cepc-c0 { color: #c62828; }
.cepc-c1 { color: #e65100; }
.cepc-c2 { color: #2e7d32; }
.cepc-c3 { color: #1565c0; }

/* Category labels */
.cepc-cat-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 14px;
    border-bottom: 1px solid #e8eaee;
}

.cepc-cat-blue { background: #e3f2fd; color: #1565c0; }
.cepc-cat-orange { background: #fff3e0; color: #e65100; }
.cepc-cat-red { background: #fce4ec; color: #c62828; }
.cepc-cat-green { background: #e8f5e9; color: #2e7d32; }

/* Interactive rows */
.cepc-irow {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f2;
}

.cepc-irow:last-child {
    border-bottom: none;
}

.cepc-irow-label {
    flex: 1;
    font-size: 13px;
    color: #333;
    padding: 6px 14px;
}

/* Clickable buttons */
.cepc-btn {
    width: 48px;
    height: 42px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    color: #ccc;
    position: relative;
}

.cepc-btn:hover {
    background: #f5f5f5;
}

.cepc-btn.cepc-c0:hover, .cepc-btn.cepc-c0.cepc-btn-active { color: #c62828; }
.cepc-btn.cepc-c1:hover, .cepc-btn.cepc-c1.cepc-btn-active { color: #e65100; }
.cepc-btn.cepc-c2:hover, .cepc-btn.cepc-c2.cepc-btn-active { color: #2e7d32; }
.cepc-btn.cepc-c3:hover, .cepc-btn.cepc-c3.cepc-btn-active { color: #1565c0; }
.cepc-btn.cepc-ce:hover, .cepc-btn.cepc-ce.cepc-btn-active { color: #fff; background: #c62828; }
.cepc-btn.cepc-c05:hover, .cepc-btn.cepc-c05.cepc-btn-active { color: #e65100; }

.cepc-btn-active {
    font-size: 20px !important;
}

.cepc-btn-active.cepc-c0 { background: #ffebee; }
.cepc-btn-active.cepc-c1 { background: #fff3e0; }
.cepc-btn-active.cepc-c2 { background: #e8f5e9; }
.cepc-btn-active.cepc-c3 { background: #e3f2fd; }
.cepc-btn-active.cepc-ce { background: #c62828 !important; color: #fff !important; }
.cepc-btn-active.cepc-c05 { background: #fff3e0; }

/* Bonus interactive */
.cepc-bonus-interactive {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e3e8;
    overflow: hidden;
    margin-bottom: 16px;
}

.cepc-bonus-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f2;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px;
    color: #333;
}

.cepc-bonus-check:last-child {
    border-bottom: none;
}

.cepc-bonus-check:hover {
    background: #fafafa;
}

.cepc-bonus-check input {
    display: none;
}

.cepc-bonus-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 14px;
    color: transparent;
}

.cepc-bonus-check-box::after {
    content: '✓';
}

.cepc-bonus-check input:checked ~ .cepc-bonus-check-box {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.cepc-bonus-pt {
    margin-left: auto;
    font-weight: 800;
    color: #4caf50;
    font-size: 13px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.cepc-bonus-check input:checked ~ .cepc-bonus-pt {
    opacity: 1;
}

/* Footer note */
.cepc-footer-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px dashed #ccc;
    font-size: 12px;
    color: #888;
}

.cepc-note-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .cepc-header {
        padding: 16px 14px;
        gap: 12px;
    }
    
    .cepc-header h3 {
        font-size: 14px;
    }
    
    .cepc-body {
        padding: 14px;
    }
    
    .cepc-result-strip {
        padding: 16px 18px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cepc-irow-label {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .cepc-btn {
        width: 40px;
        height: 38px;
        font-size: 13px;
    }
    
    .cepc-btn-active {
        font-size: 17px !important;
    }
    
    .cepc-gh-n, .cepc-btn {
        width: 40px;
    }
    
    .cepc-score-circle {
        width: 80px;
        height: 80px;
    }
    
    .cepc-big-num {
        font-size: 26px;
    }
}
