/* =====================================================
   LUMINARES — STYLESHEET PRINCIPAL
   Estrutura modular: tokens → reset → base → componentes → seções
   ===================================================== */


/* =====================================================
   1. DESIGN TOKENS (variáveis CSS)
   ===================================================== */
html {
    overflow-x: clip;
    overflow-y: auto;
    width: 100%;
}
:root {
    /* Paleta de cores */
    --color-white: #FFFFFF;
    --color-blue-soft: #CCECFB;
    --color-blue-tech: #52AFDD;
    --color-blue-deep: #1A5FA8;
    --color-dark: #05161D;
    --color-dark-90: rgba(5, 22, 29, 0.9);
    --color-dark-70: rgba(5, 22, 29, 0.7);
    --color-dark-50: rgba(5, 22, 29, 0.5);
    --color-dark-10: rgba(5, 22, 29, 0.08);
    --color-orange: #EC681B;
    --color-orange-hover: #D85A12;
    --color-orange-soft: #FFF1E6;
    --color-gray-50: #F8FAFB;
    --color-gray-100: #EEF4F7;
    --color-gray-200: #DCE6EB;
    --color-gray-400: #8DA0A8;

    /* Tipografia */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Escala tipográfica fluida */
    --fs-h1: clamp(2.4rem, 5.2vw, 4.25rem);
    --fs-h2: clamp(2rem, 4vw, 3rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-h4: clamp(1.125rem, 1.6vw, 1.25rem);
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-xs: 0.8125rem;

    /* Espaçamentos */
    --space-section: clamp(80px, 10vw, 140px);
    --space-block: clamp(40px, 6vw, 80px);
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Layout */
    --container-max: 1240px;
    --container-padding: clamp(20px, 5vw, 56px);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(5, 22, 29, 0.04), 0 1px 3px rgba(5, 22, 29, 0.04);
    --shadow-md: 0 10px 30px rgba(5, 22, 29, 0.06), 0 4px 12px rgba(5, 22, 29, 0.04);
    --shadow-lg: 0 20px 60px rgba(5, 22, 29, 0.10), 0 8px 24px rgba(5, 22, 29, 0.06);
    --shadow-orange: 0 12px 32px rgba(236, 104, 27, 0.28);
    --shadow-orange-hover: 0 18px 40px rgba(236, 104, 27, 0.36);

    /* Transições */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 180ms var(--ease-out);
    --transition-base: 280ms var(--ease-out);
    --transition-slow: 480ms var(--ease-out);

    /* Header — alturas usadas para compensação do body */
    --header-height: 136px;          /* topbar(44) + navbar(~92) no desktop */
    --header-height-mobile: 72px;    /* somente navbar no mobile (topbar oculta) */
    --topbar-height: 44px;
    --z-header: 100;
    --z-mobile-menu: 200;
    --z-whatsapp: 90;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--color-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    /* >>> FIX: compensa o header agora fixo (não mais sticky) <<< */
    padding-top: var(--header-height);
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(var(--header-height-mobile) + 16px);
    }

    body {
        padding-top: var(--header-height-mobile);
    }
}

/* Garante que o <main> também não permita escape horizontal */
main {
    overflow-x: clip;
    width: 100%;
}

img,
svg {
    max-width: 100%;
    display: block;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    font-weight: 700;
}

/* Bloqueio de scroll quando menu mobile aberto */
body.no-scroll {
    overflow: hidden;
}

/* Seleção de texto */
::selection {
    background-color: var(--color-orange);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-orange);
    color: var(--color-white);
}

/* Estados de foco refinados (acessibilidade premium) */
:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn:focus-visible,
.navbar__link:focus-visible,
.mobile-menu__link:focus-visible,
.footer__nav-list a:focus-visible {
    outline-offset: 4px;
}

/* Scrollbar customizada (WebKit) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background-color: var(--color-gray-50);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-gray-200);
    border-radius: var(--radius-pill);
    border: 3px solid var(--color-gray-50);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-gray-400);
}


/* =====================================================
   3. UTILITÁRIOS DE LAYOUT
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


/* =====================================================
   4. BOTÕES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-base);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn__icon--right {
    margin-left: 2px;
}

/* Variante primária — laranja sólido */
.btn--primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
    background-color: var(--color-orange-hover);
    box-shadow: var(--shadow-orange-hover);
}

/* Variante ghost — transparente com hover sutil */
.btn--ghost {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark-10);
}

.btn--ghost:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

/* Tamanhos */
.btn--sm {
    padding: 11px 20px;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 18px 34px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}


/* =====================================================
   5. HEADER + TOP BAR
   >>> FIX PRINCIPAL: position: fixed em vez de sticky <<<
   O sticky estava sendo quebrado pela combinação de
   overflow-x: clip no html + contain: paint aplicado
   no próprio header. Trocando para fixed, o header
   permanece visível em TODA a página, no desktop e
   especialmente no mobile (onde o sticky falhava).
   ===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-header);
    background-color: var(--color-white);
    transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.92);
}

/* Top bar */
.topbar {
    background-color: var(--color-dark);
    color: var(--color-white);
    font-size: var(--fs-xs);
    padding: 11px 0;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.topbar__info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.topbar__item--accent {
    color: var(--color-white);
    font-weight: 700;
}

.topbar__icon {
    width: 14px;
    height: 14px;
    color: var(--color-blue-tech);
    flex-shrink: 0;
}

.topbar__item--accent .topbar__icon {
    color: var(--color-orange);
}

.topbar__divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.18);
}

/* Esconde top bar em mobile */
@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Navbar */
.navbar {
    padding: 18px 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

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

.navbar__logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
}

.navbar__link {
    display: inline-block;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-dark);
    border-radius: var(--radius-pill);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    position: relative;
}

.navbar__link:hover {
    color: var(--color-orange);
    background-color: var(--color-orange-soft);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* Hamburger */
.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.navbar__toggle:hover {
    background-color: var(--color-gray-100);
}

.navbar__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 2px;
    margin: 0 auto;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Responsivo da navbar */
@media (max-width: 1024px) {
    .navbar__menu {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__actions .btn span {
        display: none;
    }

    .navbar__actions .btn {
        padding: 11px 14px;
    }
}

@media (max-width: 540px) {
    .navbar__logo {
        height: 42px;
    }

    .navbar {
        padding: 14px 0;
    }
}


/* =====================================================
   6. MENU MOBILE (drawer)
   ===================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-menu);
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 22, 29, 0.45);
    opacity: 0;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
}

.mobile-menu.is-open .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(380px, 88vw);
    background-color: var(--color-white);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(5, 22, 29, 0.15);
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu__logo {
    height: 40px;
    width: auto;
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: background-color var(--transition-fast);
}

.mobile-menu__close:hover {
    background-color: var(--color-gray-100);
}

.mobile-menu__close svg {
    width: 22px;
    height: 22px;
}

.mobile-menu__list {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.mobile-menu__link {
    display: block;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-dark);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__link:hover {
    background-color: var(--color-orange-soft);
    color: var(--color-orange);
}

.mobile-menu__footer {
    padding: 20px 24px 28px;
    border-top: 1px solid var(--color-gray-100);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu__contact {
    text-align: center;
    color: var(--color-dark-70);
    font-size: var(--fs-small);
    font-weight: 600;
}


/* =====================================================
   7. HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    padding: clamp(20px, 3vw, 50px) 0 clamp(70px, 5vw, 120px);
    background: linear-gradient(180deg, var(--color-white) 0%, #F4FAFD 100%);
    overflow: hidden;
    isolation: isolate;
}
/* Decoração de fundo */
.hero__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
}

.hero__glow--orange {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
    top: -120px;
    right: -100px;
    opacity: 0.18;
}

.hero__glow--blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-blue-tech) 0%, transparent 70%);
    bottom: -200px;
    left: -150px;
    opacity: 0.25;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(82, 175, 221, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(82, 175, 221, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Grid do conteúdo */
.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.hero__content {
    max-width: 620px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-blue-soft);
    color: var(--color-blue-deep);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(236, 104, 27, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(236, 104, 27, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(236, 104, 27, 0.1); }
}

.hero__title {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    color: var(--color-dark);
}

.hero__title-highlight {
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline;
}

.hero__subtitle {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.65;
    color: var(--color-dark-70);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-dark-70);
}

.hero__trust-icon {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
    flex-shrink: 0;
}

/* Visual lado direito */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGEM CINEMATOGRÁFICA DA HERO */
.hero__image {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(5, 22, 29, 0.25),
        0 12px 32px rgba(236, 104, 27, 0.15);
    isolation: isolate;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a1820 100%);
    transform: translateY(0);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.hero__image:hover {
    transform: translateY(-6px);
    box-shadow:
        0 40px 100px rgba(5, 22, 29, 0.32),
        0 16px 40px rgba(236, 104, 27, 0.22);
}

.hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease-out);
    filter: saturate(1.05) contrast(1.05);
}

.hero__image:hover img {
    transform: scale(1.04);
    filter: saturate(1.15) contrast(1.08);
}

/* Glow decorativo cinematográfico */
.hero__image-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at top right, rgba(236, 104, 27, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(82, 175, 221, 0.10) 0%, transparent 50%),
        linear-gradient(180deg, transparent 60%, rgba(5, 22, 29, 0.25) 100%);
    z-index: 1;
}

/* Borda sutil com gradiente luminoso */
.hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(236, 104, 27, 0.4), rgba(255, 255, 255, 0.1), rgba(82, 175, 221, 0.3));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* Responsividade — mantém retrato (portrait) em todas as telas */
@media (max-width: 960px) {
    .hero__image {
        max-width: 420px;
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 540px) {
    .hero__image {
        max-width: 320px;
        aspect-ratio: 4 / 5;
    }
}

.hero__card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 36px;
    background: linear-gradient(160deg, var(--color-white) 0%, #FAFCFE 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-100);
    z-index: 2;
}

.hero__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hero__card-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--color-orange-soft);
    color: var(--color-orange);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero__card-trend {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
}

.hero__card-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    font-family: var(--font-display);
    line-height: 1;
}

.hero__card-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-70);
}

.hero__card-number {
    font-size: clamp(2.75rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.03em;
}

.hero__card-period {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark-50);
}

.hero__card-label {
    font-size: var(--fs-small);
    color: var(--color-dark-70);
    line-height: 1.5;
}

.hero__card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gray-200), transparent);
    margin: 24px 0;
}

.hero__card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hero__card-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__card-stat strong {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

.hero__card-stat span {
    font-size: var(--fs-xs);
    color: var(--color-dark-50);
    font-weight: 500;
}

/* Card flutuante decorativo */
.hero__floating {
    position: absolute;
    bottom: -32px;
    left: -28px;
    z-index: 3;
    animation: float-up 4s ease-in-out infinite;
}

@keyframes float-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero__floating-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
}

.hero__floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.hero__floating-icon svg {
    width: 22px;
    height: 22px;
}

.hero__floating-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-dark);
}

.hero__floating-card span {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-dark-50);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-dark-50);
}

.hero__scroll-text {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, var(--color-orange), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Responsivo do hero */
@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero__content {
        text-align: center;
        margin: 0 auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        margin-top: 20px;
    }

    .hero__scroll {
        display: none;
    }
}

@media (max-width: 540px) {
    .hero {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero__card {
        padding: 28px 24px;
    }

    .hero__floating {
        left: -8px;
        bottom: -24px;
    }

    .hero__floating-card {
        padding: 12px 16px;
        gap: 10px;
    }

    .hero__floating-icon {
        width: 38px;
        height: 38px;
    }

    .hero__cta .btn {
        width: 100%;
    }
}


/* =====================================================
   8. BARRA DE DESTAQUES
   ===================================================== */
.highlights {
    padding: clamp(40px, 5vw, 60px) 0;
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.highlights__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 56px);
    background: linear-gradient(135deg, var(--color-dark) 0%, #0A2530 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.18);
    position: relative;
    overflow: hidden;
}

.highlights__grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 0%, rgba(236, 104, 27, 0.15), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(82, 175, 221, 0.18), transparent 50%);
    pointer-events: none;
}

.highlights__item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.highlights__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(236, 104, 27, 0.18) 0%, rgba(236, 104, 27, 0.06) 100%);
    border: 1px solid rgba(236, 104, 27, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlights__icon {
    width: 26px;
    height: 26px;
    color: var(--color-orange);
}

.highlights__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.highlights__number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.highlights__label {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    line-height: 1.3;
}

.highlights__divider {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    flex-shrink: 0;
}

/* Responsivo dos destaques */
@media (max-width: 960px) {
    .highlights__grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .highlights__item {
        flex: 0 1 calc(50% - var(--space-lg));
        min-width: 220px;
    }

    .highlights__divider {
        display: none;
    }
}

@media (max-width: 540px) {
    .highlights__grid {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .highlights__item {
        flex: 1;
        width: 100%;
    }
}


/* =====================================================
   9. BOTÃO FLUTUANTE WHATSAPP
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    z-index: var(--z-whatsapp);
    transition: transform var(--transition-base), box-shadow var(--transition-base), opacity 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    pointer-events: none;
}

.whatsapp-float.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__icon {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
}

.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 540px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float__icon {
        width: 26px;
        height: 26px;
    }
}


/* =====================================================
   10. COMPONENTES REUTILIZÁVEIS DE SEÇÃO
   ===================================================== */

/* Eyebrow / kicker */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-blue-soft);
    color: var(--color-blue-deep);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(236, 104, 27, 0.2);
}

.eyebrow--alert {
    background-color: var(--color-orange-soft);
    color: var(--color-orange);
}

.eyebrow__dot--alert {
    background-color: var(--color-orange);
}

/* Cabeçalho de seção */
.section-header {
    margin-bottom: clamp(48px, 6vw, 72px);
}

.section-header--center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 18px 0 18px;
    color: var(--color-dark);
}

.section-intro {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-dark-70);
}

/* Helpers de cor */
.text-orange {
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* =====================================================
   11. SEÇÃO DE PROBLEMA / DOR FINANCEIRA
   ===================================================== */
.problem {
    position: relative;
    padding: var(--space-section) 0;
    background-color: var(--color-blue-soft);
    overflow: hidden;
    isolation: isolate;
}

.problem__pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(82, 175, 221, 0.18), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(236, 104, 27, 0.08), transparent 45%);
}

.problem__pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(5, 22, 29, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 22, 29, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.problem__layout {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: stretch;
}

/* Card de estatística (lado esquerdo) */
.problem__stat {
    position: relative;
    padding: clamp(32px, 4vw, 48px);
    background: linear-gradient(160deg, var(--color-dark) 0%, #0A2A38 100%);
    border-radius: var(--radius-xl);
    color: var(--color-white);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.20);
}

.problem__stat::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.20), transparent 70%);
    pointer-events: none;
}

.problem__stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.problem__stat-tag {
    display: inline-block;
    padding: 7px 14px;
    background-color: rgba(236, 104, 27, 0.18);
    border: 1px solid rgba(236, 104, 27, 0.36);
    color: var(--color-orange);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.problem__stat-arrow {
    width: 32px;
    height: 32px;
    color: var(--color-orange);
}

.problem__stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.problem__stat-plus,
.problem__stat-percent {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-orange);
}

.problem__stat-number {
    font-size: clamp(4.5rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--color-white) 0%, #B8D8E5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.problem__stat-desc {
    font-size: var(--fs-body);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.problem__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.problem__list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.problem__list-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
    flex-shrink: 0;
    padding: 3px;
    background-color: rgba(236, 104, 27, 0.18);
    border-radius: 50%;
    box-sizing: content-box;
}

/* Cards de pontos de dor (lado direito) */
.problem__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.problem-card {
    padding: 26px 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 32px rgba(5, 22, 29, 0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(5, 22, 29, 0.12);
}

.problem-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-orange-soft) 0%, #FFE0CC 100%);
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.problem-card__icon svg {
    width: 26px;
    height: 26px;
}

.problem-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.problem-card__text {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--color-dark-70);
}

/* Bridge de transição para soluções */
.problem__bridge {
    margin-top: clamp(48px, 6vw, 72px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.problem__bridge-text {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

.problem__bridge-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background-color: var(--color-white);
    color: var(--color-orange);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    border: 2px solid var(--color-orange);
    transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
}

.problem__bridge-link:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
}

.problem__bridge-link svg {
    width: 18px;
    height: 18px;
    animation: bounce-down 1.8s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Responsivo da seção de problema */
@media (max-width: 960px) {
    .problem__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .problem__cards {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   12. SEÇÃO DE SOLUÇÕES / SERVIÇOS
   ===================================================== */
.services {
    padding: var(--space-section) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Card padrão */
.service-card {
    position: relative;
    padding: 32px 28px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-blue-tech));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(5, 22, 29, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-blue-soft) 0%, #E8F4FB 100%);
    color: var(--color-blue-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform var(--transition-base);
}

.service-card:hover .service-card__icon {
    transform: scale(1.08) rotate(-4deg);
}

.service-card__icon svg {
    width: 30px;
    height: 30px;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.service-card__text {
    font-size: var(--fs-small);
    line-height: 1.65;
    color: var(--color-dark-70);
    margin-bottom: 22px;
    flex: 1;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-orange);
    transition: gap var(--transition-base);
}

.service-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.service-card__link:hover {
    gap: 10px;
}

.service-card__link:hover svg {
    transform: translateX(4px);
}

/* IMAGEM DE TOPO NOS SERVICE CARDS */
.service-card__media {
    position: relative;
    margin: -32px -28px 24px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F4FB 0%, var(--color-blue-soft) 100%);
    z-index: 0;
}

.service-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out), filter 0.5s var(--ease-out);
    filter: saturate(0.88) brightness(0.97);
}

.service-card:hover .service-card__media img {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(1);
}

.service-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 22, 29, 0.18) 100%);
    pointer-events: none;
}

.service-card::before {
    z-index: 3;
}

/* Ícone com overlap elegante sobre a imagem (apenas cards regulares) */
.service-card:not(.service-card--featured) .service-card__icon {
    margin-top: -34px;
    margin-left: 4px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    border: 3px solid var(--color-white);
    box-shadow: 0 12px 28px rgba(82, 175, 221, 0.22);
}

/* Card em destaque (Energia Solar) */
.service-card--featured {
    grid-column: span 2;
    grid-row: span 2;
    padding: 44px;
    background: linear-gradient(160deg, var(--color-dark) 0%, #0B2837 100%);
    color: var(--color-white);
    border: none;
    position: relative;
}

.service-card--featured .service-card__media {
    margin: -44px -44px 32px;
    aspect-ratio: 21 / 9;
    background: linear-gradient(135deg, #0A2837 0%, var(--color-dark) 100%);
}

.service-card--featured .service-card__media::after {
    background: linear-gradient(180deg, transparent 30%, rgba(5, 22, 29, 0.55) 75%, rgba(5, 22, 29, 0.9) 100%);
}

.service-card--featured .service-card__media img {
    filter: saturate(0.85) brightness(0.82);
}

.service-card--featured:hover .service-card__media img {
    filter: saturate(1) brightness(0.95);
    transform: scale(1.04);
}

@media (max-width: 600px) {
    .service-card__media {
        margin: -32px -28px 22px;
        aspect-ratio: 16 / 9;
    }

    .service-card--featured .service-card__media {
        margin: -32px -24px 28px;
        aspect-ratio: 16 / 9;
    }

    .service-card:not(.service-card--featured) .service-card__icon {
        margin-top: -28px;
    }
}

.service-card--featured::before {
    background: linear-gradient(90deg, var(--color-orange), #FF8A3D);
    height: 4px;
    transform: scaleX(1);
}

.service-card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.30);
}

.service-card__glow {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.25), transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.service-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.service-card__badge {
    display: inline-block;
    padding: 7px 14px;
    background-color: var(--color-orange);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card__icon--lg {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: 0;
}

.service-card__icon--lg svg {
    width: 38px;
    height: 38px;
}

.service-card--featured .service-card__title {
    color: var(--color-white);
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    margin-bottom: 16px;
}

.service-card--featured .service-card__text {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--fs-body);
    margin-bottom: 28px;
}

.service-card__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 22px;
    margin-bottom: 32px;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.service-card__features svg {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
    flex-shrink: 0;
    padding: 3px;
    background-color: rgba(236, 104, 27, 0.18);
    border-radius: 50%;
    box-sizing: content-box;
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background-color: var(--color-orange);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-orange);
    transition: transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
    align-self: flex-start;
}

.service-card__cta:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-hover);
}

.service-card__cta svg {
    width: 18px;
    height: 18px;
}

/* CTA pós-serviços */
.services__cta {
    margin-top: clamp(48px, 6vw, 72px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: clamp(36px, 5vw, 56px);
    background: linear-gradient(135deg, var(--color-blue-soft) 0%, #E8F4FB 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.services__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.10), transparent 60%);
    pointer-events: none;
}

.services__cta-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.services__cta .btn {
    position: relative;
    z-index: 1;
}

/* Responsivo da seção de serviços */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card--featured {
        grid-column: span 2;
        grid-row: auto;
    }

    .service-card__features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card--featured {
        grid-column: auto;
        padding: 32px 24px;
    }

    .service-card__features {
        grid-template-columns: 1fr;
    }

    .service-card__top {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 18px;
    }
}


/* =====================================================
   13. SEÇÃO DE PROCESSO DE ATENDIMENTO
   ===================================================== */
.process {
    padding: var(--space-section) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(82, 175, 221, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(82, 175, 221, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    pointer-events: none;
}

.process__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process__line {
    position: absolute;
    top: 56px;
    left: 12%;
    right: 12%;
    height: 2px;
    background-image: linear-gradient(90deg, transparent 0%, var(--color-orange) 20%, var(--color-blue-tech) 80%, transparent 100%);
    background-size: 200% 100%;
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 16px 12px;
    z-index: 1;
}

.process-step__top {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.process-step__number {
    position: absolute;
    top: -18px;
    right: -22px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-orange);
    background-color: var(--color-orange-soft);
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-white);
    z-index: 2;
    letter-spacing: -0.02em;
}

.process-step__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid var(--color-blue-soft);
    color: var(--color-blue-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(82, 175, 221, 0.18);
    transition: transform var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.process-step:hover .process-step__icon {
    transform: translateY(-4px);
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.process-step__icon svg {
    width: 34px;
    height: 34px;
}

.process-step__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
    letter-spacing: -0.015em;
}

.process-step__text {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--color-dark-70);
    max-width: 220px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .process__line {
        display: none;
    }
}

@media (max-width: 480px) {
    .process__steps {
        grid-template-columns: 1fr;
    }

    .process-step__text {
        max-width: 320px;
    }
}


/* =====================================================
   14. SEÇÃO DE ECONOMIA
   ===================================================== */
.economy {
    position: relative;
    padding: var(--space-section) 0;
    background: linear-gradient(160deg, var(--color-dark) 0%, #0A2C3B 60%, #052230 100%);
    color: var(--color-white);
    overflow: hidden;
    isolation: isolate;
}

.economy__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.economy__glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.25) 0%, transparent 60%);
    top: -200px;
    right: -200px;
    filter: blur(20px);
}

.economy::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.18) 0%, transparent 60%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.economy__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

/* Eyebrow para fundo escuro */
.eyebrow--on-dark {
    background-color: rgba(82, 175, 221, 0.18);
    color: var(--color-blue-tech);
    border: 1px solid rgba(82, 175, 221, 0.3);
}

.economy__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin: 18px 0 24px;
}

.economy__big {
    display: block;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--color-white) 0%, #B8D8E5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.economy__intro {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
    max-width: 540px;
}

.economy__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.economy__metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.economy__metric strong {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--color-orange);
    letter-spacing: -0.02em;
    line-height: 1;
}

.economy__metric span {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    max-width: 180px;
    line-height: 1.4;
}

/* Visual do gráfico */
.economy-chart {
    padding: clamp(28px, 4vw, 40px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.economy-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.economy-chart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.economy-chart__title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.economy-chart__legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    flex-wrap: wrap;
}

.economy-chart__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.economy-chart__dot--red {
    background-color: #E74C3C;
}

.economy-chart__dot--orange {
    background-color: var(--color-orange);
}

.economy-chart__bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    height: 220px;
    align-items: end;
    padding-bottom: 28px;
    position: relative;
}

.economy-chart__bars::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

.economy-chart__bar-group {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
    position: relative;
    height: 100%;
}

.economy-chart__bar {
    width: 26px;
    border-radius: 6px 6px 0 0;
    transition: height 1s var(--ease-out);
    position: relative;
}

.economy-chart__bar--red {
    background: linear-gradient(180deg, #E74C3C 0%, #C0392B 100%);
}

.economy-chart__bar--orange {
    background: linear-gradient(180deg, var(--color-orange) 0%, #B84F0D 100%);
}

.economy-chart__year {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.economy-chart__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.economy-chart__total-label {
    display: block;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 4px;
}

.economy-chart__total-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-orange);
    letter-spacing: -0.025em;
    line-height: 1;
}

.economy-chart__badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(236, 104, 27, 0.4);
}

.economy-chart__badge svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 960px) {
    .economy__layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 540px) {
    .economy__metrics {
        gap: 18px;
    }

    .economy-chart__bar {
        width: 18px;
    }
}


/* =====================================================
   15. SEÇÕES SPOTLIGHT — WALLBOX E BOILER
   ===================================================== */
.spotlight {
    padding: var(--space-section) 0;
    position: relative;
    overflow: hidden;
}

.spotlight--wallbox {
    background-color: var(--color-white);
}

.spotlight--wallbox::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.spotlight--boiler {
    background-color: var(--color-blue-soft);
}

.spotlight--boiler::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.spotlight__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.spotlight--reverse .spotlight__layout {
    /* Layout invertido feito via ordem dos elementos no HTML */
}

.spotlight__content {
    max-width: 560px;
}

.spotlight__title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 18px 0 22px;
    color: var(--color-dark);
}

.spotlight__text {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-dark-70);
    margin-bottom: 30px;
}

.spotlight__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.spotlight__features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: var(--fs-body);
    color: var(--color-dark);
    font-weight: 500;
}

.spotlight__features strong {
    font-weight: 700;
}

.spotlight__features svg {
    width: 20px;
    height: 20px;
    color: var(--color-orange);
    flex-shrink: 0;
    padding: 4px;
    background-color: var(--color-orange-soft);
    border-radius: 50%;
    box-sizing: content-box;
}

/* Spotlight card (visual) */
.spotlight-card {
    position: relative;
    padding: 36px 32px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.spotlight-card--dark {
    background: linear-gradient(160deg, var(--color-dark) 0%, #0A2837 100%);
    color: var(--color-white);
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.20);
}

.spotlight-card--dark::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.18), transparent 70%);
    pointer-events: none;
}

.spotlight-card--light {
    background: linear-gradient(160deg, var(--color-white) 0%, #FAFCFE 100%);
    color: var(--color-dark);
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.10);
    border: 1px solid rgba(82, 175, 221, 0.18);
}

.spotlight-card--light::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.12), transparent 70%);
    pointer-events: none;
}

.spotlight-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.spotlight-card__tag {
    display: inline-block;
    padding: 7px 14px;
    background-color: rgba(236, 104, 27, 0.18);
    color: var(--color-orange);
    border: 1px solid rgba(236, 104, 27, 0.36);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spotlight-card__tag--light {
    background-color: var(--color-orange-soft);
    border-color: rgba(236, 104, 27, 0.25);
}

.spotlight-card__brand {
    width: 28px;
    height: 28px;
    color: var(--color-orange);
}

.spotlight-card__brand--light {
    color: var(--color-orange);
}

.spotlight-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin-bottom: 28px;
}

/* Variante com FOTO real (substitui SVG decorativo) */
.spotlight-card__visual--photo {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #1a2a30 0%, #0a1820 100%);
}

.spotlight-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 1s var(--ease-out), filter 0.5s var(--ease-out);
    filter: saturate(1.05) contrast(1.05);
}

.spotlight-card:hover .spotlight-card__photo {
    transform: scale(1.06);
    filter: saturate(1.15) contrast(1.1);
}

/* Glow laranja sutil mantém personalidade visual */
.spotlight-card__visual--photo .spotlight-card__pulse,
.spotlight-card__visual--photo .spotlight-card__heat {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 0;
    mix-blend-mode: overlay;
    opacity: 0.4;
    z-index: 1;
}

/* Overlay gradient para integrar com o card e dar profundidade */
.spotlight-card__visual--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg,
        transparent 50%,
        rgba(5, 22, 29, 0.45) 100%);
    pointer-events: none;
}

/* Borda luminosa sutil */
.spotlight-card__visual--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(236, 104, 27, 0.32), rgba(255, 255, 255, 0.08), rgba(82, 175, 221, 0.20));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Variante Thermal — preserva escala de temperatura sobreposta */
.spotlight-card__visual--thermal.spotlight-card__visual--photo .thermal-scale {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    padding: 6px 12px;
    background: rgba(5, 22, 29, 0.65);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

@media (max-width: 540px) {
    .spotlight-card__visual--photo {
        aspect-ratio: 16 / 10;
    }
}

.spotlight-card__hero-icon {
    width: 160px;
    height: 160px;
    color: var(--color-orange);
    position: relative;
    z-index: 2;
}

.spotlight-card__hero-icon--light {
    color: var(--color-blue-deep);
}

.spotlight-card__pulse {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.25), transparent 70%);
    animation: pulse-glow 3.2s ease-in-out infinite;
}

.spotlight-card__heat {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.18) 0%, rgba(82, 175, 221, 0.10) 60%, transparent 80%);
    animation: pulse-glow 3.2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.spotlight-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    z-index: 1;
}

.spotlight-card--light .spotlight-card__stats {
    border-top-color: rgba(5, 22, 29, 0.08);
}

.spotlight-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spotlight-card__stat strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-orange);
    letter-spacing: -0.02em;
    line-height: 1;
}

.spotlight-card__stat span {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    line-height: 1.3;
}

.spotlight-card__stat--light span {
    color: var(--color-dark-50);
}

/* Responsivo das spotlights */
@media (max-width: 960px) {
    .spotlight__layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* No mobile, sempre coloca o card visual primeiro */
    .spotlight--reverse .spotlight__content {
        order: 2;
    }

    .spotlight--reverse .spotlight__visual {
        order: 1;
    }
}

@media (max-width: 540px) {
    .spotlight-card {
        padding: 28px 22px;
    }

    .spotlight-card__visual {
        height: 180px;
    }

    .spotlight-card__hero-icon {
        width: 130px;
        height: 130px;
    }

    .spotlight-card__pulse,
    .spotlight-card__heat {
        width: 200px;
        height: 200px;
    }

    .spotlight-card__stats {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .spotlight-card__stat:last-child {
        grid-column: span 2;
    }
}


/* =====================================================
   16. SPOTLIGHT — AUTOMAÇÃO (variante tech)
   ===================================================== */
.spotlight--automation {
    background: linear-gradient(180deg, var(--color-white) 0%, #F4FAFD 100%);
}

.spotlight--automation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(82, 175, 221, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(82, 175, 221, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at right center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at right center, black 20%, transparent 70%);
    pointer-events: none;
}

.spotlight-card--tech {
    background: linear-gradient(160deg, #06222F 0%, #0E3A4F 100%);
}

.spotlight-card--tech::after {
    background: radial-gradient(circle, rgba(82, 175, 221, 0.30), transparent 70%);
}

.spotlight-card__tag--tech {
    background-color: rgba(82, 175, 221, 0.18);
    color: var(--color-blue-tech);
    border-color: rgba(82, 175, 221, 0.4);
}

.spotlight-card__brand--tech {
    color: var(--color-blue-tech);
}

.spotlight-card__pulse--tech {
    background: radial-gradient(circle, rgba(82, 175, 221, 0.25), transparent 70%);
}

.automation-house {
    width: 280px;
    max-width: 100%;
    height: auto;
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.automation-house circle[fill="#52AFDD"],
.automation-house circle[stroke="#52AFDD"] {
    animation: pulse-dot-fade 2s ease-in-out infinite;
}

.automation-house circle[fill="#EC681B"],
.automation-house circle[stroke="#EC681B"] {
    animation: pulse-dot-fade 2s ease-in-out infinite 0.8s;
}

@keyframes pulse-dot-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.spotlight--automation .spotlight-card__visual {
    height: 240px;
}


/* =====================================================
   17. SPOTLIGHT — INSPEÇÃO TERMOGRÁFICA
   ===================================================== */
.spotlight--thermal {
    background: linear-gradient(180deg, var(--color-blue-soft) 0%, #B8DDF0 100%);
}

.spotlight--thermal::before {
    content: '';
    position: absolute;
    top: -120px;
    right: 0px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.20) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(20px);
}

.spotlight-card--thermal {
    background: linear-gradient(160deg, #0A1929 0%, #1A2D4F 100%);
    color: var(--color-white);
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.30);
    position: relative;
    overflow: hidden;
}

.spotlight-card--thermal .spotlight-card__tag {
    background-color: rgba(236, 104, 27, 0.20);
    color: #FFB870;
    border-color: rgba(236, 104, 27, 0.4);
}

.spotlight-card--thermal .spotlight-card__brand {
    color: #FFB870;
}

.spotlight-card--thermal .spotlight-card__stats {
    border-top-color: rgba(255, 255, 255, 0.10);
}

.spotlight-card--thermal .spotlight-card__stat strong {
    color: #FFB870;
}

.spotlight-card--thermal .spotlight-card__stat span {
    color: rgba(255, 255, 255, 0.65);
}

.spotlight-card__visual--thermal {
    height: 240px;
    flex-direction: column;
    gap: 16px;
}

.thermal-map {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-md);
    overflow: visible;
    filter: drop-shadow(0 12px 28px rgba(236, 104, 27, 0.25));
    position: relative;
    z-index: 2;
}

.thermal-scale {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 2;
}

.thermal-scale__bar {
    display: block;
    width: 120px;
    height: 6px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #1A5FA8 0%, #52AFDD 25%, #FFD700 60%, #EC681B 85%, #FFFFFF 100%);
}


/* =====================================================
   18. SEÇÃO DE DIFERENCIAIS
   ===================================================== */
.differentials {
    padding: var(--space-section) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.differentials::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.differentials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

.differential {
    position: relative;
    padding: 36px 30px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}

.differential::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, var(--color-orange-soft), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.differential:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(5, 22, 29, 0.08);
    border-color: var(--color-orange-soft);
}

.differential:hover::before {
    opacity: 1;
}

.differential__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-orange-soft) 0%, #FFE0CC 100%);
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform var(--transition-base);
}

.differential:hover .differential__icon {
    transform: scale(1.08) rotate(-5deg);
}

.differential__icon svg {
    width: 28px;
    height: 28px;
}

.differential__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
    letter-spacing: -0.015em;
}

.differential__text {
    font-size: var(--fs-small);
    line-height: 1.65;
    color: var(--color-dark-70);
}

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

@media (max-width: 540px) {
    .differentials__grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   19. SEÇÃO SOBRE A EMPRESA
   ===================================================== */
.about {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, var(--color-blue-soft) 0%, #E2F0F8 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 60%);
    pointer-events: none;
}

.about__layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about__content {
    max-width: 580px;
}

.about__title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 18px 0 22px;
    color: var(--color-dark);
}

.about__text {
    font-size: clamp(1rem, 1.4vw, 1.0625rem);
    line-height: 1.75;
    color: var(--color-dark-70);
    margin-bottom: 16px;
}

.about__text:last-of-type {
    margin-bottom: 36px;
}

.about__pillars {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.about__pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about__pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(236, 104, 27, 0.28);
}

.about__pillar-icon svg {
    width: 22px;
    height: 22px;
}

.about__pillar strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.about__pillar p {
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--color-dark-70);
    margin: 0;
}

.about__visual {
    position: relative;
}

/* Card visual de Sobre */
.about-card {
    position: relative;
    padding: clamp(32px, 4vw, 44px);
    background: linear-gradient(160deg, var(--color-dark) 0%, #0A2837 100%);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.25);
}

.about-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.20), transparent 70%);
    pointer-events: none;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -30%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.18), transparent 70%);
    pointer-events: none;
}

.about-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.about-card__tag {
    display: inline-block;
    padding: 7px 14px;
    background-color: rgba(236, 104, 27, 0.18);
    color: var(--color-orange);
    border: 1px solid rgba(236, 104, 27, 0.36);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-card__year {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-card__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    z-index: 1;
}

.about-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-card__stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-orange);
    letter-spacing: -0.03em;
    line-height: 1;
}

.about-card__stat-label {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-card__quote {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.about-card__quote-icon {
    width: 26px;
    height: 26px;
    color: var(--color-orange);
    flex-shrink: 0;
    opacity: 0.7;
}

.about-card__quote-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.01em;
    margin: 0;
}

@media (max-width: 960px) {
    .about__layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 540px) {
    .about-card__stats {
        grid-template-columns: 1fr 1fr;
        gap: 22px 18px;
    }
}


/* =====================================================
   20. SEÇÃO DE DEPOIMENTOS / PROVA SOCIAL
   ===================================================== */
.testimonials {
    position: relative;
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, #08202C 50%, #05161D 100%);
    color: var(--color-white);
    overflow: hidden;
    isolation: isolate;
}

.testimonials__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.testimonials__decoration::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.18) 0%, transparent 60%);
    filter: blur(20px);
}

.testimonials__decoration::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.18) 0%, transparent 60%);
    filter: blur(20px);
}

/* Variações para fundo escuro */
.section-header--on-dark {
    /* Hook semântico — fica para futuras customizações */
}

.section-title--light {
    color: var(--color-white);
}

.section-intro--light {
    color: rgba(255, 255, 255, 0.72);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.testimonial {
    position: relative;
    padding: 36px 32px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 8px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 140px;
    font-weight: 800;
    color: var(--color-orange);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 104, 27, 0.3);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.testimonial__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: var(--color-orange);
}

.testimonial__stars svg {
    width: 18px;
    height: 18px;
}

.testimonial__quote {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.testimonial__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(236, 104, 27, 0.32);
}

.testimonial__info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.testimonial__info span {
    display: block;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

@media (max-width: 900px) {
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .testimonial {
        padding: 28px 24px;
    }

    .testimonial::before {
        font-size: 100px;
    }
}


/* =====================================================
   21. SEÇÃO REGIÕES ATENDIDAS
   ===================================================== */
.regions {
    padding: var(--space-section) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.regions::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.regions__layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: stretch;
}

.regions__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.regions__highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.regions__highlight:hover {
    transform: translateX(4px);
    border-color: var(--color-orange-soft);
    box-shadow: 0 12px 32px rgba(5, 22, 29, 0.06);
}

.regions__highlight svg {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
    flex-shrink: 0;
    padding: 8px;
    background: linear-gradient(135deg, var(--color-orange-soft) 0%, #FFE0CC 100%);
    border-radius: var(--radius-md);
    box-sizing: content-box;
}

.regions__highlight strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.regions__highlight p {
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--color-dark-70);
    margin: 0;
}

.regions__cities {
    padding: clamp(32px, 4vw, 44px);
    background: linear-gradient(160deg, var(--color-blue-soft) 0%, #DCEEFB 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.regions__cities::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 65%);
    pointer-events: none;
}

.regions__cities-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.regions__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    position: relative;
    z-index: 1;
}

.regions__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--color-dark);
}

.regions__list li svg {
    width: 14px;
    height: 14px;
    color: var(--color-orange);
    flex-shrink: 0;
    padding: 3px;
    background-color: rgba(236, 104, 27, 0.15);
    border-radius: 50%;
    box-sizing: content-box;
}

.regions__list-more {
    font-style: italic;
    color: var(--color-dark-70);
    font-weight: 500;
}

@media (max-width: 900px) {
    .regions__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .regions__list {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   22. SEÇÃO DE CONTATO + FORMULÁRIO
   ===================================================== */
.contact {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, #F4FAFD 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.contact__layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: stretch;
}

/* Lado: informações de contato */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact__info-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-channel--whatsapp {
    border-color: rgba(37, 211, 102, 0.30);
    background: linear-gradient(135deg, #F0FDF6 0%, var(--color-white) 100%);
}

.contact-channel--whatsapp:hover {
    transform: translateY(-2px);
    border-color: #25D366;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.18);
}

/* Hover dos canais clicáveis (telefone, e-mail) */
a.contact-channel:not(.contact-channel--whatsapp):hover {
    transform: translateY(-2px);
    border-color: var(--color-blue-tech);
    box-shadow: 0 14px 32px rgba(82, 175, 221, 0.18);
}

a.contact-channel:not(.contact-channel--whatsapp):hover .contact-channel__text span {
    color: var(--color-blue-deep);
}

.contact-channel__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #25D366 0%, #1BA851 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-channel__icon--blue {
    background: linear-gradient(135deg, var(--color-blue-tech) 0%, var(--color-blue-deep) 100%);
}

.contact-channel__icon svg {
    width: 24px;
    height: 24px;
}

.contact-channel__text {
    flex: 1;
    min-width: 0;
}

.contact-channel__text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.contact-channel__text span {
    display: block;
    font-size: var(--fs-small);
    color: var(--color-dark-70);
    font-weight: 500;
}

.contact-channel__arrow {
    width: 20px;
    height: 20px;
    color: var(--color-dark-50);
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
}

.contact-channel--whatsapp:hover .contact-channel__arrow {
    color: #25D366;
    transform: translateX(4px);
}

.contact__guarantee {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--color-orange-soft) 0%, #FFE8D6 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(236, 104, 27, 0.18);
}

.contact__guarantee svg {
    width: 32px;
    height: 32px;
    color: var(--color-orange);
    flex-shrink: 0;
}

.contact__guarantee p {
    font-size: var(--fs-small);
    line-height: 1.45;
    color: var(--color-dark);
    font-weight: 500;
    margin: 0;
}

/* Formulário */
.contact-form {
    padding: clamp(32px, 4vw, 44px);
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(5, 22, 29, 0.06);
    border: 1px solid var(--color-gray-200);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}

.form-label span {
    color: var(--color-orange);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    color: var(--color-dark);
    background-color: var(--color-gray-50);
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-orange);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(236, 104, 27, 0.12);
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: rgba(236, 104, 27, 0.5);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-select-wrap {
    position: relative;
}

.form-select {
    cursor: pointer;
    padding-right: 48px;
}

.form-select-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-dark-50);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.form-select:focus + .form-select-icon {
    color: var(--color-orange);
}

.contact-form__notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--color-dark-50);
    font-weight: 500;
    margin: 0;
    text-align: center;
    justify-content: center;
}

.contact-form__notice svg {
    width: 14px;
    height: 14px;
    color: var(--color-orange);
    flex-shrink: 0;
}

/* Mensagem de sucesso após envio (controlada via JS) */
.contact-form__success {
    display: none;
    padding: 20px 24px;
    background: linear-gradient(135deg, #F0FDF6 0%, #DCFCE7 100%);
    border: 1px solid rgba(37, 211, 102, 0.30);
    border-radius: var(--radius-md);
    color: #14532D;
    font-weight: 600;
    text-align: center;
}

.contact-form.is-sent .contact-form__success {
    display: block;
}

@media (max-width: 960px) {
    .contact__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 22px;
    }
}

/* Fix responsividade mobile — impede overflow horizontal na página de contato.
   Causa: no mobile o grid usa 1fr (=minmax(auto,1fr)), que respeita o min-content
   dos itens; o botão .btn (white-space:nowrap) e o e-mail longo forçavam a coluna
   além da largura da tela. Solução: permitir que a trilha e os itens encolham. */
@media (max-width: 640px) {
    .contact__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact__info,
    .contact-form {
        min-width: 0;
    }

    .contact-channel,
    .contact-channel__text {
        min-width: 0;
    }

    .contact-channel__text span {
        overflow-wrap: anywhere;
    }

    .contact-form .btn {
        white-space: normal;
    }

    /* Hero da home: garante que os botões (texto longo, .btn é nowrap)
       quebrem linha em vez de estourar a largura da tela no mobile. */
    .hero__cta .btn {
        white-space: normal;
    }
}


/* =====================================================
   23. CTA FINAL
   ===================================================== */
.cta-final {
    position: relative;
    padding: clamp(80px, 10vw, 130px) 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, #082635 50%, #05161D 100%);
    color: var(--color-white);
    overflow: hidden;
    isolation: isolate;
}

.cta-final__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.cta-final__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-final__glow--left {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.30) 0%, transparent 60%);
    top: -100px;
    left: -150px;
}

.cta-final__glow--right {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.22) 0%, transparent 60%);
    bottom: -200px;
    right: -200px;
}

.cta-final__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.cta-final__inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.cta-final__eyebrow {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(236, 104, 27, 0.20);
    border: 1px solid rgba(236, 104, 27, 0.45);
    color: #FFB870;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.cta-final__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin-bottom: 22px;
}

.cta-final__text {
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 38px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 36px;
}

.cta-final__btn-primary {
    padding: 20px 38px;
    font-size: 1.0625rem;
}

.cta-final__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    background-color: transparent;
    transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.cta-final__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cta-final__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 28px;
}

.cta-final__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-small);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.cta-final__trust svg {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
    flex-shrink: 0;
    padding: 3px;
    background-color: rgba(236, 104, 27, 0.18);
    border-radius: 50%;
    box-sizing: content-box;
}

@media (max-width: 540px) {
    .cta-final__actions .btn,
    .cta-final__actions .cta-final__btn-secondary {
        width: 100%;
    }
}


/* =====================================================
   24. RODAPÉ
   ===================================================== */
.footer {
    background-color: #03101A;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
    opacity: 0.5;
}

.footer__top {
    padding: clamp(60px, 8vw, 90px) 0 clamp(50px, 6vw, 70px);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px 32px;
}

/* Coluna marca */
.footer__brand {
    max-width: 360px;
}

.footer__logo {
    height: 52px;
    width: auto;
    margin-bottom: 22px;
    filter: brightness(1.1);
}

.footer__brand-desc {
    font-size: var(--fs-small);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.footer__social-link:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    transform: translateY(-2px);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

/* Navegação do rodapé */
.footer__nav-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-list a {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
}

.footer__nav-list a:hover {
    color: var(--color-orange);
    padding-left: 4px;
}

/* Contato direto */
.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.footer__contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    font-weight: 500;
}

.footer__contact-list a:hover {
    color: var(--color-orange);
}

.footer__contact-list svg {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
    flex-shrink: 0;
}

.footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #25D366 0%, #1BA851 100%);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-small);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}

.footer__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.footer__cta svg {
    width: 18px;
    height: 18px;
}

/* Bottom bar */
.footer__bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__copy {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    margin: 0;
}

.footer__copy--right {
    text-align: right;
}

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer__brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer__bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .footer__copy--right {
        text-align: center;
    }
}


/* =====================================================
   25. PAGE HERO (faq-videos.html)
   ===================================================== */
.page-hero {
    position: relative;
    padding: clamp(60px, 8vw, 120px) 0 clamp(50px, 6vw, 80px);
    background: linear-gradient(180deg, var(--color-white) 0%, #F4FAFD 100%);
    overflow: hidden;
    isolation: isolate;
}

.page-hero__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.page-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.page-hero__glow--orange {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    opacity: 0.15;
}

.page-hero__glow--blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-blue-tech) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    opacity: 0.22;
}

.page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(82, 175, 221, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(82, 175, 221, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at top, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 75%);
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: var(--fs-xs);
    color: var(--color-dark-50);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--color-dark-70);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-orange);
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
    color: var(--color-dark-50);
}

.breadcrumb span {
    color: var(--color-orange);
    font-weight: 700;
}

.page-hero__content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.page-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 18px 0 22px;
    color: var(--color-dark);
}

.page-hero__subtitle {
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.65;
    color: var(--color-dark-70);
    margin-bottom: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 56px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-200);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.page-hero__stat strong {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-orange);
    letter-spacing: -0.03em;
    line-height: 1;
}

.page-hero__stat span {
    font-size: var(--fs-xs);
    color: var(--color-dark-70);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 540px) {
    .page-hero__stats {
        gap: 24px 32px;
    }
}


/* =====================================================
   26. BARRA DE CATEGORIAS (faq-videos.html)
   ===================================================== */
.categories {
    padding: clamp(28px, 4vw, 40px) 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-100);
}

.categories__inner {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: wrap;
}

.categories__title {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-dark-70);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    flex-shrink: 0;
    margin: 0;
}

.categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--color-gray-50);
    color: var(--color-dark);
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.category-chip svg {
    width: 16px;
    height: 16px;
    color: var(--color-orange);
}

.category-chip:hover {
    background-color: var(--color-orange-soft);
    border-color: rgba(236, 104, 27, 0.3);
    color: var(--color-orange);
    transform: translateY(-2px);
}

.category-chip--active {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    box-shadow: 0 8px 20px rgba(236, 104, 27, 0.28);
}

.category-chip--active:hover {
    background-color: var(--color-orange-hover);
    border-color: var(--color-orange-hover);
    color: var(--color-white);
}

.category-chip--active svg {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .categories__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .categories__list {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 6px;
    }

    .categories__list::-webkit-scrollbar {
        display: none;
    }

    .category-chip {
        flex-shrink: 0;
    }
}


/* =====================================================
   27. GRID DE VÍDEOS (faq-videos.html)
   ===================================================== */
.videos {
    padding: var(--space-section) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.videos::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

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

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(5, 22, 29, 0.10);
    border-color: transparent;
}

/* Container do iframe com aspect-ratio 16:9 */
.video-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-dark);
    overflow: hidden;
}

.video-card__media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-card__body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-card__category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    align-self: flex-start;
}

/* Variantes de categoria (cores distintas) */
.video-card__category--solar {
    background-color: var(--color-orange-soft);
    color: var(--color-orange);
}

.video-card__category--wallbox {
    background-color: rgba(82, 175, 221, 0.18);
    color: var(--color-blue-deep);
}

.video-card__category--boiler {
    background-color: rgba(236, 104, 27, 0.12);
    color: #B84F0D;
}

.video-card__category--automation {
    background-color: rgba(82, 175, 221, 0.18);
    color: var(--color-blue-deep);
}

.video-card__category--economy {
    background-color: rgba(34, 139, 87, 0.14);
    color: #166534;
}

.video-card__category--faq {
    background-color: var(--color-gray-100);
    color: var(--color-dark-70);
}

.video-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--color-dark);
    letter-spacing: -0.015em;
}

.video-card__text {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--color-dark-70);
    margin-bottom: 20px;
    flex: 1;
}

.video-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-orange);
    transition: gap var(--transition-base);
    align-self: flex-start;
}

.video-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-base);
}

.video-card__link:hover {
    gap: 10px;
}

.video-card__link:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 600px) {
    .videos__grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   28. FAQ ACCORDION (faq-videos.html)
   ===================================================== */
.faq {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, #F4FAFD 0%, var(--color-blue-soft) 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.faq__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: flex-start;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item[open] {
    border-color: rgba(236, 104, 27, 0.30);
    box-shadow: 0 12px 32px rgba(5, 22, 29, 0.06);
}

/* Remove a setinha padrão do <summary> */
.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.015em;
    line-height: 1.35;
    list-style: none;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-orange);
}

.faq-item[open] .faq-item__question {
    color: var(--color-orange);
}

.faq-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--color-orange-soft);
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-base), background-color var(--transition-base);
}

.faq-item__icon svg {
    width: 16px;
    height: 16px;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
    background-color: var(--color-orange);
    color: var(--color-white);
}

.faq-item__answer {
    padding: 0 24px 24px;
    animation: faq-fade-in 0.4s var(--ease-out);
}

.faq-item__answer p {
    font-size: var(--fs-small);
    line-height: 1.7;
    color: var(--color-dark-70);
    margin: 0;
}

@keyframes faq-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card lateral de suporte */
.faq__support {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: clamp(32px, 4vw, 40px);
    background: linear-gradient(160deg, var(--color-dark) 0%, #0A2A38 100%);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(5, 22, 29, 0.20);
}

.faq__support::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.20), transparent 70%);
    pointer-events: none;
}

.faq__support-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 12px 28px rgba(236, 104, 27, 0.35);
    position: relative;
    z-index: 1;
}

.faq__support-icon svg {
    width: 28px;
    height: 28px;
}

.faq__support-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.faq__support-text {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.faq__support .btn {
    position: relative;
    z-index: 1;
}

.faq__support-note {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
    margin-top: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .faq__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq__support {
        position: static;
    }
}

@media (max-width: 540px) {
    .faq-item__question {
        font-size: 1rem;
        padding: 18px 20px;
    }

    .faq-item__answer {
        padding: 0 20px 20px;
    }
}


/* Link de navegação ativa (estado) */
.navbar__link--active {
    color: var(--color-orange);
    background-color: var(--color-orange-soft);
}


/* =====================================================
   29. UTILITÁRIOS DE ANIMAÇÃO ON-SCROLL
   ===================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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


/* =====================================================
   30. ACESSIBILIDADE — Reduce motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =====================================================
   31. UTILITÁRIOS GLOBAIS
   ===================================================== */

/* Texto apenas para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Linha decorativa com gradiente (helper) */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gray-200), transparent);
    margin: var(--space-2xl) 0;
    border: none;
}

/* Alinhamentos rápidos */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Visibilidade responsiva */
.hide-mobile {
    display: initial;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: initial;
    }
}


/* =====================================================
   32.1 LAYER PREMIUM — Refinamentos visuais
   Enriquecimento estético sobre a estrutura existente.
   ===================================================== */

/* --- TEXTURA GRAIN SUTIL (camada de premium) --- */
.problem,
.services,
.process,
.differentials,
.regions,
.contact {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(5, 22, 29, 0.025) 1px, transparent 0);
    background-size: 24px 24px;
    background-position: 0 0;
}

.problem {
    background-color: var(--color-blue-soft);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(5, 22, 29, 0.04) 1px, transparent 0);
}

/* --- ORBS DECORATIVOS FLUTUANTES --- */
.deco-orbit {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.deco-orbit__ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0.18;
    animation: deco-rotate 28s linear infinite;
}

.deco-orbit__ring::before,
.deco-orbit__ring::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

.deco-orbit__ring::before {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.deco-orbit__ring::after {
    bottom: -4px;
    right: 35%;
    width: 6px;
    height: 6px;
}

@keyframes deco-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes deco-rotate-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes deco-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* --- PARTÍCULAS / DOTS DECORATIVOS --- */
.deco-dots {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 80px;
    height: 80px;
    background-image:
        radial-gradient(circle, currentColor 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.25;
}

/* --- LINHAS TÉCNICAS DECORATIVAS --- */
.deco-lines {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    height: 60px;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--color-orange) 50%, transparent 100%);
    opacity: 0.5;
}

/* --- BADGE FLUTUANTE PREMIUM --- */
.deco-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-white);
    border-radius: var(--radius-pill);
    box-shadow: 0 14px 32px rgba(5, 22, 29, 0.10);
    border: 1px solid var(--color-gray-100);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-dark);
    z-index: 3;
    animation: deco-float 5s ease-in-out infinite;
}

.deco-badge svg {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
}

.deco-badge--dark {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.08);
}

/* --- SHIMMER NO TEXTO EM GRADIENTE --- */
.text-orange {
    background-size: 200% 100%;
    animation: text-shimmer 6s linear infinite;
}

@keyframes text-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* --- ENHANCED CARD GLOW NO HOVER --- */
.service-card,
.differential,
.problem-card,
.video-card,
.testimonial {
    position: relative;
}

.service-card::after,
.differential::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(236, 104, 27, 0.10), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    pointer-events: none;
}

.service-card:hover::after,
.differential:hover::after {
    opacity: 1;
}

/* --- DECORATIVE STRIP — bloco visual entre seções --- */
.visual-strip {
    padding: clamp(60px, 8vw, 90px) 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, #0A2837 50%, #082030 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.visual-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(236, 104, 27, 0.18) 0%, transparent 60%);
    filter: blur(20px);
    z-index: -1;
}

.visual-strip::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(82, 175, 221, 0.22) 0%, transparent 60%);
    filter: blur(20px);
    z-index: -1;
}

.visual-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}

.visual-strip__card {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.visual-strip__card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 104, 27, 0.36);
}

.visual-strip__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 30%, rgba(236, 104, 27, 0.20), transparent 50%);
    opacity: 0.7;
    pointer-events: none;
}

.visual-strip__icon {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(236, 104, 27, 0.30);
}

.visual-strip__icon svg {
    width: 22px;
    height: 22px;
}

.visual-strip__label {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.visual-strip__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.visual-strip__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.visual-strip__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(236, 104, 27, 0.18);
    color: #FFB870;
    border: 1px solid rgba(236, 104, 27, 0.36);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.visual-strip__heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--color-white);
    margin-bottom: 14px;
}

.visual-strip__subheading {
    font-size: var(--fs-body);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
    .visual-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .visual-strip__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .visual-strip__card {
        aspect-ratio: 16 / 10;
    }
}

/* --- POSICIONAMENTO DE ELEMENTOS DECORATIVOS POR SEÇÃO --- */

/* Hero: floating shapes */
.hero .deco-orbit--top-right {
    top: 18%;
    right: 8%;
    width: 80px;
    height: 80px;
    color: var(--color-orange);
}

.hero .deco-orbit--bottom-left {
    bottom: 22%;
    left: 6%;
    width: 60px;
    height: 60px;
    color: var(--color-blue-tech);
    animation: deco-float 6s ease-in-out infinite;
}

.hero .deco-dots--top {
    top: 15%;
    right: 22%;
    color: var(--color-orange);
}

.hero .deco-dots--bottom {
    bottom: 25%;
    left: 18%;
    color: var(--color-blue-tech);
    width: 60px;
    height: 60px;
}

/* Problem section: floating ring */
.problem .deco-orbit--right {
    top: 8%;
    right: 4%;
    width: 100px;
    height: 100px;
    color: var(--color-orange);
}

/* Process section: connecting dots between steps */
.process .deco-dots--center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 60px;
    color: var(--color-blue-tech);
    opacity: 0.18;
}

/* Differentials: floating decoratives */
.differentials .deco-orbit--top {
    top: 10%;
    right: 6%;
    width: 90px;
    height: 90px;
    color: var(--color-orange);
}

.differentials .deco-orbit--bottom {
    bottom: 18%;
    left: 4%;
    width: 70px;
    height: 70px;
    color: var(--color-blue-tech);
    animation: deco-float 7s ease-in-out infinite;
}

/* About section badges */
.about__visual .deco-badge--floating {
    top: -18px;
    right: -10px;
}

@media (max-width: 768px) {
    .deco-orbit,
    .deco-dots,
    .deco-lines,
    .deco-badge--floating {
        display: none;
    }
}

/* --- ENHANCED CTA BUTTON GLOW --- */
.btn--primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.7s var(--ease-out);
    z-index: 0;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary > * {
    position: relative;
    z-index: 1;
}

/* --- HIGHLIGHTS BAR — animação shimmer no fundo --- */
.highlights__grid::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
    animation: highlights-shimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes highlights-shimmer {
    0%, 100% { transform: translateX(0); opacity: 0; }
    50% { transform: translateX(180%); opacity: 1; }
}

/* --- ABOUT CARD — número com efeito de count-up visual --- */
.about-card__stat-number {
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A3D 50%, var(--color-orange) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: text-shimmer 4s linear infinite;
}

/* --- TESTIMONIAL — borda animada no hover --- */
.testimonial {
    position: relative;
}

.testimonial::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--color-orange), transparent);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    pointer-events: none;
}

.testimonial:hover::after {
    opacity: 0.5;
}

/* --- HOVER LIFT NO VIDEO CARD --- */
.video-card__media {
    position: relative;
    overflow: hidden;
}

.video-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 104, 27, 0.10), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    pointer-events: none;
    z-index: 1;
}

.video-card:hover .video-card__media::before {
    opacity: 1;
}


/* =====================================================
   32.2 IMAGENS ESTRATÉGICAS — Composição visual premium
   ===================================================== */

/* Otimização global de imagens (performance + CLS prevention) */
img {
    max-width: 100%;
    height: auto;
}

/* Skeleton sutil enquanto imagens carregam (background placeholder) */
.visual-strip__card,
.gallery__item,
.about__photo {
    background-image: linear-gradient(135deg, #1a2a30 0%, #0a1820 100%);
}

/* Sombras suaves ao redor dos cards com foto para integração visual */
.visual-strip__grid {
    gap: 22px;
}

@media (max-width: 1024px) {
    .visual-strip__grid {
        gap: 18px;
    }
}

/* Espaçamento mais respirável entre seções com imagens */
.visual-strip + section,
.gallery + section {
    position: relative;
}


/* --- VISUAL STRIP CARDS — fotos de fundo --- */
.visual-strip__card {
    isolation: isolate;
    background-color: var(--color-dark);
}

.visual-strip__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease-out);
    filter: saturate(0.85) brightness(0.88);
}

.visual-strip__card:hover .visual-strip__photo {
    transform: scale(1.08);
    filter: saturate(1.05) brightness(1);
}

/* Overlay escuro principal (legibilidade do texto) */
.visual-strip__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 22, 29, 0.15) 0%,
        rgba(5, 22, 29, 0.55) 55%,
        rgba(5, 22, 29, 0.92) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    mix-blend-mode: normal;
}

/* Wrapper de texto (sobreposto à foto) */
.visual-strip__text {
    position: relative;
    z-index: 2;
}

.visual-strip__icon {
    z-index: 2;
}

/* Tablet — mais respiro vertical, cards mais balanceados */
@media (max-width: 1024px) and (min-width: 541px) {
    .visual-strip__card {
        aspect-ratio: 1 / 1;
    }

    .visual-strip__grid {
        gap: 20px;
    }
}

/* Mobile — landscape com altura controlada */
@media (max-width: 540px) {
    .visual-strip__card {
        aspect-ratio: 16 / 10;
    }

    .visual-strip__grid {
        gap: 14px;
    }

    .visual-strip__title {
        font-size: 1rem;
    }
}


/* --- GALERIA DE PROJETOS --- */
.gallery {
    padding: var(--space-section) 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -180px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(236, 104, 27, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.gallery::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -180px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(82, 175, 221, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(180px, 22vw, 260px);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.gallery__item {
    position: relative;
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 12px 32px rgba(5, 22, 29, 0.10);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.gallery__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(5, 22, 29, 0.18);
}

.gallery__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out), filter 0.5s var(--ease-out);
    filter: saturate(0.9);
}

.gallery__item:hover img {
    transform: scale(1.07);
    filter: saturate(1.05);
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 22, 29, 0) 40%,
        rgba(5, 22, 29, 0.78) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.gallery__item:hover::after {
    opacity: 0.85;
}

.gallery__caption {
    position: absolute;
    bottom: 20px;
    left: 22px;
    right: 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--color-white);
    transform: translateY(0);
    transition: transform var(--transition-base);
}

/* Em desktop com hover, captions sobem suavemente */
@media (hover: hover) and (min-width: 769px) {
    .gallery__caption {
        transform: translateY(6px);
    }

    .gallery__item:hover .gallery__caption {
        transform: translateY(0);
    }
}

.gallery__tag {
    display: inline-block;
    padding: 5px 11px;
    background-color: rgba(236, 104, 27, 0.92);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    align-self: flex-start;
    backdrop-filter: blur(6px);
}

.gallery__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 8px rgba(5, 22, 29, 0.4);
}

/* Variantes de tamanho na grid */
.gallery__item--tall {
    grid-row: span 2;
}

.gallery__item--wide {
    grid-column: span 2;
}

/* Tablet — bento simplificado em 2 colunas */
@media (max-width: 900px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: clamp(200px, 28vw, 260px);
        gap: 16px;
    }

    /* Reset dos spans para evitar células vazias */
    .gallery__item--tall {
        grid-row: span 1;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

    /* Gradient overlay reforçado para legibilidade sem hover */
    .gallery__item::after {
        opacity: 1;
        background: linear-gradient(180deg,
            rgba(5, 22, 29, 0) 35%,
            rgba(5, 22, 29, 0.82) 100%);
    }
}

/* Mobile — 1 coluna, captions plenamente visíveis */
@media (max-width: 540px) {
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: clamp(220px, 55vw, 280px);
        gap: 14px;
    }

    .gallery__item--tall,
    .gallery__item--wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .gallery__caption {
        bottom: 18px;
        left: 18px;
        right: 18px;
    }

    .gallery__title {
        font-size: 1rem;
    }
}


/* --- ABOUT SECTION PHOTO --- */
.about__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 24px 60px rgba(5, 22, 29, 0.18);
    isolation: isolate;
    background-color: var(--color-gray-100);
}

.about__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out);
    filter: saturate(0.95);
}

.about__photo:hover img {
    transform: scale(1.04);
}

.about__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 104, 27, 0.18) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.about__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 22, 29, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.about__photo-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    box-shadow: 0 8px 20px rgba(5, 22, 29, 0.15);
}

.about__photo-badge svg {
    width: 14px;
    height: 14px;
    color: var(--color-orange);
}

/* Tablet — foto ligeiramente menor */
@media (max-width: 960px) and (min-width: 541px) {
    .about__photo {
        aspect-ratio: 16 / 9;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile — proporção ideal + badge compacto */
@media (max-width: 540px) {
    .about__photo {
        aspect-ratio: 16 / 10;
        margin-bottom: 16px;
    }

    .about__photo-badge {
        bottom: 14px;
        left: 14px;
        font-size: 0.6875rem;
        padding: 7px 12px;
    }
}


/* =====================================================
   33. ESTILOS DE IMPRESSÃO
   ===================================================== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
        /* Em impressão remove o padding-top do header fixo */
        padding-top: 0 !important;
    }

    /* Esconde elementos não-essenciais para impressão */
    .site-header,
    .mobile-menu,
    .whatsapp-float,
    .hero__scroll,
    .hero__decoration,
    .problem__pattern,
    .economy__decoration,
    .testimonials__decoration,
    .cta-final__decoration,
    .footer__social,
    .contact-form,
    .navbar__toggle,
    video,
    iframe {
        display: none !important;
    }

    /* Garante quebra de página apropriada */
    section {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    h1, h2, h3 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Mostra URL em links */
    a[href^="http"]:after,
    a[href^="mailto:"]:after,
    a[href^="tel:"]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
        font-weight: normal;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}


/* =====================================================
   FIX OVERFLOW HORIZONTAL — proteção definitiva
   contain:paint é mais forte que overflow:hidden/clip e
   funciona durante pinch zoom em iOS Safari (bug conhecido
   onde overflow falha durante zoom com 2 dedos).

   >>> IMPORTANTE: contain: paint foi REMOVIDO do
   .site-header porque quebrava o position fixed/sticky.
   Mantemos só nas <section> e no <footer>. <<<
   ===================================================== */
html,
body {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

/* Containment paint: garante que NENHUM descendente pinte
   fora dos limites do elemento — mesmo durante pinch zoom.
   NÃO aplicar no .site-header (quebra o fixed). */
main > section,
.footer {
    contain: paint;
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: clip !important;
        max-width: 100vw;
        width: 100%;
        position: relative;
    }

    /* Camada extra de contenção em mobile (sem o header) */
    main,
    main > section,
    footer {
        contain: paint;
        max-width: 100%;
        overflow-x: clip;
    }

    /* Imagens/SVGs/iframes nunca passam de 100% */
    img,
    svg,
    video,
    iframe {
        max-width: 100%;
    }
}

/* =====================================================
   FIX DEFINITIVO — Overflow Mobile das Seções
   Spotlight (Automação + Termografia)
   Esconde os pseudo-elementos decorativos que vazam
   para a direita em mobile durante pinch zoom.
   ===================================================== */

/* Garante que o blur e o glow lateral não passem da seção */
.spotlight--thermal::before,
.spotlight--automation::before {
    max-width: 100%;
    overflow: hidden;
}

/* Reduz o blur do glow da termografia (causa overflow visual) */
.spotlight--thermal::before {
    filter: blur(10px);
    right: 0;
    width: clamp(200px, 40vw, 380px);
    height: clamp(200px, 40vw, 380px);
}

/* MOBILE — Remove completamente as decorações que vazam.
   Em telas pequenas elas mal aparecem mesmo, então esconder
   resolve 100% do overflow horizontal sem prejuízo visual. */
@media (max-width: 768px) {
    .spotlight--thermal::before,
    .spotlight--automation::before {
        display: none !important;
    }

    /* Reforço extra: força as 4 seções spotlight a respeitarem
       a viewport e clipping em mobile */
    .spotlight,
    .spotlight--wallbox,
    .spotlight--boiler,
    .spotlight--automation,
    .spotlight--thermal {
        overflow: hidden !important;
        max-width: 100vw !important;
        contain: paint !important;
    }

    /* Esconde também o pulse glow dos cards internos que pode
       estourar durante pinch zoom */
    .spotlight-card__pulse,
    .spotlight-card__heat {
        display: none !important;
    }
}
