/* ==========================================================================
   MV Gestão Web — style.css
   Protocolo CORE MV™ | Mobile-First | Performance | Zero Import Externo
   ========================================================================== */

/* ==========================================================================
   1. VARIÁVEIS GLOBAIS — :root
   ========================================================================== */
:root {
    /* Paleta principal */
    --color-primary: #0A0F1E;
    /* Azul-noite profundo — base */
    --color-primary-soft: #111827;
    /* Fundo secondary */
    --color-accent: #2563EB;
    /* Azul elétrico — ação e destaque */
    --color-accent-hover: #1D4ED8;
    /* Hover do accent */
    --color-accent-light: #DBEAFE;
    /* Fundo suave azul */
    --color-contrast: #F9FAFB;
    /* Branco suave — texto sobre escuro */
    --color-text-dark: #111827;
    /* Texto sobre fundo claro */
    --color-text-body: #374151;
    /* Corpo de texto padrão */
    --color-text-muted: #6B7280;
    /* Texto secundário / muted */
    --color-border: #E5E7EB;
    /* Bordas e divisores */
    --color-surface: #FFFFFF;
    /* Superfícies/cards */
    --color-surface-alt: #F3F4F6;
    /* Fundo alternado de seções */

    /* WhatsApp */
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1DAA52;

    /* Tipografia */
    --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Courier New', monospace;

    /* Escala tipográfica (mobile-first) */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */

    /* Pesos */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Espaçamento */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transições */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Layout */
    --container-max: 1200px;
    --container-pad: var(--space-4);
    --section-py: var(--space-16);

    /* Header */
    --header-height: 64px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    color: var(--color-text-body);
    background-color: var(--color-surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   3. TIPOGRAFIA
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--color-text-dark);
}

h1 {
    font-size: var(--text-3xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-2xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    line-height: 1.75;
    color: var(--color-text-body);
}

strong {
    font-weight: var(--font-semibold);
    color: var(--color-text-dark);
}

/* Variantes de cor para textos sobre fundo escuro */
.text-white {
    color: var(--color-contrast);
}

.text-white h1,
.text-white h2,
.text-white h3 {
    color: var(--color-contrast);
}

.text-white p {
    color: rgba(249, 250, 251, 0.8);
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

section {
    padding-block: var(--section-py);
}

/* Alternância de fundo entre seções */
.section--dark {
    background-color: var(--color-primary);
}

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

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

.section--accent {
    background-color: var(--color-accent);
}

/* Grid utilitário */
.grid-2 {
    display: grid;
    gap: var(--space-8);
}

.grid-3 {
    display: grid;
    gap: var(--space-8);
}

/* ==========================================================================
   5. HEADER / NAVEGAÇÃO
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background-color: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color var(--transition-base);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-contrast);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-logo span {
    color: var(--color-accent);
}

.site-nav {
    display: none;
    /* Vira flex no desktop */
    gap: var(--space-8);
    align-items: center;
}

.site-nav a {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: rgba(249, 250, 251, 0.75);
    transition: color var(--transition-fast);
}

.site-nav a:hover {
    color: var(--color-contrast);
}

.nav-cta {
    display: none;
    /* Desktop */
}

/* Hamburguer */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-contrast);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-primary-soft);
    padding: var(--space-8) var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 99;
}

.mobile-menu.is-open {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-menu a {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: rgba(249, 250, 251, 0.85);
    padding-block: var(--space-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   6. BOTÕES — CTA
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

/* Primário (accent azul) */
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* WhatsApp */
.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: #fff;
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    white-space: normal;
    text-align: center;
    max-width: 100%;
    width: fit-content;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Secundário (outline) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
}

/* CTA rodapé de seção */
.section-footer-cta {
    text-align: center;
    margin-top: var(--space-10);
}

.btn-whatsapp svg,
.btn-whatsapp img {
    width: 22px;
    height: 22px;
}

/* Outline (sobre fundo escuro) */
.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--color-contrast);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-contrast);
    background: rgba(255, 255, 255, 0.05);
}

/* Ghost (sobre fundo claro) */
.btn-ghost {
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--color-accent-light);
}

/* Tamanhos */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-lg);
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
    min-height: 100svh;
    background-color: var(--color-primary);
    background-image:
        linear-gradient(to bottom, rgba(10, 15, 30, 0.75) 0%, rgba(10, 15, 30, 0.88) 100%),
        url('/assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-block: var(--space-24) var(--space-16);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}

/* Glassmorphism no bloco de copy do Hero */
.hero .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 760px;
    background: rgba(10, 15, 30, 0.18);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: var(--space-1) var(--space-3);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    width: fit-content;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    color: var(--color-contrast);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: normal;
    color: var(--color-accent);
}

.hero-lead {
    font-size: var(--text-lg);
    color: rgba(249, 250, 251, 0.75);
    line-height: 1.7;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    padding-top: var(--space-2);
}

.hero-trust-item {
    font-size: var(--text-xs);
    color: rgba(249, 250, 251, 0.5);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.hero-trust-item::before {
    content: '✓';
    color: var(--color-whatsapp);
    font-weight: var(--font-bold);
}

/* ==========================================================================
   8. SEÇÃO — PROBLEMA
   ========================================================================== */
.section-problema {
    background: var(--color-surface);
}

.section-problema .section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: var(--space-12);
}

.problems-list {
    display: grid;
    gap: var(--space-4);
    max-width: 700px;
    margin-inline: auto;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-border);
    transition: border-color var(--transition-base);
}

.problem-item:hover {
    border-left-color: var(--color-accent);
}

.problem-icon {
    width: 42px;
    height: 42px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-item p {
    font-size: var(--text-base);
    color: var(--color-text-body);
    margin: 0;
}

/* ==========================================================================
   9. SEÇÃO — CONTRASTE COMPETITIVO
   ========================================================================== */
.section-contraste {
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.section-contraste::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contraste-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-block: var(--space-10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contraste-table th {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contraste-table th:first-child {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.contraste-table th:last-child {
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-accent);
}

.contraste-table td {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contraste-table td:first-child {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(249, 250, 251, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.contraste-table td:last-child {
    background: rgba(37, 99, 235, 0.06);
    color: rgba(249, 250, 251, 0.9);
    font-weight: var(--font-medium);
}

.contraste-table tr:hover td {
    background-color: rgba(37, 99, 235, 0.06);
}

/* ==========================================================================
   10. SEÇÃO — SOLUÇÃO / SERVIÇOS
   ========================================================================== */
.section-solucao {
    background: var(--color-surface-alt);
}

.servicos-grid {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.servico-card {
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-md);
}

/* Imagem de fundo */
.servico-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
    z-index: 0;
}

/* Overlay escuro gradiente */
.servico-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 15, 30, 0.95) 0%,
            rgba(10, 15, 30, 0.6) 60%,
            rgba(10, 15, 30, 0.2) 100%);
    z-index: 1;
}

.servico-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.servico-card:hover::before {
    transform: scale(1.05);
}

/* Imagens especificas por card */
.servico-card:nth-child(1)::before {
    background-image: url('/assets/img/card-sites.webp');
}

.servico-card:nth-child(2)::before {
    background-image: url('/assets/img/card-trafego.webp');
}

.servico-card:nth-child(3)::before {
    background-image: url('/assets/img/card-seo.webp');
}

.servico-card:nth-child(4)::before {
    background-image: url('/assets/img/card-gmb.webp');
}

.servico-card:nth-child(5)::before {
    background-image: url('/assets/img/card-automacoes.webp');
}

/* Conteudo glassmorphism */
.servico-card-content {
    position: relative;
    z-index: 2;
    padding: var(--space-8);
    background: rgba(10, 15, 30, 0.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.servico-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.servico-icon svg {
    stroke: #60A5FA;
}

.servico-card h3 {
    font-size: var(--text-lg);
    color: #F9FAFB;
    margin-bottom: var(--space-2);
}

.servico-card p {
    font-size: var(--text-sm);
    color: rgba(249, 250, 251, 0.75);
    line-height: 1.7;
}

/* ==========================================================================
   11. SEÇÃO — MÉTODO
   ========================================================================== */
.section-metodo {
    background: var(--color-primary);
}

.metodo-steps {
    display: grid;
    gap: 0;
    margin-top: var(--space-12);
    position: relative;
}

.metodo-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.05));
}

.metodo-step {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8) 0;
    position: relative;
}

.metodo-step:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.metodo-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: var(--color-accent);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background var(--transition-base);
}

.metodo-step:hover .metodo-number {
    background: rgba(37, 99, 235, 0.3);
}

.metodo-content {
    padding-top: var(--space-2);
}

.metodo-content h3 {
    color: var(--color-contrast);
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.metodo-content p {
    color: rgba(249, 250, 251, 0.65);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ==========================================================================
   12. SEÇÃO — PROVA SOCIAL
   ========================================================================== */
.section-prova {
    background: var(--color-surface);
}

.depoimentos-grid {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.depoimento-card {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    transition: box-shadow var(--transition-base);
}

.depoimento-card:hover {
    box-shadow: var(--shadow-md);
}

.depoimento-card::before {
    content: '\201C';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent-light);
    font-weight: var(--font-extrabold);
}

.depoimento-text {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.75;
    margin-top: var(--space-8);
    margin-bottom: var(--space-6);
}

.depoimento-autor {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-accent);
}

.credenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.credencial-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
}

.credencial-icon {
    width: 36px;
    height: 36px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credencial-item p {
    font-size: var(--text-sm);
    color: var(--color-text-dark);
    font-weight: var(--font-medium);
    margin: 0;
}

/* ==========================================================================
   13. SEÇÃO — AUTORIDADE PESSOAL
   ========================================================================== */
.section-autoridade {
    background: var(--color-surface-alt);
}

.autoridade-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    align-items: center;
}

.autoridade-foto {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
    flex-shrink: 0;
    overflow: hidden;
    /* Dimensões fixas para evitar CLS */
}

.autoridade-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.autoridade-foto-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #60A5FA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    color: #fff;
    font-weight: var(--font-bold);
    border: 3px solid var(--color-accent);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
    flex-shrink: 0;
}

.autoridade-content {
    max-width: 640px;
}

.autoridade-content h2 {
    margin-bottom: var(--space-4);
}

.autoridade-content p {
    margin-bottom: var(--space-4);
    line-height: 1.75;
}

.autoridade-selos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.autoridade-selo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-text-dark);
}

.autoridade-selo::before {
    content: '✓';
    color: var(--color-whatsapp);
    font-weight: var(--font-bold);
}

/* ==========================================================================
   14. SEÇÃO — FAQ
   ========================================================================== */
.section-faq {
    background: var(--color-surface);
}

.faq-list {
    max-width: 760px;
    margin-inline: auto;
    margin-top: var(--space-12);
    display: grid;
    gap: var(--space-3);
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item.is-open {
    border-color: var(--color-accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-dark);
    text-align: left;
    background: var(--color-surface);
    transition: background var(--transition-fast);
    cursor: pointer;
}

.faq-question:hover {
    background: var(--color-surface-alt);
}

.faq-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    flex-shrink: 0;
    transition: transform var(--transition-base), background var(--transition-base);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background: var(--color-accent);
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 0 var(--space-6) var(--space-5);
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.75;
    background: var(--color-surface);
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ==========================================================================
   15. SEÇÃO — CTA FINAL
   ========================================================================== */
.section-cta-final {
    background: var(--color-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

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

.section-cta-final h2 {
    color: var(--color-contrast);
    margin-bottom: var(--space-4);
}

.section-cta-final p {
    color: rgba(249, 250, 251, 0.75);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: var(--space-10);
}

.cta-final-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--color-primary-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-12);
    margin-bottom: var(--space-10);
}

.footer-brand .site-logo {
    display: block;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: rgba(249, 250, 251, 0.55);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-col h4 {
    color: rgba(249, 250, 251, 0.9);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    font-size: var(--text-sm);
    color: rgba(249, 250, 251, 0.55);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-contrast);
}

.footer-info p {
    font-size: var(--text-sm);
    color: rgba(249, 250, 251, 0.55);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: rgba(249, 250, 251, 0.35);
}

.footer-bottom .footer-credit {
    color: rgba(37, 99, 235, 0.7);
}

/* ==========================================================================
   17. BOTÕES FLUTUANTES (WhatsApp + Telefone)
   ========================================================================== */
/* Animação de pulso radiante */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 200;
    width: 56px;
    height: 56px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

/* Pulso verde */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-whatsapp);
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--color-whatsapp-hover);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* Botão Telefone Flutuante */
.phone-float {
    position: fixed;
    bottom: calc(var(--space-6) + 56px + var(--space-3));
    right: var(--space-6);
    z-index: 200;
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-fast), background var(--transition-fast);
    color: #fff;
}

/* Pulso azul — delay de 1s para não sincronizar com WhatsApp */
.phone-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse-ring 2s ease-out 1s infinite;
    z-index: -1;
}

.phone-float:hover {
    transform: scale(1.1);
    background: var(--color-accent-hover);
}

.phone-float svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}


/* ==========================================================================
   18. SEÇÃO — MAPA
   ========================================================================== */
.section-mapa {
    background: var(--color-surface-alt);
    padding-block: var(--space-16) 0;
    overflow: hidden;
}

.mapa-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.mapa-header h2 {
    margin-block: var(--space-2) var(--space-3);
}

.mapa-header p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
}

.mapa-header svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.mapa-embed {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-8);
}

.mapa-embed iframe {
    width: 100%;
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

/* ==========================================================================
   20. BLOG — LISTAGEM E ARTIGOS
   ========================================================================== */

/* Listagem */
.blog-hero {
    background: var(--color-primary);
    padding-block: calc(var(--header-height) + var(--space-16)) var(--space-12);
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: var(--space-4);
}

.blog-hero p {
    color: var(--color-text-muted);
    max-width: 560px;
    margin-inline: auto;
}

.blog-grid {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.blog-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: var(--color-primary);
}

.blog-card-body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
}

.blog-card-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.blog-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-dark);
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.blog-card-title:hover {
    color: var(--color-accent);
}

.blog-card-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
    flex: 1;
}

.blog-card-meta {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.blog-card-link {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-2);
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Artigo Individual */
.article-hero {
    position: relative;
    background: var(--color-primary);
    background-size: cover;
    background-position: center top;
    padding-block: calc(var(--header-height) + var(--space-20)) var(--space-16);
    overflow: hidden;
}

/* Overlay escuro para garantir legibilidade do texto */
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(5, 8, 20, 0.88) 0%,
            rgba(10, 15, 30, 0.80) 50%,
            rgba(10, 15, 30, 0.72) 100%);
    z-index: 0;
}

.article-hero .container {
    max-width: 780px;
    position: relative;
    z-index: 1;
}

/* Todos os textos do hero ficam brancos sobre o overlay */
.article-hero h1 {
    color: #ffffff !important;
}

.article-hero .article-meta {
    color: rgba(255, 255, 255, 0.75) !important;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-breadcrumb a:hover {
    color: #ffffff;
}

.article-breadcrumb span {
    color: rgba(255, 255, 255, 0.45);
}

.article-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #60A5FA;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.75rem;
    margin-bottom: var(--space-4);
    backdrop-filter: blur(4px);
}

.article-hero h1 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-4);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

/* Corpo do artigo */
.article-body {
    background: var(--color-surface-alt);
    padding-block: var(--space-16);
}

.article-body .container {
    max-width: 780px;
    display: grid;
    gap: var(--space-12);
}

.article-content h2 {
    font-size: var(--text-xl);
    color: var(--color-text-dark);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--color-border);
}

.article-content h3 {
    font-size: var(--text-lg);
    color: var(--color-text-dark);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.article-content p {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.article-content ul,
.article-content ol {
    padding-left: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    color: var(--color-text-body);
    line-height: 1.7;
}

.article-content strong {
    color: var(--color-text-dark);
}

.article-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-cta-box {
    background: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    margin-top: var(--space-10);
}

.article-cta-box p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.article-related {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-8);
    margin-top: var(--space-4);
}

.article-related h3 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-4);
}

.article-related ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.article-related a {
    font-size: var(--text-sm);
    color: var(--color-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-related a:hover {
    text-decoration: underline;
}

/* Responsivo blog */
@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   19. UTILITÁRIOS
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: var(--space-12);
}

.section-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

.section-header.dark h2 {
    color: var(--color-contrast);
}

.section-header.dark p {
    color: rgba(249, 250, 251, 0.65);
}

.section-header.dark .section-eyebrow {
    color: #60A5FA;
}

.divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #60A5FA);
    border-radius: var(--radius-full);
    margin-inline: auto;
    margin-block: var(--space-4);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   19. MEDIA QUERIES — DESKTOP
   ========================================================================== */
@media (min-width: 640px) {
    .hero h1 {
        font-size: var(--text-4xl);
    }

    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

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

    .autoridade-foto,
    .autoridade-foto-placeholder {
        width: 140px;
        height: 140px;
    }
}

@media (min-width: 768px) {
    :root {
        --container-pad: var(--space-8);
        --section-py: var(--space-24);
    }

    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    .site-nav {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .nav-toggle {
        display: none;
    }

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

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

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

    .cta-final-group {
        flex-direction: row;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .metodo-steps::before {
        left: 36px;
    }

    .autoridade-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-12);
    }

    .autoridade-foto,
    .autoridade-foto-placeholder {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-pad: var(--space-6);
    }

    h1 {
        font-size: var(--text-5xl);
    }

    h2 {
        font-size: var(--text-4xl);
    }

    .hero h1 {
        font-size: var(--text-5xl);
    }

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

    .depoimentos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .credenciais-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   20. ANIMAÇÕES DE ENTRADA (Performance-safe)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity var(--transition-slow), transform var(--transition-slow);
    }

    .fade-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .stagger-1 {
        transition-delay: 100ms;
    }

    .stagger-2 {
        transition-delay: 200ms;
    }

    .stagger-3 {
        transition-delay: 300ms;
    }

    .stagger-4 {
        transition-delay: 400ms;
    }

    .stagger-5 {
        transition-delay: 500ms;
    }
}

/* ==========================================================================
   21. PRINT
   ========================================================================== */
@media print {

    .site-header,
    .whatsapp-float,
    .mobile-menu {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}