/**
 * MyAssurBox — Styles Footer
 * Design "Final v3" : fond slate, wave SVG, grid 2fr 1fr 1fr
 */

.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-text-light-body);
    padding-top: 0;
    position: relative;
}

/* SVG wave */
.footer__wave {
    display: block;
    width: 100%;
    line-height: 0;
}

.footer__wave svg {
    display: block;
    width: 100%;
    height: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* Logo footer — texte gradient, pas d'icône carrée */
.footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer__logo-icon {
    display: none;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: var(--fw-black);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__description {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Réseaux sociaux — cercles 45px */
.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--gradient-primary);
    color: #fff;
}

/* Titres colonnes */
.footer__col-title {
    /* Marge haute du h4 d'origine (1.33em), conservee apres passage en h2. */
    margin-top: 1.33em;
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: var(--fw-bold);
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Liens */
.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-small);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__links li a:hover {
    color: var(--color-primary);
}

/* Barre du bas */
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copyright,
.footer__cookie-line {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer__copyright a {
    color: var(--color-primary);
    text-decoration: none;
}

.footer__copyright a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1023px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 767px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
