body {
    background-color: #1c1c24;
    color: white;
    font-family: 'Patrick Hand', sans-serif;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
    padding: 0rem 1rem;
    text-align: center;
    background-color: #1c1c24;
}

.classy {
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    animation: fadeSlideIn 1s ease forwards;
    opacity: 0;
}

.pdf-container {
    margin-bottom: 1.5rem;
    animation: fadeSlideIn 1s ease 0.3s forwards;
    opacity: 0;
}

.download-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.download-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.helloasso-info {
    max-width: 800px;
    /* limite la largeur du texte */
    margin: 1.5rem auto;
    /* centre le bloc */
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    line-height: 1.8;
    font-size: 1.2rem;
    /* texte plus gros */
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);

    animation: fadeSlideIn 1s ease 0.3s forwards;
    opacity: 0;
}

.helloasso-sante {
    max-width: 800px;
    /* limite la largeur du texte */
    margin: 1.5rem auto;
    /* centre le bloc */
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    line-height: 1.8;
    font-size: 1.2rem;
    /* texte plus gros */
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);

    animation: fadeSlideIn 1s ease 0.3s forwards;
    opacity: 0;
}


.helloasso-info h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #b084f7;
}

.helloasso-sante h3 {
    text-align: center;
    margin-bottom: 1.1rem;
    font-size: 1.5rem;
    color: #ffd700;
}

.helloasso-parental {
    max-width: 800px;
    /* limite la largeur du texte */
    margin: 1.5rem auto;
    /* centre le bloc */
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    line-height: 1.8;
    font-size: 1.2rem;
    /* texte plus gros */
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);

    animation: fadeSlideIn 1s ease 0.3s forwards;
    opacity: 0;
}

.helloasso-parental h3 {
    text-align: center;
    margin-bottom: 1.1rem;
    font-size: 1.5rem;
    color: #1fce4be3;
}

.payment-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    background-color: #28a745;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    animation: fadeSlideIn 1s ease 0.6s forwards;
    opacity: 0;
}

.payment-link:hover {
    background-color: #218838;
}

.adhesion-link {
    color: #7fcfff;
    /* bleu clair pour bien contraster sur le fond sombre */
    font-weight: bold;
    /* plus visible */
    text-decoration: underline;
    /* pour montrer que c'est cliquable */
    transition: color 0.3s, text-shadow 0.3s;
}

.adhesion-link:hover {
    color: #fff;
    /* devient blanc au survol */
    text-shadow: 0 0 5px rgba(127, 207, 255, 0.7);
    /* léger glow pour attirer l'œil */
}

p span {
    font-style: italic;
}

.important-note {
    color: rgb(245, 18, 49);
    text-decoration: underline;
    font-size: 1.3rem;
}

.helloasso-widget {
    margin-bottom: 3rem;
    /* espace avant le footer */
}

.pdf-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* espace entre les boutons */
    margin: 2rem 0;
    flex-wrap: wrap;
    /* permet de passer à la ligne si trop étroit */
}

@media (max-width: 768px) {
    .pdf-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pdf-buttons .download-link {
        width: 100%;
        text-align: center;
    }
}


@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 640px) {
    .pdf-preview {
        height: 400px;
        display: none;
    }

    .pdf-container {
        margin-bottom: 3rem;

    }

    .download-link {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
}