.site-footer {
    --footer-letter-hover: var(--verde);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--escuro);
    color: #ffffff;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer__brand-area {
    position: relative;
    z-index: 1;
    padding: clamp(32px, 6vw, 72px) 5% 0;
    text-align: center;
}

.footer-brand {
    margin: 0;
    margin-bottom: clamp(-58px, -8.5vw, -18px);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 11vw, 8.5rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    user-select: none;
}

.footer-brand__letter {
    display: inline-block;
    margin: 0 0.03em;
    cursor: default;
    transition:
        color .25s ease,
        -webkit-text-stroke-color .25s ease,
        transform .25s ease;
}

.footer-brand__letter:hover {
    color: var(--footer-letter-hover);
    -webkit-text-stroke-color: var(--footer-letter-hover);
    transform: translateY(-4px);
}

.footer-brand__space {

    display: inline;
}

.site-footer__panel {
    position: relative;
    z-index: 2;
    background: var(--escuro);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -40px 60px rgba(0, 0, 0, 0.3);
}

.site-footer__texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 15% 0%, rgba(31, 161, 135, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 0,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px,
            transparent 8px
        );
    opacity: 0.7;
    pointer-events: none;
}

.site-footer__content {
    position: relative;
    z-index: 1;
    --footer-max-width: 1200px;
    width: min(100% - 96px, var(--footer-max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(140px, 0.5fr));
    gap: clamp(28px, 4vw, 76px);
    padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
}

.site-footer__identity-marca {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__identity-marca img {
    height: clamp(36px, 4vw, 48px);
    width: auto;
    display: block;
}

.site-footer__identity-tagline {
    margin: clamp(14px, 1.6vw, 20px) 0 0;
    max-width: 360px;
    color: rgb(255 255 255 / 0.62);
    font-size: 15px;
    line-height: 1.55;
}

.site-footer__navigation {
    display: contents;
}

.site-footer__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(12px, 1.3vw, 18px);
}

.site-footer__group-titulo {
    margin-bottom: 4px;
    color: rgb(255 255 255 / 0.45);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.site-footer__link {
    display: inline-block;
    color: rgb(255 255 255 / 0.82);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    opacity: .82;
    transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.site-footer__link:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateX(3px);
}

.site-footer__legal {
    position: relative;
    z-index: 1;
    width: min(100% - 96px, var(--footer-max-width));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px 24px;
    padding: clamp(16px, 2vw, 24px) 0 clamp(24px, 3vw, 36px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgb(255 255 255 / 0.5);
    font-size: 13px;
    line-height: 1.5;
}

.site-footer__legal p {
    margin: 0;
}

.site-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}

.site-footer__legal-links .site-footer__link {
    font-size: 13px;
    font-weight: 500;
    color: rgb(255 255 255 / 0.5);
}

.site-footer__legal-links .site-footer__link:hover {
    color: #ffffff;
}

@media (max-width: 980px) {
    .site-footer__content { width: min(100% - 48px, var(--footer-max-width)); }
    .site-footer__legal { width: min(100% - 48px, var(--footer-max-width)); }
}

@media (max-width: 768px) {
    .site-footer__content {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__identity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer__content { width: min(100% - 32px, var(--footer-max-width)); grid-template-columns: 1fr; }
    .site-footer__legal { width: min(100% - 32px, var(--footer-max-width)); justify-content: center; }
    .site-footer__identity { grid-column: auto; }
    .footer-brand { margin-bottom: clamp(-30px, -6vw, -10px); }
}

@media (prefers-reduced-motion: reduce) {
    .footer-brand__letter,
    .site-footer__link {
        transition: none;
    }

    .footer-brand__letter:hover {
        transform: none;
    }
}
