/* Importation des polices de votre DA */
@import url('https://fonts.googleapis.com/css2?family=Island+Moments&family=Simonetta:wght@400;900&display=swap');

/* Récupération des variables de votre DA */
:root {
    --blue: #0c2e60;
    --blue-dark: #05152c;
    --blue-light: #1a3c70;
    --blue-pale: #e8edf7;
    --gold: #e7c45f;
    --light-gold: #f0e6c9;
    --white: #ffffff;
    --dark: #121212;
}

/* Styles de base pour la page de bienvenue */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.welcome-page-body {
    font-family: "Simonetta", sans-serif;
    /* Fond sombre et luxueux */
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    color: var(--white); /* Texte par défaut en blanc */
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 1rem; /* Espace autour du contenu */
    overflow-x: hidden;
}

/* Conteneur principal - Transparent */
.welcome-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    text-align: center;
}

/* En-tête de bienvenue */
.welcome-header {
    margin-bottom: 3rem;
}

.welcome-header h1 {
    font-family: "Island Moments", cursive;
    color: var(--gold);
    font-size: 6rem; /* Plus grand pour plus d'impact */
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.welcome-header h2 {
    font-family: "Simonetta", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.welcome-header p {
    font-size: 1.1rem;
    color: var(--blue-pale); /* Couleur plus douce */
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}

/* Ligne dorée décorative (de votre DA) */
.gold-line {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 1.5rem auto 3rem auto; /* Plus d'espace */
}

/* Section PDF - Effet Glassmorphism */
.pdf-section {
    margin-bottom: 3rem;
    /* Effet verre dépoli */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Support Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
}

.pdf-section h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 900;
}

/* Bouton (de votre DA) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 32px;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 15px;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--blue-light); /* Hover bleu plus clair */
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--white);
    border-color: var(--blue-light);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Section des vidéos */
.video-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 2rem;
}

/* Grille pour les vidéos */
.welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Carte vidéo individuelle - Effet Glassmorphism */
.video-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.1); /* S'éclaircit au survol */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Le lien qui sert d'aperçu vidéo */
a.video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--blue-dark); /* Fond du placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 3rem;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none; /* Enlève le soulignement du lien */
}

a.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: black;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover a.video-placeholder::before {
    opacity: 0.2; /* Assombrit légèrement au survol */
}

a.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
}

a.video-placeholder svg {
    width: 60px;
    height: 60px;
    color: var(--gold);
    opacity: 0.8;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.video-card:hover a.video-placeholder svg {
    transform: scale(1.1);
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 900;
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    body.welcome-page-body {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .welcome-grid {
        grid-template-columns: 1fr; /* 1 colonne sur tablette */
        gap: 2.5rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .welcome-header h1 {
        font-size: 4.5rem;
    }

    .welcome-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    body.welcome-page-body {
        padding: 2rem 1rem;
    }

    .welcome-header h1 {
        font-size: 3.5rem;
    }

    .welcome-header h2 {
        font-size: 1.5rem;
    }

    .welcome-header p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        font-size: 14px;
        padding: 14px 20px;
    }

    .pdf-section {
        padding: 2rem 1.5rem;
    }

    .video-section h2 {
        font-size: 2rem;
    }

    .video-content h3 {
        font-size: 1.25rem;
    }
}