/* ==========================================================================
   CORPVS SEGURANÇA INTEGRADA & TECNOLOGIA - DESIGN SYSTEM
   Baseado na identidade visual corporativa (DM Sans, Dark Blue & Neon Cyan)
   Largura total (100% / 4vw padding) como nas páginas internas
   ========================================================================== */

:root {
    --primary-blue: #0076C5;
    --primary-blue-hover: #005fa0;
    --accent-cyan: #00A3E0;
    --accent-glow: rgba(0, 163, 224, 0.25);
    
    --bg-dark: #04060A;
    --bg-dark-accent: #080C14;
    --bg-dark-glass: rgba(4, 6, 10, 0.88);
    --bg-dark-panel: #0b0f19;
    --bg-dark-inset: #020408;
    --card-bg-dark: rgba(12, 17, 26, 0.75);
    --card-bg-hover: rgba(16, 24, 38, 0.95);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.04);
    --border-color-active: rgba(0, 163, 224, 0.4);
    
    --text-light: #F8FAFC;
    --text-light-muted: #94A3B8;
    --text-light-dim: #64748B;
    
    --font-family: 'DM Sans', sans-serif;
    --font-size-hero: 3.2rem;
    --font-size-section: 2.5rem;
    --font-size-topic: 2rem;
    --font-size-card: 1.35rem;
    
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    
    --warning-gold: #D97706;
    --warning-gold-light: rgba(217, 119, 6, 0.12);
    --success-green: #10B981;
    --success-green-light: rgba(16, 185, 129, 0.1);
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 14px;
    --border-radius-pill: 9999px;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 118, 197, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 100% 35%, rgba(0, 163, 224, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 70%, rgba(0, 118, 197, 0.07) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-light-muted);
    font-weight: var(--weight-regular);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, strong, b {
    font-family: var(--font-family);
    color: var(--text-light);
    font-weight: var(--weight-medium);
    line-height: 1.25;
}

h1 {
    font-weight: var(--weight-light);
}

strong, b {
    font-weight: var(--weight-medium);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: var(--weight-regular);
}

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

.neon-cyan {
    color: var(--accent-cyan);
    text-shadow: 0 0 25px rgba(0, 163, 224, 0.35);
}

/* ==========================================================================
   FULL-WIDTH CONTAINERS & LAYOUT UTILITIES (IDENTICAL TO TELEMETRIA)
   ========================================================================== */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 4vw;
}

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 4vw;
}

section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-header.text-center .section-main-title,
.section-header.text-center .section-main-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Sobrancelhas / Eyebrows: texto limpo, sem caixas, bordas ou cantos arredondados */
.section-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-cyan);
    margin-bottom: 14px;
}

.section-main-title {
    font-size: var(--font-size-section);
    font-weight: var(--weight-light);
    color: var(--text-light);
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-main-subtitle {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    font-weight: var(--weight-regular);
    max-width: 820px;
    line-height: 1.6;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: var(--weight-medium);
    letter-spacing: 0.02em;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    transition: var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.btn-primary-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005fa0 100%);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(0, 118, 197, 0.35);
}

.btn-primary-blue:hover {
    background: linear-gradient(135deg, #0084dc 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 163, 224, 0.45);
    color: #fff;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background-color: rgba(0, 163, 224, 0.12);
    color: var(--text-light);
    box-shadow: 0 0 20px rgba(0, 163, 224, 0.3);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.84rem;
}

.btn-block {
    width: 100%;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
    background-color: #ffffff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.header-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .header-container {
    height: 72px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.main-logo {
    height: 48px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    aspect-ratio: 1080 / 300;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .main-logo {
    height: 32px;
    max-width: 135px;
    filter: none !important;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    font-weight: var(--weight-medium);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.main-header.scrolled .nav-link {
    color: #334155;
}

.main-header.scrolled .nav-link:hover {
    color: var(--primary-blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.main-header.scrolled .btn-outline {
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    background: transparent !important;
}

.main-header.scrolled .btn-outline:hover {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 118, 197, 0.2) !important;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.main-header.scrolled .mobile-nav-toggle span {
    background-color: #0b0f19;
}

/* ==========================================================================
   HERO SECTION (YOUTUBE EMBED BACKGROUND & CENTRALIZED CONTENT)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 160px 0 100px 0;
    background-color: var(--bg-dark);
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 104%;
    height: 124%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: brightness(0.9) contrast(1.05);
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(4, 6, 10, 0.32) 0%, rgba(4, 6, 10, 0.68) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4.1rem);
    font-weight: var(--weight-light);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-light);
    margin-bottom: 24px;
    text-align: center;
}

.hero-bold-brand {
    font-weight: 600;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: #CBD5E1;
    line-height: 1.7;
    max-width: 860px;
    margin-bottom: 38px;
    font-weight: var(--weight-regular);
    text-align: center;
}

.hero-actions-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
}

.hero-bottom-tag {
    font-size: 0.78rem;
    font-weight: var(--weight-medium);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-light-dim);
    text-align: center;
}

/* ==========================================================================
   CREDENTIALS & NUMBERS BAR (FULL-WIDTH 5-COLUMN)
   ========================================================================== */
.section-stats-bar {
    padding: 44px 0;
    background: rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 14px;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-number .highlight {
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.84rem;
    color: var(--text-light-muted);
    font-weight: var(--weight-regular);
    line-height: 1.4;
}

/* ==========================================================================
   SERVICES HUB (ALL 9 SERVICES - TEXT REDUCED BY >60% & WITHOUT PILL TAGS)
   ========================================================================== */
.section-services-hub {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #070a12 100%);
}

.services-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-light-muted);
    padding: 10px 22px;
    border-radius: var(--border-radius-pill);
    font-size: 0.88rem;
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(0, 163, 224, 0.1);
    color: var(--text-light);
    border-color: rgba(0, 163, 224, 0.3);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(0, 118, 197, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.service-card {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-active);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
    background: var(--card-bg-hover);
}

.service-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #0b0f19;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.28rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Texto reduzido em mais de 60% para leitura rápida */
.service-card-desc {
    font-size: 0.92rem;
    color: var(--text-light-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   FEATURED SERVICES (OS 3 PRIMEIROS SERVIÇOS COM PÁGINA PRÓPRIA)
   ========================================================================== */
.service-card-featured {
    background: linear-gradient(180deg, rgba(16, 28, 48, 0.98) 0%, rgba(9, 15, 26, 0.94) 100%);
    border: 1px solid rgba(0, 163, 224, 0.52);
    box-shadow: 0 12px 35px rgba(0, 118, 197, 0.22), inset 0 1px 0 rgba(0, 163, 224, 0.3);
    position: relative;
    border-radius: var(--border-radius-lg);
}

.service-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00E5FF 0%, var(--primary-blue) 100%);
    z-index: 3;
}

.service-card-featured:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 163, 224, 0.35);
}

.service-card-featured .service-card-media {
    height: 260px;
}

.featured-page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.pulse-cyan {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulseGlow 2s infinite ease-in-out;
}

.featured-mini-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.featured-mini-pill {
    font-size: 0.73rem;
    background: rgba(0, 163, 224, 0.08);
    border: 1px solid rgba(0, 163, 224, 0.22);
    color: #CBD5E1;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 400;
}

.service-card-featured .service-card-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-card-featured .service-card-desc {
    font-size: 0.94rem;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.service-card-featured .service-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.service-card-featured .service-card-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    padding: 12px 18px;
    font-size: 0.86rem;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.service-card-featured .service-card-actions .btn-arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* Divisor elegante entre os 3 destaques e as demais 6 soluções */
.services-divider-block {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 48px 0 36px 0;
    width: 100%;
    grid-column: 1 / -1;
}

.services-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.services-divider-label {
    font-size: 0.86rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-light-muted);
    white-space: nowrap;
}

/* ==========================================================================
   FEATURED PILLARS (SPLIT MEDIA FULL WIDTH)
   ========================================================================== */
.pillar-section {
    padding: 120px 0;
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.pillar-grid.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.pillar-media-wrap {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pillar-media-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.pillar-floating-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(8, 12, 20, 0.92);
    border: 1px solid rgba(0, 163, 224, 0.3);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    max-width: 280px;
}

.pillar-floating-number {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 4px;
}

.pillar-floating-text {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.35;
}

.pillar-bullets {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0 36px 0;
}

.pillar-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pillar-bullet-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(0, 118, 197, 0.12);
    border: 1px solid rgba(0, 163, 224, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-top: 2px;
}

.pillar-bullet-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.pillar-bullet-text p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    line-height: 1.5;
}

/* ==========================================================================
   ANNIVERSARY / AUTHORITY (51 ANOS CORPVS)
   ========================================================================== */
.section-anniversary {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.anniversary-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #040810;
}

.anniversary-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(0.9);
}

.anniversary-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(4, 6, 10, 0.95) 0%, rgba(4, 6, 10, 0.8) 60%, rgba(4, 6, 10, 0.4) 100%);
}

.anniversary-content {
    position: relative;
    z-index: 2;
    padding: 70px 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
}

.anniversary-logo {
    max-width: 240px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.anniversary-since {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-cyan);
    font-weight: 500;
}

.anniversary-stat-number {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.anniversary-stat-desc {
    font-size: 1.1rem;
    color: #CBD5E1;
    line-height: 1.7;
    max-width: 860px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.section-faq {
    padding: 120px 0;
    background: var(--bg-dark);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: var(--border-color-active);
    background: rgba(14, 21, 33, 0.9);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    transition: padding-bottom 0.3s ease;
}

.faq-item.active .faq-question {
    padding-bottom: 12px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    padding: 0 28px 32px 28px;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.section-final-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, #050810 0%, #081020 50%, var(--bg-dark) 100%);
    text-align: center;
}

.final-cta-inner {
    max-width: 880px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 20px;
}

.final-cta-desc {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    line-height: 1.65;
    margin-bottom: 36px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

/* ==========================================================================
   FOOTER (PROTECTED LOGO PROPORTIONS)
   ========================================================================== */
.main-footer {
    background-color: #020408;
    padding: 90px 0 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

/* Logotipo sem deformação / 100% proporcional */
.footer-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    align-self: flex-start;
    display: block;
}

.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--text-light-dim);
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    font-size: 0.88rem;
    color: var(--text-light-muted);
}

.footer-links-list a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-contact-info p {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-contact-info strong {
    color: var(--text-light);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-light-dim);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON WITH SPEECH BUBBLE
   ========================================================================== */
.floating-whatsapp-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s;
}

.floating-whatsapp-wrap.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-speech-bubble {
    display: inline-block;
    background-color: #0b0f19;
    color: #F8FAFC;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: var(--border-radius-pill);
    border: 1px solid rgba(0, 163, 224, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-speech-bubble:hover {
    color: #ffffff;
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 25px rgba(0, 163, 224, 0.35);
}

.whatsapp-speech-bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0b0f19;
}

.floating-whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn img {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item:nth-child(3) {
        border-right: none;
    }
    
    .stat-item:nth-child(4) {
        border-right: 1px solid var(--border-color);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .pillar-grid,
    .pillar-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pillar-media-img {
        height: 340px;
    }
    
    .anniversary-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 30px;
    }
    
    .anniversary-logo {
        margin: 0 auto 16px auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    /* 📱 Topo: remover apenas o botão do topo e ajustar o logotipo para não comprimir */
    .header-container {
        height: 68px;
    }

    .main-header.scrolled .header-container {
        height: 58px;
    }

    .header-right .btn,
    .header-right .btn-outline {
        display: none !important;
    }

    .logo-link {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
    }

    .main-logo {
        height: 34px !important;
        max-height: 34px !important;
        width: auto !important;
        max-width: 145px !important;
        aspect-ratio: 1080 / 300 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }

    .main-header.scrolled .main-logo {
        height: 28px !important;
        max-height: 28px !important;
        max-width: 125px !important;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }

    /* 🧩 Serviços: reduzir bastante o tamanho dos botões de filtro */
    .services-filter-bar {
        gap: 6px 8px;
        margin-bottom: 24px;
        justify-content: center;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.74rem;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: 0.01em;
    }
    
    /* 📦 Cards de serviços: fechamento das boxes respeitando limites da página */
    .section-services-hub {
        padding: 70px 0;
        overflow-x: hidden;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .service-card-media {
        height: 190px;
    }

    .service-card-featured .service-card-media {
        height: 200px;
    }

    .service-card-body {
        padding: 20px 16px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .service-card-title {
        font-size: 1.18rem;
        word-break: break-word;
    }

    .service-card-featured .service-card-title {
        font-size: 1.24rem;
        word-break: break-word;
    }

    .service-card-desc,
    .service-card-featured .service-card-desc {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 16px;
        word-break: break-word;
    }

    /* Divisor estratégico responsivo sem estourar a largura da tela */
    .services-divider-block {
        flex-direction: column;
        gap: 10px;
        margin: 28px 0 16px 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .services-divider-line {
        width: 100%;
        flex: none;
    }

    .services-divider-label {
        white-space: normal !important;
        font-size: 0.74rem;
        letter-spacing: 0.06em;
        line-height: 1.35;
        text-align: center;
        padding: 0 10px;
        word-break: break-word;
    }

    /* Botões internos: ajustados para não ultrapassar os limites das caixas */
    .service-card-actions {
        width: 100%;
        box-sizing: border-box;
        padding-top: 14px;
        gap: 8px;
    }

    .service-card-featured .service-card-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .service-card-actions .btn,
    .service-card-featured .service-card-actions .btn {
        width: 100% !important;
        flex: 1 1 100% !important;
        box-sizing: border-box !important;
        padding: 11px 14px !important;
        font-size: 0.82rem !important;
        white-space: normal !important;
        text-align: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 10px;
    }
    
    .stat-item:last-child {
        grid-column: span 2;
        border-bottom: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .whatsapp-speech-bubble {
        display: none !important;
    }
    
    .floating-whatsapp-btn {
        width: 52px;
        height: 52px;
    }
    
    .floating-whatsapp-btn img {
        width: 28px;
        height: 28px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-item.active .faq-question {
        padding-bottom: 10px;
    }

    .faq-answer p {
        padding: 0 20px 24px 20px;
        font-size: 0.90rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .services-filter-bar {
        gap: 5px 6px;
    }

    .filter-btn {
        padding: 5px 9px;
        font-size: 0.68rem;
    }

    .service-card-body {
        padding: 18px 14px;
    }

    .service-card-actions .btn,
    .service-card-featured .service-card-actions .btn {
        font-size: 0.80rem !important;
        padding: 10px 10px !important;
    }
}
