@charset "UTF-8";

:root {
    --brand-blue: #21409a;
    --brand-blue-dark: #292663;
    --brand-yellow: #ffd400;
    --brand-white: #ffffff;
    --surface: #ffffff;
    --surface-muted: #f4f6fb;
    --surface-blue: #eef2fa;
    --text-primary: #1a1f36;
    --text-muted: #5c6378;
    --border: #dde3ef;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 40px rgba(33, 64, 154, 0.08);
    --header-h: 72px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body.site-body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-blue);
}

a:hover {
    color: var(--brand-blue-dark);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--brand-yellow);
    color: var(--brand-blue-dark);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header:not(.is-solid):not(.is-scrolled) {
    background: rgba(255, 255, 255, 0.88);
}

.site-header.is-solid,
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(33, 64, 154, 0.06);
}

.site-header .navbar {
    min-height: var(--header-h);
    padding: 0;
}

.site-header__brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 1rem;
    flex-shrink: 0;
}

.site-header__logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: min(160px, 42vw);
    object-fit: contain;
}

.site-header__toggler {
    margin-left: auto;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.site-header__toggler:focus {
    box-shadow: 0 0 0 3px rgba(33, 64, 154, 0.2);
}

@media (min-width: 992px) {
    .site-header__toggler {
        display: none;
    }
}

.site-header__collapse {
    width: 100%;
}

@media (min-width: 992px) {
    .site-header__collapse {
        display: flex !important;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        gap: 0.5rem;
    }
}

.site-header__menu {
    gap: 0.15rem;
}

@media (max-width: 991.98px) {
    .site-header__menu {
        padding: 0.75rem 0 0.5rem;
        width: 100%;
    }

    .site-header__menu .nav-link {
        padding: 0.65rem 0.5rem !important;
    }
}

.site-header .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    color: var(--brand-blue);
    background: var(--surface-blue);
}

.site-header .nav-link.is-active {
    color: var(--brand-blue);
    font-weight: 600;
    background: var(--surface-blue);
}

.site-header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .site-header__actions {
        width: 100%;
        padding: 0.5rem 0 0.75rem;
    }

    .site-header__actions .btn-brand {
        width: 100%;
        justify-content: center;
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .site-header__actions {
        margin-left: 1rem;
    }
}

.btn-brand {
    background: var(--brand-yellow);
    color: var(--brand-blue-dark) !important;
    font-weight: 600;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-brand:hover,
.btn-brand:focus-visible {
    background: #f5c800;
    color: var(--brand-blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 212, 0, 0.45);
}

.btn-outline-brand {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
    background: var(--brand-blue);
    color: var(--brand-white) !important;
}

/* Typography */
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-blue-dark);
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 52ch;
}

/* Hero home */
.hero-home {
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    background: linear-gradient(160deg, var(--surface-muted) 0%, var(--surface) 45%, var(--surface-blue) 100%);
    overflow: hidden;
}

.hero-home__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--brand-blue-dark);
    margin-bottom: 1.25rem;
}

.hero-home__title span {
    color: var(--brand-blue);
}

.hero-home__text {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 54ch;
    margin-bottom: 2rem;
}

.hero-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-home__visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--brand-blue-dark);
    min-height: 280px;
}

.hero-home__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.hero-home__badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--brand-blue-dark);
}

.hero-home__badge i {
    font-size: 1.5rem;
    color: var(--brand-blue);
}

/* Page hero inner */
.page-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    color: var(--brand-white);
}

.page-hero__kicker {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0;
}

.page-hero__subtitle {
    margin: 1rem 0 0;
    max-width: 60ch;
    opacity: 0.9;
    font-size: 1.0625rem;
}

/* Sections */
.site-section {
    padding: 4.5rem 0;
}

.site-section--muted {
    background: var(--surface-muted);
}

.site-section--blue {
    background: var(--surface-blue);
}

/* Feature cards */
.feature-card {
    height: 100%;
    padding: 2rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow);
}

.feature-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface-blue);
    color: var(--brand-blue);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.feature-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.75rem;
}

.feature-card__text {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-card__icon {
    font-size: 2rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.stat-card__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    line-height: 1.2;
}

.stat-card__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* Cobertura / mapa */
.section-cobertura {
    padding: 4.5rem 0;
    background: var(--surface-muted);
}

.cobertura-stats li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.cobertura-stats strong {
    font-size: 1.25rem;
    color: var(--brand-blue);
}

.mapa-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.mapa-wrap__svg {
    width: 100%;
    overflow: auto;
}

.mapa-wrap__svg svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(520px, 70vh);
}

.mapa-wrap__fallback {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.mapa-wrap__fallback i {
    font-size: 2.5rem;
    color: var(--brand-blue);
}

/* Service zigzag */
.service-block {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .service-block {
        grid-template-columns: 1fr 1fr;
    }

    .service-block--reverse .service-block__media {
        order: 2;
    }
}

.service-block__media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-block__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.75rem;
}

/* About cards */
.about-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
}

.about-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-card__head i {
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.about-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--brand-blue-dark);
}

/* Serviços accordion */
.servicos-intro {
    max-width: 70ch;
    margin-bottom: 2.5rem;
}

.servicos-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.servicos-features li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.servicos-features i {
    color: var(--brand-blue);
    margin-top: 0.2rem;
}

.servico-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.servico-accordion .accordion-button {
    font-weight: 600;
    color: var(--brand-blue-dark);
    background: var(--surface);
}

.servico-accordion .accordion-button:not(.collapsed) {
    background: var(--surface-blue);
    color: var(--brand-blue);
    box-shadow: none;
}

.servico-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(33, 64, 154, 0.25);
}

.servico-panel-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

/* Contato */
.contact-card {
    height: 100%;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-blue);
    color: var(--brand-blue);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 10;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* LGPD */
.lgpd-content {
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.lgpd-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.lgpd-content p {
    color: var(--text-muted);
    text-align: justify;
}

.lgpd-toc {
    background: var(--surface-muted);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.lgpd-toc a {
    display: block;
    padding: 0.25rem 0;
    font-weight: 500;
}

/* CTA band */
.cta-band {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: var(--brand-white);
    text-align: center;
}

.cta-band__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-band .btn-brand {
    font-size: 1.0625rem;
    padding: 0.75rem 2rem;
}

/* Footer */
.site-footer {
    background: var(--brand-blue-dark);
    color: rgba(255, 255, 255, 0.88);
    padding: 3.5rem 0 2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--brand-yellow);
}

.site-footer__logo {
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.site-footer__tagline {
    font-size: 0.9375rem;
    opacity: 0.85;
    max-width: 28ch;
}

.site-footer__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-yellow);
    margin-bottom: 1rem;
}

.site-footer__address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.site-contatos__item {
    margin-bottom: 0.5rem;
}

.site-contatos__label {
    display: inline-block;
    min-width: 7.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.site-contatos__link {
    font-weight: 600;
}

.contact-tile--highlight .site-contatos__label {
    color: rgba(255, 255, 255, 0.75);
}

.contact-tile--highlight .site-contatos__link {
    color: #fff;
}

.site-footer__links li {
    margin-bottom: 0.35rem;
}

.site-footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.site-footer__social a {
    font-size: 1.35rem;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.site-footer__legal {
    margin: 2.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    opacity: 0.7;
}

:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 2px;
}

.text-brand {
    color: var(--brand-blue);
}
