:root {
    --primary-color: #0b1c2e;
    --secondary-color: #1a365d;
    --secondary-deep: #112a48;
    --accent-color: #c5a059;
    --accent-dark: #a8884a;
    --text-light: #f8f9fa;
    --text-dark: #263342;
    --text-muted: #667486;
    --surface: #ffffff;
    --surface-soft: #f4f6f9;
    --border-color: #dfe5ec;
    --shadow-soft: 0 14px 34px rgba(11, 28, 46, 0.09);
    --shadow-strong: 0 20px 46px rgba(11, 28, 46, 0.16);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: var(--surface);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: Montserrat, Inter, system-ui, sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

img {
    max-width: 100%;
}

a {
    color: var(--secondary-color);
}

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

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 1100;
    padding: 10px 16px;
    color: #fff;
    background: var(--primary-color);
    border-radius: 4px;
}

.skip-link:focus {
    top: 12px;
}

.navbar {
    background: rgba(11, 28, 46, 0.98);
    padding: 0.85rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.brand-mark {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 0.92rem;
    margin-left: 0.65rem;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-color) !important;
}

.btn-nav {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 0;
    font-weight: 700;
    padding: 0.65rem 1rem;
}

.btn-nav:hover,
.btn-nav:focus {
    background: #d6b46e;
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    padding: 155px 0 105px;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(197, 160, 89, 0.20), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(76, 118, 163, 0.25), transparent 34%),
        linear-gradient(135deg, #081523 0%, #0b1c2e 48%, #173455 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent 90%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 3.55rem);
    line-height: 1.13;
    margin-bottom: 1.4rem;
}

.hero-section p {
    max-width: 920px;
    margin: 0 auto 1.8rem;
    font-size: clamp(1.05rem, 2vw, 1.23rem);
    font-weight: 400;
    color: rgba(255,255,255,0.84);
}

.badge-nacional {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.6rem;
    padding: 0.52rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    color: #e4c98f;
    background: rgba(197, 160, 89, 0.12);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn-custom,
.btn-outline-light-custom {
    padding: 0.9rem 1.45rem;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-custom {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
}

.btn-custom:hover,
.btn-custom:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.btn-outline-light-custom {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    background: transparent;
}

.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.authority-bar {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 0;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-align: center;
}

.section-padding {
    padding: 88px 0;
}

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

.section-title {
    position: relative;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3.1rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 0.95rem auto 0;
    background: var(--accent-color);
}

.section-title.text-start::after {
    margin-left: 0;
}

.section-kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.solution-image {
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    width: 100%;
    height: auto;
}

.service-card,
.process-card,
.experience-card,
.info-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid rgba(11, 28, 46, 0.07);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.service-card {
    padding: 2rem;
    border-bottom: 4px solid var(--accent-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-strong);
}

.service-card h3 {
    font-size: 1.22rem;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.2rem;
    border-radius: 16px;
    color: var(--accent-color);
    background: var(--primary-color);
    font-size: 1.7rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-weight: 800;
    text-decoration: none;
}

.process-card {
    position: relative;
    padding: 1.9rem;
    border-top: 4px solid var(--secondary-color);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: var(--primary-color);
    background: var(--accent-color);
    font-weight: 800;
}

.about-section {
    background: #f7f8fa;
}

.about-image {
    width: min(390px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 7px solid #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-strong);
}

.about-name {
    margin-bottom: 1.55rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.about-text ul {
    padding: 0;
    list-style: none;
}

.about-text li {
    position: relative;
    margin-bottom: 1.1rem;
    padding-left: 2.4rem;
}

.about-text li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--accent-dark);
    font-size: 1.25rem;
}

.methodology {
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(197,160,89,0.13), transparent 32%),
        linear-gradient(135deg, var(--secondary-deep), var(--secondary-color));
}

.methodology .section-title,
.methodology h3,
.methodology h4,
.methodology h5 {
    color: #fff;
}

.infra-box {
    height: 100%;
    padding: 1.55rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
}

.text-accent {
    color: var(--accent-color) !important;
}

.experience-card {
    padding: 1.7rem;
}

.experience-card i {
    color: var(--accent-dark);
    font-size: 1.45rem;
}

.faq-section .accordion-item {
    overflow: hidden;
    margin-bottom: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(11, 28, 46, 0.04);
}

.faq-section .accordion-button {
    color: var(--primary-color);
    background: #fff;
    font-weight: 800;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: #f5f7fa;
}

.faq-section .accordion-button:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(197,160,89,0.18);
}

.cta-section {
    padding: 70px 0;
    color: #fff;
    background: linear-gradient(135deg, #07131f, #183b61);
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
}

.page-hero {
    position: relative;
    padding: 145px 0 72px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(197,160,89,0.18), transparent 30%),
        linear-gradient(135deg, #081523, #173455);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.page-hero .lead {
    max-width: 900px;
    color: rgba(255,255,255,0.82);
}

.breadcrumb a {
    color: #e6cb96;
    text-decoration: none;
}

.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.65);
}

.content-section {
    padding: 75px 0;
}

.content-section h2 {
    margin: 2.3rem 0 1rem;
    font-size: 1.65rem;
}

.content-section h3 {
    margin: 1.8rem 0 0.8rem;
    font-size: 1.25rem;
}

.content-section ul,
.content-section ol {
    padding-left: 1.2rem;
}

.content-section li {
    margin-bottom: 0.65rem;
}

.sidebar-card {
    position: sticky;
    top: 105px;
    padding: 1.6rem;
    border-top: 4px solid var(--accent-color);
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-strong);
}

.sidebar-card h2,
.sidebar-card h3,
.sidebar-card h4,
.sidebar-card h5,
.sidebar-card h6 {
    color: #fff;
}

.sidebar-card p {
    color: rgba(255,255,255,0.78);
}

.legal-meta {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef2f6;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.notice-box {
    padding: 1.2rem 1.35rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    background: #f6f7f9;
}


.about-social {
    display: flex;
    align-items: center;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1.05rem;
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-linkedin:hover,
.btn-linkedin:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

footer {
    padding: 58px 0 24px;
    color: #acb7c5;
    background: var(--primary-color);
}

footer h5 {
    color: #fff;
    font-weight: 700;
}

footer a {
    color: #acb7c5;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 0.58rem;
}

.footer-divider {
    margin: 2.2rem 0 1.3rem;
    border-color: rgba(255,255,255,0.12);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: #1fa855;
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #fff;
    transform: translateY(-3px);
}

.cookie-notice {
    position: fixed;
    left: 20px;
    right: 92px;
    bottom: 20px;
    z-index: 1025;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 920px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(197,160,89,0.45);
    border-radius: 10px;
    color: #fff;
    background: rgba(11,28,46,0.97);
    box-shadow: var(--shadow-strong);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice p {
    margin: 0.25rem 0 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    white-space: nowrap;
}

.cookie-actions a {
    color: #e7ce9a;
}

.btn-cookie {
    color: var(--primary-color);
    background: var(--accent-color);
    font-weight: 700;
}

.btn-cookie:hover,
.btn-cookie:focus {
    background: #d6b46e;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.75rem 0;
    }

    .btn-nav {
        margin: 0.55rem 0 0.2rem;
        width: 100%;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 135px 0 80px;
    }

    .section-padding,
    .content-section {
        padding: 68px 0;
    }

    .authority-bar {
        font-size: 0.88rem;
    }

    .cookie-notice {
        right: 20px;
        bottom: 88px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@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;
    }
}

/* SEO regional / Mato Grosso */
.local-presence-section {
    background:
        radial-gradient(circle at 88% 20%, rgba(197, 160, 89, 0.13), transparent 26%),
        #ffffff;
}

.local-presence-card {
    padding: 2rem;
    border-top: 4px solid var(--accent-color);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-strong);
}

.local-presence-card h3 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.local-check-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.local-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    color: rgba(255,255,255,0.86);
}

.local-check-list li:last-child {
    margin-bottom: 0;
}

.local-check-list i {
    width: 1.15rem;
    margin-top: 0.25rem;
    color: var(--accent-color);
    text-align: center;
}

.regional-service-box {
    margin-top: 2.7rem;
    padding: 1.7rem;
    border: 1px solid rgba(197, 160, 89, 0.34);
    border-left: 5px solid var(--accent-color);
    border-radius: 10px;
    background: linear-gradient(135deg, #fbfaf7, #f3f6f9);
}

.regional-service-box h2 {
    margin-top: 0;
}

.local-page-hero {
    padding-bottom: 82px;
}

.local-service-link-card {
    display: flex;
    flex-direction: column;
    padding: 1.55rem;
    border-top: 3px solid var(--accent-color);
}

.local-service-link-card .service-link {
    margin-top: auto;
    padding-top: 0.4rem;
}

.local-service-link-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
    color: var(--accent-color);
    background: var(--primary-color);
    font-size: 1.25rem;
}

.local-service-link-card h3 {
    margin-top: 0;
}

.local-service-link-card p {
    color: var(--text-muted);
}

.local-steps-list {
    padding-left: 1.25rem;
}

.local-steps-list li {
    margin-bottom: 0.9rem;
}

.regional-faq h3 {
    margin-top: 1.65rem;
    font-size: 1.18rem;
}

@media (max-width: 991.98px) {
    .local-presence-card {
        margin-top: 0.5rem;
    }
}

/* Correção do estouro lateral em smartphones
   O Bootstrap aplica gutter horizontal de 3rem em .row.g-5, gerando
   margens negativas maiores que o recuo lateral do container em telas
   pequenas. */
@media (max-width: 767.98px) {
    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
    }
}

/* Consentimento de métricas e Google Analytics */
.footer-cookie-button {
    padding: 0;
    border: 0;
    color: #acb7c5;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus {
    color: var(--accent-color);
}

.btn-cookie-secondary {
    border: 1px solid rgba(255,255,255,0.55);
    color: #fff;
    background: transparent;
    font-weight: 700;
}

.btn-cookie-secondary:hover,
.btn-cookie-secondary:focus {
    border-color: #fff;
    color: var(--primary-color);
    background: #fff;
}

/* Ajuste visual do aviso de privacidade e métricas */
.cookie-notice__content {
    min-width: 0;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    white-space: normal;
}

.cookie-link {
    color: #e7ce9a;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .cookie-actions {
        width: 100%;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .cookie-buttons .btn {
        flex: 1 1 145px;
    }
}
