/* --- Styles spécifiques à la page Liens (fr-liens.php) --- */

/* Section Héro Liens */
.hero-liens {
    padding: 3rem 0;
    text-align: center;
}

.hero-liens h1 {
    font-size: 3em;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Picto Loupe et Lignes (jaune) */
.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icon-search {
    font-size: 2.5em;
    color: #FFD700; /* Jaune or pour l'icône loupe */
    margin: 0 15px;
    flex-shrink: 0;
}

.search-icon-wrapper .line {
    flex-grow: 1;
    height: 2px;
    background-color: #FFD700; /* Couleur de ligne assortie en jaune or */
    max-width: 50%;
}

.hero-liens .intro-text {
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

/* Section des liens */
.links-section {
    padding: 3rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Colonnes adaptatives */
    gap: 30px; /* Espacement entre les cartes de lien */
    max-width: 1200px; /* Largeur max de la grille */
    margin: 0 auto;
}

.link-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pousse le bouton vers le bas */
}

.link-card h3 {
    color: #333;
    font-size: 1.6em;
    margin-bottom: 1rem;
}

.link-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Permet au paragraphe de prendre l'espace disponible */
}

.btn-link {
    display: inline-block;
    background-color: #FFD700; /* Jaune or */
    color: #fff;
    padding: 10px 20px;
    border-radius: 9999px; /* Bouton arrondi */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-link:hover {
    background-color: #FFC400; /* Jaune légèrement plus foncé au survol */
    transform: translateY(-1px);
}

/* --- Media Queries pour la Responsivité --- */

/* Pour les tablettes et smartphones (largeur max 768px) */
@media (max-width: 768px) {
    .hero-liens h1 {
        font-size: 2.5em;
    }
    .hero-icon-search {
        font-size: 2em;
    }
    .hero-liens .intro-text {
        font-size: 1em;
    }

    .links-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile/tablette */
        gap: 20px;
    }

    .link-card {
        padding: 20px;
    }

    .link-card h3 {
        font-size: 1.4em;
    }

    .link-card p {
        font-size: 0.95em;
    }

    .btn-link {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* Pour les smartphones (largeur max 480px) */
@media (max-width: 480px) {
    .hero-liens h1 {
        font-size: 2em;
    }
    .hero-icon-search {
        font-size: 1.8em;
    }
    .hero-liens .intro-text {
        font-size: 0.9em;
    }
}

