/*
 * ARQUIVO: assets/css/style.css
 * FUNÇÃO: Folha de estilos global, temas de cores Fóton Grid, glassmorphism, surgimento 3D e responsividade
 * PROJETO: Website Foton Grid
 * AUTOR: Alysson Santos
 * PUBLISHER: Neural SS TEAM
 */

/* =========================================================================
   1. VARIÁVEIS GLOBAIS & DESIGN TOKENS (PALETA OFICIAL FÓTON GRID)
   ========================================================================= */
:root {
    /* Cores Oficiais Fóton Grid */
    --fg-branco: #FFFFFF;
    --fg-superficie: rgba(248, 250, 252, 0.75);
    --fg-superficie-alt: rgba(241, 245, 249, 0.82);
    --fg-borda: rgba(226, 232, 240, 0.85);
    --fg-borda-hover: #CBD5E1;

    --fg-verde: #009C3B;
    --fg-verde-escuro: #007A2E;
    --fg-verde-suave: rgba(0, 156, 59, 0.10);

    --fg-amarelo: #FFDF00;
    --fg-amarelo-hover: #E6C800;
    --fg-amarelo-suave: rgba(255, 223, 0, 0.16);

    --fg-azul: #002776;
    --fg-azul-escuro: #001B52;
    --fg-azul-suave: rgba(0, 39, 118, 0.08);

    --fg-texto: #141414;
    --fg-texto-muted: #4B5563;
    --fg-texto-claro: #6B7280;

    /* Acessibilidade de Escala Tipográfica (Controlada) */
    --font-scale: 1.0;

    /* Vidro Fumê Branco (Frosted Glassmorphism Tokens) */
    --glass-bg: rgba(255, 255, 255, 0.80);
    --glass-bg-hover: rgba(255, 255, 255, 0.94);
    --glass-border: rgba(255, 255, 255, 0.88);
    --glass-blur: 16px;
    --glass-shadow: 0 10px 32px rgba(0, 39, 118, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --glass-shadow-hover: 0 18px 46px rgba(0, 39, 118, 0.14), 0 4px 14px rgba(0, 156, 59, 0.08);

    /* Raios de Borda */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Dimensões Fixas */
    --navbar-height: 72px;
    --footer-fixed-height: 52px;
}

/* =========================================================================
   2. RESET MODERNO & BASE GLOBAL
   ========================================================================= */

/* Ocultar barra de rolagem lateral mantendo a rolagem ativa (Chrome, Safari e Opera) */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Ocultar barra de rolagem lateral (IE, Edge e Firefox) */
html {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

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

html {
    font-size: calc(16px * var(--font-scale, 1.0));
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F8FAFC;
    color: var(--fg-texto);
    line-height: 1.55;
    padding-bottom: calc(var(--footer-fixed-height) + 20px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Canvas Interativo em Tela Cheia no Fundo de Toda a Página */
.global-foton-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Molduras Laterais Translúcidas com Sensação de Vidro para as Bordas da Tela */
.glass-side-frame {
    position: fixed;
    top: 0;
    height: 100vh;
    width: clamp(12px, 2.8vw, 42px);
    pointer-events: none;
    z-index: 5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.left-frame {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.10) 80%, transparent 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow: inset 1px 0 3px rgba(255, 255, 255, 0.85);
}

.right-frame {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.10) 80%, transparent 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow: inset -1px 0 3px rgba(255, 255, 255, 0.85);
}

img,
svg {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

/* Ícone do WhatsApp Padronizado com SVG Oficial */
.wp-icon-img {
    vertical-align: middle;
    flex-shrink: 0;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* =========================================================================
   3. CARDS EM VIDRO FUMÊ BRANCO COM A BORDA TRICOLOR DO HEADER
   Borda tricolor Fóton Grid (Verde -> Amarelo -> Azul) aplicada nos cards
   ========================================================================= */
.glass-card-smoke {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(175%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(175%);
    /* Borda sofisticada com contorno tricolor Fóton Grid */
    border: 2px solid transparent;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
        linear-gradient(135deg, var(--fg-verde) 0%, var(--fg-amarelo) 50%, var(--fg-azul) 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--glass-shadow);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.3s ease;
    position: relative;
}

.glass-card-smoke:hover {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        linear-gradient(135deg, var(--fg-verde) 0%, var(--fg-amarelo) 50%, var(--fg-azul) 100%);
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-5px);
}

/* Contêiner Fluido com Auto-Ajuste Multi-Tela */
.section-container {
    width: 100%;
    max-width: clamp(340px, 90vw, 1460px);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2.5vw, 2rem);
    padding-right: clamp(1rem, 2.5vw, 2rem);
    position: relative;
    z-index: 2;
}

/* Cabeçalhos Padronizados */
.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.25rem auto;
}

.section-tag-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.88);
    color: var(--fg-azul);
    border: 1px solid rgba(0, 39, 118, 0.18);
    border-radius: var(--radius-full);
    padding: 0.35rem 1.15rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    backdrop-filter: blur(8px);
}

.section-title {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--fg-texto);
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.6;
    color: var(--fg-texto-muted);
}

/* =========================================================================
   4. NAVEGADOR SPA 3D IMERSIVO (TRANSIÇÃO FLUIDA ENTRE VISTAS)
   Perspectiva 3D profunda, deslocamento espacial e docking de cards
   ========================================================================= */
.spa-stage-viewport {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--navbar-height) - var(--footer-fixed-height));
    perspective: 1600px;
    transform-style: preserve-3d;
    overflow-x: hidden;
    z-index: 2;
}

.spa-view {
    display: none;
    width: 100%;
    opacity: 0;
    transform: perspective(1600px) translate3d(0, 60px, -200px) rotateX(7deg) scale(0.94);
    transition: opacity 0.65s cubic-bezier(0.19, 1, 0.22, 1), transform 0.65s cubic-bezier(0.19, 1, 0.22, 1), filter 0.65s ease;
    transform-origin: center top;
    will-change: transform, opacity, filter;
}

.spa-view.is-active {
    display: block;
    opacity: 1;
    transform: perspective(1600px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
    animation: spaViewEnter 0.65s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.spa-view.is-exiting {
    display: block;
    opacity: 0;
    transform: perspective(1600px) translate3d(0, -40px, -180px) rotateX(-5deg) scale(0.95);
    filter: blur(3px);
}

@keyframes spaViewEnter {
    0% {
        opacity: 0;
        transform: perspective(1600px) translate3d(0, 55px, -160px) rotateX(6deg) scale(0.95);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: perspective(1600px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
        filter: blur(0);
    }
}

/* Animação Stagger nos Cards da Vista 3D */
.spa-view.is-active .catalogo-card,
.spa-view.is-active .pilar-card,
.spa-view.is-active .book-chapter {
    animation: cardFloatDock 0.75s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.spa-view.is-active .catalogo-card:nth-child(1) {
    animation-delay: 0.08s;
}

.spa-view.is-active .catalogo-card:nth-child(2) {
    animation-delay: 0.16s;
}

.spa-view.is-active .catalogo-card:nth-child(3) {
    animation-delay: 0.24s;
}

@keyframes cardFloatDock {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(0.96);
    }

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

/* =========================================================================
   5. NAVBAR FIXA COM EFEITO VIDRO
   ========================================================================= */
.navbar-glass {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0.6rem clamp(1rem, 2vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    height: var(--navbar-height);
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0;
}

.brand-logo {
    height: clamp(46px, 4.2vw, 54px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    flex: 0 1 auto;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--fg-texto-muted);
    padding: 0.5rem 0.25rem;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--fg-azul);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--fg-verde), var(--fg-amarelo), var(--fg-azul));
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: none;
    align-items: center;
}

.btn-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-sm);
    padding: 10px 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mobile-toggle:hover {
    border-color: var(--fg-azul);
    background: var(--fg-azul-suave);
}

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--fg-azul);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

/* Animação do botão 3 barras para X quando a sidebar abre */
.btn-mobile-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.btn-mobile-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.btn-mobile-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Backdrop escuro ao abrir a Sidebar Mobile */
.mobile-sidebar-backdrop {
    display: none;
}

.navbar-accent-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--fg-verde) 0%, var(--fg-amarelo) 50%, var(--fg-azul) 100%);
}

/* =========================================================================
   6. SEÇÃO HERO (#home)
   ========================================================================= */
.section-hero {
    position: relative;
    width: 100%;
    min-height: calc(90vh - var(--navbar-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 2.5rem);
}

.hero-container {
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.hero-credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: var(--radius-full);
    padding: 0.45rem 1.25rem;
}

.credential-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--fg-verde);
    box-shadow: 0 0 8px rgba(0, 156, 59, 0.7);
}

.credential-intelbras-logo {
    height: 18px;
    width: auto;
}

.credential-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fg-texto-muted);
}

.hero-headline {
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--fg-texto);
}

.highlight-accent {
    color: var(--fg-verde-escuro);
    position: relative;
    display: inline-block;
}

.highlight-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 223, 0, 0.45);
    z-index: -1;
    border-radius: 4px;
}

.hero-subheadline {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: var(--fg-texto-muted);
    max-width: 760px;
}

.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--fg-verde);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(0, 156, 59, 0.32);
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    background-color: var(--fg-verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 156, 59, 0.42);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fg-azul);
    border: 1px solid var(--fg-borda);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem 1.85rem;
    border-radius: var(--radius-full);
    box-shadow: var(--glass-shadow);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: var(--fg-azul);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.arrow-right-svg {
    transition: transform 0.2s ease;
}

.btn-hero-secondary:hover .arrow-right-svg {
    transform: translateX(4px);
}

.hero-trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    margin-top: 2rem;
}

.trust-card {
    border-radius: var(--radius-md);
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
}

.trust-icon {
    font-size: 1.6rem;
}

.trust-info strong {
    display: block;
    font-size: 0.925rem;
    color: var(--fg-texto);
}

.trust-info span {
    font-size: 0.775rem;
    color: var(--fg-texto-muted);
}

/* =========================================================================
   7. SEÇÃO SERVIÇOS TURNKEY (#servicos)
   ========================================================================= */
.section-servicos {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.servicos-pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    margin-bottom: 3.5rem;
}

.pilar-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pilar-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--fg-borda);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pilar-step-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #FFFFFF;
    background-color: var(--fg-azul);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.pilar-price-flag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--fg-texto-muted);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--fg-borda);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.pilar-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pilar-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.pilar-1 .pilar-icon-wrapper {
    color: var(--fg-azul);
    background-color: var(--fg-azul-suave);
}

.pilar-2 .pilar-icon-wrapper {
    color: #B45309;
    background-color: var(--fg-amarelo-suave);
}

.pilar-3 .pilar-icon-wrapper {
    color: var(--fg-verde-escuro);
    background-color: var(--fg-verde-suave);
}

.pilar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.pilar-summary {
    font-size: 0.875rem;
    color: var(--fg-texto-muted);
    line-height: 1.55;
    margin-bottom: 1.4rem;
}

.pilar-deliverables {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}

.pilar-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8125rem;
    color: var(--fg-texto);
    line-height: 1.45;
}

.check-bullet {
    color: var(--fg-verde);
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}

.servicos-cta-box {
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cta-box-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fg-azul-escuro);
    margin-bottom: 0.25rem;
}

.cta-box-sub {
    font-size: 0.925rem;
    color: var(--fg-texto-muted);
    max-width: 650px;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--fg-verde);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 18px rgba(0, 156, 59, 0.28);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-cta-whatsapp:hover {
    background-color: var(--fg-verde-escuro);
    transform: translateY(-2px);
}

/* =========================================================================
   8. SEÇÃO SOBRE & CONTATO (#contato)
   ========================================================================= */
.section-contato {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.contato-profile-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.profile-frame-card {
    border-radius: var(--radius-lg);
    padding: 12px;
    position: relative;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 4.8;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.profile-frame-card:hover .profile-image {
    transform: scale(1.02);
}

.profile-badge-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(0, 39, 118, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    color: #FFFFFF;
    text-align: center;
}

.overlay-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}

.overlay-role {
    font-size: 0.75rem;
    color: var(--fg-amarelo);
    font-weight: 600;
}

.editorial-card {
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 3rem);
}

.editorial-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pill-credenciado {
    background-color: var(--fg-verde-suave);
    color: var(--fg-verde-escuro);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.pill-regional {
    background-color: var(--fg-azul-suave);
    color: var(--fg-azul);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.editorial-name {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.15;
}

.editorial-role-lead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg-azul);
    margin-bottom: 1.25rem;
}

.editorial-text-content {
    font-size: 0.95rem;
    color: var(--fg-texto-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.editorial-text-content p {
    margin-bottom: 0.85rem;
}

.regional-privacy-notice {
    background: rgba(255, 255, 255, 0.88);
    border-left: 4px solid var(--fg-azul);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.privacy-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.privacy-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--fg-texto);
    margin-bottom: 0.25rem;
}

.privacy-text p {
    font-size: 0.7875rem;
    color: var(--fg-texto-muted);
    line-height: 1.45;
}

.profile-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.btn-profile-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: var(--fg-verde);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.95rem 1.75rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(0, 156, 59, 0.28);
    transition: all 0.2s ease;
}

.btn-profile-whatsapp:hover {
    background-color: var(--fg-verde-escuro);
    transform: translateY(-2px);
}

.contact-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--fg-borda);
}

.quick-info-item {
    font-size: 0.8125rem;
}

.info-label {
    color: var(--fg-texto-claro);
    margin-right: 0.25rem;
}

.info-link {
    font-weight: 700;
    color: var(--fg-azul);
}

.info-val {
    font-weight: 600;
    color: var(--fg-texto);
}

/* =========================================================================
   9. VISTA 2: CATÁLOGO ISOLADO (#catalogo)
   Identidade centralizada no topo e cards com borda oficial do Header
   ========================================================================= */
.section-catalogo {
    padding: 2.5rem 0 6rem 0;
}

/* Identidade Oficial Centralizada no Topo do Catálogo */
.catalogo-top-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.25rem;
}

.brand-partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-full);
}

.brand-partner-foton {
    height: 32px;
    width: auto;
}

.brand-partner-x {
    color: var(--fg-borda-hover);
    font-size: 0.85rem;
    font-weight: 800;
}

.brand-partner-intelbras {
    height: 24px;
    width: auto;
}

.brand-partner-divider {
    color: var(--fg-borda);
    font-size: 1rem;
}

.brand-partner-text {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--fg-azul);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalogo-filter-bar {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-box-field {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: var(--radius-full);
}

.search-lens-svg {
    position: absolute;
    left: 1.25rem;
    color: var(--fg-texto-claro);
    pointer-events: none;
}

.catalogo-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    padding: 1rem 3.2rem 1rem 3.4rem;
    font-size: 1rem;
    color: var(--fg-texto);
}

.catalogo-search-input:focus {
    outline: none;
}

.search-clear-btn {
    position: absolute;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--fg-texto-claro);
    cursor: pointer;
    line-height: 1;
}

.catalogo-results-info {
    text-align: right;
    padding-right: 0.5rem;
}

.count-tag {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fg-texto-muted);
}

/* Grade do Catálogo */
.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(320px, 28vw, 440px), 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.catalogo-card {
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.card-top-bar {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--fg-borda);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge-tag-status {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--fg-texto);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--fg-borda);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.badge-featured {
    color: var(--fg-verde-escuro);
    border-color: var(--fg-verde);
    background: var(--fg-verde-suave);
}

.card-meta-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--fg-texto-claro);
}

.card-visual-header {
    padding: 1.4rem 1.4rem 0.75rem 1.4rem;
}

.card-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.pill-custom-project {
    background-color: var(--fg-azul-suave);
    color: var(--fg-azul);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.pill-roof-type {
    background: rgba(0, 0, 0, 0.05);
    color: var(--fg-texto-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.card-item-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.3;
}

.card-item-subtitle {
    font-size: 0.8125rem;
    color: var(--fg-texto-muted);
    margin-top: 0.2rem;
}

.card-metric-box {
    border-top: 1px solid var(--fg-borda);
    border-bottom: 1px solid var(--fg-borda);
    padding: 1.25rem 1.4rem;
    margin: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.65);
}

.metric-primary {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fg-texto-claro);
    text-transform: uppercase;
}

.metric-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.metric-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--fg-verde-escuro);
    line-height: 1;
}

.metric-unit {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fg-verde);
}

.metric-footnote {
    font-size: 0.6875rem;
    color: var(--fg-texto-claro);
    margin-top: 0.25rem;
}

.metric-price-tag {
    text-align: right;
}

.price-status {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--fg-azul);
}

.price-desc {
    font-size: 0.6875rem;
    color: var(--fg-texto-muted);
}

.card-disclaimer-box {
    background-color: var(--fg-amarelo-suave);
    border-left: 3px solid var(--fg-amarelo-hover);
    padding: 0.75rem 1rem;
    margin: 0 1.4rem 1rem 1.4rem;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.disclaimer-icon {
    flex-shrink: 0;
    color: #B45309;
    margin-top: 2px;
}

.disclaimer-text {
    font-size: 0.72rem;
    color: #92400E;
    line-height: 1.45;
}

.card-specs-container {
    padding: 0 1.4rem 1.4rem 1.4rem;
    flex: 1;
}

.specs-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fg-texto-muted);
    margin-bottom: 0.65rem;
}

.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.specs-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8125rem;
    color: var(--fg-texto);
    line-height: 1.4;
}

.specs-bullet {
    color: var(--fg-amarelo-hover);
    font-size: 0.85rem;
    line-height: 1;
    margin-top: 2px;
}

.card-footer-action {
    padding: 0 1.4rem 1.4rem 1.4rem;
    margin-top: auto;
}

.btn-card-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background-color: var(--fg-texto);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-card-whatsapp:hover {
    background-color: var(--fg-verde);
    transform: translateY(-1px);
}

.catalogo-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 2rem auto;
}

.empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.empty-desc {
    font-size: 0.9rem;
    color: var(--fg-texto-muted);
    margin-bottom: 1.25rem;
}

.btn-reset-search {
    background: var(--fg-azul);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================================
   10. VISTA 3: FAQ & BOOK TÉCNICO ISOLADO (#info)
   ========================================================================= */
.section-info {
    padding: 2.5rem 0 6rem 0;
}

.book-container {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.book-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.book-sidebar-header {
    margin-bottom: 1.25rem;
}

.sidebar-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--fg-azul);
    text-transform: uppercase;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fg-texto);
}

.book-search-wrapper {
    margin-bottom: 1.5rem;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-svg {
    position: absolute;
    left: 0.85rem;
    color: var(--fg-texto-claro);
    pointer-events: none;
}

.book-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-md);
    padding: 0.65rem 2rem 0.65rem 2.3rem;
    font-size: 0.8125rem;
    color: var(--fg-texto);
}

.book-search-input:focus {
    outline: none;
    border-color: var(--fg-azul);
}

.search-status-tag {
    font-size: 0.72rem;
    color: var(--fg-azul);
    font-weight: 700;
    margin-top: 0.4rem;
    padding-left: 0.25rem;
}

.book-chapter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.chapter-nav-link {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.95rem;
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    background: rgba(255, 255, 255, 0.65);
    transition: all 0.2s ease;
}

.chapter-nav-link:hover {
    background: rgba(255, 255, 255, 0.90);
}

.chapter-nav-link.active {
    background: var(--fg-azul-suave);
    border-left-color: var(--fg-azul);
}

.chapter-number {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--fg-azul);
    text-transform: uppercase;
}

.chapter-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fg-texto);
    margin-top: 2px;
}

.sidebar-support-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    text-align: center;
}

.support-icon {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.support-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--fg-texto);
    margin-bottom: 0.35rem;
}

.support-text {
    font-size: 0.75rem;
    color: var(--fg-texto-muted);
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.btn-sidebar-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background-color: var(--fg-verde);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    transition: background-color 0.2s ease;
}

.btn-sidebar-whatsapp:hover {
    background-color: var(--fg-verde-escuro);
}

.book-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.book-chapter {
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 3rem);
}

.chapter-header {
    border-bottom: 1px solid var(--fg-borda);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.chapter-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.chapter-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--fg-azul);
    text-transform: uppercase;
}

.chapter-read-time {
    font-size: 0.75rem;
    color: var(--fg-texto-claro);
}

.chapter-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.chapter-lead {
    font-size: 1.05rem;
    color: var(--fg-texto-muted);
    line-height: 1.6;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item-box {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fg-azul-escuro);
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 0.925rem;
    color: var(--fg-texto);
    line-height: 1.65;
}

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

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

.styled-content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.5rem 0;
}

.styled-content-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--fg-texto);
    line-height: 1.55;
}

.styled-content-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    top: 1px;
}

.callout-info {
    background-color: var(--fg-azul-suave);
    border-left: 4px solid var(--fg-azul);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--fg-azul-escuro);
}

.workflow-steps-grid,
.nr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1rem 0;
}

.workflow-step-card,
.nr-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.step-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--fg-verde-escuro);
    background-color: var(--fg-verde-suave);
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.step-name,
.nr-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg-texto);
    margin-bottom: 0.35rem;
}

.step-desc,
.nr-desc {
    font-size: 0.8125rem;
    color: var(--fg-texto-muted);
    line-height: 1.5;
}

.nr-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #FFFFFF;
    background-color: var(--fg-texto);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.megometro-feature-box {
    background: linear-gradient(135deg, var(--fg-verde-suave) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid var(--fg-verde);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

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

.megometro-icon {
    color: var(--fg-verde-escuro);
    flex-shrink: 0;
}

.megometro-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--fg-verde-escuro);
}

.megometro-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fg-texto-muted);
}

.megometro-body {
    font-size: 0.9rem;
    color: var(--fg-texto);
    line-height: 1.6;
}

.search-highlight {
    background-color: #FEF08A;
    color: #854D0E;
    font-weight: 700;
    padding: 0.05rem 0.2rem;
    border-radius: 2px;
}

/* =========================================================================
   11. BOTÃO WHATSAPP FLUTUANTE COM ÍCONE OFICIAL SVG
   Acompanha a página no canto inferior direito
   No mobile: Quase oculto/discreto com animação de chacoalhar
   ========================================================================= */
.floating-whatsapp-container {
    position: fixed;
    right: 24px;
    bottom: calc(var(--footer-fixed-height) + 16px);
    z-index: 95;
}

.btn-floating-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.4rem 0.75rem 1.1rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    position: relative;
}

.btn-floating-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.50);
}

.floating-whatsapp-label {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Animação de Chacoalhar */
.btn-floating-whatsapp.is-shaking {
    animation: wpShakeWobble 0.85s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes wpShakeWobble {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    15% {
        transform: translate3d(-6px, -2px, 0) rotate(-10deg) scale(1.08);
    }

    30% {
        transform: translate3d(5px, 2px, 0) rotate(8deg) scale(1.08);
    }

    45% {
        transform: translate3d(-5px, -1px, 0) rotate(-6deg) scale(1.04);
    }

    60% {
        transform: translate3d(4px, 1px, 0) rotate(4deg) scale(1.02);
    }

    75% {
        transform: translate3d(-2px, 0, 0) rotate(-2deg);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp-container {
        right: 12px;
        bottom: calc(var(--footer-fixed-height) + 12px);
    }

    .btn-floating-whatsapp {
        padding: 0.75rem;
        border-radius: 50%;
        opacity: 0.42;
        transform: translate3d(24px, 0, 0) scale(0.9);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(4px);
    }

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

    .btn-floating-whatsapp.is-shaking,
    .btn-floating-whatsapp:active,
    .btn-floating-whatsapp:hover {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.06);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
    }
}

/* =========================================================================
   12. RODAPÉ FIXO & ASSINATURA NEURAL SS TEAM (MODO CLARO)
   ========================================================================= */
.neural-footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-fixed-height);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #E5E7EB;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

.footer-fixed-container {
    width: 100%;
    padding: 0 1.5rem;
    text-align: center;
}

.developer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.credit-copyright {
    color: #4B5563;
    font-weight: 500;
}

.neural-brand-link {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: flex-start;
    line-height: 1;
    user-select: none;
    position: relative;
    font-size: 0.95rem;
}

.neural-holo-stack {
    position: relative;
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.neural-holo-base {
    position: relative;
    z-index: 4;
    display: inline-block;
    line-height: 1;
}

.neural-holo-ghost {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 1;
    pointer-events: none;
    will-change: transform, opacity;
    mix-blend-mode: var(--holo-blend-mode);
}

.neural-ghost-cyan {
    z-index: 1;
    color: var(--holo-cyan-color);
    text-shadow: 0 0 7px var(--holo-cyan-glow);
    animation: neural-tremor-burst-cyan 3.7s infinite ease-in-out;
}

.neural-ghost-pink {
    z-index: 2;
    color: var(--holo-pink-color);
    text-shadow: 0 0 7px var(--holo-pink-glow);
    animation: neural-tremor-burst-pink 2.9s infinite ease-in-out;
}

.neural-ghost-yellow {
    z-index: 3;
    color: var(--holo-yellow-color);
    text-shadow: 0 0 8px var(--holo-yellow-glow);
    animation: neural-tremor-burst-yellow 4.3s infinite ease-in-out;
}

.neural-team-badge {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.5em;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 0.35em;
    display: inline-block;
    position: relative;
    top: 0;
    background-image: var(--team-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 4px var(--team-gold-glow-inner)) drop-shadow(0 0 10px var(--team-gold-glow-outer));
}

.neural-theme-light {
    --holo-blend-mode: normal;
    --holo-cyan-color: rgba(0, 255, 247, 0.65);
    --holo-cyan-glow: rgba(0, 255, 247, 0.65);
    --holo-pink-color: rgba(255, 20, 147, 0.45);
    --holo-pink-glow: rgba(255, 20, 147, 0.45);
    --holo-yellow-color: rgba(243, 230, 0, 0.72);
    --holo-yellow-glow: rgba(243, 230, 0, 0.70);
    --team-gold-gradient: linear-gradient(180deg, #FFE14D 0%, #E5A500 52%, #B87D00 100%);
    --team-gold-glow-inner: rgba(255, 200, 0, 0.65);
    --team-gold-glow-outer: rgba(218, 155, 0, 0.35);
}

.neural-theme-light .neural-holo-base {
    color: #0A0A0A;
}

@keyframes neural-tremor-burst-cyan {

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

    12% {
        transform: translate3d(-1.4px, -0.6px, 0);
        opacity: 0.92;
    }

    25% {
        transform: translate3d(0.8px, 0.5px, 0);
        opacity: 0.68;
    }

    38% {
        transform: translate3d(-1.8px, 0.4px, 0);
        opacity: 0.96;
    }

    52% {
        transform: translate3d(0, 0, 0);
        opacity: 0.62;
    }

    64% {
        transform: translate3d(-1.2px, -0.8px, 0);
        opacity: 0.88;
    }

    76% {
        transform: translate3d(-4.2px, -2.2px, 0) scale(1.02);
        opacity: 1;
    }

    82% {
        transform: translate3d(-2.6px, -1.2px, 0) scale(1.01);
        opacity: 0.95;
    }

    88% {
        transform: translate3d(0.6px, 0.3px, 0) scale(1);
        opacity: 0.82;
    }
}

@keyframes neural-tremor-burst-pink {

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

    15% {
        transform: translate3d(1.5px, 0.7px, 0);
        opacity: 0.92;
    }

    30% {
        transform: translate3d(-0.9px, -0.5px, 0);
        opacity: 0.68;
    }

    46% {
        transform: translate3d(1.9px, -0.4px, 0);
        opacity: 0.96;
    }

    60% {
        transform: translate3d(0, 0, 0);
        opacity: 0.62;
    }

    74% {
        transform: translate3d(4.4px, 2.2px, 0) scale(1.02);
        opacity: 1;
    }

    81% {
        transform: translate3d(2.5px, 1.3px, 0) scale(1.01);
        opacity: 0.95;
    }

    89% {
        transform: translate3d(-0.5px, -0.3px, 0) scale(1);
        opacity: 0.82;
    }
}

@keyframes neural-tremor-burst-yellow {

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

    18% {
        transform: translate3d(0.9px, -1.2px, 0);
        opacity: 0.92;
    }

    34% {
        transform: translate3d(-1.3px, 0.8px, 0);
        opacity: 0.72;
    }

    49% {
        transform: translate3d(0, 0, 0);
        opacity: 0.64;
    }

    63% {
        transform: translate3d(1.4px, -0.9px, 0);
        opacity: 0.92;
    }

    78% {
        transform: translate3d(2.8px, -2.8px, 0) scale(1.03);
        opacity: 1;
    }

    84% {
        transform: translate3d(-1.5px, 1.6px, 0) scale(1.01);
        opacity: 0.95;
    }

    91% {
        transform: translate3d(0.4px, -0.3px, 0) scale(1);
        opacity: 0.82;
    }
}

/* =========================================================================
   13. RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================= */
@media (max-width: 960px) {
    :root {
        --navbar-height: 64px;
    }

    .navbar-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        height: var(--navbar-height);
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .navbar-brand {
        flex: 0 1 auto;
        max-width: calc(100% - 56px);
        margin-right: auto;
    }

    .brand-logo {
        height: 40px;
        max-width: 195px;
    }

    .navbar-actions {
        display: flex;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .btn-mobile-toggle {
        display: flex;
    }

    /* Sidebar Lateral Direita acionada pelo botão 3 barras */
    .navbar-nav {
        position: fixed;
        top: calc(var(--navbar-height) + 3px);
        right: 0;
        left: auto;
        width: min(80vw, 310px);
        height: calc(100dvh - var(--navbar-height) - 3px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-left: 2px solid var(--fg-borda);
        box-shadow: -12px 0 36px rgba(0, 39, 118, 0.16);
        padding: 1.75rem 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        transform: translateX(105%);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.32s ease;
        z-index: 115;
    }

    .navbar-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: calc(var(--navbar-height) + 3px) 0 0 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        z-index: 110;
    }

    .mobile-sidebar-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .glass-side-frame {
        display: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.45rem;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--fg-azul-suave);
        color: var(--fg-azul);
    }

    .hero-trust-cards,
    .servicos-pilares-grid,
    .contato-profile-grid,
    .book-container {
        grid-template-columns: 1fr;
    }

    .profile-image-col {
        max-width: 360px;
        margin: 0 auto;
    }

    .book-sidebar {
        position: static;
    }

    .workflow-steps-grid,
    .nr-grid {
        grid-template-columns: 1fr;
    }

    .brand-partner-badge {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: var(--radius-md);
        padding: 0.85rem 1.25rem;
    }

    .brand-partner-divider {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero-actions-row {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .card-metric-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .metric-price-tag {
        text-align: left;
    }

    .servicos-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   14. REDUÇÃO DO ESPAÇAMENTO VERTICAL MOBILE ENTRE SEÇÕES (HERO E SERVIÇOS)
   Ajuste fino milimétrico atendendo à proporção destacada em vermelho
   ========================================================================= */
@media (max-width: 768px) {
    .section-hero {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .hero-container {
        gap: 1.15rem;
    }

    .hero-trust-cards {
        margin-top: 1.15rem;
        gap: 0.75rem;
    }

    .section-servicos {
        padding-top: 1.25rem;
        padding-bottom: 2.25rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .servicos-pilares-grid {
        gap: 1rem;
        margin-bottom: 1.75rem;
    }
}

/* =========================================================================
   15. ENGINE 3D REAL ACELERADA POR GPU (PROFUNDIDADE Z & TILT INTERATIVO)
   Contêineres com perspective: 1400px e preserve-3d (sem conflito de transition)
   ========================================================================= */
.main-institutional-wrapper,
.page-exclusive-wrapper {
    perspective: 1400px;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1 0 auto;
    min-height: auto;
}

.page-exclusive-wrapper {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
    padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .main-institutional-wrapper,
    .page-exclusive-wrapper {
        perspective: none;
        transform-style: flat;
        transform: none;
    }

    .tilt-card-3d,
    .glass-card-smoke.tilt-card-3d,
    .reveal-3d-node.is-revealed.tilt-card-3d,
    .glass-card-smoke:hover {
        transform: none !important;
        transform-style: flat !important;
        will-change: auto;
    }
}

/* Surgimento em Profundidade Z no Scroll */
.reveal-3d-node {
    opacity: 0;
    transform: translate3d(0, 70px, -220px) rotateX(16deg) scale(0.90);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.reveal-3d-node.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
}

/* Tilt 3D Interativo no Cursor: neutraliza transition lenta do CSS durante o hover para evitar tremor/salto */
.tilt-card-3d,
.glass-card-smoke.tilt-card-3d,
.reveal-3d-node.is-revealed.tilt-card-3d {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.35s ease, background-color 0.3s ease;
}

.tilt-card-3d:hover,
.glass-card-smoke.tilt-card-3d:hover,
.reveal-3d-node.is-revealed.tilt-card-3d:hover {
    transition: transform 0.06s linear, box-shadow 0.35s ease, background-color 0.3s ease;
}

/* =========================================================================
   16. COMPONENTE GLOBAL: MODAL LGPD & CDC (SEM COOKIES)
   Sobreposição total de tela (z-index 9999) com backdrop-filter blur
   ========================================================================= */
.modal-lgpd-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2vw, 2rem);
    overflow-y: auto;
}

.modal-lgpd-backdrop.is-open {
    display: flex;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-lgpd-container {
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 60px rgba(0, 39, 118, 0.35);
}

.modal-lgpd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--fg-borda);
    background: var(--fg-superficie-alt);
}

.modal-lgpd-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fg-azul);
}

.btn-close-modal {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--fg-borda);
    background: #FFFFFF;
    color: var(--fg-texto-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-modal:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
    transform: rotate(90deg);
}

.modal-lgpd-title-area {
    padding: 1.25rem 1.5rem 0.5rem 1.5rem;
}

.modal-lgpd-title {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.25;
}

.modal-lgpd-subtitle {
    font-size: 0.875rem;
    color: var(--fg-texto-muted);
    font-weight: 600;
    margin-top: 0.25rem;
}

.modal-lgpd-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    overflow-y: auto;
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--fg-texto);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.legal-highlight-box {
    display: flex;
    gap: 1rem;
    background: rgba(0, 156, 59, 0.08);
    border: 1px solid rgba(0, 156, 59, 0.25);
    border-left: 5px solid var(--fg-verde);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
}

.highlight-shield {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.highlight-text strong {
    color: var(--fg-verde-escuro);
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.legal-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--fg-azul);
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed var(--fg-borda);
    padding-bottom: 0.35rem;
}

.legal-list {
    margin-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.legal-sublist {
    margin-left: 1.25rem;
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.controlador-card {
    background: var(--fg-superficie-alt);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.15rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.modal-lgpd-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--fg-borda);
    background: var(--fg-superficie-alt);
    display: flex;
    justify-content: flex-end;
}

.btn-modal-accept {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--fg-verde);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 156, 59, 0.3);
    transition: all 0.2s ease;
}

.btn-modal-accept:hover {
    background: var(--fg-verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 156, 59, 0.4);
}

/* Gatilho Capítulo 0 no sumário lateral */
.item-capitulo-zero .trigger-lgpd-modal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 156, 59, 0.3);
    background: rgba(0, 156, 59, 0.05);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.item-capitulo-zero .trigger-lgpd-modal:hover {
    background: rgba(0, 156, 59, 0.12);
    border-color: var(--fg-verde);
    transform: translateX(4px);
}

.highlight-zero {
    color: var(--fg-verde-escuro) !important;
    font-weight: 800;
}

/* =========================================================================
   17. ESTILOS DO SIMULADOR SOLAR GUIADO (simulacao.php)
   ========================================================================= */
.simulador-stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.stepper-step.active,
.stepper-step.completed {
    opacity: 1;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fg-superficie-alt);
    border: 2px solid var(--fg-borda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--fg-texto-muted);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.stepper-step.active .step-circle {
    background: var(--fg-verde);
    border-color: var(--fg-verde);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(0, 156, 59, 0.45);
}

.stepper-step.completed .step-circle {
    background: var(--fg-azul);
    border-color: var(--fg-azul);
    color: #FFFFFF;
}

.step-info {
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--fg-texto);
}

.step-sub {
    font-size: 0.75rem;
    color: var(--fg-texto-muted);
}

.stepper-line {
    flex: 1;
    height: 3px;
    background: var(--fg-borda);
    margin: 0 1rem;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.stepper-line.completed {
    background: linear-gradient(90deg, var(--fg-verde), var(--fg-azul));
}

.simulador-card-wrapper {
    border-radius: var(--radius-lg);
    padding: clamp(1.35rem, 3vw, 2.25rem);
    margin-bottom: 0;
}

.simulador-step-panel {
    display: none;
}

.simulador-step-panel.is-active {
    display: block;
    animation: panelSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--fg-borda);
    padding-bottom: 1.25rem;
}

.panel-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--fg-texto);
    margin-bottom: 0.35rem;
}

.panel-subtitle {
    font-size: 0.95rem;
    color: var(--fg-texto-muted);
    line-height: 1.5;
}

/* Formulário e Inputs */
.form-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-grid-3col {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fg-texto);
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    color: var(--fg-texto);
    font-size: 0.925rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--fg-verde);
    box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.15);
}

.field-error-msg {
    display: none;
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: 700;
}

.has-error .form-input,
.has-error .form-select {
    border-color: #dc2626;
    background-color: #fffaf0;
}

.has-error .field-error-msg {
    display: block;
}

/* Checkbox Customizado */
.form-checkbox-group {
    margin: 1.5rem 0;
}

.custom-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--fg-borda);
    border-radius: 4px;
    background: #FFFFFF;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.custom-checkbox-container:hover input~.checkmark {
    border-color: var(--fg-verde);
}

.custom-checkbox-container input:checked~.checkmark {
    background-color: var(--fg-verde);
    border-color: var(--fg-verde);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.custom-checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-label-text {
    font-size: 0.875rem;
    color: var(--fg-texto);
    line-height: 1.45;
}

.btn-text-modal-link {
    background: none;
    border: none;
    color: var(--fg-azul);
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    display: inline;
}

.btn-text-modal-link:hover {
    color: var(--fg-verde-escuro);
}

/* Botões de Passos */
.panel-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.panel-actions-row.right-align {
    justify-content: flex-end;
}

.panel-actions-row.space-between {
    justify-content: space-between;
}

.btn-step-next {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--fg-verde);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 156, 59, 0.3);
    transition: all 0.2s ease;
}

.btn-step-next:hover {
    background: var(--fg-verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 156, 59, 0.4);
}

.btn-step-prev {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--fg-superficie-alt);
    color: var(--fg-texto-muted);
    border: 1px solid var(--fg-borda);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-step-prev:hover {
    background: #FFFFFF;
    color: var(--fg-texto);
}

/* Métricas da Etapa 2 */
.metrics-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.metric-card {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fg-texto-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.metric-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--fg-texto);
}

.text-yellow {
    color: #b45309;
}

.text-green {
    color: var(--fg-verde-escuro);
}

.text-blue {
    color: var(--fg-azul);
}

.metric-hint {
    font-size: 0.75rem;
    color: var(--fg-texto-muted);
    margin-top: 0.35rem;
}

.target-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.target-input {
    width: 140px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--fg-azul);
    padding: 0.25rem 0.5rem;
    border: 2px solid var(--fg-azul);
    border-radius: var(--radius-sm);
    outline: none;
}

.target-unit {
    font-size: 1rem;
    font-weight: 800;
    color: var(--fg-azul);
}

/* Sugestão Pico + 50% */
.sugestao-action-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    border-left: 4px solid var(--fg-amarelo);
}

.sugestao-text strong {
    color: #92400e;
    font-size: 0.95rem;
}

.sugestao-text p {
    font-size: 0.85rem;
    color: var(--fg-texto-muted);
    margin-top: 0.2rem;
}

.btn-sugestao-pico {
    flex-shrink: 0;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.875rem;
    padding: 0.75rem 1.35rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    transition: all 0.2s ease;
}

.btn-sugestao-pico:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

/* Gráfico em Barras dos 12 Meses */
.chart-bars-container {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--fg-texto);
}

.chart-legend {
    font-size: 0.75rem;
    color: var(--fg-texto-muted);
}

.chart-bars-viewport {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: flex-end;
    gap: 0.5rem;
    height: 160px;
    padding-top: 1.5rem;
    border-bottom: 2px solid var(--fg-borda);
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.bar-val-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--fg-texto-muted);
    margin-bottom: 0.25rem;
}

.bar-fill {
    width: 100%;
    max-width: 32px;
    background: linear-gradient(180deg, var(--fg-verde) 0%, var(--fg-azul) 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 4px;
}

.bar-month-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--fg-texto-muted);
    margin-top: 0.35rem;
}

/* Grade de Inputs dos 12 Meses */
.months-inputs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.month-input-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.month-input-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fg-texto-muted);
}

.month-input-field {
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-sm);
    text-align: right;
    outline: none;
}

.month-input-field:focus {
    border-color: var(--fg-verde);
}

/* Etapa 3: Toolbar de Cargas e Tabela */
.loads-toolbar {
    margin-bottom: 1.25rem;
}

.loads-presets-picker {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.loads-picker-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fg-texto);
}

.select-compact {
    max-width: 380px;
}

.btn-add-load {
    background: var(--fg-azul);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-add-load:hover {
    background: var(--fg-azul-escuro);
}

.table-responsive-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.loads-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.loads-table th {
    background: var(--fg-superficie-alt);
    color: var(--fg-texto-muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--fg-borda);
}

.loads-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--fg-borda);
    vertical-align: middle;
}

.loads-table .load-res-val {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--fg-verde-escuro);
    text-align: right;
}

.btn-del-load {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.75rem;
    transition: all 0.15s ease;
}

.btn-del-load:hover {
    background: #fecaca;
}

.loads-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.loads-summary-card {
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.summary-card-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fg-texto-muted);
    margin-bottom: 0.25rem;
}

.summary-card-val {
    font-size: 1.55rem;
    font-weight: 800;
}

/* =========================================================================
   18. PAINEL FINAL DE RESULTADO DO DIMENSIONAMENTO
   Mostra ESTRITAMENTE: Meta em kWh/mês e Potência Estimada em kWp
   ========================================================================= */
.dimensionamento-final-panel {
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    margin: 2.5rem 0 1.5rem 0;
    border-top: 4px solid var(--fg-verde);
}

.result-badge-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.result-tag-badge {
    background: rgba(0, 156, 59, 0.12);
    color: var(--fg-verde-escuro);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
}

.result-city-badge {
    background: rgba(0, 39, 118, 0.10);
    color: var(--fg-azul);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
}

.result-headline {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.result-subtext {
    font-size: 0.95rem;
    color: var(--fg-texto-muted);
    max-width: 720px;
    margin-bottom: 2rem;
}

.result-metrics-showcase {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--fg-borda);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.showcase-metric-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.metric-caption {
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fg-texto-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.metric-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.metric-big-number {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--fg-texto);
}

.metric-unit-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fg-texto-muted);
}

.metric-foot-desc {
    font-size: 0.75rem;
    color: var(--fg-texto-muted);
    margin-top: 0.5rem;
}

.metric-divider-line {
    width: 2px;
    height: 80px;
    background: var(--fg-borda);
}

.engineering-advisory-note {
    display: block;
    background: rgba(255, 223, 0, 0.12);
    border-left: 4px solid var(--fg-amarelo);
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.15rem;
    margin-bottom: 1.25rem;
}

.engineering-advisory-note .advisory-header-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.advisory-icon {
    font-size: 1.1rem;
    line-height: 1;
    flex: 0 0 auto;
}

.engineering-advisory-note .advisory-title-inline {
    color: #92400e;
    font-size: 0.93rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.engineering-advisory-note p,
.advisory-text p {
    font-size: 0.88rem;
    color: var(--fg-texto);
    line-height: 1.5;
    margin: 0;
}

.advisory-text strong {
    color: #92400e;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.final-action-cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.final-wp-external-caption {
    text-align: center;
    margin-bottom: 0.7rem;
}

.final-wp-external-caption .caption-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--fg-texto);
    line-height: 1.35;
}

.final-wp-external-caption .caption-sub {
    display: block;
    font-size: 0.84rem;
    color: var(--fg-texto-muted);
    margin-top: 0.18rem;
    line-height: 1.35;
}

.btn-generate-pdf-wp {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: auto;
    min-width: 210px;
    background: linear-gradient(135deg, var(--fg-verde-escuro) 0%, var(--fg-verde) 100%);
    color: #FFFFFF;
    padding: 0.78rem 1.85rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 156, 59, 0.32);
    transition: all 0.25s ease;
    text-align: center;
}

.btn-generate-pdf-wp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 156, 59, 0.45);
}

.btn-generate-pdf-wp .btn-short-label {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1;
}

.btn-label-stack {
    display: flex;
    flex-direction: column;
}

.btn-main-label {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.btn-sub-label {
    font-size: 0.775rem;
    opacity: 0.92;
    margin-top: 0.15rem;
}

/* Responsividade específica do Simulador */
@media (max-width: 991px) {
    .simulador-stepper-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stepper-line {
        display: none;
    }

    .form-grid-2col,
    .form-grid-3col {
        grid-template-columns: 1fr;
    }

    .metrics-cards-grid,
    .loads-summary-grid {
        grid-template-columns: 1fr;
    }

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

    .result-metrics-showcase {
        flex-direction: column;
    }

    .metric-divider-line {
        width: 80%;
        height: 1px;
    }
}

@media (max-width: 575px) {
    .months-inputs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sugestao-action-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-sugestao-pico {
        width: 100%;
        text-align: center;
    }

    .btn-generate-pdf-wp {
        width: auto;
        min-width: 200px;
        flex-direction: row;
        text-align: center;
        padding: 0.78rem 1.75rem;
    }

    .engineering-advisory-note .advisory-title-inline {
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .panel-actions-row {
        flex-direction: column;
        width: 100%;
    }

    .btn-step-next,
    .btn-step-prev {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   19. CURSOR PERSONALIZADO FÓTON GRID (DESKTOP 50% MENOR + AUTO-AJUSTE)
       E RASTRO LUMINOSO DE TOQUE ESTILO GAME (MOBILE / TOUCH)
   ========================================================================= */
:root {
    --fg-cursor-w: clamp(14px, 0.78vw, 26px);
    --fg-cursor-h: clamp(16px, 0.89vw, 30px);
    --fg-cursor-hotspot-x: clamp(7px, 0.39vw, 13px);
}

@media (hover: hover) and (pointer: fine) {

    html.fg-has-custom-cursor,
    html.fg-has-custom-cursor *,
    html.fg-has-custom-cursor a,
    html.fg-has-custom-cursor button,
    html.fg-has-custom-cursor input,
    html.fg-has-custom-cursor select,
    html.fg-has-custom-cursor textarea,
    html.fg-has-custom-cursor label {
        cursor: none !important;
    }
}

.fg-custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--fg-cursor-w);
    height: var(--fg-cursor-h);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.fg-custom-cursor.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Bloqueio absoluto do ponteiro desktop em dispositivos touch ou modo smartphone */
@media (hover: none),
(pointer: coarse) {
    .fg-custom-cursor {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* Luz dourada suave (#F2A900) proporcional ao tamanho do ponteiro */
.fg-cursor-aura {
    position: absolute;
    inset: -28%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 169, 0, 0.32) 0%, rgba(242, 169, 0, 0.11) 48%, rgba(242, 169, 0, 0) 75%);
    filter: blur(3px);
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fg-cursor-svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 3px rgba(242, 169, 0, 0.55)) drop-shadow(0 1.5px 2.5px rgba(0, 39, 118, 0.25));
    transform-origin: var(--fg-cursor-hotspot-x) 0px;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), filter 0.16s ease;
}

/* Estado ao passar sobre links e botões */
.fg-custom-cursor.is-pointer .fg-cursor-svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px rgba(242, 169, 0, 0.78)) drop-shadow(0 2px 4px rgba(0, 39, 118, 0.30));
}

.fg-custom-cursor.is-pointer .fg-cursor-aura {
    transform: scale(1.28);
    opacity: 0.95;
}

/* Feedback tátil suave no clique */
.fg-custom-cursor.is-clicking .fg-cursor-svg {
    transform: scale(0.88);
}

/* =========================================================================
   20. CANVAS OVERLAY DE LUZ & RASTRO DE TOQUE MOBILE (ESTILO GAME)
   ========================================================================= */
.fg-touch-trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    pointer-events: none;
    z-index: 99998;
    background: transparent;
}