/* ========== VARIÁVEIS E RESET ========== */
:root {
    --azul-escuro: #142d54;
    --azul-medio: #3492ac;
    --teal: #1dabb4;
    --cinza-azulado: #6a798a;
    --cinza-claro: #dee5eb;
    --branco: #ffffff;
    --fundo: #f0f4f7;
    --texto-escuro: #0e1f3a;
    --texto-medio: #4a5668;
    --texto-claro: #6a798a;
    --largura: 1150px;
    --raio-logo: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background-color: var(--branco);
    color: var(--texto-escuro);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--azul-escuro);
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

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

/* ========== HEADER ========== */
header {
    background-color: var(--branco);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--cinza-claro);
}

.header-inner {
    max-width: var(--largura);
    margin: 0 auto;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-decoration: none;
}

.logo-slot {
    height: 64px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo-slot img {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--raio-logo);
}

.logo-icon-box {
    width: 48px;
    height: 48px;
    background: var(--azul-escuro);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-box i {
    font-size: 22px;
    color: var(--teal);
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name-brand {
    font-size: 18px;
    color: var(--azul-escuro);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-name-tagline {
    font-size: 10.5px;
    color: var(--azul-medio);
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--azul-escuro);
    font-size: 22px;
    cursor: pointer;
    margin-left: auto;
}

/* ========== NAV ========== */
.nav-tabs {
    margin-left: auto;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-tab {
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--azul-escuro);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-tab:hover,
.nav-tab.ativo {
    color: var(--azul-medio);
}

.nav-whatsapp {
    margin-left: 14px;
    padding: 8px 20px;
    font-size: 15px;
}

/* ========== MAIN / SECTIONS ========== */
main {
    flex: 1;
    width: 100%;
}

.content-section {
    padding: 5.5rem 1rem;
    max-width: var(--largura);
    margin: 0 auto;
}

.heading-block {
    max-width: 640px;
    margin-bottom: 3rem;
}

.heading-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--azul-medio);
    margin-bottom: 0.6rem;
    padding-left: 14px;
    border-left: 3px solid var(--teal);
}

.heading-block h2 {
    font-size: 32px;
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
    background: var(--teal);
    color: var(--azul-escuro);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #22c2cb;
}

.btn-escuro {
    background: var(--azul-escuro);
    color: var(--branco);
}

.btn-escuro:hover {
    transform: translateY(-2px);
    background: #1a3a6b;
}

.btn-whatsapp {
    border: 2px solid var(--teal);
    color: var(--azul-escuro);
    background: transparent;
}

.btn-whatsapp i {
    color: var(--teal);
    font-size: 19px;
    transition: color 0.18s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: var(--teal);
}

.btn-whatsapp:hover i {
    color: var(--azul-escuro);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--branco);
    padding: 2.5rem 1rem 5rem;
}

/* Marca d'água da logo ao fundo (apague este bloco se não quiser) */
.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 640px;
    height: 640px;
    background: url('/images/bona.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--largura);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 5rem;
    align-items: center;
}

.hero-media {
    width: 100%;
    aspect-ratio: 444 / 389;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--fundo) 0%, var(--cinza-claro) 100%);
    box-shadow: 0 10px 28px rgba(20, 45, 84, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.hero-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--raio-logo);
}

.hero-pill {
    background: var(--cinza-claro);
    color: var(--azul-escuro);
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(20, 45, 84, 0.12);
    margin-bottom: 1.8rem;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 600;
    max-width: 18ch;
    margin-bottom: 1.4rem;
}

.hero-lead {
    font-size: 15px;
    font-weight: 400;
    color: var(--texto-escuro);
    max-width: 46ch;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.6rem;
    margin-bottom: 2rem;
}

.hero-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    color: var(--texto-escuro);
}

.hero-badges i {
    color: var(--teal);
    font-size: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========== SERVIÇOS ========== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.servico-card {
    padding: 2rem;
    background: var(--branco);
    border: 1px solid var(--cinza-claro);
    border-top: 3px solid var(--teal);
    border-radius: 12px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.servico-card:hover {
    box-shadow: 0 10px 28px rgba(20, 45, 84, 0.1);
    transform: translateY(-3px);
}

.servico-card a {
    text-decoration: none;
}

.servico-icone {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--azul-escuro);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.servico-icone i {
    font-size: 20px;
    color: var(--teal);
}

.servico-card h3 {
    font-size: 18px;
    margin-bottom: 0.6rem;
}

.servico-card p {
    font-size: 14px;
    color: var(--texto-medio);
    line-height: 1.65;
    font-weight: 400;
}

/* ========== NÚMEROS ========== */
.numeros {
    background: var(--azul-escuro);
    padding: 3.5rem 1rem;
}

.numeros-inner {
    max-width: var(--largura);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-align: center;
}

.stat {
    display: flex;
    justify-content: center;
}

.stat-num {
    font-size: 30px;
    font-weight: 600;
    color: var(--teal);
    line-height: 1.2;
    text-align: center;
}

.stat-label {
    font-size: 14px;
    font-weight: 300;
    color: rgba(222, 229, 235, 0.85);
    margin-top: 6px;
}

/* ========== PROCESSO ========== */
.processo-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.processo-item {
    padding-top: 1.6rem;
    border-top: 2px solid var(--cinza-claro);
}

.processo-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--azul-escuro);
    color: var(--teal);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 1rem;
}

.processo-item h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.processo-item p {
    font-size: 14px;
    color: var(--texto-medio);
    font-weight: 400;
    line-height: 1.65;
    max-width: 38ch;
}

/* ========== SOBRE ========== */
.sobre {
    background: var(--fundo);
    padding: 5.5rem 1rem;
}

.sobre-inner {
    max-width: var(--largura);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 32px;
    margin: 0.6rem 0 1.2rem;
}

.sobre-texto p {
    font-size: 15px;
    color: var(--texto-medio);
    line-height: 1.75;
    font-weight: 400;
    max-width: 50ch;
    margin-bottom: 2rem;
}

.diferenciais-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diferenciais-lista li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 1.2rem 1.4rem;
    background: var(--branco);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    font-size: 14.5px;
    color: var(--texto-escuro);
    font-weight: 400;
    line-height: 1.55;
}

.diferenciais-lista i {
    color: var(--teal);
    margin-top: 4px;
}

/* ========== FAIXA DE CHAMADA ========== */
.chamada {
    background: linear-gradient(135deg, #1a3a6b 0%, var(--azul-escuro) 100%);
    padding: 4.5rem 1rem;
    overflow: hidden;
}

.chamada-inner {
    max-width: var(--largura);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.chamada-texto h2 {
    color: var(--branco);
    font-size: 32px;
    max-width: 20ch;
    margin-bottom: 1rem;
}

.chamada-texto p {
    color: rgba(222, 229, 235, 0.85);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 44ch;
    margin-bottom: 2rem;
}

.chamada-media {
    display: flex;
    justify-content: center;
}

.chamada-media img {
    max-height: 380px;
    width: auto;
    display: block;
}

/* ========== CONTATO ========== */
.contato {
    background: var(--fundo);
    padding: 5.5rem 1rem;
}

.contato-inner {
    max-width: var(--largura);
    margin: 0 auto;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.contato-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.4rem;
    background: var(--branco);
    border: 1px solid var(--cinza-claro);
    border-radius: 12px;
    text-decoration: none;
    color: var(--texto-escuro);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.contato-card:not(.contato-card-static):hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}

.contato-card i {
    font-size: 20px;
    color: var(--teal);
    min-width: 22px;
}

.contato-card h3 {
    font-size: 15px;
    margin-bottom: 2px;
}

.contato-card p {
    font-size: 13px;
    color: var(--texto-medio);
    font-weight: 400;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--azul-escuro);
    border-top: 3px solid var(--teal);
    padding: 3.5rem 1rem 1.6rem;
}

.footer-content {
    max-width: var(--largura);
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--branco);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--teal);
}

.footer-marca p {
    color: rgba(222, 229, 235, 0.7);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 38ch;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--branco);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a,
.footer-links span {
    color: rgba(222, 229, 235, 0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-copy {
    max-width: var(--largura);
    margin: 0 auto;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(222, 229, 235, 0.15);
    text-align: center;
    font-size: 12px;
    color: rgba(222, 229, 235, 0.5);
    font-weight: 300;
}

/* ========== WHATSAPP FLUTUANTE ========== */
.whatsapp-flutuante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--azul-escuro);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(20, 45, 84, 0.3);
    z-index: 90;
    transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.08);
    background: #22c2cb;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1100px) {
    .nav-tab {
        padding: 10px 10px;
        font-size: 15px;
    }

    .nav-whatsapp {
        margin-left: 8px;
        padding: 7px 16px;
        font-size: 14px;
    }

    .hero-inner {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 34px;
    }
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-media {
        max-width: 520px;
    }

    .hero-text h1 {
        max-width: 22ch;
    }

    .hero::after {
        width: 420px;
        height: 420px;
        right: -120px;
    }

    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .processo-lista {
        grid-template-columns: 1fr;
    }

    .sobre-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .chamada-inner {
        grid-template-columns: 1fr;
    }

    .contato-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-marca {
        grid-column: 1 / -1;
    }

    .stat-num {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        min-height: 80px;
        gap: 0;
        padding: 0 1.2rem;
    }

    .header-logo {
        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-tabs {
        display: none;
        order: 5;
        width: 100%;
        margin-left: 0;
        border-top: 1px solid var(--cinza-claro);
    }

    .nav-tabs.open {
        display: block;
    }

    .nav-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0.4rem 0 0.8rem;
    }

    .nav-tab {
        padding: 13px 4px;
    }

    .nav-whatsapp {
        margin: 0.6rem 0 0;
        align-self: flex-start;
        padding: 10px 24px;
        font-size: 15px;
    }
}

@media (max-width: 640px) {

    .content-section,
    .sobre,
    .contato {
        padding: 3.5rem 1.2rem;
    }

    .hero {
        padding: 2rem 1.2rem 3.5rem;
    }

    .numeros,
    .chamada,
    footer {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .heading-block h2,
    .sobre-texto h2,
    .chamada-texto h2 {
        font-size: 24px;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .stat-num {
        font-size: 26px;
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-flutuante {
        right: 14px;
        bottom: 14px;
    }
}