.error-container-chic {
    display: flex;
    justify-content: center;
    padding: 12px 20px 0;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

.alert-error-chic {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 2px;
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 680px;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Erreur par défaut (rouge) */
    background-color: rgba(163, 45, 45, 0.1);
    border: 1px solid rgba(163, 45, 45, 0.3);
    color: #e07070;
}

.alert-error-chic::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #a32d2d;
}

/* Variante succès — pour $_SESSION['super'] */
.alert-success-chic {
    background-color: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #c5a059;
}

.alert-success-chic::before {
    background-color: #c5a059;
}


/* ============================================================
   1. Page accueil
   ============================================================ */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

footer {
    margin-top: auto;
}

/* On s'assure que le footer n'a aucune couleur */
footer.page-inscription {
    /* --- 1. SÉCURITÉ : Supprimer la transparence d'éventuels dégradés --- */
    background: transparent !important;
    background-color: transparent !important;

    /* --- 2. SÉCURITÉ : Supprimer la bordure supérieure si elle est là --- */
    border-top: none !important;
    border-bottom: none !important;
    border-style: none !important;
    border-width: 0 !important;

    /* --- 3. SÉCURITÉ : Supprimer les ombres portées qui font cet effet --- */
    box-shadow: none !important;

    /* Le reste de tes styles pour le footer */
    width: 100%;
    padding: 20px 0;
    margin-top: auto;
    color: white;
    text-align: center;
}

/* --- IMPORTANT : Cible aussi .login-prompt s'il a une bordure --- */
footer.page-inscription .login-prompt {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* On change la couleur du lien pour qu'il soit visible sur l'image */
footer.page-inscription .login-prompt a {
    color: #c5a059 !important;
    /* Ton doré Business Open */
    text-decoration: none;
}

footer.page-inscription .login-prompt p {
    margin: 0;
    color: white;
}


/* Style du Hero (la photo de fond) */
.hero {
    height: 100vh;
    /* Prend toute la hauteur de l'écran */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: clamp(2rem, 10vw, 5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.btn-signup {
    display: inline-block;
    padding: 15px 40px;
    background-color: #491ff0;
    /* Bleu Business */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.btn-signup:hover {
    transform: scale(1.1);
    background-color: #1b02f5;
    color: rgb(247, 244, 244);
}


.titre-black-luxe {
    /* Typographie */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;

    /* Couleur & Dégradé (Noir avec reflet métallique) */
    background: linear-gradient(135deg, #444 0%, #000 50%, #222 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Effets de relief */
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.1);
    /* Filet de lumière très fin */

    margin: 40px 0;
}

/* Style du Slider */
.slider-section {
    padding: 80px 20px;
    background: #f8f9fa;
    text-align: center;
}

.swiper {
    width: 80%;
    max-width: 1000px;
    height: 500px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Pour que l'image remplisse bien le slider */
}

.login-prompt {
    padding: 40px;
    text-align: center;
}


/* Conteneur global du crédit */
.login-prompt {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    /* Ou la couleur de ton choix */
    border-top: 1px solid #eee;
    /* Une fine ligne pour séparer du reste */
}

/* Style du texte "Réalisé par" */
.login-prompt p {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.55rem;
    color: #666;
    /* Un gris doux pour rester discret */
    margin: 0;
}

/* Style spécifique du lien (ton nom) */
.login-prompt a {
    position: relative;
    color: #333;
    /* Noir doux pour ton nom */
    transition: all 0.3s ease;
    padding: 2px 4px;
}

/* Petit effet au survol (hover) */
.login-prompt a:hover {
    color: #007bff;
    /* Ton bleu "Business Open" au survol */
}

/* Optionnel : Une petite barre qui apparaît sous ton nom au survol */
.login-prompt a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.login-prompt a:hover::after {
    width: 100%;
}


.event-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /* Permet le passage à la ligne sur mobile */
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    gap: 30px;
    padding: 20px;
}

/* --- Styles pour chaque colonne --- */
.event-column {
    flex: 1 1 300px;
    /* Base de 300px, s'étire et se réduit */
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Le trait de séparation original (CSS) --- */
.divider {
    width: 60px;
    height: 1px;
    background-color: #253af4;
    position: relative;
    margin-bottom: 30px;
}

.divider::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 1px solid #253af4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* --- Typographie --- */
h3 {
    color: #333;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.description {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    max-width: 250px;
}

.time {
    color: #222;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.location {
    color: #222;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.address {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   1. Page inscription
   ============================================================ */

.gold-hint {
    color: #c5a059;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: -10px;
}

/* L'image ne s'affichera que si le body a la classe .page-inscription */
body.page-inscription {
    margin: 0;
    padding: 0;
    width: 100%;
    /* Utilise min-height au lieu de height */
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hotel.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* LA SOLUTION POUR LE FOOTER : */
    display: flex;
    flex-direction: column;
}

/* Ensuite, dans ton fichier PHP, assure-toi que ton <main> a ceci : */
main.teste {
    flex: 1;
    /* Cela force le main à prendre tout l'espace et pousse le footer en bas */
}

:root {
    --jc-blue: #004a99;
    --jc-gold: #c5a059;
    --jc-white: #ffffff;
    --jc-dark: #1a1a1a;
    --jc-border: #e0e0e0;
}


.btn-retour-chic {
    /* Style du texte : Hérité de votre design chic */
    color: var(--jc-gold);
    font-family: 'Playfair Display', 'Times New Roman', serif;
    /* Même police */
    text-transform: uppercase;
    font-size: 1.2rem;
    /* Plus petit pour un bouton */
    letter-spacing: 4px;
    /* Grand espacement pour l'élégance */
    font-weight: 300;
    /* Fin et délicat */
    text-decoration: none;
    /* Enlève le soulignement de base */

    /* Structure du bouton */
    display: inline-block;
    padding: 15px 40px;

    /* Bordure dorée fine */
    border: 1px solid var(--jc-gold);

    /* Transition pour l'effet de survol (lente et fluide) */
    transition: all 0.5s ease;

    /* Positionnement */
    margin-top: 20px;
    cursor: pointer;
}

/* --- Effet au survol (Hover) --- */
.btn-retour-chic:hover {
    color: #fff;
    /* Le texte devient blanc au survol */
    background-color: var(--jc-gold);
    /* Le fond devient doré */

    /* Léger effet d'ombre pour le décoller du fond */
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);

    /* Légère augmentation de l'espacement pour l'effet de "respiration" */
    letter-spacing: 5px;
}

/* --- Conteneur Global pour tout centrer --- */
.registration-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    /* Aligne le header et le sélecteur verticalement */
    align-items: center;
    /* Centre horizontalement tous les enfants */
    justify-content: center;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* --- Header Chic --- */
.registration-header {
    text-align: center;
    /* Espace pour laisser les icônes flotter sans toucher le titre */
    width: 100%;
}

.container-selection-chic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0;
}

.container-retour {
    display: flex;
    /* Active le mode Flexbox */
    justify-content: center;
    /* Centre horizontalement */
    align-items: center;
    /* Centre verticalement si le parent a une hauteur */
    width: 100%;
    /* Prend toute la largeur disponible */
    margin-top: 40px;
    /* Un peu d'espace avec ce qui est au-dessus */
    margin-bottom: 20px;
}

.gold-subtitle {
    color: #ffffff !important;
    text-transform: uppercase;
    /* Un peu plus grand pour l'impact */
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    letter-spacing: clamp(3px, 2vw, 8px);
    line-height: 1.2;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
    display: inline-block;
    /* Permet un centrage propre */
}

/* --- Sélecteur de Profil (Le mouvement) --- */
.profile-selector-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    perspective: 1000px;
}

.card-iso {
    background: transparent;
    border: none;
}

.card-iso ul {
    padding: 0;
    display: flex;
    list-style: none;
    gap: 2rem;
    /* Espace entre les deux pour l'équilibre visuel */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* Centre les <li> à l'intérieur de l'ul */
}

.iso-pro {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* Décalage pour l'effet de vague */
.iso-pro:nth-child(2) {
    animation-delay: 2s;
}

.iso-pro .svg {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    height: 100px;
    /* Taille optimisée */
    width: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    color: var(--jc-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* --- Texte Hover (au-dessus) --- */
.iso-pro .text {
    opacity: 0;
    padding: 8px 20px;
    transition: all 0.4s ease;
    color: #1a1a1a;
    background-color: var(--jc-gold);
    position: absolute;
    top: auto;
    /* ← supprime le top */
    bottom: -50px;
    /* ← place le texte EN BAS */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: none;
    border-radius: 4px;
}

/* --- Effets au Survol --- */
.iso-pro:hover {
    animation-play-state: paused;
}

.iso-pro:hover .text {
    opacity: 1;
    top: auto;
    bottom: -60px;
    /* ← descend un peu au hover */
}

.iso-pro:hover .svg {
    transform: scale(1.15);
    background: var(--jc-gold);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.5);
}



/* Suppression des spans isométriques qui surchargeaient le visuel */
.iso-pro span {
    display: none;
}

/* Formulaire Premium */
/* --- Conteneur du Formulaire --- */
.modern-form {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);

    /* --- LES LIGNES À MODIFIER ICI --- */
    width: 100%;
    /* Prend toute la place disponible... */
    max-width: 900px;
    /* ...jusqu'à 900px maximum */
    min-height: 400px;
    /* Optionnel : évite que le bloc saute en hauteur */
    box-sizing: border-box;
    /* IMPORTANT : inclut le padding dans la largeur */
    /* ---------------------------------- */

    margin: 0 auto;
    color: #fff;
}

/* --- Titres de sections --- */
.form-section-title {
    margin-bottom: 40px;
    text-align: center;
}

.form-section-title h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    /* Blanc pour contraster avec le fond sombre */
    font-weight: 500;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: var(--jc-gold);
    margin: 15px auto 0;
    /* Centré */
}

/* --- Grille et Inputs --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
}

.modern-form:not(.hidden) {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group.full {
    grid-column: span 2;
}

.input-group label {
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--jc-gold);
    /* Label en doré pour le côté luxe */
}


/* Ta V2 qui corrige la visibilité */
.input-group-v2 {
    display: flex;
    flex-direction: column;
}

.input-group-v2 label {
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--jc-gold);
    /* Ton doré chic */
}

/* On stylise l'input spécifiquement pour qu'il soit visible */
.input-group-v2 input {
    border: 1px solid rgba(184, 134, 11, 0.3);
    /* Bordure dorée très légère */
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--jc-gold);
    /* Label en doré pour le côté luxe */
}

/* Effet au survol et au clic pour le côté premium */
.input-group-v2 input:focus {
    border-color: var(--jc-gold);
    box-shadow: 0 0 5px rgba(184, 134, 11, 0.2);
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.05);
    /* Fond input fumé */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 0;
    font-size: 1rem;
    color: #fff;
    /* Texte écrit en blanc */
    transition: all 0.3s ease;
}

/* Correction pour le texte des options dans les selects */
select option {
    background-color: #1a1a1a;
    color: #fff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--jc-gold);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

/* Placeholder plus discret */
::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Zone de dépôt de fichier (CV) --- */
.file-box {
    margin-top: 30px;
    border: 2px dashed rgba(197, 160, 89, 0.4);
    padding: 30px;
    background: rgba(197, 160, 89, 0.03);
    text-align: center;
    transition: 0.3s;
}

.file-box:hover {
    border-color: var(--jc-gold);
    background: rgba(197, 160, 89, 0.08);
}

.file-box label {
    cursor: pointer;
    color: #fff;
    font-weight: 500;
}

/* --- Bouton de validation --- */
.btn-submit {
    width: 100%;
    margin-top: 50px;
    padding: 22px;
    border: 1px solid var(--jc-gold);
    background: var(--jc-gold);
    color: #1a1a1a;
    /* Texte sombre sur bouton doré */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-submit:hover {
    background: transparent;
    color: var(--jc-gold);
    letter-spacing: 6px;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.hidden {
    display: none;
}


/* ============================================================
   3. Page merci
   ============================================================ */
:root {
    --jc-blue: #004a99;
    --jc-gold: #c5a059;
    /* Une touche dorée pour le côté chic */
    --light-gray: #f9f9f9;
    --dark-text: #1a1a1a;
}

.thanks-wrapper {
    font-family: 'Playfair Display', serif;
    /* Si tu peux l'importer, c'est très chic */
    background-color: #fff;
    padding: 100px 20px;
    color: var(--dark-text);
    text-align: center;
}

.brand-header {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    color: var(--jc-gold);
    margin-bottom: 20px;
    display: block;
}

.main-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--jc-blue);
}

/* Texte principal sans box, juste pur */
.intro-text {
    max-width: 750px;
    margin: 0 auto 80px auto;
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
    color: #444;
}

.intro-text strong {
    color: var(--jc-blue);
}

/* Sections Date/Lieu/Dresscode plus grandes et aérées */
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 100px auto;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 60px 0;
}

.info-item {
    padding: 20px;
}

.info-item h3 {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: var(--jc-gold);
}

.info-item p {
    font-size: 1.1rem;
    margin: 5px 0;
    color: var(--dark-text);
}

.info-item .large-detail {
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

/* Sponsors discret et élégant */

.sponsors-section {
    margin-top: 100px;
    padding-bottom: 60px;
    text-align: center;
}

.sponsors-label {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #999;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 50px;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    /* Espace entre les logos */
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.sponsor-link {
    display: block;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.sponsor-link:hover {
    opacity: 0.7;
    /* Léger feedback visuel au survol */
}

.sponsor-link img {
    max-width: 180px;
    /* Taille des logos */
    height: auto;
    display: block;
}


/* Bouton épuré */
.btn-minimal {
    text-decoration: none;
    color: var(--jc-blue);
    border: 1px solid var(--jc-blue);
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s;
}

.btn-minimal:hover {
    background-color: var(--jc-blue);
    color: #fff;
}



/* ============================================================
   4. Page erreur
   ============================================================ */

/* Container pour centrer la TV sur toute la page */
.error-container {
    display: flex;
    justify-content: center;
    /* Centre horizontalement */
    align-items: center;
    /* Centre verticalement */
    min-height: 80vh;
    /* Prend 80% de la hauteur de l'écran */
    width: 100%;
}

/* On nettoie le lien <a> */
.error-link {
    text-decoration: none !important;
    /* Enlève la ligne sous le texte */
    color: inherit;
    /* Garde la couleur des éléments enfants */
    outline: none;
    /* Enlève le contour bleu au clic */
    display: block;
    /* Pour que le lien englobe bien tout le wrapper */
}

/* Optionnel : un petit effet au survol pour montrer que c'est cliquable */
.error-link:hover {
    cursor: pointer;
    opacity: 0.9;
}

/* From Uiverse.io by Praashoo7 */
/* Design Inspired by one of Stefan Devai's Design on Dribble */

.main_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30em;
    height: 30em;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5em;
}

.antenna {
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #f27405;
    margin-bottom: -6em;
    margin-left: 0em;
    z-index: -1;
}

.antenna_shadow {
    position: absolute;
    background-color: transparent;
    width: 50px;
    height: 56px;
    margin-left: 1.68em;
    border-radius: 45%;
    transform: rotate(140deg);
    border: 4px solid transparent;
    box-shadow:
        inset 0px 16px #a85103,
        inset 0px 16px 1px 1px #a85103;
    -moz-box-shadow:
        inset 0px 16px #a85103,
        inset 0px 16px 1px 1px #a85103;
}

.antenna::after {
    content: "";
    position: absolute;
    margin-top: -9.4em;
    margin-left: 0.4em;
    transform: rotate(-25deg);
    width: 1em;
    height: 0.5em;
    border-radius: 50%;
    background-color: #f69e50;
}

.antenna::before {
    content: "";
    position: absolute;
    margin-top: 0.2em;
    margin-left: 1.25em;
    transform: rotate(-20deg);
    width: 1.5em;
    height: 0.8em;
    border-radius: 50%;
    background-color: #f69e50;
}

.a1 {
    position: relative;
    top: -102%;
    left: -130%;
    width: 12em;
    height: 5.5em;
    border-radius: 50px;
    background-image: linear-gradient(#171717,
            #171717,
            #353535,
            #353535,
            #171717);
    transform: rotate(-29deg);
    clip-path: polygon(50% 0%, 49% 100%, 52% 100%);
}

.a1d {
    position: relative;
    top: -211%;
    left: -35%;
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #979797;
    z-index: 99;
}

.a2 {
    position: relative;
    top: -210%;
    left: -10%;
    width: 12em;
    height: 4em;
    border-radius: 50px;
    background-color: #171717;
    background-image: linear-gradient(#171717,
            #171717,
            #353535,
            #353535,
            #171717);
    margin-right: 5em;
    clip-path: polygon(47% 0,
            47% 0,
            34% 34%,
            54% 25%,
            32% 100%,
            29% 96%,
            49% 32%,
            30% 38%);
    transform: rotate(-8deg);
}

.a2d {
    position: relative;
    top: -294%;
    left: 94%;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    border: 2px solid black;
    background-color: #979797;
    z-index: 99;
}

.notfound_text {
    background-color: black;
    padding-left: 0.3em;
    padding-right: 0.3em;
    font-size: 0.75em;
    color: white;
    letter-spacing: 0;
    border-radius: 5px;
    z-index: 10;
}

.tv {
    width: 17em;
    height: 9em;
    margin-top: 3em;
    border-radius: 15px;
    background-color: #d36604;
    display: flex;
    justify-content: center;
    border: 2px solid #1d0e01;
    box-shadow: inset 0.2em 0.2em #e69635;
}

.tv::after {
    content: "";
    position: absolute;
    width: 17em;
    height: 9em;
    border-radius: 15px;
    background:
        repeating-radial-gradient(#d36604 0 0.0001%, #00000070 0 0.0002%) 50% 0/2500px 2500px,
        repeating-conic-gradient(#d36604 0 0.0001%, #00000070 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    opacity: 0.09;
}

.curve_svg {
    position: absolute;
    margin-top: 0.25em;
    margin-left: -0.25em;
    height: 12px;
    width: 12px;
}

.display_div {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 3.5px 3.5px 0px #e69635;
}

.screen_out {
    width: auto;
    height: auto;

    border-radius: 10px;
}

.screen_out1 {
    width: 11em;
    height: 7.75em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.screen {
    width: 13em;
    height: 7.85em;
    font-family: Montserrat;
    border: 2px solid #1d0e01;
    background:
        repeating-radial-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 50% 0/2500px 2500px,
        repeating-conic-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    animation: b 0.2s infinite alternate;
    border-radius: 10px;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.15em;
    text-align: center;
}

.screenM {
    width: 13em;
    height: 7.85em;
    position: relative;
    font-family: Montserrat;
    background: linear-gradient(to right,
            #002fc6 0%,
            #002bb2 14.2857142857%,
            #3a3a3a 14.2857142857%,
            #303030 28.5714285714%,
            #ff0afe 28.5714285714%,
            #f500f4 42.8571428571%,
            #6c6c6c 42.8571428571%,
            #626262 57.1428571429%,
            #0affd9 57.1428571429%,
            #00f5ce 71.4285714286%,
            #3a3a3a 71.4285714286%,
            #303030 85.7142857143%,
            white 85.7142857143%,
            #fafafa 100%);
    border-radius: 10px;
    border: 2px solid black;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.15em;
    text-align: center;
    overflow: hidden;
}

.screenM:before,
.screenM:after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
}

.screenM:before {
    top: 0;
    height: 68.4782608696%;
    background: linear-gradient(to right,
            white 0%,
            #fafafa 14.2857142857%,
            #ffe60a 14.2857142857%,
            #f5dc00 28.5714285714%,
            #0affd9 28.5714285714%,
            #00f5ce 42.8571428571%,
            #10ea00 42.8571428571%,
            #0ed600 57.1428571429%,
            #ff0afe 57.1428571429%,
            #f500f4 71.4285714286%,
            #ed0014 71.4285714286%,
            #d90012 85.7142857143%,
            #002fc6 85.7142857143%,
            #002bb2 100%);
}

.screenM:after {
    bottom: 0;
    height: 21.7391304348%;
    background: linear-gradient(to right,
            #006c6b 0%,
            #005857 16.6666666667%,
            white 16.6666666667%,
            #fafafa 33.3333333333%,
            #001b75 33.3333333333%,
            #001761 50%,
            #6c6c6c 50%,
            #626262 66.6666666667%,
            #929292 66.6666666667%,
            #888888 83.3333333333%,
            #3a3a3a 83.3333333333%,
            #303030 100%);
}

@keyframes b {
    100% {
        background-position:
            50% 0,
            60% 50%;
    }
}

.lines {
    display: flex;
    column-gap: 0.1em;
    align-self: flex-end;
}

.line1,
.line3 {
    width: 2px;
    height: 0.5em;
    background-color: black;
    border-radius: 25px 25px 0px 0px;
    margin-top: 0.5em;
}

.line2 {
    flex-grow: 1;
    width: 2px;
    height: 1em;
    background-color: black;
    border-radius: 25px 25px 0px 0px;
}

.buttons_div {
    width: 4.25em;
    align-self: center;
    height: 8em;
    background-color: #e69635;
    border: 2px solid #1d0e01;
    padding: 0.6em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 0.75em;
    box-shadow: 3px 3px 0px #e69635;
}

.b1 {
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    background-color: #7f5934;
    border: 2px solid black;
    box-shadow:
        inset 2px 2px 1px #b49577,
        -2px 0px #513721,
        -2px 0px 0px 1px black;
}

.b1::before {
    content: "";
    position: absolute;
    margin-top: 1em;
    margin-left: 0.5em;
    transform: rotate(47deg);
    border-radius: 5px;
    width: 0.1em;
    height: 0.4em;
    background-color: #000000;
}

.b1::after {
    content: "";
    position: absolute;
    margin-top: 0.9em;
    margin-left: 0.8em;
    transform: rotate(47deg);
    border-radius: 5px;
    width: 0.1em;
    height: 0.55em;
    background-color: #000000;
}

.b1 div {
    content: "";
    position: absolute;
    margin-top: -0.1em;
    margin-left: 0.65em;
    transform: rotate(45deg);
    width: 0.15em;
    height: 1.5em;
    background-color: #000000;
}

.b2 {
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    background-color: #7f5934;
    border: 2px solid black;
    box-shadow:
        inset 2px 2px 1px #b49577,
        -2px 0px #513721,
        -2px 0px 0px 1px black;
}

.b2::before {
    content: "";
    position: absolute;
    margin-top: 1.05em;
    margin-left: 0.8em;
    transform: rotate(-45deg);
    border-radius: 5px;
    width: 0.15em;
    height: 0.4em;
    background-color: #000000;
}

.b2::after {
    content: "";
    position: absolute;
    margin-top: -0.1em;
    margin-left: 0.65em;
    transform: rotate(-45deg);
    width: 0.15em;
    height: 1.5em;
    background-color: #000000;
}

.speakers {
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
}

.speakers .g1 {
    display: flex;
    column-gap: 0.25em;
}

.speakers .g1 .g11,
.g12,
.g13 {
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    background-color: #7f5934;
    border: 2px solid black;
    box-shadow: inset 1.25px 1.25px 1px #b49577;
}

.speakers .g {
    width: auto;
    height: 2px;
    background-color: #171717;
}

.bottom {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8.7em;
}

.base1 {
    height: 1em;
    width: 2em;
    border: 2px solid #171717;
    background-color: #4d4d4d;
    margin-top: -0.15em;
    z-index: -1;
}

.base2 {
    height: 1em;
    width: 2em;
    border: 2px solid #171717;
    background-color: #4d4d4d;
    margin-top: -0.15em;
    z-index: -1;
}

.base3 {
    position: absolute;
    height: 0.15em;
    width: 17.5em;
    background-color: #171717;
    margin-top: 0.8em;
}

.text_404 {
    position: absolute;
    display: flex;
    flex-direction: row;
    column-gap: 6em;
    z-index: -5;
    margin-bottom: 2em;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    font-family: Montserrat;
}

.text_4041 {
    transform: scaleY(24.5) scaleX(9);
}

.text_4042 {
    transform: scaleY(24.5) scaleX(9);
}

.text_4043 {
    transform: scaleY(24.5) scaleX(9);
}

@media only screen and (max-width: 495px) {
    .text_404 {
        column-gap: 6em;
    }
}

@media only screen and (max-width: 395px) {
    .text_404 {
        column-gap: 4em;
    }

    .text_4041 {
        transform: scaleY(25) scaleX(8);
    }

    .text_4042 {
        transform: scaleY(25) scaleX(8);
    }

    .text_4043 {
        transform: scaleY(25) scaleX(8);
    }
}

@media (max-width: 275px),
(max-height: 520px) {
    .main {
        position: relative;
    }
}

@media only screen and (max-width: 1024px) {
    .screenM {
        display: flex;
    }

    .screen {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    .screen {
        display: flex;
    }

    .screenM {
        display: none;
    }
}

/* ============================================================
    RESPONSIVE CIBLÉ - MOBILE COMPACT
   ============================================================ */
@media (max-width: 768px) {

    /* 1. Le body : désactive background-attachment:fixed qui cause
          des débordements sur iOS Safari */
    body.page-inscription {
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center top !important;
        min-height: 100% !important;
        /* ← clé : suit la hauteur du contenu */
        height: auto !important;

    }

    html {
        height: auto !important;
        min-height: 100% !important;
    }

    footer.page-inscription,
    footer.page-inscription * {
        background: transparent !important;
        background-image: none !important;
        background-color: transparent !important;
    }

    /* Cache le footer visuellement sauf le texte "Réalisé par" */
    footer.page-inscription .login-prompt {
        background: transparent !important;
        border: none !important;
        padding: 15px !important;
    }

    /* 2. Le main conteneur : évite tout overflow horizontal */
    main.teste {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }


    /* 3. Conteneur global de la page inscription */
    .registration-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    /* 4. Titre principal */
    .gold-subtitle {
        font-size: 3rem !important;
        letter-spacing: 3px !important;
    }

    /* 5. Sélecteur Étudiant / Professionnel */
    .container-selection-chic {
        width: 100% !important;
        margin: 20px 0 !important;
        box-sizing: border-box !important;
    }

    .card-iso ul {
        gap: 1.2rem !important;
        padding: 0 !important;
        flex-wrap: wrap !important;
    }

    .iso-pro .svg {
        width: 70px !important;
        height: 70px !important;
        padding: 14px !important;
    }

    .iso-pro .text {
        top: auto !important;
        bottom: -45px !important;
        opacity: 0;
        transition: opacity 0.3s ease !important;
    }

    .iso-pro .text.visible {
        opacity: 1;
    }

    /* 6. Wrapper du formulaire : pleine largeur sans débordement */
    .form-wrapper {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 7. Gestion affichage des formulaires */
    #form-etudiant.hidden,
    #form-pro.hidden {
        display: none !important;
    }

    /* 8. Le formulaire lui-même */
    .modern-form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 30px 0 !important;
        padding: 24px 16px !important;
        box-sizing: border-box !important;
        border-radius: 6px !important;
        /* Désactive le backdrop-filter sur iOS car coûteux et parfois bugué */
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background: rgba(15, 15, 15, 0.82) !important;
    }

    .modern-form:not(.hidden) {
        display: block !important;
    }

    /* 9. Grille → 1 colonne */
    .form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    /* 10. Chaque champ prend 100% */
    .input-group,
    .input-group.full {
        width: 100% !important;
        grid-column: unset !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 11. Inputs, selects, textareas */
    input,
    select,
    textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        /* évite le zoom automatique iOS */
        padding: 13px 12px !important;
        height: auto !important;
        -webkit-appearance: none !important;
        /* look cohérent sur iOS */
        appearance: none !important;
        border-radius: 0 !important;
    }

    /* Rétablit l'apparence flèche pour les select */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c5a059' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        padding-right: 36px !important;
    }

    textarea {
        height: 90px !important;
        resize: vertical !important;
    }

    /* 12. Titre de section */
    .form-section-title {
        margin-bottom: 20px !important;
    }

    .form-section-title h2 {
        font-size: 1.4rem !important;
    }

    /* 13. Zone dépôt CV */
    .file-box {
        margin-top: 20px !important;
        padding: 20px 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* 14. Bouton soumettre */
    .btn-submit {
        width: 100% !important;
        margin-top: 20px !important;
        padding: 16px !important;
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
        box-sizing: border-box !important;
    }

    /* 15. Bouton retour */
    .container-retour {
        padding: 0 16px !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .btn-retour-chic {
        display: block !important;
        width: 50% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
        padding: 14px 20px !important;
    }


    .info-section {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 40px auto !important;
        padding: 30px 16px !important;
    }

    .info-item {
        padding: 20px !important;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    }

    .info-item:last-child {
        border-bottom: none !important;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3rem);
        letter-spacing: 3px;
    }
}

@media (max-width: 380px) {

    .registration-container {
        padding: 0 10px !important;
    }

    .small {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        letter-spacing: 2px;
    }

    .modern-form {
        padding: 18px 12px !important;
    }

    .iso-pro .svg {
        width: 60px !important;
        height: 60px !important;
        padding: 12px !important;
    }

    .gold-subtitle {
        font-size: 1.3rem !important;
        letter-spacing: 2px !important;
    }

    .btn-submit {
        font-size: 0.78rem !important;
        letter-spacing: 1.5px !important;
    }
}