/* Styles pour l'adaptation de la page d'accueil aux différentes tailles d'écran */

@media (max-width: 991px) {
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    

    .sous-titre {
        font-size: 1.025rem;
        margin-top: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-section {
        margin-top: -4rem;
    }

    .cta-grid {
        grid-template-columns: 1fr; /* Grille sur une seule colonne */
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .homepage-footer .copyright {
        margin-left: 0;
    }

    .cta-block {
        padding: 1rem;
    }

    .cta-block h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .homepage-footer .d-flex.gap-3 {
        gap: 0.5rem !important;
        flex-wrap: wrap;
    }
    
    .footer-link {
        font-size: 0.75rem;
    }
}

@media (min-width: 641px) {
    body {
        background-image: url("../img/bg-accueil-1280x720.webp");
    }
}
