/* Sobrae Engenharia — global footer system */
:root {
    --sobrae-footer-bg: #061725;
    --sobrae-footer-surface: #0b2235;
    --sobrae-footer-surface-strong: #102c43;
    --sobrae-footer-line: rgba(255, 255, 255, .12);
    --sobrae-footer-text: #f8fbfd;
    --sobrae-footer-muted: rgba(248, 251, 253, .70);
    --sobrae-footer-accent: #fd3e03;
    --sobrae-footer-accent-soft: #ff7a4d;
    --sobrae-footer-radius: 18px;
    --sobrae-footer-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.site-footer.site-footer--global {
    background: radial-gradient(circle at 88% 0%, rgba(253, 62, 3, .16), transparent 34%),
        linear-gradient(145deg, var(--sobrae-footer-bg), #092238 70%, #061725) !important;
    border-top: 1px solid rgba(253, 62, 3, .52) !important;
    color: var(--sobrae-footer-text) !important;
    overflow: hidden;
}

.site-footer--global,
.site-footer--global * {
    box-sizing: border-box;
}

.site-footer--global .site-footer__inner {
    margin: 0 auto;
    max-width: 1200px;
    padding: 54px 15px 0;
    width: 100%;
}

.site-footer--global .site-footer__top {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr);
    padding-bottom: 44px;
}

.site-footer--global .site-footer__brand {
    background: linear-gradient(135deg, rgba(16, 44, 67, .96), rgba(11, 34, 53, .76));
    border: 1px solid var(--sobrae-footer-line);
    border-radius: var(--sobrae-footer-radius);
    box-shadow: var(--sobrae-footer-shadow);
    padding: 30px;
    position: relative;
}

.site-footer--global .site-footer__brand::after {
    background: linear-gradient(90deg, var(--sobrae-footer-accent), transparent);
    bottom: 0;
    content: "";
    height: 3px;
    left: 30px;
    position: absolute;
    width: 110px;
}

.site-footer--global .site-footer__eyebrow,
.site-footer--global .site-footer__availability {
    color: var(--sobrae-footer-accent-soft) !important;
    font-family: "Manrope", sans-serif;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.site-footer--global .site-footer__brand h2 {
    color: var(--sobrae-footer-text) !important;
    font-family: "Manrope", sans-serif;
    font-size: clamp(25px, 3vw, 34px) !important;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12 !important;
    margin: 12px 0 13px !important;
    max-width: 560px;
}

.site-footer--global .site-footer__brand p {
    color: var(--sobrae-footer-muted) !important;
    font-family: "Manrope", sans-serif;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 0 22px !important;
    max-width: 570px;
}

.site-footer--global .site-footer__cta {
    align-items: center;
    background: var(--sobrae-footer-accent);
    border: 1px solid var(--sobrae-footer-accent);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-family: "Manrope", sans-serif;
    font-size: 12px !important;
    font-weight: 800;
    gap: 10px;
    letter-spacing: .05em;
    line-height: 1 !important;
    padding: 13px 18px;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.site-footer--global .site-footer__cta:hover,
.site-footer--global .site-footer__cta:focus-visible {
    background: #e93500;
    border-color: #e93500;
    color: #fff !important;
    transform: translateY(-2px);
}

.site-footer--global .site-footer__contact-card {
    align-items: flex-start;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--sobrae-footer-line);
    border-radius: var(--sobrae-footer-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.site-footer--global .site-footer__availability {
    align-items: center;
    display: inline-flex;
    gap: 9px;
    margin-bottom: 16px;
}

.site-footer--global .site-footer__availability::before {
    background: #63d48a;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(99, 212, 138, .12);
    content: "";
    display: inline-block;
    height: 8px;
    width: 8px;
}

.site-footer--global .site-footer__contact-card p {
    color: var(--sobrae-footer-muted) !important;
    font-family: "Manrope", sans-serif;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 0 18px !important;
}

.site-footer--global .site-footer__contact-card a {
    color: var(--sobrae-footer-text) !important;
    font-family: "Manrope", sans-serif;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.5 !important;
}

.site-footer--global .site-footer__contact-card a:hover,
.site-footer--global .site-footer__contact-card a:focus-visible {
    color: var(--sobrae-footer-accent-soft) !important;
}

.site-footer--global .site-footer__columns {
    border-top: 1px solid var(--sobrae-footer-line);
    display: grid;
    gap: 30px;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    padding: 34px 0 38px;
}

.site-footer--global .site-footer__column h3 {
    color: var(--sobrae-footer-text) !important;
    font-family: "Manrope", sans-serif;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4 !important;
    margin: 0 0 18px !important;
    text-transform: uppercase;
}

.site-footer--global .site-footer__column h3::after {
    background: var(--sobrae-footer-accent);
    content: "";
    display: block;
    height: 2px;
    margin-top: 10px;
    width: 28px;
}

.site-footer--global .site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer--global .site-footer__list li {
    margin: 0 0 10px;
}

.site-footer--global .site-footer__list a {
    align-items: center;
    color: var(--sobrae-footer-muted) !important;
    display: inline-flex;
    font-family: "Manrope", sans-serif;
    font-size: 13px !important;
    gap: 9px;
    line-height: 1.55 !important;
    transition: color .2s ease, transform .2s ease;
}

.site-footer--global .site-footer__list a::before {
    color: var(--sobrae-footer-accent);
    content: "›";
    font-size: 18px;
    line-height: 0;
}

.site-footer--global .site-footer__list a:hover,
.site-footer--global .site-footer__list a:focus-visible {
    color: var(--sobrae-footer-text) !important;
    transform: translateX(3px);
}

.site-footer--global .site-footer__contact-list a::before {
    align-items: center;
    background: rgba(253, 62, 3, .14);
    border-radius: 50%;
    content: "";
    display: inline-flex;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.site-footer--global .site-footer__contact-list a[href^="tel:"]::before { content: "☎"; font-size: 11px; }
.site-footer--global .site-footer__contact-list a[href^="mailto:"]::before { content: "✉"; font-size: 11px; }
.site-footer--global .site-footer__contact-list a[href*="contact"]::before { content: "↗"; font-size: 12px; }

.site-footer--global .site-footer__address {
    color: var(--sobrae-footer-muted) !important;
    font-family: "Manrope", sans-serif;
    font-size: 13px !important;
    line-height: 1.65 !important;
    margin: 0 0 14px !important;
}

.site-footer--global .site-footer__bottom {
    align-items: center;
    border-top: 1px solid var(--sobrae-footer-line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 18px 0 20px;
}

.site-footer--global .site-footer__bottom p,
.site-footer--global .site-footer__bottom a {
    color: rgba(248, 251, 253, .55) !important;
    font-family: "Manrope", sans-serif;
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.site-footer--global .site-footer__bottom a:hover,
.site-footer--global .site-footer__bottom a:focus-visible {
    color: var(--sobrae-footer-accent-soft) !important;
}

@media (max-width: 991px) {
    .site-footer--global .site-footer__top {
        grid-template-columns: 1fr;
    }
    .site-footer--global .site-footer__contact-card {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .site-footer--global .site-footer__inner {
        padding-top: 34px;
    }
    .site-footer--global .site-footer__brand,
    .site-footer--global .site-footer__contact-card {
        padding: 24px;
    }
    .site-footer--global .site-footer__columns {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 26px;
    }
    .site-footer--global .site-footer__column:last-child {
        grid-column: 1 / -1;
    }
    .site-footer--global .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .site-footer--global .site-footer__columns {
        grid-template-columns: 1fr;
    }
    .site-footer--global .site-footer__column:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer--global *,
    .site-footer--global *::before,
    .site-footer--global *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
