/* ==========================================================================
   LANDING PAGE - PAGE DE CHOIX D'ACTIVITÉ
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-body, 'Montserrat', sans-serif);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #0f1829 0%, #1a2a4a 40%, #2c4066 100%);
    color: white;
    padding: 20px;
}

/* Conteneur principal */
.landing-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header avec logo et nom */
.landing-header {
    margin-bottom: 40px;
}

.landing-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.15));
}

.landing-name {
    font-family: var(--font-family-heading, 'Cormorant Garamond', serif);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.landing-title {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Question d'orientation */
.landing-question {
    font-family: var(--font-family-heading, 'Cormorant Garamond', serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Conteneur des cartes */
.landing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Style des cartes */
.landing-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 40px 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
}

.landing-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Icône de la carte */
.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.landing-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 36px;
    height: 36px;
}

/* Carte Sommeil - couleurs bleu nuit */
.landing-card-sommeil .card-icon {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}

/* Carte Psychomotricité - couleurs teal */
.landing-card-psycho .card-icon {
    background: linear-gradient(135deg, #6b9e9e 0%, #4a7c7c 100%);
}

/* Titre de la carte */
.card-title {
    font-family: var(--font-family-heading, 'Cormorant Garamond', serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Description de la carte */
.card-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Modes de consultation (Visio / Cabinet) */
.card-modes {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.card-mode {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
}

/* Spacer pour aligner les boutons CTA */
.card-modes + .card-cta {
    margin-top: auto;
}

/* Bouton CTA */
.card-cta {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.landing-card:hover .card-cta {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.landing-footer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-footer a:hover {
    color: white;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 700px) {
    .landing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landing-logo {
        width: 100px;
    }

    .landing-name {
        font-size: 2rem;
    }

    .landing-question {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .landing-card {
        padding: 30px 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon svg {
        width: 30px;
        height: 30px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    body {
        padding: 15px;
    }

    .landing-header {
        margin-bottom: 30px;
    }

    .landing-logo {
        width: 80px;
    }

    .landing-name {
        font-size: 1.75rem;
    }

    .landing-title {
        font-size: 0.85rem;
    }

    .landing-question {
        font-size: 1.2rem;
    }
}
