/* =========================================================
   LIENS VERS DES ARTICLES ET DES PAGES FAQ : composant commun à tout le site
   Chargé sur toutes les pages (base.html.twig).
   Vert nuit #0B2B29 · Vert titres #0A5048 · Vert enerev #0D8A7E · Turquoise #63D3C2
   Vert d'eau #CFE6E1 · Vert pâle #F0F8F6 · Crème #F7F3EA · Sable #E4DED3 · Gris doux #6D7370

   Gabarit : templates/_res_link.html.twig
     <a class="res-link res-link--article|faq"> icône · type (Article / Questions fréquentes) · titre · flèche
   Groupe : <div class="res-links"> (centré avec .res-links--center), titre facultatif .res-links__title
   ========================================================= */

.res-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 2rem 0 0;
}

.res-links--center {
    justify-content: center;
}

.res-links__title {
    flex: 0 0 100%;
    margin: 0;
    color: #6D7370;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.res-links--center .res-links__title {
    text-align: center;
}

.res-link {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    max-width: 100%;
    padding: 0.8rem 1.1rem 0.8rem 0.85rem;
    color: #0A5048;
    background: #fff;
    border: 1px solid #CFE6E1;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(11, 43, 41, 0.07);
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.res-link:hover {
    color: #0A5048;
    border-color: #0D8A7E;
    box-shadow: 0 10px 24px rgba(13, 138, 126, 0.18);
    transform: translateY(-2px);
}

.res-link:focus-visible {
    outline: 3px solid rgba(13, 138, 126, 0.4);
    outline-offset: 2px;
}

.res-link__icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: #0D8A7E;
    border-radius: 12px;
    font-size: 1.05rem;
}

.res-link--faq .res-link__icon {
    color: #0B2B29;
    background: #63D3C2;
}

.res-link__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    text-align: left;
}

.res-link__kicker {
    color: #6D7370;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.res-link__title {
    color: #0A5048;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.res-link__desc {
    color: #4A5350;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.4;
}

.res-link__arrow {
    flex: 0 0 auto;
    margin-left: 0.25rem;
    color: #0D8A7E;
    transition: transform 0.2s ease;
}

.res-link:hover .res-link__arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .res-link {
        width: 100%;
    }
}

/* ---------- Liens dans les réponses des FAQ (« Lire la réponse complète ») ---------- */
.faq-answer .faq-answer-link {
    margin-top: 1rem !important;
}

.faq-answer .faq-answer-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.95rem;
    color: #0A5048;
    background: #fff;
    border: 1px solid #0D8A7E;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-answer .faq-answer-link a::after {
    content: "→";
    color: #0D8A7E;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-answer .faq-answer-link a:hover {
    color: #fff;
    background: #0D8A7E;
    text-decoration: none;
}

.faq-answer .faq-answer-link a:hover::after {
    color: #fff;
    transform: translateX(3px);
}

/* Titres des cartes-liens (prix, chiffres) : plus gros et plus gras */
.res-link__title {
    font-size: 1.12rem;
    font-weight: 800;
}