
/* =========================================================
   UAC DESIGN — VERSION 1
   Typographies – Panels – Cards – Buttons – Variantes
   © QUENU Gabriel pour Ultimate Air Challenge
   ========================================================= */

/* =========================================================
   PALETTE PRINCIPALE UAC
   ========================================================= */
html {
  scroll-behavior: smooth; 
  max-width: 100%;
    overflow-x: hidden !important;
}

:root {
    --uac-yellow: #f9d342;
    --uac-yellow-soft: rgba(249,211,66,0.45);
    --uac-white: #ffffff;
    --uac-gray-light: #eaeaea;
    --uac-gray-mid: #bdbdbd;
    --uac-gray-dark: #777;
    --uac-black: #0d0d0d;
    --uac-panel-bg: rgba(255,255,255,0.03);

    /* Thème bleu aéronautique */
    --uac-blue: #4da8ff;
    --uac-blue-soft: rgba(77,168,255,0.35);
    --uac-blue-dark: #003b66;

    /* Thème clair */
    --uac-light-bg: #f6f7fb;
    --uac-light-text: #2a2a2a;
    --uac-light-border: #d3d3d3;
}

/* =========================================================
   FOND GLOBAL
   ========================================================= */

body {
    background: var(--uac-black);
    color: var(--uac-gray-light);
    font-family: 'Rajdhani', sans-serif;
}
/* =========================================================
   BACKGROUNDS AVEC OPACITÉ — OVERLAY DOUX
========================================================= */

.uac-fixed-bg {
    background-image: url('public/img/fond3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Overlay sombre léger pour lisibilité */
.uac-fixed-bg::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

.uac-fixed-bg > * {
    position: relative;
    z-index: 2;
}


.uac-bg-soft {
    position: relative;
    overflow: hidden;
}

.uac-bg-soft::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* voile léger */
    backdrop-filter: blur(1px);
    z-index: 0;
}

.uac-bg-soft > * {
    position: relative;
    z-index: 1;
}

/* Variante plus intense */
.uac-bg-soft-2::before {
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(2px);
}

/* =========================================================
   TITRES UAC
   ========================================================= */

.uac-title-1 {
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--uac-yellow);
    text-shadow: 0 0 8px rgba(249,211,66,0.4);
}

.uac-title-2 {
    font-size: 2.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--uac-white);
    text-shadow: 0 0 6px rgba(249,211,66,0.3);
}

.uac-title-3 {
    font-size: 2rem;
    color: var(--uac-yellow);
    font-weight: 700;
}

.uac-title-4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--uac-white);
}

.uac-title-5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--uac-gray-mid);
}

.uac-title-6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--uac-gray-dark);
}

/* =========================================================
   FONTES UAC — Anton pour titres principaux
   ========================================================= */

/* Titres de section / gros titres */
.uac-title-1,
.uac-title-2 {
    font-family: 'Anton', sans-serif;
    letter-spacing: 2px;
}

/* Titres secondaires (H3, H4, H5, H6) → vont avec les cards */
.uac-title-3,
.uac-title-4,
.uac-title-5,
.uac-title-6 {
    font-family: 'Rajdhani', sans-serif;
}

/* =========================================================
   TEXTES
   ========================================================= */

.uac-text {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--uac-gray-light);
}

.uac-text-light {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.5;
}

.uac-text-muted {
    font-size: 1rem;
    color: var(--uac-gray-dark);
}

/* =========================================================
   DIVISEURS & ACCENTS
   ========================================================= */

.uac-divider {
    width: 75px;
    height: 2px;
    background: var(--uac-yellow);
    margin: 20px 0 40px;
    box-shadow: 0 0 6px var(--uac-yellow-soft);
}

.uac-accent {
    color: var(--uac-yellow);
    font-weight: 700;
}

/* =========================================================
   SECTIONS (aérées + gradient cockpit)
   ========================================================= */

.uac-section {
    padding: 120px 12%;
    background: linear-gradient(180deg, #0d0d0d 0%, #151515 100%);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    margin-bottom: 90px;
}

/* =========================================================
   BLOCS COCKPIT (panels)
   ========================================================= */

.uac-panel {
    padding: 35px;
    border-radius: 12px;
    background: var(--uac-panel-bg);
    border: 1px solid rgba(249,211,66,0.18);
    backdrop-filter: blur(4px);
    margin-bottom: 40px;
    box-shadow: 0 0 18px rgba(0,0,0,0.45);
}

/* ============================================================================
   UAC – TITRES DES CARTES (UNIFICATION COCKPIT)
   ============================================================================ */

.uac-card-title,
.uac-blue-card h3,
.uac-gray-card h3,
.uac-dark-card h3,
.uac-yellow-card h3,
.uac-anthracite-card h3,
.uac-white-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Couleurs adaptées par type de carte */
.uac-blue-card h3  { color: #4da8ff; }   /* Bleu avionique */
.uac-gray-card h3  { color: #f4f4f4; }   /* Blanc doux */
.uac-dark-card h3  { color: #f9d342; }   /* Jaune cockpit */
.uac-white-card h3 { color: #222;    }   /* Gris foncé lisible */

/* Conteneur automatique autour du titre + badge */
.uac-card-title,
.uac-blue-card h3,
.uac-gray-card h3,
.uac-dark-card h3,
.uac-yellow-card h3,
.uac-anthracite-card h3,
.uac-white-card h3 {
    display: block;
    align-items: center;
    padding-right: 45px; /* espace pour le badge */
}

/* Le titre proprement dit doit garder sa couleur/sizer */
.uac-blue-card h3 span.title-text,
.uac-gray-card h3 span.title-text,
.uac-dark-card h3 span.title-text,
.uac-white-card h3 span.title-text {
    flex: 1;
}


/* ============================================================================
   UAC – CARTES CLASSIQUES (sobre cockpit)
   ============================================================================ */

.uac-card {
    background: #131313;
    border: 1px solid rgba(249,211,66,0.28);
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.35);
    transition: transform .25s ease, box-shadow .25s ease;
    color: #e6e6e6;
}

.uac-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 22px rgba(249,211,66,0.25);
}


/* ============================================================================
   UAC – BLUE CARD VERSION ALU BROSSÉ
   ============================================================================ */

/* Texture alu brossé avionique */
.uac-blue-card {
    background: 
        url("alu-brushed.jpg") center/cover,            /* texture alu */
        linear-gradient(135deg, #0b1623 0%, #122b47 100%); /* dégradé d'origine */
    border: 1px solid rgba(77,168,255,0.35);
    border-radius: 14px;
    padding: 34px 40px;
    color: #d8e6ff;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(0,0,0,0.45),
        inset 0 0 25px rgba(77,168,255,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Bande diagonale métallisée à droite */
.uac-blue-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -40px;
    width: 260px;
    height: 260px;

    background: 
        url("cat-diag.png") center/cover, /* image diagonale */
        linear-gradient(120deg,
            rgba(255,255,255,0.08) 0%,
            rgba(255,255,255,0.02) 50%,
            rgba(0,0,0,0.15) 100%
        );

    opacity: 0.55;
    transform: rotate(25deg) scale(1.1);
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.35));
}

/* Bande glossy qui glisse (effet cockpit) */
.uac-blue-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background: linear-gradient(
        115deg,
        rgba(255,255,255,0.0) 40%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.0) 60%
    );

    transform: rotate(5deg);
    animation: glossyCardMove 6s linear infinite;
    opacity: 0.15;
    pointer-events: none;
}

@keyframes glossyCardMove {
    0%   { transform: translateX(-20%) rotate(5deg); }
    100% { transform: translateX(20%) rotate(5deg); }
}

/* Hover premium */
.uac-blue-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 35px rgba(77,168,255,0.55),
        inset 0 0 45px rgba(77,168,255,0.15);
}

/* ============================================================================
   UAC – YELLOW CARD (ALU BROSSÉ + ACCENTS JAUNE COCKPIT)
   ============================================================================ */

.uac-yellow-card {
    background:
        url("alu-brushed.jpg") center/cover,
        linear-gradient(135deg, #2b2400 0%, #4a3f00 100%);
    border: 1px solid rgba(249,211,66,0.45);
    border-radius: 14px;
    padding: 34px 40px;
    color: #fff4c2;
    position: relative;
    overflow: hidden;

    box-shadow:
        0 0 22px rgba(0,0,0,0.55),
        inset 0 0 25px rgba(249,211,66,0.10);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Bande diagonale métallisée */
.uac-yellow-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -40px;
    width: 260px;
    height: 260px;
    background:
        url("cat-diag-yellow.png") center/cover,
        linear-gradient(120deg,
            rgba(255,255,255,0.12) 0%,
            rgba(255,255,255,0.04) 50%,
            rgba(0,0,0,0.25) 100%
        );
    opacity: .55;
    transform: rotate(25deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.35));
    pointer-events: none;
}

/* Glossy cockpit */
.uac-yellow-card::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0.0) 40%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.0) 60%
    );
    transform: rotate(5deg);
    animation: glossyCardMove 6s linear infinite;
    opacity: 0.15;
    pointer-events: none;
}

/* Hover cockpit */
.uac-yellow-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 40px rgba(249,211,66,0.55),
        inset 0 0 45px rgba(249,211,66,0.15);
}

/* Titre */
.uac-yellow-card h3 {
    color: #f9d342 !important;
}
/* ============================================================================
   UAC – ANTHRACITE CARD (ALU BROSSÉ NOIR + ACCENTS MÉTAL SOMBRE)
   ============================================================================ */

.uac-anthracite-card {
    background:
        url("alu-dark.jpg") center/cover,
        linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 34px 40px;
    color: #d0d0d0;
    position: relative;
    overflow: hidden;

    box-shadow:
        0 0 22px rgba(0,0,0,0.7),
        inset 0 0 25px rgba(255,255,255,0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Effet diagonal métal sombre */
.uac-anthracite-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -40px;
    width: 260px;
    height: 260px;

    background:
        url("cat-diag-dark.png") center/cover,
        linear-gradient(120deg,
            rgba(255,255,255,0.06) 0%,
            rgba(255,255,255,0.02) 50%,
            rgba(0,0,0,0.25) 100%
        );
    opacity: 0.45;
    transform: rotate(25deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(0,0,0,0.6));
    pointer-events: none;
}

/* Glossy */
.uac-anthracite-card::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0.0) 40%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.0) 60%
    );
    transform: rotate(5deg);
    animation: glossyCardMove 7s linear infinite;
    opacity: 0.12;
    pointer-events: none;
}

/* Hover métal sombre */
.uac-anthracite-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 35px rgba(255,255,255,0.18),
        inset 0 0 35px rgba(255,255,255,0.08);
}

/* Titre acier */
.uac-anthracite-card h3 {
    color: #dcdcdc !important;
}


/* ============================================================================
   UAC – DARK CARD (COCKPIT JAUNE)
   ============================================================================ */

.uac-dark-card {
    background: linear-gradient(135deg, #0c0c0c 0%, #141414 100%);
    border: 1px solid rgba(249,211,66,0.25);
    border-radius: 12px;
    padding: 32px;
    color: #ccc;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(0,0,0,0.6),
        inset 0 0 25px rgba(255,255,255,0.03);
    transition: .25s ease;
}

.uac-dark-card::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(249,211,66,0.65) 50%,
        transparent 100%
    );
}

.uac-dark-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 200%; height: 200%;
    background: linear-gradient(
        115deg,
        transparent 40%,
        rgba(255,255,255,0.04) 50%,
        transparent 60%
    );
    transform: rotate(5deg);
}

.uac-dark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 26px rgba(249,211,66,0.25);
}

.uac-dark-card p {
    font-size: 1.1rem;
    color: #ccc;
}


/* ============================================================================
   UAC – WHITE CARD (INSTITUTIONNEL PREMIUM)
   ============================================================================ */

.uac-white-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 32px;
    color: #222;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(0,0,0,0.1),
        inset 0 0 20px rgba(255,255,255,0.25);
    transition: .25s ease;
}

.uac-white-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(120,120,120,0.5) 50%,
        transparent 100%
    );
}

.uac-white-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 200%; height: 200%;
    background: linear-gradient(
        115deg,
        transparent 40%,
        rgba(255,255,255,0.2) 50%,
        transparent 60%
    );
    transform: rotate(5deg);
}

.uac-white-card p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* ============================================================================
   UAC – GRILLES RESPONSIVES PRO (2 / 3 / 4 colonnes fixes)
   ============================================================================ */

/* --- 2 colonnes --- */
.uac-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* --- 3 colonnes --- */
.uac-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* --- 4 colonnes --- */
.uac-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 70px;
}

/* ============================================================================
   UAC – SPAN et ROW UTILITAIRES (pour étendre un bloc dans une grille)
   ============================================================================ */

.uac-span-2 {
    grid-column: span 2;
}

.uac-span-3 {
    grid-column: span 3;
}

.uac-span-4 {
    grid-column: span 4;
}

.uac-row-2 {
    grid-row: span 2;
}

.uac-row-3 {
    grid-row: span 3;
}

.uac-row-4 {
    grid-row: span 4;
}

/* Harmoniser les hauteurs de cards nesemble */
.uac-gray-card,
.uac-white-card {
    height: 100%;
}


/* ============================================================================
   UAC – GRILLE 3 COLONNES / 2 RANGÉES AVEC SPAN GAUCHE
   ============================================================================ */

.uac-grid-3-rows {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto; 
    grid-auto-rows: 1fr;         /* assure la hauteur identique */
    gap: 40px;
}

/* Bloc qui prend toute la colonne gauche sur 2 rangées */
.uac-big-left {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* 2 rows */
}

/* Structure interne pour centrer SEULEMENT le texte (pas le titre) */
.uac-panel.uac-big-left {
    display: flex;
    flex-direction: column;
}

.uac-panel.uac-big-left h3 {
    margin-bottom: 20px;
}

.uac-panel.uac-big-left p {
    flex: 1;                    /* prend toute la hauteur disponible */
    display: flex;              /* active flex interne */
    align-items: center;        /* centre verticalement */
}


/* ============================================================================
   RESPONSIVE (mobile & tablettes)
   ============================================================================ */

/* --- Tablette : 2 colonnes --- */
@media (max-width: 1024px) {
    .uac-grid-3,
    .uac-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mobile : 1 colonne --- */
@media (max-width: 680px) {
    .uac-grid-2,
    .uac-grid-3,
    .uac-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BOUTONS UAC — VERSION PREMIUM AÉRÉE
   ========================================================= */

.uac-btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;

    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease,
        transform .2s ease;
}

/* 1 Bouton principal */
.uac-btn-primary {
    background: var(--uac-yellow);
    color: #000;
    box-shadow: 0 0 10px rgba(249,211,66,0.35);
}
.uac-btn-primary:hover {
    transform: scale(1.04);
    background: #ffe45c;
    box-shadow: 0 0 16px rgba(249,211,66,0.55);
}

/* 2 Bouton outline */
.uac-btn-outline {
    background: transparent;
    border: 1px solid rgba(249,211,66,0.5);
    color: var(--uac-yellow);
    box-shadow: 0 0 8px rgba(249,211,66,0.10);
}
.uac-btn-outline:hover {
    background: rgba(249,211,66,0.05);
    color: var(--uac-white);
    border-color: var(--uac-yellow);
    box-shadow: 0 0 12px rgba(249,211,66,0.25);
}

/* 3 Bouton dark */
.uac-btn-dark {
    background: #1a1a1a;
    border: 1px solid rgba(249,211,66,0.25);
    color: var(--uac-yellow);
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}
.uac-btn-dark:hover {
    background: #232323;
    box-shadow: 0 0 18px rgba(249,211,66,0.22);
}

/* 4 Bouton ghost */
.uac-btn-ghost {
    background: transparent;
    border: none;
    color: #ccc;
    letter-spacing: 1px;
}
.uac-btn-ghost:hover {
    color: var(--uac-white);
    text-shadow: 0 0 6px var(--uac-yellow-soft);
    transform: translateY(-2px);
}

/* =========================================================
   5 Boutons Bleu Aviation — (NOUVEAU)
   ========================================================= */

.uac-btn-blue {
    background: var(--uac-blue);
    color: #001a2d;
    box-shadow: 0 0 14px var(--uac-blue-soft);
}
.uac-btn-blue:hover {
    background: #6db8ff;
    transform: scale(1.04);
    box-shadow: 0 0 20px var(--uac-blue-soft);
}

.uac-btn-blue-outline {
    background: transparent;
    border: 1px solid var(--uac-blue);
    color: var(--uac-blue);
}
.uac-btn-blue-outline:hover {
    background: rgba(77,168,255,0.12);
    color: var(--uac-white);
    box-shadow: 0 0 16px var(--uac-blue-soft);
}

/* =========================================================
   UAC — ALIGNEMENT MANUEL DES BOUTONS
   (à utiliser au cas par cas dans n'importe quelle card)
   ========================================================= */

/* Aligné à gauche — comportement normal */
.uac-btn-left {
    display: inline-block;
    margin-left: 0;
    margin-right: auto;
}

/* Centré */
.uac-btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
}

/* Aligné à droite */
.uac-btn-right {
    display: block;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    width: fit-content;
}

/* =========================================================
   6 Variantes claires — panels et cards
   ========================================================= */

.uac-card-light {
    background: var(--uac-light-bg);
    border: 1px solid var(--uac-light-border);
    color: var(--uac-light-text);
}
.uac-card-light:hover {
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(0,0,0,0.12);
}

.uac-panel-light {
    background: #ffffff;
    color: #111;
    border: 1px solid #d5d5d5;
    box-shadow: 0 0 22px rgba(0,0,0,0.1);
}
/* =========================================================
   UAC — RADIO BUTTONS (style cockpit)
   ========================================================= */

.uac-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
}

.uac-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4da8ff;
    border-radius: 50%;
    background: #0d0d0d;
    box-shadow: 0 0 10px rgba(77,168,255,0.25);
    cursor: pointer;
    transition: .25s ease;
}

.uac-radio input[type="radio"]:checked {
    background: radial-gradient(circle, #4da8ff 40%, #1b2e45 60%);
    box-shadow: 0 0 14px rgba(77,168,255,0.45);
}

.uac-radio label {
    color: #dce6f7;
    font-size: 1.1rem;
}
/* =========================================================
   UAC — CHECKBOX (cockpit style)
   ========================================================= */

.uac-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.uac-check input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #f9d342;
    background: #0d0d0d;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(249,211,66,0.25);
    transition: .25s ease;
}

.uac-check input[type="checkbox"]:checked {
    background: #f9d342;
    box-shadow: 0 0 15px rgba(249,211,66,0.45);
}

.uac-check label {
    color: #eee;
    font-size: 1.1rem;
}
/* =========================================================
   UAC — SELECT (liste dér.) cockpit
   ========================================================= */

.uac-select {
    background: #121212;
    border: 1px solid rgba(249,211,66,0.45);
    color: #eee;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;

    box-shadow: inset 0 0 12px rgba(0,0,0,0.45);
    transition: .25s ease;
}

.uac-select:focus {
    outline: none;
    border-color: #f9d342;
    box-shadow: 0 0 15px rgba(249,211,66,0.35);
}
/* =========================================================
   UAC — INPUT FIELD cockpit
   ========================================================= */

.uac-input {
    width: 100%;
    padding: 12px 15px;
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;

    font-size: 1.1rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    transition: .25s ease;
}

.uac-input:focus {
    border-color: #4da8ff;
    box-shadow: 0 0 15px rgba(77,168,255,0.3);
    outline: none;
}
/* =========================================================
   UAC — SWITCH cockpit
   ========================================================= */

.uac-switch {
    position: relative;
    width: 54px;
    height: 28px;
    background: #222;
    border-radius: 30px;
    cursor: pointer;
    transition: background .25s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.uac-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 22px;
    height: 22px;
    background: #ccc;
    border-radius: 50%;
    transition: .25s ease;
}

.uac-switch.active {
    background: #4da8ff;
    box-shadow: 0 0 15px rgba(77,168,255,0.4);
}

.uac-switch.active::after {
    transform: translateX(26px);
    background: #fff;
}
/* =========================================================
   UAC — TAGS cockpit
   ========================================================= */

.uac-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #11253f;
    color: #4da8ff;
    border: 1px solid rgba(77,168,255,0.35);
    border-radius: 6px;
    font-size: .95rem;
    margin-right: 6px;
}
.uac-tag-yellow {
    display: inline-block;
    padding: 6px 14px;
    background: #3a3200;
    color: #f9d342;
    border: 1px solid rgba(249,211,66,0.45);
    border-radius: 6px;
    font-size: .95rem;
    margin-right: 6px;
    letter-spacing: 0.4px;
}
.uac-tag-anthracite {
    display: inline-block;
    padding: 6px 14px;
    background: #1a1a1a;
    color: #dcdcdc;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: .95rem;
    margin-right: 6px;
    letter-spacing: 0.4px;
}
/* =======================================================================
   CARTES E-SPORT – Petites améliorations d’espacement
   ======================================================================= */
.uac-esport-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/* ======================================================
   WRAPPER
   ====================================================== */
.uac-esport-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}
/* ======================================================
   WRAPPER CENTRAGE
====================================================== */
.uac-esport-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

/* ======================================================
   CARTE E-SPORT JAUNE — IMAGE TRÈS FAIBLE, AMBIANCE COCKPIT
====================================================== */
.uac-esport-card-yellow {
    position: relative;
    width: 100%;
    max-width: 900px;

    padding: 42px;
    border-radius: 14px;

    /* *** IMAGE BEAUCOUP MOINS VISIBLE *** */
    background:
        linear-gradient(135deg,
            rgba(0,0,0,0.88) 0%,         /* très sombre */
            rgba(40,30,0,0.82) 40%,      /* jaune foncé subtil */
            rgba(80,60,0,0.75) 100%      /* presque noir */
        ),
        url("../img/card-esport.jpg") center/cover;

    border: 1px solid rgba(249,211,66,0.22);

    box-shadow:
        0 0 20px rgba(0,0,0,0.6),
        inset 0 0 25px rgba(249,211,66,0.05);

    color: #ffe8a6;
    overflow: hidden;
    transition: .25s ease;
}

/* Glossy diagonal beaucoup plus discret */
.uac-esport-card-yellow::before {
    content: "";
    position: absolute;
    top: -45%;
    left: -45%;
    width: 200%;
    height: 200%;
    pointer-events: none;

    background: linear-gradient(
        115deg,
        rgba(255,255,255,0.0) 46%,
        rgba(255,255,255,0.07) 50%, /* très léger */
        rgba(255,255,255,0.0) 54%
    );

    opacity: 0.12; /* encore plus soft */
    animation: glossyMoveEsport 7s linear infinite;
}

@keyframes glossyMoveEsport {
    0%   { transform: translateX(-18%) rotate(8deg); }
    100% { transform: translateX(18%) rotate(8deg); }
}

/* Hover cockpit raisonnable */
.uac-esport-card-yellow:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 28px rgba(249,211,66,0.28),
        inset 0 0 35px rgba(249,211,66,0.08);
}

/* Texte lisible */
.uac-esport-card-yellow p {
    font-size: 1.18rem;
    line-height: 1.55;
    color: #ffedc0;
}

.uac-esport-card-yellow .uac-tag-yellow {
    display: inline-block;
    padding: 6px 14px;
    background: #3a3200;
    color: #f9d342;
    border: 1px solid rgba(249,211,66,0.45);
    border-radius: 6px;
    font-size: .95rem;
    margin-right: 6px;
    letter-spacing: 0.4px;
}
/* =========================================================
   UAC — ALERT BOX cockpit
   ========================================================= */

.uac-alert {
    padding: 18px 22px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1.1rem;
}

.uac-alert-info {
    background: rgba(77,168,255,0.08);
    border-left: 4px solid #4da8ff;
    color: #cfe8ff;
}

.uac-alert-warning {
    background: rgba(249,211,66,0.08);
    border-left: 4px solid #f9d342;
    color: #fff4c2;
}

.uac-alert-danger {
    background: rgba(255,80,80,0.15);
    border-left: 4px solid #ff5252;
    color: #ffcbcb;
}
/* =========================================================
UAC — SYSTEME DE CONTENU (1 COLONNE / 2 COLONNES)
========================================================= */

/* 1 colonne : largeur agréable pour le texte */
.uac-content-1col {
max-width: 820px;
margin: auto;
line-height: 1.65;
font-size: 1.12rem;
color: #ddd;
}

/* 2 colonnes : équilibrées cockpit */
.uac-content-2col {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 45px;
max-width: 1200px;
margin: auto;
line-height: 1.6;
font-size: 1.12rem;
color: #ddd;
}

/* =========================================================
UAC — FORMULAIRE GLOBAL
========================================================= */

.uac-form {
max-width: 900px;
margin: auto;
padding: 40px;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(249,211,66,0.25);
border-radius: 12px;
box-shadow: 0 0 20px rgba(0,0,0,0.45);
backdrop-filter: blur(4px);
}

.uac-form h3 {
color: var(--uac-yellow);
margin-bottom: 10px;
}

.uac-form p {
color: #bbb;
margin-top: 0;
margin-bottom: 30px;
}

/* Grille 2 colonnes possible */
.uac-form-2col {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px 40px;
}

/* Labels cockpit */
.uac-form label {
display: block;
margin-bottom: 8px;
color: var(--uac-yellow);
font-size: 1.02rem;
font-weight: 600;
letter-spacing: 0.3px;
}

/* Champs (input / select / textarea) */
.uac-form input,
.uac-form select,
.uac-form textarea {
width: 100%;
padding: 12px 15px;
background: #0f0f0f;
border: 1px solid rgba(255,255,255,0.15);
border-radius: 6px;
color: #fff;
font-size: 1.05rem;
box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
transition: .25s ease;
}

.uac-form input:focus,
.uac-form select:focus,
.uac-form textarea:focus {
border-color: var(--uac-blue);
box-shadow: 0 0 15px rgba(77,168,255,0.35);
outline: none;
}

/* Textarea cockpit */
.uac-form textarea {
min-height: 120px;
resize: vertical;
}

/* Bouton submit cockpit */
.uac-form .uac-btn-submit {
margin-top: 25px;
width: 100%;
text-align: center;
}

/* =========================================================
UAC — INLINE RADIO / CHECK DANS FORMULAIRE
========================================================= */

.uac-form-inline {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 25px;
}

.uac-form-inline .uac-radio,
.uac-form-inline .uac-check {
margin-bottom: 0;
}

/* ================================
   FORMULAIRE DANS SOUS-MENU COCKPIT
   ================================ */

.bubble-form {
    padding: 10px 0 20px;
    text-align: left !important;
}

.uac-login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.uac-login-form label {
    font-size: 1rem;
    font-weight: 600;
    color: #f9d342;
    margin-left: 4px;
}

.uac-login-form .uac-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: 6px;
}

/* Bouton plein largeur */
.uac-login-form .uac-btn {
    margin-top: 6px;
}
.bubble-langs {
    padding-top: 12px;
    padding-bottom: 20px;
}

.bubble-langs .uac-radio span {
    font-size: 1.15rem;
}
.uac-flag {
    width: 26px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

/* ============================================================================
   UAC – BADGES RONDS GLOSSY (drapeaux FR / EU)
   ============================================================================ */

/* Titre qui contient un badge – uniquement ces h3-là */
.uac-title-flag {
    position: relative;
    padding-right: 55px; /* espace réservé au badge */
    display: block;
}

/* Badge glossy toujours à droite */
.uac-title-flag .uac-flag-badge {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.25);
    background: #000;

    /* Ombres cockpit */
    box-shadow:
        0 0 10px rgba(0,0,0,0.55),
        inset 0 0 10px rgba(255,255,255,0.10),
        inset 0 0 6px rgba(255,255,255,0.05);

    transition: 0.25s ease;
}

/* Image interne */
.uac-title-flag .uac-flag-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Glossy diagonal cockpit */
.uac-title-flag .uac-flag-badge::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0.0) 40%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.0) 60%
    );
    pointer-events: none;
    transform: rotate(12deg);
}

/* Effet hover cockpit */
.uac-title-flag .uac-flag-badge:hover {
    box-shadow:
        0 0 14px rgba(255,255,255,0.25),
        inset 0 0 12px rgba(255,255,255,0.15);
    transform: translateY(-50%) scale(1.06);
}
/* ===================================================================
   WIDGET NEWSLETTER — VERSION 3
   Style HUD cockpit, flottant, propre, stable et 100% visible
   =================================================================== */

/* --- Bouton fermer (croix HUD) --- */
.uac-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;

    background: none;
    border: none;

    color: #ffffff !important;     /* Toujours visible */
    font-size: 22px;
    font-weight: 600;

    cursor: pointer;

    z-index: 99999;                /* Toujours au-dessus */
    opacity: 0.78;

    transition: opacity .25s ease, transform .25s ease;
    pointer-events: auto;
}

.uac-close-btn:hover {
    opacity: 1;
    transform: scale(1.08);
}


/* -------------------------------------------------------------------
   CONTAINER PRINCIPAL – MINI WIDGET FLOTTANT
------------------------------------------------------------------- */
.uac-floating-news-small {
    font-size: 0.9em;

    position: fixed;
    right: 30px;
    bottom: 40px;

    width: 250px;

    z-index: 999999 !important;     /* Le widget passe toujours au-dessus */
    pointer-events: auto;

    display: block;
}


/* -------------------------------------------------------------------
   MINI CARTE — HUD COCKPIT
------------------------------------------------------------------- */
.uac-news-mini {
    padding: 28px 26px;
    border-radius: 14px;

    background: linear-gradient(130deg, #0e0e0e, #1a1a1a 60%, #111);
    
    border: 1px solid rgba(249,211,66,0.35);

    box-shadow:
        0 0 22px rgba(0,0,0,0.8),
        0 0 14px rgba(249,211,66,0.20),
        inset 0 0 25px rgba(255,255,255,0.04);

    transition: transform .25s ease;
    position: relative;
}

.uac-news-mini:hover {
    transform: translateY(-4px);
}


/* -------------------------------------------------------------------
   Timer — style Anton cockpit
------------------------------------------------------------------- */
.uac-news-timer {
    text-align: center;
    margin: 14px 0 20px;
}

#uac-timer-mini {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    color: var(--uac-yellow);
    letter-spacing: 1px;
}


/* -------------------------------------------------------------------
   Formulaire Newsletter
------------------------------------------------------------------- */
.uac-news-form-mini input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.uac-news-form-mini button {
    margin-top: 14px;
    width: 100%;
    font-size: 1.05rem;
}


/* -------------------------------------------------------------------
   Empêcher les sections de recouvrir le widget (fail courant)
------------------------------------------------------------------- */
.uac-section,
.uac-panel,
form,
footer {
    position: relative;
    z-index: 1;
}


/* -------------------------------------------------------------------
   RESPONSIVE — Mode mobile : le widget se place en bas de page
------------------------------------------------------------------- */
@media(max-width:1024px) {

    .uac-floating-news-small {
        position: relative;
        bottom: 0;
        right: 0;

        width: 100%;
        margin-top: 40px;
        padding: 0 20px;
    }

    .uac-news-mini {
        width: 100%;
        padding: 26px 22px;
    }

    .uac-close-btn {
        top: 10px;
        right: 10px;
    }
}


/* ============================================================
   UAC — VALIDATION DES CHAMPS (obligatoires)
   ============================================================ */

/* Champ normal (base, neutre mais avec bord gauche cockpit léger) */
.uac-input.obl:required {
    border-left: 3px solid rgba(249,211,66,0.35); /* jaune/marron cockpit doux */
    transition: .25s ease;
}


/* ============================================================
   ÉTAT : VIDE (placeholder-shown)
   → lègère bordure jaune cockpit
   ============================================================ */
.uac-input.obl:required:placeholder-shown {
    border-left-color: rgba(249,211,66,0.35) !important; /* jaune/marron doux */
    border-color: rgba(255,255,255,0.15);                /* neutre */
    box-shadow: none;
    background-image: none;
    padding-right: 15px !important;
}


/* ============================================================
   ÉTAT : ERREUR (invalid)
   ============================================================ */
.uac-input.obl:required:invalid:not(:placeholder-shown) {
    border-color: #ff4747 !important;
    border-left: 3px solid #ff4747 !important;
    box-shadow: 0 0 12px rgba(255,70,70,0.35);

    /* Icône ✖ cockpit */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='%23ff4747'%3E%3Cpath d='M11.414 10l4.95-4.95-1.414-1.414L10 8.586 5.05 3.636 3.636 5.05 8.586 10l-4.95 4.95 1.414 1.414L10 11.414l4.95 4.95 1.414-1.414z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    background-size: 16px;
    padding-right: 40px !important;
}


/* ============================================================
   MESSAGE cockpit sous le champ
   ============================================================ */
.uac-error-msg {
    color: #ff8080;
    font-size: 0.9rem;
    margin-top: 6px;
    font-style: italic;
    display: none;
}

/* Affichage auto UNIQUEMENT quand invalide et non vide */
.uac-input.obl:required:invalid:not(:placeholder-shown) + .uac-error-msg {
    display: block;
}


/* ============================================================
   ÉTAT : VALIDE (valid)
   ============================================================ */
.uac-input.obl:required:valid:not(:placeholder-shown) {
    border-left: 3px solid #37d67a !important; /* vert cockpit */
    box-shadow: 0 0 10px rgba(55,214,122,0.25);
}

/* =========================================================
   UAC — MEDIA PODS (images réduites & flou esthétique)
   ========================================================= */

/* Réduction des images à l’intérieur des cards médias */
.uac-media-img {
    width: 55%;
    margin: 20px auto 0;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(0,0,0,0.55);
    transition: transform .25s ease, box-shadow .25s ease;
}

.uac-media-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(249,211,66,0.25);
}

/* Image principale (grand plateau TV) avec flou périphérique */
.uac-hero-blur {
    width: 100%;
    max-width: 540px;   /* réduit la taille */
    margin: auto;
    border-radius: 12px;
    display: block;

    /* Flou périphérique */
    filter: drop-shadow(0 0 22px rgba(0,0,0,0.65));
    mask-image: radial-gradient(circle at center,
                rgba(0,0,0,1) 68%,
                rgba(0,0,0,0) 100%);
}

/* =========================================================
   UAC — BACKGROUNDS ILLUMINÉS (images fondues)
   ========================================================= */
.uac-bg-img {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.uac-bg-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* voile cockpit */
    backdrop-filter: blur(2px);
    z-index: 0;
}

.uac-bg-img > * {
    position: relative;
    z-index: 1;
}
/* IMAGE CINÉMATIQUE À DROITE DU HERO */
.uac-hero-side-img {
    width: 75%;
     max-width: 100% !important;
    margin: auto;
    display: block;
    border-radius: 14px;

    /* Blend + masque + glow doux */
    box-shadow: 0 0 35px rgba(0,0,0,0.65);

    /* Masque circulaire progressif + flou autour */
    mask-image: radial-gradient(circle at center,
                rgba(0,0,0,1) 60%,
                rgba(0,0,0,0.4) 78%,
                rgba(0,0,0,0) 100%);
    
    filter: blur(2px) brightness(0.88);
    transition: .25s ease;
}

.uac-hero-side-img:hover {
    filter: blur(0px) brightness(1);
    transform: scale(1.03);
}
/* =========================================================
   AMÉLIORATION : FOOTER PROPRE, SANS HAUTEUR FIXE
========================================================= */
/* --- FOOTER ALU BROSSÉ --- */
.uac-footer {
    width: 100%;
    padding: 35px 70px 30px;

    background: linear-gradient(180deg, #2b2b2b 0%, #1c1c1c 100%);
    border-top: 1px solid rgba(255,255,255,0.18);

    display: flex;
    justify-content: space-between;
    gap: 55px;

    font-family: 'Rajdhani', sans-serif;
    color: #e2e2e2;

    box-shadow: 0 -1px 8px rgba(0,0,0,0.35);
}

/* --- COLONNES --- */
.uac-footer-col {
    flex: 1;
    min-width: 240px;
}

/* --- TITRES --- */
.uac-footer-col h4 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f0f0f0;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 5px;
}

/* --- LISTES --- */
.uac-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uac-footer-col ul li {
    margin: 5px 0;
}

/* --- LIENS --- */
.uac-footer-col a {
    color: #c9c9c9;
    text-decoration: none;
    font-size: 0.92rem;
    transition: .25s ease;
}

.uac-footer-col a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.25);
}

/* --- TEXTE PETIT --- */
.uac-footer-small {
    font-size: 0.88rem;
    opacity: 0.75;
    line-height: 1.3rem;
    max-width: 260px;
}

/* ==========================================================
   ANIMATIONS UAC — invisibles par défaut
   ========================================================== */

.uac-anim-fade,
.uac-anim-fade-up,
.uac-anim-slide-right,
.uac-anim-slide-left,
.uac-anim-zoom-soft {
    opacity: 0;
    transition: all .8s ease;
}

/* Fade simple */
.uac-anim-fade {
    transform: translateY(0);
}

/* Fade up */
.uac-anim-fade-up {
    transform: translateY(30px);
}

/* Slide depuis la droite */
.uac-anim-slide-right {
    transform: translateX(40px);
}

/* Slide depuis la gauche */
.uac-anim-slide-left {
    transform: translateX(-40px);
}

/* Zoom entrée douce */
.uac-anim-zoom-soft {
    transform: scale(0.92);
}

/* Délais optionnels */
.uac-anim-delay-1 { transition-delay: .15s; }
.uac-anim-delay-2 { transition-delay: .30s; }
.uac-anim-delay-3 { transition-delay: .45s; }
.uac-anim-delay-4 { transition-delay: .60s; }
.uac-anim-delay-5 { transition-delay: .75s; }

/* ==========================================================
   ÉTAT ACTIVÉ : ANIMATION TERMINÉE
   ========================================================== */

.uac-anim-active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* ==========================================================
   NAV SECTIONS – VERSION SOFT GLOSSY
   ========================================================== */

#uac-section-nav {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000; /* Au-dessus du contenu, sous la navbar */
}

.uac-arrow-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;

    background: rgba(15, 15, 15, 0.55);   /* verre fumé */
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);

    color: #f9f9f9;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .25s ease, box-shadow .25s ease;

    box-shadow: 0 0 4px rgba(255,255,255,0.08);
}

/* Apparition */
.uac-arrow-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Hover cockpit discret */
.uac-arrow-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
}
/* =========================================================
   UAC — FOOTER STICKY EN BAS DES CARDS
   Permet au bouton d'être toujours en bas,
   aligné à droite, propre, sans toucher au design.
   ========================================================= */

.uac-card-footer {
    margin-top: auto;                  /* pousse le footer en bas */
    padding-top: 25px;                 /* espace entre contenu et footer */
    display: flex;
    justify-content: flex-end;         /* à droite */
    align-items: center;
}

/* Centrage optionnel */
.uac-card-footer.center {
    justify-content: center;
}

/* Alignement à gauche optionnel */
.uac-card-footer.left {
    justify-content: flex-start;
}

/* On transforme toutes les cards en conteneur vertical */
.uac-yellow-card,
.uac-blue-card,
.uac-gray-card,
.uac-dark-card,
.uac-anthracite-card,
.uac-white-card {
    display: flex;
    flex-direction: column;            /* contenu en haut, footer en bas */
}

/* =========================================================
   UAC — GRAY CARD (version premium restaurée)
   ========================================================= */
.uac-gray-card {
    position: relative;
    padding: 40px 50px;
    border-radius: 14px;

    /* Fond anthracite translucide */
    background: rgba(255,255,255,0.045);

    /* Contour gris cockpit premium */
    border: 1px solid rgba(255,255,255,0.17);

    /* Ombre douce cockpit */
    box-shadow:
        0 0 25px rgba(0,0,0,0.40),
        inset 0 0 25px rgba(0,0,0,0.12);

    backdrop-filter: blur(4px);
    color: #e9e9e9;
    line-height: 1.65;
    overflow: hidden;
}

/* --- Glossy diagonal ultra soft (ancien style) --- */
.uac-gray-card::before {
    content: "";
    position: absolute;
    top: -45%;
    left: -45%;
    width: 200%;
    height: 200%;
    pointer-events: none;

    background: linear-gradient(
        110deg,
        rgba(255,255,255,0.0) 40%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.0) 60%
    );

    opacity: 0.12;
    transform: rotate(8deg);
}

/* --- Texture diagonale cockpit discrète (ancien after) --- */
.uac-gray-card::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -40px;
    width: 240px;
    height: 240px;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.02) 50%,
        rgba(0,0,0,0.15) 100%
    );

    opacity: 0.35;
    transform: rotate(25deg);
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.45));
}


/* ============================================================
   UAC — Carte cockpit XL : plus aérée, premium, immersive
   ============================================================ */
.uac-gray-card-xl {
    max-width: 1200px;
    margin: auto;
    padding: 80px 90px;

    background: rgba(255,255,255,0.065);
    border: 1px solid rgba(249,211,66,0.25);
    border-radius: 16px;

    box-shadow:
        0 0 45px rgba(0,0,0,0.40),
        inset 0 0 35px rgba(0,0,0,0.16);

    backdrop-filter: blur(3px);
    line-height: 1.75;
}

/* Sous-titre type “accroche” */
.uac-text-lead {
    text-align: center;
    font-size: 1.35rem;
    margin: 25px auto 40px;
    max-width: 800px;
    color: #eaeaea;
    font-weight: 300;
}

/* Texte général mieux espacé */
.uac-intro-text p {
    margin-bottom: 22px;
    font-size: 1.12rem;
    color: #f2f2f2;
}

/* =========================================================
   CARD AÉRÉE — STYLE PREMIUM
========================================================= */
.uac-card-aeree {
    padding: 45px 55px;
    border-radius: 20px;
    background: rgba(20,20,20,0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.uac-card-aeree h2 {
    margin-bottom: 10px;
}

.uac-card-aeree p {
    margin: 14px 0;
    font-size: 1.15rem;
    line-height: 1.55;
}
/* -------------------------------------------------------------
   BLOC PREMIUM – INSCRIPTIONS UAC
------------------------------------------------------------- */

.uac-info-card {
    background: rgba(20, 20, 20, 0.80);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 50px 55px;
    margin: auto;
    max-width: 1100px;
    box-shadow: 0 0 35px rgba(0,0,0,0.35), inset 0 0 20px rgba(255,255,255,0.03);
}

/* Header */
.uac-info-header {
    text-align:center;
    margin-bottom: 30px;
}

/* Texte structuré */
.uac-info-content .uac-line {
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e6e6e6;
}

/* Icônes → (déjà intégrées dans le HTML) */
.uac-info-content .uac-line::before {
    content: "";
}

/* Animations douces */
.uac-anim-slide-down {
    opacity: 0;
    transform: translateY(-15px);
    animation: uacSlideDown 0.9s forwards ease-out;
}

@keyframes uacSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uac-info-card .uac-anim-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: uacFadeUp 0.9s forwards ease-out;
}

@keyframes uacFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* CONTENEUR GLOBAL EN LECTURE DIAGONALE */
.uac-card-diag {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 80px;
}

/* CARDS LARGES ET INDENTÉES */
.uac-card-diag .uac-gray-card {
    max-width: 900px;       /* 💛 LARGES MAIS ÉLÉGANTES */
    padding: 40px 45px;
}

/* CARD 1 — légèrement à gauche */
.uac-card-1 {
    margin-left: 80px;
}

/* CARD 2 — centrée */
.uac-card-2 {
    margin-left: auto;
    margin-right: auto;
}

/* CARD 3 — légèrement à droite */
.uac-card-3 {
    margin-left: auto;
    margin-right: 80px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
    .uac-card-diag .uac-gray-card {
        max-width: 95%;
        margin: auto !important;
    }
}
/* HERO restructure */
.uac-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.uac-hero-content {
    flex: 1.2;
}

.uac-hero-side {
    flex: 1;
}


/* Grille narrative premium */
.uac-narration-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 40px 0;
}

.uac-narration-block h3 {
    margin-bottom: 18px;
}

/* =========================================================
   UAC — SYSTEME 50/50 (Texte + Image pleine hauteur)
   Version propre, sans doublons
   ========================================================= */
/* =========================================================
   1) WRAPPER — casser toute grille parent
   ---------------------------------------------------------
   À utiliser autour du <section> pour sortir d’une uac-grid
   ou d’une mise en colonnes horizontale.
   Exemple :
   <div class="uac-no-grid"><section class="uac-block-50">...</section></div>
   ========================================================= */

.uac-no-grid {
    display: block !important;         /* bloc normal : évite d’hériter d’une grid */
    grid-column: 1 / -1 !important;    /* prend toute la largeur si le parent est grid */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Forcer le <section> interne à redevenir flex */
.uac-no-grid > section {
    display: flex !important;
}


/* =========================================================
   2) BLOC 50/50 — conteneur principal
   ---------------------------------------------------------
   Flex horizontal : texte sur image
   ========================================================= */

.uac-block-50 {
    display: flex !important;          /* flex obligatoire */
    flex-direction: row;               /* texte à gauche, image à droite */
    align-items: stretch;

    width: 100%;
    max-width: 100%;
    min-height: 520px;

    background: #0d0d0d;
    border-radius: 16px;
    overflow: hidden;

    margin: 80px auto;

    box-shadow:
        0 0 25px rgba(0,0,0,0.55),
        inset 0 0 15px rgba(255,255,255,0.05);
}



/* =========================================================
   3) ZONE TEXTE
   ========================================================= */

.uac-block-50-text {
    flex: 1;
    padding: 70px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}



/* =========================================================
   4) ZONE IMAGE
   ========================================================= */

.uac-block-50-image {
    flex: 1;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

/* Overlay cockpit */
.uac-block-50-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.25) 30%,
        rgba(0,0,0,0.55) 100%
    );
    pointer-events: none;
}



/* =========================================================
   5) MODE REVERSE
   ---------------------------------------------------------
   Inversion simple : image à gauche, texte à droite
   ========================================================= */

.uac-block-50-reverse {
    flex-direction: row-reverse !important;
}



/* =========================================================
   6) RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .uac-block-50,
    .uac-block-50-reverse {
        flex-direction: column;    /* texte au-dessus, image dessous */
        min-height: unset;
    }

    .uac-block-50-image {
        height: 260px;             /* image visible */
    }

    .uac-block-50-text {
        padding: 45px 28px;        /* padding allégé */
    }
}
