/* ==========================================================================
   TOCCA A TE — Page d'accueil
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- ANIMATION FLOTTAISON --- */
.anim-float {
    opacity: 0;
    transform: translateY(20px);
    animation: floatIn 0.8s ease-out forwards;
}
@keyframes floatIn {
    to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* --- VIDEO EN ARRIERE-PLAN DE TOUTE LA PAGE --- */
.page-video-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -20;
}

.glass-card {
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
  transition: all 0.3s ease;
}

/* Effet au survol (Hover) avec halo lumineux jaune/doré */
.glass-card:hover,
.pedago-card:hover {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid #ffffff;
  /* Halo lumineux intense façon 'brand-yellow' */
  box-shadow: 0 0 25px rgba(254, 202, 60, 0.6), 0 8px 20px rgba(254, 202, 60, 0.4);
  transform: translateY(-4px) scale(1.03);
}

/* Effet au clic (Active) */
.glass-card:active,
.pedago-card:active {
  transform: scale(0.97) rotateZ(1deg);
}

/* --- TITRES DE SECTION : soulignement jaune --- */
.section-title-center {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title-center::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #feca3c;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* --- TEXTES HORS CARTE : ombres renforcées pour vidéo claire --- */
.hero-strong-shadow {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 16px rgba(0, 0, 0, 0.7),
        0 8px 40px rgba(0, 0, 0, 0.5);
}
.title-strong-shadow {
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 3px 12px rgba(0, 0, 0, 0.7),
        0 6px 30px rgba(0, 0, 0, 0.4);
}
.label-strong-shadow {
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 3px 10px rgba(0, 0, 0, 0.7);
}

/* --- TABLEAUX (horaires) dans cartes sombres --- */
.glass-card thead tr {
    background: rgba(255, 255, 255, 0.08);
}
.glass-card tbody tr:hover {
    background: rgba(255, 255, 255, 0.06);
}
.glass-card tbody td {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.glass-card .level-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* --- ICONES CSS SIMPLES (cartes "formules") --- */
.icon-check::before { content: "✓"; color: #007E3A; font-weight: bold; font-size: 1.2rem; }
.icon-visa::before { content: "✈"; color: #f85a3e; font-size: 1.2rem; }
.icon-plane::before { content: "🇮🇹"; font-size: 1.2rem; }

.check-icon {
    min-width: 20px;
    height: 20px;
    background-color: #d6f5e8;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
.check-icon::after {
    content: "✓";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #007E3A;
    font-size: 0.7rem;
    font-weight: bold;
}


/* Anime uniquement (scale + rotate) — n'affecte pas la couleur définie par .glass-card:hover */
.pedago-card {
  cursor: pointer;
  transition: all 0.5s;
  user-select: none;
  text-decoration: none;
}