/* ==========================================================================
   PRIMORDIAL CONTABILIDADE COMERCIAL - TEMA INSTITUCIONAL PREMIUM
   Direção de Design: Editorial, Corporativo, Humano, Sofisticado.
   Londrina - Paraná
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Cores Institucionais Primordial */
    --p-blue: #006282;          /* Azul petróleo institucional da logo */
    --p-blue-dark: #004d66;     /* Azul petróleo profundo para hover/active */
    --p-blue-light: #3b8dae;    /* Azul médio institucional da segunda barra */
    --p-blue-tint: #f0f7fa;     /* Fundo muito sutil azulado */
    --p-blue-glow: rgba(0, 98, 130, 0.12);

    /* Tons Noturnos / Fundo Escuro */
    --p-navy: #0b1a24;          /* Azul-marinho corporativo profundo */
    --p-navy-surface: #102433;  /* Superfície para elementos no navy */
    --p-navy-border: #1a364a;   /* Bordas para elementos no navy */
    --p-navy-text: #c2d5e2;     /* Texto secundário em fundo escuro */

    /* Tons Neutros de Superfície */
    --p-white: #ffffff;
    --p-canvas: #fbfbfc;        /* Fundo geral limpo e respirável */
    --p-surface-muted: #f4f6f8; /* Fundo alternativo muito discreto */
    --p-border: #e4e9ee;        /* Linhas divisórias refinadas */
    --p-border-light: #eff2f5;

    /* Tipografia & Contraste */
    --p-text-heading: #121e28;  /* Títulos em carvão-navy escuro */
    --p-text-body: #3c4c5a;     /* Texto de leitura confortável */
    --p-text-muted: #6b7c8b;    /* Legendas e apoios */
    --p-text-subtle: #94a4b2;

    /* Acentos Funcionais */
    --p-whatsapp: #25D366;
    --p-whatsapp-dark: #1ea952;
    --p-gold: #c89547;          /* Dourado sóbrio para avaliações */

    /* Tipografia */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Geometria: cantos contidos e elegantes (sobridade institucional) */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Sombras discretas (editorial, não flutuante) */
    --shadow-subtle: 0 1px 3px rgba(12, 27, 38, 0.04), 0 4px 12px rgba(12, 27, 38, 0.03);
    --shadow-card: 0 2px 8px rgba(12, 27, 38, 0.04), 0 12px 28px rgba(12, 27, 38, 0.05);
    --shadow-hover: 0 8px 24px rgba(12, 27, 38, 0.08), 0 20px 40px rgba(12, 27, 38, 0.06);

    /* Transições */
    --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--p-text-body);
    background-color: var(--p-canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--p-text-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}

p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Acessibilidade: Skip link para leitores e motores de busca */
.sr-only-focusable {
    position: absolute;
    top: -9999px;
    left: 1rem;
    background: var(--p-blue-dark);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    z-index: 99999;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-card);
}

.sr-only-focusable:focus {
    top: 1rem;
}

a {
    color: var(--p-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container Responsivo Editorial */
.site-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Eyebrows & Badges Editoriais */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--p-blue);
    margin-bottom: 0.75rem;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 2px;
    background-color: var(--p-blue);
}

.eyebrow-light {
    color: var(--p-blue-light);
}

.eyebrow-light::before {
    background-color: var(--p-blue-light);
}

/* Títulos de Seção */
.section-title-wrap {
    margin-bottom: 3.5rem;
}

.section-title-wrap.text-center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--p-text-muted);
    font-weight: 400;
}

/* Seções Gerais */
.site-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    position: relative;
}

.site-section-muted {
    background-color: var(--p-surface-muted);
    border-top: 1px solid var(--p-border-light);
    border-bottom: 1px solid var(--p-border-light);
}

.site-section-dark {
    background-color: var(--p-navy);
    color: var(--p-navy-text);
}

.site-section-dark h1,
.site-section-dark h2,
.site-section-dark h3,
.site-section-dark h4 {
    color: var(--p-white);
}

/* --------------------------------------------------------------------------
   3. REGRAS DA LOGO PRIMORDIAL (CLARO E ESCURO)
   -------------------------------------------------------------------------- */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: opacity var(--transition-fast);
}

/* Fundo claro: logo original colorida */
.logo-on-light {
    display: block;
}

.logo-on-dark {
    display: none;
}

/* Fundo escuro (ex: footer): logo branca cristalina */
.dark-surface .logo-on-light,
.site-footer .logo-on-light {
    display: none !important;
}

.dark-surface .logo-on-dark,
.site-footer .logo-on-dark {
    display: block !important;
}

/* Fallback CSS caso seja necessária inversão dinâmica */
.logo-white-filter {
    filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVEGAÇÃO COM PREENCHIMENTO ESTRUTURADO
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 233, 238, 0.85);
    transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
    padding: 0.95rem 0;
}

.site-header.scrolled {
    padding: 0.65rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(12, 27, 38, 0.06);
    border-bottom-color: var(--p-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Bloco com preenchimento refinado e cantos harmonizados para o menu */
.nav-menu {
    display: flex;
    align-items: center;
    background-color: #f1f4f8;
    border: 1px solid rgba(216, 224, 232, 0.9);
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 2px;
    box-shadow: inset 0 1px 2px rgba(12, 27, 38, 0.03);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled .nav-menu {
    background-color: #edf2f7;
    border-color: var(--p-border);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--p-text-body);
    height: 34px;
    padding: 0 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--p-blue-dark);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(12, 27, 38, 0.04);
}

.nav-link.active {
    color: var(--p-blue);
    font-weight: 600;
    background-color: var(--p-white);
    border-color: rgba(220, 226, 234, 0.9);
    box-shadow: 0 2px 6px rgba(12, 27, 38, 0.07);
}

.nav-link::after {
    display: none;
}

/* Botões de Ação do Header - Altura, raio e proporção harmonizados */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-actions .btn-editorial {
    height: 40px;
    padding: 0 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
}

.header-actions .btn-header-cta {
    padding: 0 1.35rem;
}

/* Menu Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--p-text-heading);
}

.hamburger-box {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--p-text-heading);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Gaveta Mobile com Preenchimento */
.mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--p-white);
    border-top: 1px solid var(--p-border);
    padding: 1.5rem 1.25rem 2.5rem;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu-drawer.open {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--p-text-heading);
    background-color: var(--p-surface-muted);
    border: 1px solid var(--p-border-light);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.15rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--p-blue-tint);
    border-color: rgba(0, 98, 130, 0.2);
    color: var(--p-blue);
}

.mobile-link-icon {
    font-size: 0.75rem;
    color: var(--p-text-subtle);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover .mobile-link-icon {
    color: var(--p-blue);
    transform: translateX(3px);
}

.mobile-contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid var(--p-border);
    font-size: 0.9375rem;
    color: var(--p-text-muted);
}

.mobile-contact-info p {
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. BOTÕES & CTAs SÓBRIOS
   -------------------------------------------------------------------------- */
.btn-editorial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-editorial-primary {
    background-color: var(--p-blue);
    color: var(--p-white);
    border-color: var(--p-blue);
}

.btn-editorial-primary:hover {
    background-color: var(--p-blue-dark);
    border-color: var(--p-blue-dark);
    color: var(--p-white);
    box-shadow: 0 4px 12px rgba(0, 98, 130, 0.2);
    transform: translateY(-1px);
}

.btn-editorial-outline {
    background-color: transparent;
    color: var(--p-text-heading);
    border-color: var(--p-border);
}

.btn-editorial-outline:hover {
    background-color: var(--p-white);
    border-color: var(--p-blue);
    color: var(--p-blue);
    transform: translateY(-1px);
}

.btn-client-portal {
    background-color: var(--p-surface-muted);
    color: var(--p-text-body);
    border-color: var(--p-border);
}

.btn-client-portal:hover {
    background-color: var(--p-blue-tint);
    border-color: var(--p-blue);
    color: var(--p-blue);
}

.btn-editorial-light {
    background-color: var(--p-white);
    color: var(--p-blue);
    border-color: var(--p-white);
}

.btn-editorial-light:hover {
    background-color: var(--p-blue-tint);
    color: var(--p-blue-dark);
    border-color: var(--p-blue-tint);
    transform: translateY(-1px);
}

.btn-editorial-whatsapp {
    background-color: var(--p-whatsapp);
    color: var(--p-white);
    border-color: var(--p-whatsapp);
}

.btn-editorial-whatsapp:hover {
    background-color: var(--p-whatsapp-dark);
    border-color: var(--p-whatsapp-dark);
    color: var(--p-white);
    transform: translateY(-1px);
}

.btn-editorial-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-icon-right {
    transition: transform var(--transition-fast);
}

.btn-editorial:hover .btn-icon-right {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION EDITORIAL (SEM FORMULÁRIO GIGANTE)
   -------------------------------------------------------------------------- */
.hero-editorial {
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    border-bottom: 1px solid var(--p-border-light);
    position: relative;
    overflow: hidden;
}

/* Background Atmosférico Sutil com Movimento Suave ao Mover o Mouse */
.hero-bg-interactive {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 1. Foco de luz suave e vivo que segue o cursor do mouse */
.hero-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    margin-top: -300px;
    margin-left: -300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 98, 130, 0.15) 0%, rgba(0, 130, 175, 0.07) 45%, rgba(0, 98, 130, 0.01) 70%, transparent 100%);
    filter: blur(40px);
    -webkit-filter: blur(40px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

.hero-editorial:hover .hero-spotlight {
    opacity: 1;
}

/* 2. Orbes de gradiente ambiente com presença visual elegante e paralaxe */
.hero-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    -webkit-filter: blur(55px);
    pointer-events: none;
    will-change: transform;
}

.hero-ambient-orb-1 {
    top: -8%;
    right: -4%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 98, 130, 0.16) 0%, rgba(0, 135, 180, 0.06) 55%, transparent 75%);
}

.hero-ambient-orb-2 {
    bottom: -12%;
    left: -5%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(16, 36, 51, 0.10) 0%, rgba(0, 98, 130, 0.04) 55%, transparent 75%);
}

/* 3. Acentos geométricos minimalistas de precisão (linhas finas nos cantos externos) */
.hero-geo-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.hero-geo-circle {
    top: 6%;
    right: 2%;
    width: 340px;
    height: 340px;
    border: 1.5px dashed rgba(0, 98, 130, 0.16);
    border-radius: 50%;
}

.hero-geo-rect {
    bottom: 5%;
    left: 2%;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(0, 98, 130, 0.13);
    border-radius: 28px;
}

.hero-editorial .site-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.hero-title {
    font-size: 3.125rem;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
    color: var(--p-text-heading);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1875rem;
    line-height: 1.75;
    color: var(--p-text-body);
    margin-bottom: 2.25rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-support-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--p-text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--p-border-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--p-whatsapp);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

/* Coluna Visual da Hero */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--p-surface-muted);
    border: 1px solid var(--p-border);
    box-shadow: var(--shadow-card);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition-base);
}

.hero-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo-frame:hover .hero-photo {
    transform: scale(1.02);
}

/* Legenda Editorial na Foto */
.hero-photo-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(228, 233, 238, 0.9);
    padding: 0.9rem 1.15rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 18px rgba(12, 27, 38, 0.08);
}

.hero-badge-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--p-text-heading);
    margin-bottom: 0.25rem;
}

.hero-badge-sub {
    font-size: 0.8125rem;
    color: var(--p-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   7. BLOCO DE CONFIANÇA & CREDIBILIDADE (DISCRETO)
   -------------------------------------------------------------------------- */
.trust-strip {
    background-color: var(--p-white);
    border-bottom: 1px solid var(--p-border);
    padding: 2.25rem 0;
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    border-right: 1px solid var(--p-border-light);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: none;
    padding-right: 0;
}

.trust-strong {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--p-text-heading);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.trust-desc {
    font-size: 0.875rem;
    color: var(--p-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. SEÇÃO DE SERVIÇOS ("Como podemos ajudar sua empresa")
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.service-card {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--p-blue);
    box-shadow: var(--shadow-card);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--p-blue-tint);
    border: 1px solid rgba(0, 98, 130, 0.15);
    border-radius: var(--radius-sm);
    color: var(--p-blue);
    font-size: 1.25rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-box {
    background-color: var(--p-blue);
    color: var(--p-white);
    border-color: var(--p-blue);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--p-text-subtle);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--p-text-heading);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--p-text-body);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.service-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--p-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: auto;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-action-link:hover {
    gap: 0.75rem;
    color: var(--p-blue-dark);
}

/* Card Especial / Banner da Área do Cliente */
.portal-banner {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-left: 4px solid var(--p-blue);
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-subtle);
}

.portal-content h4 {
    font-size: 1.1875rem;
    margin-bottom: 0.35rem;
}

.portal-content p {
    font-size: 0.9375rem;
    color: var(--p-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. DIFERENCIAIS ("Mais do que números, cuidamos do seu negócio")
   -------------------------------------------------------------------------- */
.differentials-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.differentials-visual {
    position: relative;
}

.differentials-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--p-border);
    box-shadow: var(--shadow-card);
}

.differentials-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.differentials-frame:hover .differentials-photo {
    transform: scale(1.02);
}

.pillars-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.pillar-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--p-border-light);
}

.pillar-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.pillar-index {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--p-blue-tint);
    border: 1px solid rgba(0, 98, 130, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--p-blue);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pillar-body h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--p-text-heading);
}

.pillar-body p {
    font-size: 0.9375rem;
    color: var(--p-text-body);
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. SOBRE A PRIMORDIAL (HUMANA, OBJETIVA, REAL)
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-narrative {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--p-text-body);
}

.about-narrative p {
    margin-bottom: 1.5rem;
}

.mvv-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.mvv-card {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: border-color var(--transition-fast);
}

.mvv-card:hover {
    border-color: var(--p-blue);
}

.mvv-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mvv-icon {
    color: var(--p-blue);
    font-size: 1.125rem;
}

.mvv-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--p-text-heading);
    margin: 0;
}

.mvv-desc {
    font-size: 0.9375rem;
    color: var(--p-text-body);
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   11. DEPOIMENTOS (ESTÁTICO, ELEGANTE, BASEADO EM SEGMENTOS REAIS)
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--p-gold);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--p-text-body);
    font-style: normal;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    padding-top: 1.25rem;
    border-top: 1px solid var(--p-border-light);
}

.author-role {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--p-text-heading);
    margin-bottom: 0.15rem;
}

.author-segment {
    font-size: 0.8125rem;
    color: var(--p-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   11.1. PERGUNTAS FREQUENTES (FAQ) & SEO SEMÂNTICO LOCAL
   -------------------------------------------------------------------------- */
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
    border-color: var(--p-blue);
    box-shadow: 0 4px 16px rgba(12, 27, 38, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--p-text-heading);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--p-blue);
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--p-surface-muted);
    color: var(--p-text-muted);
    font-size: 0.8125rem;
    flex-shrink: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    background-color: var(--p-blue-tint);
    color: var(--p-blue);
}

.faq-answer {
    padding: 0 1.5rem 1.35rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--p-text-body);
    border-top: 1px solid var(--p-border-light);
    margin-top: 0.25rem;
    padding-top: 1rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. SEÇÃO DE CONTATO & FORMULÁRIO DE ORÇAMENTO
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-panel {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
}

.contact-info-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-info-lead {
    font-size: 0.9375rem;
    color: var(--p-text-muted);
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    background-color: var(--p-blue-tint);
    border-radius: var(--radius-sm);
    color: var(--p-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail-content h5 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--p-text-muted);
    margin-bottom: 0.25rem;
}

.contact-detail-content p,
.contact-detail-content a {
    font-size: 0.9375rem;
    color: var(--p-text-heading);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--p-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-map-link:hover {
    color: var(--p-blue-dark);
    text-decoration: underline;
}

.contact-direct-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--p-border-light);
}

/* Painel do Formulário */
.contact-form-panel {
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.9375rem;
    color: var(--p-text-muted);
    margin: 0;
}

/* Campos do Formulário */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--p-text-heading);
    margin-bottom: 0.4rem;
}

.form-label .required {
    color: #d9383a;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--p-text-heading);
    background-color: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--p-blue);
    box-shadow: 0 0 0 3px var(--p-blue-glow);
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
}

/* Anti-spam box */
.captcha-box {
    background-color: var(--p-surface-muted);
    border: 1px solid var(--p-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.captcha-label {
    font-size: 0.875rem;
    color: var(--p-text-heading);
    font-weight: 500;
    margin: 0;
}

.captcha-input {
    width: 90px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    font-weight: 700;
}

/* Status do Formulário */
.form-feedback {
    margin-bottom: 1.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    display: none;
}

.form-feedback.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-feedback.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.form-privacy-note {
    font-size: 0.75rem;
    color: var(--p-text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   13. FOOTER CORPORATIVO ESCURO COM LOGO BRANCA
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--p-navy);
    color: var(--p-navy-text);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid var(--p-navy-border);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.footer-about {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--p-navy-text);
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--p-navy-surface);
    border: 1px solid var(--p-navy-border);
    color: var(--p-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-social-btn:hover {
    background-color: var(--p-blue);
    border-color: var(--p-blue);
    color: var(--p-white);
    transform: translateY(-2px);
}

.footer-column-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--p-white);
    margin-bottom: 1.5rem;
}

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

.footer-link {
    font-size: 0.9375rem;
    color: var(--p-navy-text);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover {
    color: var(--p-white);
    padding-left: 4px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9375rem;
}

.footer-contact-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--p-blue-light);
    font-size: 0.9375rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-contact-row a,
.footer-contact-row p {
    color: var(--p-navy-text);
    margin: 0;
    line-height: 1.5;
}

.footer-contact-row a:hover {
    color: var(--p-white);
}

/* Linha inferior de Copyright */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--p-navy-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #7b94a6;
}

.footer-bottom p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   14. WHATSAPP FLUTUANTE DISCRETO
   -------------------------------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.floating-whatsapp-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--p-whatsapp);
    color: var(--p-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover .floating-whatsapp-btn {
    transform: scale(1.08);
    background-color: var(--p-whatsapp-dark);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp-label {
    background-color: var(--p-navy);
    color: var(--p-white);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.floating-whatsapp:hover .floating-whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVIDADE PRECISA (DESKTOP, TABLET, MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .header-actions .btn-client-portal span {
        display: none;
    }
    .header-actions .btn-client-portal {
        padding: 0 0.85rem !important;
        width: 40px;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .btn-client-portal {
        display: none;
    }

    .site-nav {
        gap: 1rem;
    }

    .nav-menu {
        padding: 3px;
        gap: 2px;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8125rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-grid {
        gap: 2.5rem;
    }

    .hero-photo {
        height: 440px;
        object-position: center 15%;
    }

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

    .trust-item:nth-child(2) {
        border-right: none;
    }

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

    .differentials-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .differentials-photo {
        height: 380px;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .site-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-editorial {
        padding-top: 6.5rem;
        padding-bottom: 3.5rem;
    }

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

    .hero-photo {
        height: 380px;
        object-position: center 12%;
    }

    .hero-photo-badge {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
    }

    .hero-badge-title {
        font-size: 0.875rem;
    }

    .hero-badge-sub {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2.125rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .btn-editorial {
        width: 100%;
    }

    /* Menu Mobile */
    .nav-menu {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .header-actions .btn-editorial {
        display: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .trust-item {
        border-right: none;
        padding: 0;
        border-bottom: 1px solid var(--p-border-light);
        padding-bottom: 1.25rem;
    }

    .trust-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

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

    .portal-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem;
    }

    .portal-banner .btn-editorial {
        width: 100%;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-input {
        width: 100%;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .floating-whatsapp {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .floating-whatsapp-label {
        display: none;
    }
}
