/* =========================================
   VARIÁVEIS E RESET
========================================= */
:root {
    /* Cores Principais */
    --color-primary: #ff0000;
    /* Vermelho vivo */
    --color-primary-dark: #cc0000;
    --color-primary-glow: rgba(255, 0, 0, 0.6);

    /* Cores de Fundo Escuras (Tech/Premium) */
    --color-bg-base: #0a0a0a;
    --color-bg-surface: #141414;
    --color-bg-card: #1f1f1f;

    /* Textos */
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;

    /* Acentos */
    --color-accent-green: #00d95a;
    --color-accent-green-glow: rgba(0, 217, 90, 0.3);

    /* Fontes */
    --font-main: 'Outfit', sans-serif;

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

/* Respeita a preferência do usuário por menos movimento:
   neutraliza a duração das animações/transições sem remover o estado final. */
@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;
    }
}

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

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

ul {
    list-style: none;
}

.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;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 10000;
    background: var(--color-primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* =========================================
   UTILITIES E ESTRUTURA GERAL
========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-primary-glow);
    z-index: -1;
    transform: skewX(-15deg);
}

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

.text-primary {
    color: var(--color-primary) !important;
}

/* =========================================
   BOTOES
========================================= */
.btn-primary,
.btn-outline,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 0, 0, 0.5);
    background: var(--color-primary-dark);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
    background: var(--color-accent-green);
    color: #000;
    box-shadow: 0 10px 20px var(--color-accent-green-glow);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 217, 90, 0.4);
}

/* =========================================
   HEADER & NAVEGAÇÃO
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    height: 50px;
    width: auto;
    aspect-ratio: 1 / 1;
    transition: var(--transition-normal);
    filter: brightness(0) invert(18%) sepia(87%) saturate(5488%) hue-rotate(356deg) brightness(108%) contrast(116%);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: #fff;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-normal);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.mobile-central-link {
    display: none;
}

.nav-backdrop {
    display: none;
}

.nav-backdrop[hidden] {
    display: none;
}

/* =========================================
   HERO SECTION (COM PARALLAX)
========================================= */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    /* offset header */
    overflow: hidden;
}

/* Fundo da Hero (Por do sol) */
.hero-bg-glow {
    position: absolute;
    bottom: -180px;
    /* Alinhado exatamente no centro do sol */
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    /* Círculo perfeito ao redor do sol */
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.4) 0%, rgba(150, 0, 0, 0.2) 30%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    /* Glow estático e suave, sem animação pulsante */
}

/* Container do horizonte para cortar o sol e a base da cidade perfeitamente */
.horizon-wrapper {
    position: absolute;
    bottom: 18%;
    /* Levantado um pouco mais para cima */
    left: 0;
    width: 100%;
    height: 50vh;
    /* Altura suficiente para o sol */
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    /* Suaviza o corte inferior (linha do horizonte) para não ficar uma linha dura */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 10%);
    mask-image: linear-gradient(to top, transparent 0%, #000 10%);
}

/* Sol Retro Vermelho */
.retro-sun {
    position: absolute;
    bottom: -180px;
    /* Levantado mais pra cima do horizonte */
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #ff3333 0%, #aa0000 100%);
    box-shadow: 0 0 80px rgba(255, 0, 0, 0.6);
    /* Retrowave slices com fallback */
    -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0%, #000 5%, transparent 5%, transparent 7%);
    mask-image: repeating-linear-gradient(to bottom, #000 0%, #000 5%, transparent 5%, transparent 7%);
    opacity: 0.5;
    /* Um pouco mais suave */
    filter: blur(40px);
    /* Sol EXTREMAMENTE desfocado, apenas um volume de luz no fundo */
}

/* Silhueta da Cidade */
.city-silhouette {
    position: absolute;
    bottom: 0;
    /* Exatamente na linha do horizonte */
    left: 0;
    width: 100%;
    height: 120px;
    opacity: 0.3;
    /* Bem discreta */
    filter: blur(5px);
    /* Levemente mais desfocada para casar com o sol */
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    /* Quadrados na largura original */
    background-image:
        linear-gradient(to right, rgba(255, 0, 0, 0.3) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 0, 0.3) 1px, transparent 1px);
    z-index: 0;
    transform: perspective(600px) rotateX(70deg) scale(3);
    /* Mais levantado */
    transform-origin: bottom;
    opacity: 1;
    animation: moveGrid 1.2s linear infinite;
    /* Degradê se apagando exatamente na linha do horizonte mais suave */
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 40%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* O deslocamento para cima é um ajuste fino exclusivo do layout desktop;
   em telas menores ele cortava a imagem e escondia conteúdo atrás do header. */
@media (min-width: 993px) {
    .hero-container {
        transform: translateY(-200px);
    }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 30px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.1rem, 6vw + 0.7rem, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 1vw + 0.85rem, 1.2rem);
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Imagem Central e Efeitos */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    transition: transform 0.1s linear;
    /* JS Parallax smoother */
    transform-style: preserve-3d;
    perspective: 1200px;
}

.hero-main-logo {
    width: 320px;
    /* ligeiramente menor para o atomo respirar */
    height: auto;
    aspect-ratio: 1 / 1;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 10;
    filter: brightness(0) invert(18%) sepia(87%) saturate(5488%) hue-rotate(356deg) brightness(108%) contrast(116%);
}

/* =========================================
   ÁTOMO (ELETRÓSFERA FIXA, ELÉTRONS JS EM 3D REAL)
========================================= */
.atom-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform-origin: center;
    z-index: 1;
    transform-style: preserve-3d;
}

/* Anéis Fixos (Tilted na CSS, Orbitados via JS) */
.ring-static-1 {
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(0deg);
}

.ring-static-2 {
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(60deg);
}

.ring-static-3 {
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(120deg);
}

/* Esferas 3D Renderizadas pelo JS */
.js-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border-radius: 50%;
    z-index: 15;
    /* Alternado dinamicamente no JS */
}

/* Cores específicas e sombreamento que simula esfera 3D realista */
.sphere-cyan {
    background: radial-gradient(circle at 30% 30%, #ffffff, #00ffff 50%, #005555);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), inset -5px -5px 10px rgba(0, 0, 0, 0.5);
}

.sphere-red {
    background: radial-gradient(circle at 30% 30%, #ffffff, #ff0000 50%, #550000);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8), inset -5px -5px 10px rgba(0, 0, 0, 0.5);
}

.sphere-green {
    background: radial-gradient(circle at 30% 30%, #ffffff, #32cd32 50%, #005500);
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.8), inset -5px -5px 10px rgba(0, 0, 0, 0.5);
}

/* =========================================
   ELEMENTOS PARALLAX FLUTUANTES
========================================= */
.parallax-layer {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.1s linear;
}

.floating-icon {
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

/* Tamanhos variados */
.size-s {
    font-size: 1.5rem;
    opacity: 0.6;
}

.size-m {
    font-size: 2.5rem;
    opacity: 0.8;
}

.size-l {
    font-size: 3.5rem;
    opacity: 1;
}

.size-xl {
    font-size: 5.5rem;
    opacity: 0.3;
}

/* Posições baseadas no mapa desenhado pelo usuário */
.p-layer-1 {
    top: 18%;
    left: 42%;
    /* Círculo azul */
    animation: floatIcon 7s infinite ease-in-out;
}

.p-layer-2 {
    top: 40%;
    left: 2%;
    /* Wifi intocado na esquerda */
    animation: floatIcon 5s infinite ease-in-out 1s;
}

.p-layer-3 {
    top: 10%;
    right: 30%;
    /* Círculo laranja */
    animation: floatIcon 8s infinite ease-in-out 2s;
}

.p-layer-4 {
    top: 65%;
    right: 25%;
    /* Círculo verde */
    animation: floatIcon 6s infinite ease-in-out 0.5s;
}

.p-layer-6 {
    top: 65%;
    left: 20%;
    /* Círculo roxo */
    animation: floatIcon 4s infinite ease-in-out;
}

/* Divisor de Seção */
.custom-shape-divider-bottom-1683050410 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1683050410 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom-1683050410 .shape-fill {
    fill: var(--color-bg-surface);
}

/* =========================================
   SEÇÃO INTERNET / VANTAGENS
========================================= */
.features {
    background-color: var(--color-bg-surface);
    padding: clamp(50px, 8vw, 100px) 0;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: clamp(35px, 6vw, 60px);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 2.8rem);
    font-weight: 800;
    margin-bottom: 15px;
}

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

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

/* Card animado com Neon */
.feature-card {
    background: var(--color-bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.1s linear, box-shadow 0.3s ease;
}

.feature-card:not(:hover) {
    transition: transform 0.5s ease-out, box-shadow 0.5s ease;
}

/* Animação do "fio de neon" que corre pela borda ao passar o mouse */
.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Gradient com ponta branca super brilhante para parecer neon real */
    background: conic-gradient(from 0deg, transparent 60%, var(--color-primary) 90%, #ffffff 100%);
    animation: rotateNeon 2.5s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Fundo sólido por cima do gradient para formar a borda animada */
.feature-card::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--color-bg-card);
    border-radius: 18px;
    z-index: -1;
}

/* Efeito 3D Hover com Sombra Externa Forte (Removido o fundo radial) */
.feature-card:hover {
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: 0.3s ease;
}

.feature-card:hover .icon-box {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* =========================================
   SEÇÃO PLANOS
========================================= */
.plans {
    padding: clamp(50px, 8vw, 100px) 0;
    background: var(--color-bg-base);
    position: relative;
    z-index: 10;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    /* Mais espaço para os icones saltarem */
}

.plan-card {
    background: var(--color-bg-card);
    border-radius: 15px;
    padding: 50px 20px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.03);
    /* Aumenta um pouco de tamanho */
}

/* Efeito de Glow Colorido por trás de cada card no Hover */
.plan-card.card-cyan:hover {
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.3);
}

.plan-card.card-red:hover {
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.3);
}

.plan-card.card-blue:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 255, 0.3);
    border-color: rgba(0, 0, 255, 0.3);
}

.plan-card.card-green:hover {
    box-shadow: 0 15px 50px rgba(50, 205, 50, 0.3);
    border-color: rgba(50, 205, 50, 0.3);
}

/* Diamante como Destaque Permanente */
.plan-card.featured {
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.05) 0%, var(--color-bg-card) 50%);
}

.plan-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
    /* Aumenta mais ainda no hover */
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.4);
}

/* Wrapper para clipar o badge mas nao a gema */
.badge-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    z-index: 9;
    pointer-events: none;
}

/* Badge Recomendado Inclinado na Lateral Esquerda Superior */
.recommended-badge {
    position: absolute;
    top: 20px;
    left: -40px;
    width: 160px;
    /* Largura fixa para centralizar o texto certinho na fita */
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 0;
    font-size: 0.75rem;
    /* Texto levemente menor */
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--color-primary-glow);
    transform: rotate(-45deg);
    animation: pulseBadge 2s infinite;
    z-index: 10;
    pointer-events: auto;
}

/* Gemas Especiais no Topo do Card com textura e 3D Hover */
.gem-icon-wrapper {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) translateZ(0) rotateY(0deg);
    /* Transform default para facilitar 3D */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Slower rotation */
    transform-style: preserve-3d;
}

/* Lens Flare Base Layer (Hidden) */
.gem-icon-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 15px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 10;
}

/* Rotação e flutuação da gema em 3D ao passar o mouse no card do plano */
.plan-card:hover .gem-icon-wrapper {
    transform: translateX(-50%) translateY(-15px) rotateY(360deg);
}

/* Aciona o Lens Flare no Hover - Desaparece quando a animação acaba */
.plan-card:hover .gem-icon-wrapper::before {
    animation: lensFlareAnim 1.2s forwards ease-in-out;
}

@keyframes lensFlareAnim {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
    }
}

.gem-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    z-index: -1;
}

/* Cores das Gemas */
.gem-green::after {
    background: #32CD32;
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.6);
}

.gem-blue::after {
    background: #0000FF;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.6);
}

.gem-red::after {
    background: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.gem-cyan::after {
    background: #00FFFF;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.plan-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 10px auto 20px;
    color: #fff;
}

.bg-green {
    background: #32CD32;
}

.bg-blue {
    background: #0000FF;
}

.bg-red {
    background: #ff0000;
}

.bg-cyan {
    background: #00FFFF;
    color: #000;
}

.plan-price {
    font-size: clamp(1.7rem, 4vw + 0.8rem, 2.6rem);
    font-weight: 900;
    margin-bottom: 25px;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -1px;
}

.plan-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    margin-right: 5px;
    color: var(--color-text-muted);
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    font-size: 1.2rem;
}

.text-green {
    color: #32CD32;
}

.text-blue {
    color: #5a5aff;
}

/* Azul mais claro para ler melhor */
.text-red {
    color: #ff3333;
}

.text-cyan {
    color: #00FFFF;
}

.featured-feature {
    color: #fff !important;
    font-weight: 600;
}

.btn-plan {
    display: block;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.btn-green {
    background: #32CD32;
    color: #fff;
}

.btn-green:hover {
    background: #28a428;
    box-shadow: 0 5px 15px rgba(50, 205, 50, 0.4);
}

.btn-blue {
    background: #0000FF;
    color: #fff;
}

.btn-blue:hover {
    background: #0000cc;
    box-shadow: 0 5px 15px rgba(0, 0, 255, 0.4);
}

.btn-red {
    background: #ff0000;
    color: #fff;
}

.btn-red:hover {
    background: #cc0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-cyan {
    background: #00FFFF;
    color: #000;
}

.btn-cyan:hover {
    background: #00cccc;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* =========================================
   FOOTER / CONTATO
========================================= */
.footer {
    background: #050505;
    padding: clamp(50px, 8vw, 80px) 0 0;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 180px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    filter: brightness(0) invert(18%) sepia(87%) saturate(5488%) hue-rotate(356deg) brightness(108%) contrast(116%);
}

.footer-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--color-primary-glow);
}

.footer h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.footer-contact ul li,
.footer-hours ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    min-width: 0;
}

.footer-contact ul li a,
.footer-contact ul li,
.footer-hours ul li,
.footer-address p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact ul li i,
.footer-hours ul li i,
.footer-address p i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-address p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    background: #000;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition-normal);
}

.footer-admin-link:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: calc(30px + env(safe-area-inset-bottom));
    right: calc(30px + env(safe-area-inset-right));
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease;
    animation: float 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
    color: #FFF;
}

/* =========================================
   ANIMAÇÕES (KEYFRAMES)
========================================= */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatIcon {

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

    33% {
        transform: translate(15px, -15px) rotate(10deg);
    }

    66% {
        transform: translate(-10px, 15px) rotate(-5deg);
    }
}

@keyframes rotateNeon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: translateY(-50%) scale(0.95);
    }

    100% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.05);
    }
}

@keyframes pulseCross {

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: rotate(-45deg) scale(1);
    }

    50% {
        transform: rotate(-45deg) scale(1.05);
    }
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 -50px;
    }

    /* Movendo pro fundo sincronizado com tamanho do bloco original */
}

/* =========================================
   ANIMAÇÕES DE ENTRADA (AOS custom)
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpAnim 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in {
    opacity: 0;
    animation: fadeInAnim 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
    transition-delay: 0.8s;
}

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

@keyframes fadeInAnim {
    to {
        opacity: 1;
    }
}

/* LOADER */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    animation: float 2s infinite ease-in-out;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 0, 0, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   RESPONSIVIDADE (MEDIA QUERIES)
========================================= */

/* A animação do átomo (anéis + esferas 3D via JS) é preservada integralmente
   a partir de 1200px. Abaixo disso ela é ocultada e o JS correspondente
   (requestAnimationFrame) é interrompido para não gastar processamento à toa. */
@media (max-width: 1199px) {
    .js-sphere {
        display: none;
    }

    .atom-ring {
        display: none;
    }
}

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

    .hero-main-logo {
        width: 280px;
    }

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

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

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* =========================================
   SEÇÃO DE DEPOIMENTOS (GOOGLE REVIEWS)
========================================= */
.reviews-section {
    background-color: var(--color-bg-surface);
    position: relative;
    padding: clamp(50px, 8vw, 80px) 0 clamp(60px, 50vw, 100px);
    z-index: 5;
    color: var(--color-text-main);
}

.custom-shape-divider-top-reviews,
.custom-shape-divider-bottom-reviews {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-reviews {
    top: -1px;
}

.custom-shape-divider-bottom-reviews {
    bottom: -1px;
    transform: rotate(180deg);
}

.custom-shape-divider-top-reviews svg,
.custom-shape-divider-bottom-reviews svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-top-reviews .shape-fill,
.custom-shape-divider-bottom-reviews .shape-fill {
    fill: var(--color-bg-surface);
}

.reviews-title {
    color: var(--color-text-main);
    font-size: clamp(1.7rem, 3.5vw + 1rem, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 50px;
}

.reviews-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Bloco Esquerdo: Resumo do Google */
.reviews-summary {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
    /* This filter makes the white logo red (matching var(--color-primary)) */
    filter: brightness(0) invert(18%) sepia(87%) saturate(5488%) hue-rotate(356deg) brightness(108%) contrast(116%);
}

.summary-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text-main);
}

.summary-info .stars {
    color: #fbbc05;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    gap: 2px;
}

.summary-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

.btn-write-review {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-write-review:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Bloco Direito: Carrossel */
.reviews-carousel-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    max-width: calc(100% - 260px);
    /* 220px summary + 40px gap */
    /* overflow removed to prevent clipping shadow */
}

/* Bug real por trás do carrossel espremido no mobile: essas duas regras
   precisam vir DEPOIS das regras base acima na cascata (mesma
   especificidade — quem aparece por último no arquivo vence). Antes
   ficavam mais acima no arquivo (antes da própria regra base), então o
   max-width: calc(100% - 260px) do desktop nunca era realmente
   sobrescrito em telas estreitas. */
@media (max-width: 1024px) {
    .reviews-content {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-summary {
        flex: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .reviews-carousel-wrapper {
        max-width: 100%;
        width: 100%;
    }
}

.carousel-btn {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-main);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.reviews-carousel {
    flex: 1;
    overflow: hidden;
    padding: 30px 10px;
    margin: -30px -10px;
    min-width: 0;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    /* 3 cards visíveis por vez com gap 20px */
    max-width: calc(33.333% - 14px);
    min-width: 0;
    background-color: var(--color-bg-card);
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.review-card:hover::before {
    opacity: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-orange {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.avatar-blue {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.avatar-cyan {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.avatar-red {
    background: linear-gradient(135deg, #ff0844, #ffb199);
}

.avatar-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.review-user-info {
    flex: 1;
    padding-right: 30px;
}

.review-name {
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 0.85rem;
}

.google-logo {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.8;
}

.review-stars {
    color: #fbbc05;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
    align-items: center;
}

.review-stars .ph-seal-check {
    margin-left: 8px;
    font-size: 1.2rem;
    color: #1da1f2;
}

.review-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.review-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.review-link {
    font-size: 0.85rem;
    color: var(--color-text-main);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.review-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.review-link:hover {
    color: var(--color-primary);
}

.review-link:hover::after {
    transform: translateX(3px);
}

/* Breakpoint do menu: com 7 links + logo + "Central do Assinante" o header
   quebra bem antes de 768px, então o menu mobile entra em ação a partir de 1100px. */
@media (max-width: 1100px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* Garante que o botão do menu fique sempre clicável acima do backdrop */
    .header-actions {
        position: relative;
        z-index: 1002;
    }

    .desktop-central-link {
        display: none;
    }

    .mobile-central-link {
        display: inline-flex;
        margin-top: 30px;
        align-self: flex-start;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80%, 360px);
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1001;
        background: var(--color-bg-surface);
        padding: calc(100px + env(safe-area-inset-top)) 40px calc(40px + env(safe-area-inset-bottom));
        transition: var(--transition-normal);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
        min-height: 44px;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-normal);
    }

    .nav-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open .floating-whatsapp {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        /* "order" em vez de "grid-row": no grid de coluna única do mobile,
           forçar grid-row:1 cria uma coluna implícita extra (o hero-content
           também auto-posiciona na linha 1), estourando a largura da hero
           e empurrando a logo para fora da tela. */
        order: -1;
        margin-bottom: 40px;
    }

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

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

    .plan-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

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

    /* Bug: em telas estreitas, as setas de 44px (área de toque mínima —
       não pode encolher) ao lado do card, dentro de um flex row, sobravam
       tão pouco espaço horizontal pro card que o texto quebrava palavra
       por palavra (largura real ficava bem menor que o minCardWidth de
       260px assumido pelo JS). Solução: vira grid nesta faixa, com as
       setas numa linha própria abaixo do carrossel em vez de ao lado —
       o card passa a usar quase a largura inteira da tela. */
    .reviews-carousel-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "carousel carousel"
            "prev next";
        gap: 15px;
    }

    .reviews-carousel-wrapper .reviews-carousel {
        grid-area: carousel;
        width: 100%;
    }

    .reviews-carousel-wrapper .carousel-btn.prev-btn {
        grid-area: prev;
        justify-self: start;
    }

    .reviews-carousel-wrapper .carousel-btn.next-btn {
        grid-area: next;
        justify-self: end;
    }

    .floating-whatsapp {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-main-logo {
        width: min(220px, 62vw);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .location-map,
    .location-map iframe {
        min-height: 260px;
    }
}

/* =========================================
   SEÇÃO APLICATIVO
========================================= */
.app-section {
    background: var(--color-bg-base);
    padding: clamp(50px, 8vw, 100px) 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-text h2 {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.btn-store i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.btn-store span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-store span small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-store:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(255, 0, 0, 0.45);
    background: var(--color-primary-dark);
}

.btn-google {
    background: #1a1a2e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-google:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
    background: #222240;
}

/* Mockup do App */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup-phone {
    width: min(260px, 62vw);
    aspect-ratio: 260 / 520;
    max-height: 70vh;
    background: linear-gradient(145deg, #1a1a2a, #0d0d1a);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.03),
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(255, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: float 5s ease-in-out infinite;
}

.app-mockup-phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    position: absolute;
    inset: 20px 10px 10px 10px;
    background: linear-gradient(160deg, #0f0f1e 0%, #1a0a0a 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen-inner {
    width: 100%;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-app-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(18%) sepia(87%) saturate(5488%) hue-rotate(356deg) brightness(108%) contrast(116%);
}

.phone-app-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.phone-app-stats {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 8px 10px;
    flex: 1;
}

.stat-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-lbl {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.phone-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.menu-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.menu-item i {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.menu-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
    color: #fff;
}

/* =========================================
   SEÇÃO COMO NOS ENCONTRAR
========================================= */
.location-section {
    background: var(--color-bg-surface);
    padding: clamp(50px, 8vw, 100px) 0;
    position: relative;
    z-index: 10;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: stretch;
    min-height: 420px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-block h3 i {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.location-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-block ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.location-block ul li i {
    margin-top: 3px;
}

.location-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.location-block ul li i {
    color: var(--color-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.location-block ul li strong {
    color: var(--color-text-main);
}

.location-block ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.location-block ul li a:hover {
    color: var(--color-primary);
}

.footer-contact ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact ul li a:hover {
    color: var(--color-primary);
}

.location-social {
    display: flex;
    gap: 12px;
}

.location-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-text-muted);
    transition: var(--transition-normal);
}

.location-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--color-primary-glow);
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    min-height: 420px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    filter: invert(90%) hue-rotate(180deg);
}

/* Responsive */
@media (max-width: 900px) {
    .app-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-text p {
        max-width: 100%;
    }

    .app-buttons {
        justify-content: center;
    }

    .app-mockup {
        order: -1;
    }

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

    .location-map {
        min-height: 300px;
    }

    .location-map iframe {
        min-height: 300px;
    }
}