/*
 * Séminaire IA - Deauville 2026 (CLCOM Academy).
 * Charte reprise du site "Entreprendre demain" (projet entreprendre-rdv) :
 * mêmes composants (hero, timer, timeline, sidebar, pricing cards), couleur de
 * marque #B9004B. Les blocs propres aux sections supprimées pour cet événement
 * (ateliers, activités détente) ne sont pas repris.
 */

body {
    font-family: "Hind", sans-serif;
}
.fw-bold {
    font-weight: 600 !important;
}
h1 {
    font-size: 50px;
}

@media screen and (max-width: 768px) {
    .header-background {
        margin: 0;
        margin-bottom: 4vh;
        height: 100vh;
        border-radius: 0;
    }
    .header-content {
        padding: 20px;
    }
    .header-background .logo {
        max-height: 160px !important;
        margin-bottom: 25px;
    }
    .header-background h3 {
        font-size: 14px;
        letter-spacing: 1px !important;
        line-height: 1.4;
        font-weight: 500;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .header-background h1 {
        font-size: 32px;
        letter-spacing: 2px !important;
        margin: 10px 0;
        line-height: 1.2;
    }
    .separator {
        width: 60px;
        height: 4px;
        margin: 15px auto;
    }
}
h2 {
    font-size: 40px;
    letter-spacing: 10px !important;
}
h3 {
    letter-spacing: 1px;
    font-size: 18px;
}
a {
    text-decoration: none;
    color: #333333;
}
a:hover {
    text-decoration: none;
    color: #b9004b;
}
.text-primary {
    color: #b9004b !important;
}
.header-background {
    margin: 3vh;
    margin-bottom: 6vh;
    background: url("/images/sites/seminaire_ia/heroes.jpg") no-repeat center center;
    background-size: cover;
    height: 91vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.header-background .logo {
    margin-bottom: 30px;
}

.bg-red {
    background-color: #b9004b;
}

.timer-item {
    background-color: rgba(185, 0, 75, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px !important;
    width: 140px;
    transition: transform 0.3s ease;
}

.timer-number {
    font-size: 40px;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
.separator {
    width: 20%;
    height: 6px;
    background-color: #b9004b;
    margin: 20px auto;
    margin-bottom: 40px;
}

.edito {
    padding: 20px 0;
}

.edito-content {
    padding-left: 20px;
}

@media screen and (max-width: 768px) {
    .edito-content {
        padding-left: 0;
    }
}

.edito-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    position: relative;
    text-align: center;
    max-width: 800px;
}

.edito-title .line {
    flex: 1;
    height: 5px;
    background-color: #b9004b;
    margin: 0 10px;
}

.read-more {
    display: block;
    margin-top: 20px;
    color: #b9004b;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.nav-link:not(.active) {
    color: #000 !important;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 0;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-event {
    padding: 0px 40px;
    position: relative;
    width: 50%;
}

.timeline-event.left {
    left: 0;
}

.timeline-event.right {
    position: relative;
    left: 50%;
}

.timeline-event::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 5px solid #ddd;
    transform: translateY(-50%);
    top: 50%;
    border-radius: 50%;
    z-index: 1;
}

.timeline-event.left::after {
    right: -11px;
}

.timeline-event.right::after {
    left: -9.5px;
}

.timeline-event.right .timeline-content::before {
    content: " ";
    border-bottom: 11px solid transparent;
    border-right: 12px solid #ddd;
    border-left: none;
    border-top: 11px solid transparent;
    left: -12px;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.timeline-event.left .timeline-content::before {
    content: " ";
    border-bottom: 11px solid transparent;
    border-left: 12px solid #ddd;
    border-right: none;
    border-top: 11px solid transparent;
    right: -12px;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.timeline-content {
    padding: 1.25rem;
    background-color: white;
    position: relative;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: #b9004b;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
}

.timeline-content h5 {
    font-size: 17px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    margin-bottom: 5px;
    color: #333333;
}

.timeline-content p {
    margin-bottom: 0;
    color: #666;
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-event {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-top: 20px;
    }

    .timeline-event.left::after,
    .timeline-event.right::after {
        left: 5.5%;
    }

    .timeline-event.right {
        left: 0%;
    }

    .timeline-event.left {
        text-align: left;
    }
    .timeline-event.right .timeline-content::before,
    .timeline-event.left .timeline-content::before {
        content: " " !important;
        border-bottom: 11px solid transparent !important;
        border-right: 12px solid #ddd !important;
        border-left: none !important;
        border-top: 11px solid transparent !important;
        left: -12px !important;
        position: absolute !important;
        transform: translateY(-50%) !important;
        top: 50% !important;
        right: unset;
    }
}

.nav-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.nav-tabs {
    border-bottom: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tabs .nav-item {
    flex: 0 0 auto;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    color: #666;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-bottom: 3px solid transparent;
    outline: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #b9004b !important;
    border-bottom: 3px solid #b9004b !important;
}

@media (max-width: 768px) {
    .nav-tabs {
        justify-content: flex-start !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-tabs .nav-link {
        padding: 12px 20px;
        margin: 0 8px;
        border-radius: 50px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-bottom: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .nav-tabs .nav-link.active {
        background-color: #b9004b !important;
        color: #fff !important;
        border-color: #b9004b !important;
        border-bottom: none !important;
        box-shadow: 0 4px 10px rgba(185, 0, 75, 0.3);
    }
}

.soirees,
#inscription {
    background-color: #f5f5f5;
    padding: 50px;
}

.soiree {
    text-align: center;
    margin-bottom: 20px;
}

/* Cadre calé sur le format des photos (16:9) plutôt qu'une hauteur fixe de
   300px, qui en rognait plus d'un tiers sur les côtés. Les deux visuels
   s'affichent ainsi en entier et restent alignés. */
.soiree-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow-clip-margin: unset;
    border-radius: 10px;
}

.soiree-img-hover {
    transition: transform 0.3s ease;
    cursor: pointer;
}


.soiree-img-hover:hover {
    transform: scale(0.9);
}

.soiree h3 {
    margin-top: 15px;
    font-weight: bold;
}

.soiree p {
    color: #b9004b;
    font-weight: bold;
}

.read-more-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.read-more-btn {
    color: #b9004b;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    border-bottom: 1px solid #b9004b;
}

.btn-inscription {
    background-color: #b9004b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-inscription:hover {
    background-color: #a3002d;
}

.pricing-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .card-body {
    padding: 20px;
    flex: 1 1 auto;
}

.pricing-card ul {
    padding: 0;
    list-style: none;
}

.pricing-card p {
    margin: 10px 0;
}

.pricing-card .btn-primary {
    background-color: #b9004b !important;
    border-color: #b9004b !important;
}

/* Grille de prix par statut à l'intérieur d'une carte tarifaire. */
.fare-table {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.fare-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.fare-table td:last-child {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    color: #b9004b;
}

.fare-table tr:nth-child(odd) td {
    background-color: #faf5f7;
}

.fare-includes {
    font-size: 0.95rem;
    color: #555;
    text-align: left;
    line-height: 1.6;
}

/* Style pour le volet latéral */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10001;
    top: 0;
    right: 0;
    background-color: #b9004b;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 80px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
}

#sidebar .sidebar-header {
    padding: 0 32px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

#sidebar .sidebar-title {
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.7;
}

#sidebar a {
    padding: 12px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

#sidebar a i {
    width: 25px;
    margin-right: 15px;
    font-size: 1.1rem;
    opacity: 0.8;
}

#sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    color: #fff;
}

/* Boutons de téléchargement en pied de volet (plaquette, pré-requis). */
#sidebar .sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 32px;
}

#sidebar .download-btn {
    margin: 10px 32px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    justify-content: center;
    text-align: center;
}

#sidebar .download-btn:hover {
    background: #fff;
    color: #b9004b;
    padding-left: 15px;
}

#sidebar .closebtn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

#sidebar .closebtn:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 0;
}

#openSidebar {
    font-size: 24px;
    cursor: pointer;
    color: white;
    background-color: #b9004b;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 9998;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#openSidebar:hover {
    width: 60px;
}

@media screen and (max-width: 768px) {
    #sidebar a {
        font-size: 20px;
        padding: 8px 8px 8px 20px;
    }

    #sidebar .closebtn {
        font-size: 30px;
    }
}

/* Style pour le bouton flottant */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9999;
    font-size: 16px;
    background-color: #b9004b;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #2c3e50;
}

.payment-status-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
    max-width: 680px;
    width: 92%;
    margin: 4rem auto;
    text-align: center;
    border-top: 5px solid #b9004b;
}

/* Récapitulatif de l'inscription : une ligne libellé / valeur par information,
   le libellé de forfait étant trop long pour tenir sur trois colonnes. */
.recap-box {
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fafafa;
    padding: 0 1.25rem;
    margin-bottom: 1.75rem;
    text-align: left;
}

.recap-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ececec;
    font-size: 0.95rem;
}

.recap-line:last-child {
    border-bottom: 0;
}

.recap-line span {
    color: #8a8a8a;
    white-space: nowrap;
}

.recap-line strong {
    color: #333;
    text-align: right;
}

.event-callout {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    background: #fdf5f8;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.event-callout i {
    color: #b9004b;
    font-size: 1.4rem;
}

.event-callout strong {
    color: #333;
}

.status-contact {
    font-size: 0.9rem;
}

.payment-status-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
}

.bg-success-light {
    background-color: #ecfdf5;
    color: #10b981;
}

.bg-danger-light {
    background-color: #fef2f2;
    color: #ef4444;
}

.payment-status-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #b9004b;
}

.payment-status-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.payment-status-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #b9004b !important;
    border-color: #b9004b !important;
}

.btn-outline-primary {
    color: #b9004b !important;
    border-color: #b9004b !important;
}

.btn-outline-primary:hover {
    background-color: #b9004b !important;
    color: white !important;
}

.bg-primary {
    background-color: #b9004b !important;
}

.edito-image-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    transition: transform 0.3s ease;
}

.edito-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-muted-ht {
    color: rgba(185, 0, 75, 0.5) !important;
}

@media screen and (max-width: 768px) {
    .edito-image-container {
        max-width: 95%;
        margin: 0 0 30px;
        box-shadow: none;
    }
}

.edito-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.edito-accent-line {
    height: 6px;
    background-color: #b9004b;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.edito-text-wrapper {
    position: relative;
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.edito-text-wrapper.expanded {
    max-height: 3000px;
}

.edito-read-more-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.edito-text-wrapper.expanded .edito-read-more-fade {
    opacity: 0;
}

/* Bouton d'inscription principal - même traitement que sur clcom-academy.fr :
   pastille pleine cerclée d'un liseré. */
/* Bouton "pilule" repris à l'identique de clcom-front (pages webinaire) :
   classes .btn-pill + .btn-demo. Le liseré latéral vient d'un cadre qui ne
   déclare QUE ses bords gauche et droit - déclarer les quatre bords en rendant
   le haut et le bas transparents ne donne pas le même tracé aux extrémités. */
.btn-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    background-color: #b9004b;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.btn-demo {
    position: relative;
    z-index: 1;
    background-color: #b9004b;
    color: #fff;
}

.btn-demo::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-left: 1px solid #b9004b;
    border-right: 1px solid #b9004b;
    border-radius: 50px;
    z-index: -1;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-demo:hover {
    background-color: #9e004f !important;
    color: #fff !important;
}

/* ------------------------------------------------------------------ *
 * Formulaire d'inscription
 * ------------------------------------------------------------------ */

/* L'espacement vertical vient du "mb-3" posé par le thème Bootstrap sur chaque
   ligne de formulaire : ne rien ajouter par-dessus sous peine de doubler les
   gouttières (les colonnes sont déjà espacées par "g-3"). */
.registration-form .mb-3 {
    margin-bottom: 0 !important;
}

.registration-form label {
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #555;
}

.registration-form .form-control,
.registration-form .form-select {
    padding: 0.5rem 0.75rem;
    border-color: #dcdcdc;
}

/* Étapes du parcours */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
}

.steps .step.active {
    color: #b9004b;
}

/* Étape franchie : cliquable pour revenir en arrière. */
.steps a.step.done {
    color: #7f8c8d;
    text-decoration: none;
}

.steps a.step.done:hover {
    color: #b9004b;
}

.steps .step.done .step-num {
    border-color: #b9004b;
    color: #b9004b;
}

.steps .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.steps .step.active .step-num {
    background: #b9004b;
    border-color: #b9004b;
    color: #fff;
}

.steps .step-bar {
    width: 40px;
    height: 1px;
    background: #ddd;
}

/* Blocs de section */
.form-block {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-block h3 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b9004b;
    margin: 0 0 0.35rem;
}

.form-hint {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.1rem;
}

/* Choix cliquables (statut, forfait, option soirée) : le bouton radio natif
   reste dans le DOM pour la validation et l'accessibilité, seule sa
   présentation est remplacée par la carte. */
.option-label {
    display: block;
    cursor: pointer;
    margin: 0;
}

/* La case native reste dans le document - pour la validation et la navigation
   au clavier - mais sort du flux : seule la carte est visible. Ces champs sont
   rendus avec le thème de formulaire de base (voir les gabarits), afin que la
   case soit bien l'unique élément associé au <label> qui l'enveloppe. */
.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.option-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.statut-pill {
    display: block;
    border: 2px solid #e6e6e6;
    border-radius: 50px;
    /* Hauteur inchangée (1,2rem de marge verticale), mais répartie de façon
       dissymétrique : la police Hind réserve deux fois plus de place au-dessus
       de la ligne de base qu'en dessous, et un libellé sans jambage - "Claude",
       "Gemini" - paraissait remonté dans la pastille. */
    padding: 0.7rem 1.5rem 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.2s ease;
}

.option-label:hover .statut-pill {
    border-color: #b9004b;
    color: #b9004b;
}

.option-label:has(.option-input:checked) .statut-pill {
    background: #b9004b;
    border-color: #b9004b;
    color: #fff;
}

.option-label:has(.option-input:focus-visible) .statut-pill,
.option-label:has(.option-input:focus-visible) .fare-card,
.option-label:has(.option-input:focus-visible) .evening-card {
    outline: 2px solid #b9004b;
    outline-offset: 3px;
}

/* Choix obligatoire non renseigné à la soumission. */
.option-group-invalid .statut-pill,
.option-group-invalid .fare-card {
    border-color: #dc3545;
}

/* Alerte de champ obligatoire, posée sous les listes de pastilles et de cartes :
   leur case étant masquée, le navigateur n'y affiche pas sa bulle de validation,
   celle-ci en reprend l'aspect (icône, encadré, flèche vers le champ). */
.field-alert {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.85rem;
    margin-bottom: 0;
    padding: 0.6rem 0.95rem;
    border: 1px solid #f0b6c6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(185, 0, 75, 0.15);
    color: #b9004b;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.field-alert::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #f0b6c6;
    border-top: 1px solid #f0b6c6;
    transform: rotate(45deg);
}

.field-alert i {
    font-size: 1.05rem;
}

.fare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #e6e6e6;
    border-radius: 12px;
    padding: 1.1rem 1rem;
    background: #fff;
    transition: all 0.2s ease;
}

.option-label:hover .fare-card {
    border-color: #e8a3bd;
}

.option-label:has(.option-input:checked) .fare-card {
    border-color: #b9004b;
    box-shadow: 0 8px 22px rgba(185, 0, 75, 0.15);
}

.fare-card-head {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #b9004b;
    opacity: 0.75;
}

.fare-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    margin-top: 0.15rem;
    line-height: 1.25;
}

.fare-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #b9004b;
    margin: 0.6rem 0;
    line-height: 1;
}

/* Grille des tarifs par statut, affichée tant que le statut n'est pas choisi :
   les prix sont ainsi visibles dès l'arrivée sur le formulaire. */
.fare-card-grid {
    display: block;
    margin: 0.6rem 0;
    font-size: 0.82rem;
    color: #555;
}

.fare-card-grid-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.15rem 0;
}

.fare-card-grid-row > span:last-child {
    font-weight: 700;
    color: #b9004b;
    white-space: nowrap;
}

/* Cartes bloquées : lisibles, mais visiblement pas encore cliquables. */
.fare-group-locked .option-label {
    cursor: not-allowed;
}

.fare-group-locked .fare-card {
    opacity: 0.65;
    background: #fafafa;
}

.fare-group-locked .option-label:hover .fare-card {
    border-color: #e6e6e6;
}

/* Soirée du jeudi : prix unitaire rappelé au-dessus de la liste déroulante. */
.evening-price {
    font-weight: 700;
    color: #b9004b;
    font-size: 0.9rem;
}

.fare-card-includes {
    font-size: 0.78rem;
    color: #777;
    line-height: 1.5;
    margin-top: auto;
}

.fare-card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #b9004b;
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}

.option-label:has(.option-input:checked) .fare-card-check {
    opacity: 1;
    transform: scale(1);
}

.evening-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 2px dashed #e6e6e6;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    transition: all 0.2s ease;
}

.option-label:has(.option-input:checked) .evening-card {
    border-style: solid;
    border-color: #b9004b;
    background: #fdf5f8;
}

.evening-card-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: #555;
}

.evening-card-price {
    font-weight: 700;
    color: #b9004b;
    white-space: nowrap;
}

/* Astérisque des champs obligatoires : le thème Bootstrap pose la classe
   .required sur le libellé, mais ne marque rien visuellement. */
.registration-form label.required::after,
.registration-form legend.required::after {
    content: '\00a0*';
    color: #b9004b;
}

.consent-block .form-check-label {
    font-weight: 600;
    color: #333;
}

.rgpd-text {
    font-size: 12px;
    color: #777;
    text-align: justify;
    margin-top: 0.75rem;
}

/* Total de fin de formulaire. Volontairement non figé : collé en bas de
   l'écran, il masquait une partie des champs. */
.summary-bar {
    margin-top: 1.5rem;
}

.summary-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 3px solid #b9004b;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.summary-text {
    flex: 1 1 220px;
}

.summary-caption {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    color: #999;
    font-weight: 700;
}

.summary-label {
    font-weight: 600;
    color: #333;
}

.summary-price {
    text-align: right;
}

.summary-ht {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b9004b;
    line-height: 1.1;
}

.summary-ttc {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .form-block {
        padding: 1.25rem;
    }

    .summary-price {
        text-align: left;
    }

    .summary-bar-inner .btn {
        width: 100%;
    }
}

.form-control:focus,
.form-select:focus {
    border-color: #b9004b;
    box-shadow: 0 0 0 0.2rem rgba(185, 0, 75, 0.15);
}

.recap-row {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
