/* ==========================================================================
   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;
}
/* --- Reset léger + police --- */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #fff;
    min-height: 100vh;
    position: relative;
}

/* --- Overlay sombre au-dessus de la vidéo (lisibilité du texte) --- */
.page-video-overlay {
    position: fixed;
    inset: 0;
    z-index: -10;
    background: rgba(0, 0, 0, 0.45);
}

/* --- Header (back-link + fil d'Ariane) --- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    position: relative;
    z-index: 10;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.back-link:hover { opacity: 1; }
.crumb {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 720px;
    margin: 0 auto;
}
.kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #feca3c;
    margin-bottom: 14px;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px;
}
.hero .lede {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* --- Contenu --- */
.content-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Responsive improvements for content wrap */
@media (max-width: 480px) {
    .content-wrap {
        padding: 0 16px 60px;
    }
}

.pedago-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.pedago-card {
    padding: 32px;
}
.pedago-card h3 { margin: 14px 0 10px; font-size: 1.2rem; }
.pedago-card p  { margin: 0; color: rgba(255, 255, 255, 0.75); line-height: 1.65; font-size: 0.95rem; }
.pedago-card .icon-plane,
.pedago-card .icon-check,
.pedago-card .icon-visa { font-size: 1.6rem; }

/* Responsive improvements for pedago grid and cards */
@media (max-width: 480px) {
    .pedago-grid {
        gap: 18px;
        margin-bottom: 18px;
    }

    .pedago-card {
        padding: 24px;
    }

    .pedago-card h3 {
        font-size: 1.1rem;
        margin: 12px 0 8px;
    }

    .pedago-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .pedago-card .icon-plane,
    .pedago-card .icon-check,
    .pedago-card .icon-visa {
        font-size: 1.4rem;
    }
}

/* --- Bloc engagement --- */
.commitment-block { padding: 36px 40px; margin-bottom: 24px; text-align: center; }
.commitment-intro {
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.65;
}
.commitment-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 520px;
    display: grid;
    gap: 14px;
    text-align: left;
}
.commitment-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}
.commitment-list .check-icon { margin-top: 3px; flex-shrink: 0; }

/* --- Bloc contact --- */
.contact-block { padding: 36px 40px; text-align: center; }
.contact-intro {
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.65;
}
.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}
.cta-btn {
    display: inline-block;
    background: #feca3c;
    color: #151515;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 34px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 202, 60, 0.5);
    background: #ffe066;
}

/* Responsive improvements for commitment and contact sections */
@media (max-width: 480px) {
    .commitment-block,
    .contact-block {
        padding: 28px 24px;
        margin-bottom: 20px;
    }

    .commitment-intro,
    .contact-intro {
        margin: 0 0 20px;
        max-width: 100%;
    }

    .commitment-list {
        gap: 12px;
        max-width: 100%;
    }

    .commitment-list li {
        gap: 10px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .commitment-list .check-icon {
        margin-top: 2px;
        width: 16px;
        height: 16px;
    }

    .commitment-list .check-icon::after {
        font-size: 0.6rem;
    }

    .contact-details {
        gap: 8px 16px;
        margin-bottom: 20px;
        font-size: 0.85rem;
    }

    .cta-btn {
        font-size: 0.8rem;
        padding: 12px 28px;
        letter-spacing: 0.5px;
    }
}

/* --- Footer --- */
.page-footer {
    margin: 0 20px 24px;
    text-align: center;
    padding: 20px;
}
.page-footer p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive improvements for footer */
@media (max-width: 480px) {
    .page-footer {
        margin: 0 16px 20px;
        padding: 16px;
    }

    .page-footer p {
        font-size: 0.75rem;
    }
}