/* ==========================================
   [SEÇÃO 1] RESET E VARIÁVEIS MODERNAS (DARK MODE)
   Cores baseadas em Cyberpunk e Dark UI
   ========================================== */
:root {
    --neon-blue: #00f3ff;
    --neon-green: #00ffcc;
    --dark-bg: #03050a;
    --slide-bg: #0a111ae2;
    --text-color: #ffffff;
    --text-muted: #ddd;
    --card-bg: #111a26;
    --border-color: rgba(0, 255, 204, 0.3);
    --input-bg: rgba(0, 0, 0, 0.5);
    --menu-bg: rgba(3, 5, 10, 0.85);
    --logo-blue-txt: var(--neon-blue);
    --logo-green-txt: var(--neon-green);
    --info-box-bg: rgba(48, 248, 228, 0.056);
}

/* ==========================================
   [SEÇÃO 2] TEMA CLARO (LIGHT MODE OVERRIDES)
   Força paletas clean quando o botão de modo é acionado
   ========================================== */
body.light-mode {
    --neon-blue: #0066ff;
    --neon-green: #00b300;
    --dark-bg: #f4f7f6;
    --slide-bg: #ffffffbd;
    --text-color: #2c3e50;
    --text-muted: #4a5568;
    --card-bg: #ffffff;
    --border-color: rgba(0, 102, 255, 0.2);
    --input-bg: #ffffff;
    --menu-bg: rgba(255, 255, 255, 0.85);
    --logo-blue-txt: #0055cc;
    --logo-green-txt: #008000;
    --info-box-bg: rgba(181, 181, 181, 0.062);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    user-select: none;
    -webkit-user-select: none;
    transition: background-color 0.5s ease, color 0.5s ease;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* [SEÇÃO 2.1] Ajustes Finos do Modo Claro */
body.light-mode #menu-wrapper {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-item {
    color: #555;
}

body.light-mode .menu-item:hover,
body.light-mode .menu-item.active {
    color: var(--neon-blue);
    text-shadow: none;
}

body.light-mode .slide {
    border: 1px solid #0169fa;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
    text-shadow: none;
}

body.light-mode p,
body.light-mode ul {
    color: var(--text-muted);
}

body.light-mode .service-card {
    border-color: var(--neon-green);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.light-mode .service-card:hover {
    border: 3px solid;
    border-color: var(--neon-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .pulse-light {
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.1) 0%, rgba(0, 179, 0, 0.05) 40%, transparent 70%);
}

body.light-mode .logo-blue {
    text-shadow: none;
}

body.light-mode .logo-green {
    text-shadow: none;
}

body.light-mode .btn-voltar {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

body.light-mode .btn-voltar:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--neon-blue) !important;
}

body.light-mode .form-control {
    border-color: #ccc;
    color: #333;
}

body.light-mode .dropdown-check-list .anchor {
    background: #fff;
    color: #333;
    border-color: #ccc;
}

body.light-mode .dropdown-check-list ul.items {
    background: #fff;
    border-color: #ccc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .items li {
    color: #444;
}

body.light-mode #classic-menu-overlay {
    background: rgba(255, 255, 255, 0.9);
    border-right-color: #ccc;
}

body.light-mode #classic-menu-overlay a {
    color: #333;
    text-shadow: none;
}

body.light-mode #classic-menu-overlay a:hover {
    color: var(--neon-blue);
}

body.light-mode .cta-button {
    color: #005ce6;
    border-color: #0267ff;
}

body.light-mode .cta-button:hover {
    background: #66a3ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(102, 163, 255, 0.4);
    border-color: #66a3ff;
}

body.light-mode .whatsapp-btn:hover {
    background: #00ff15 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 185, 0, 0.4);
    border-color: #00ff15 !important;
}

body.light-mode .cta-secondary {
    color: #005ce6;
    border-color: #66a3ff;
}

body.light-mode .cta-secondary:hover {
    background: #66a3ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(102, 163, 255, 0.4);
}

/* ==========================================
   [SEÇÃO 3] ANIMAÇÕES E TELAS FLUTUANTES (SPLASH E PTR)
   ========================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
}

.splash-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50vh;
    background: rgba(0, 255, 204, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.splash-top {
    top: 0;
    border-bottom: 2px solid var(--neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.15);
}

.splash-bottom {
    bottom: 0;
    border-top: 2px solid var(--neon-green);
    box-shadow: 0 -10px 30px rgba(0, 255, 204, 0.15);
}

.splash-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.splash-text-top {
    height: 50vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-sizing: border-box;
    text-align: center;
}

.splash-text-bottom {
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    box-sizing: border-box;
    text-align: center;
}

.splash-text-top h1 {
    font-size: 2.5rem;
    color: var(--neon-purple);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 2px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.splash-text-bottom p {
    font-size: 1rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.4);
}

.tap-text {
    display: block;
    font-size: 1rem;
    margin-top: 40px;
    animation: pulseAlpha 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    color: var(--text-muted);
}

@keyframes pulseAlpha {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

#splash-screen.splitting .splash-content-wrapper {
    opacity: 0;
    transform: scale(0.9);
}

#splash-screen.splitting .splash-top {
    transform: translateY(-100%);
}

#splash-screen.splitting .splash-bottom {
    transform: translateY(100%);
}

#ptr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transition: opacity 0.2s;
}

#ptr-panel-bg {
    position: absolute;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 255, 204, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
    will-change: transform;
}

#ptr-content {
    position: relative;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateY(-100px);
    opacity: 0;
    will-change: transform, opacity;
}

#ptr-content span {
    color: var(--neon-green);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================
   [SEÇÃO 4] ESTRUTURA PRINCIPAL E ALINHAMENTO MATEMÁTICO DO LAYOUT
   Aqui controlamos os 15px padronizados de respiro para o logo em relação ao menu e slide
   ========================================== */
#menu-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    height: 55px;
    background: var(--menu-bg);
    backdrop-filter: blur(5px);
    border-top: 2px solid rgba(0, 255, 204, 0.5);
    border-bottom: 2px solid rgba(0, 255, 204, 0.5);
    box-shadow: 0 10px 25px -10px rgba(0, 255, 204, 0.3), inset 0 10px 25px -10px rgba(0, 255, 204, 0.15);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    z-index: 100;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

#menu-wrapper:active {
    cursor: grabbing;
}

/* Logo Posicionado 20px abaixo dos 55px do Menu (55 + 25 = 80px) */
#logo-wrapper {
    position: fixed;
    top: 80px;
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

/* Slides posicionados 10px abaixo da altura total do logo (80 + 85 = 165; 165 + 10 = 175px) */
#presentation-container {
    position: fixed;
    top: 175px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 165px);
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

#carousel {
    position: relative;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: translateZ(-500px);
}

.menu-item {
    position: absolute;
    top: -20px;
    left: -100px;
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(150, 150, 150, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-align: center;
    backface-visibility: hidden;
    transition: color 0.15s linear, text-shadow 0.15s linear;
    will-change: color, text-shadow;
}

.menu-item svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-item:hover {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

.menu-item.active {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
}

.pulse-light {
    position: absolute;
    width: 380px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(0, 243, 255, 0.2) 0%, rgba(0, 255, 204, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 199;
    pointer-events: none;
    animation: pulseGlowEffect 4s ease-in-out infinite alternate;
}

@keyframes pulseGlowEffect {
    0% {
        transform: scale(0.85);
        opacity: 0.5;
        filter: blur(15px);
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
        filter: blur(20px);
    }
}

#site-logo {
    position: relative;
    z-index: 200;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    transition: transform 0.3s;
    margin: 0 auto;
}

#site-logo:hover {
    transform: scale(1.1);
}

.logo-blue {
    color: var(--logo-blue-txt);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.6);
    transition: 0.5s;
}

.logo-green {
    color: var(--logo-green-txt);
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.6);
    transition: 0.5s;
}

.logo-animado-inline {
    width: 2.2em;
    height: 2.2em;
    flex-shrink: 0;
    filter: drop-shadow(0px 0px 0px rgb(0, 255, 238));
    margin-left: -40px;
    margin-right: -4px;
}

/* ==========================================
   [SEÇÃO 5] CONTROLES FIXOS (BOTÕES E TOGGLES)
   ========================================== */
#theme-toggle-wrapper {
    position: fixed;
    top: 15px;
    right: 25px;
    z-index: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-track {
    width: 48px;
    height: 26px;
    background: #24fefa57;
    border-radius: 40px;
    position: relative;
    transition: background 0.3s;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);
}

body.light-mode .toggle-track {
    background: #3e72ff43;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.05);
}

.toggle-thumb {
    width: 21px;
    height: 21px;
    right: 26px;
    border-radius: 50%;
    position: absolute;
    top: 2.5px;
    background: var(--neon-blue);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

body.light-mode .toggle-thumb {
    transform: translateX(24px);
    background: var(--neon-blue);
}

.toggle-thumb::before {
    content: '⚫';
    font-size: 8px;
    transition: opacity 0.3s;
}

body.light-mode .toggle-thumb::before {
    content: '⚪';
}

#hamburger-btn {
    position: fixed;
    top: 2px;
    left: 10px;
    width: 35px;
    height: 23px;
    padding: 15px;
    z-index: 300;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: content-box;
}

#hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--neon-blue);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px var(--neon-blue);
    pointer-events: none;
}

body.light-mode #hamburger-btn span {
    box-shadow: none;
}

#hamburger-btn.open span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

#hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

#hamburger-btn.open span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

#fixed-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 255, 204, 0.1);
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

#fixed-contact-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--neon-green);
    transform: scale(1.05);
}

#classic-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 255, 204, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 250;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    pointer-events: none;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-right: 2px solid var(--border-color);
}

#classic-menu-overlay.open {
    transform: translateX(0);
    pointer-events: all;
    box-shadow: 10px 0 30px rgba(0, 255, 204, 0.15);
}

#classic-menu-overlay a {
    color: var(--text-color);
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s linear, text-shadow 0.15s linear;
    font-weight: 600;
}

#classic-menu-overlay a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
    transform: scale(1.08);
}

/* ==========================================
   [SEÇÃO 6] ESTILOS E COMPONENTES INTERNOS DOS SLIDES
   ========================================== */
.slide {
    position: absolute;
    width: 85%;
    max-width: 1000px;
    max-height: 85%;
    overflow-y: auto;
    background: var(--slide-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.1);
    opacity: 0;
    transform: translateZ(-2000px) scale(0.5);
    pointer-events: none;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease-in-out, background-color 0.5s;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
    transform: translateZ(0) scale(1);
    pointer-events: all;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-in-out 0.3s;
}

.slide.passed {
    opacity: 0;
    transform: translateZ(1500px) scale(2);
    pointer-events: none;
}

.slide-inner-content {
    flex: 1 0 auto;
}

.slide-footer {
    margin-top: 40px;
    flex-shrink: 0;
    padding-top: 20px;
    padding-bottom: 10px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.slide-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.discreet-link {
    color: var(--neon-green);
    font-size: 0.7rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 6px;
    font-style: italic;
}

.discreet-link:hover {
    transform: scale(1.05);
    color: var(--neon-blue);
}

.slide::-webkit-scrollbar {
    width: 8px;
}

.slide::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
}

h1,
h2,
h3,
h4 {
    color: var(--neon-green);
    margin-top: 0;
    transition: color 0.5s;
}

h1 {
    font-size: 2.3rem;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    margin-bottom: 10px;
}

h2 {
    font-size: 1.6rem;
    color: var(--neon-blue);
}

p {
    line-height: 1.6;
    font-size: 1.1rem;
    color: var(--text-muted);
}

ul {
    line-height: 1.8;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
    text-decoration: none;
    text-align: center;
    font-size: 0.8rem;
}

.cta-button:hover {
    background: var(--neon-blue) !important;
    color: #010a60 !important;
    box-shadow: 0 0 20px var(--neon-blue);
    transform: scale(1.05);
}

.cta-secondary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
    text-decoration: none;
    text-align: center;
    font-size: 0.8rem;
}

.cta-secondary:hover {
    background: var(--neon-blue) !important;
    color: #010a60 !important;
    box-shadow: 0 0 20px var(--neon-blue);
    transform: scale(1.05);
}

.btn-voltar {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-color);
    margin-bottom: 20px;
    padding: 8px 20px;
    font-size: 0.8rem;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    /* Transição ajustada para capturar os movimentos suavemente */
    transition: all 0.2s ease-in-out;
}

/* Efeito ao passar o mouse: leve destaque e movimento para a esquerda */
.btn-voltar:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateX(-4px);
}

/* Efeito ao clicar: botão afunda sutilmente */
.btn-voltar:active {
    transform: scale(0.94) translateX(-4px);
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background-color 0.5s;
    cursor: pointer;
    position: relative;
    font-size: 0.8rem;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.1);
}

.content-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

.content-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphBlob 8s ease-in-out infinite alternate;
}

@keyframes morphBlob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* [Grids e Interações] Estilos de layout flexível e efeitos visuais em ícones */
.compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    transition: transform 0.3s, filter 0.3s;
}

.social-icons a:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px var(--neon-blue));
}

.compact-card {
    background: rgba(27, 54, 254, 0.03);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--neon-blue);
    display: flex;
    flex-direction: column;
}

.main-catalog-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--neon-green);
    background: rgba(0, 255, 204, 0.05);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--neon-green);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
}

.main-catalog-btn:hover {
    background: var(--neon-green);
    color: #fff;
    box-shadow: 0 0 10px var(--neon-green);
    text-shadow: none;
}

.compact-card a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
    padding-left: 10px;
}

.compact-card a:hover {
    color: var(--neon-blue);
    transform: translateX(5px);
}

.chat-quick-btn {
    flex: 0 0 45px !important;
    height: 45px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 5px;
}

/* ==========================================
   [SEÇÃO 7] ELEMENTOS DO FORMULÁRIO (GERAL E DROPDOWN)
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    margin-bottom: 5px;
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.dropdown-check-list {
    display: inline-block;
    width: 100%;
    position: relative;
}

.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-color);
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s;
}

.dropdown-check-list .anchor:hover {
    border-color: var(--neon-green);
}

.dropdown-check-list .anchor:after {
    content: '▼';
    position: absolute;
    right: 15px;
    color: var(--neon-blue);
}

.dropdown-check-list ul.items {
    padding: 15px;
    display: none;
    margin: 0;
    border: 1px solid var(--border-color);
    border-top: none;
    background: var(--card-bg);
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0 0 5px 5px;
    position: absolute;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.dropdown-check-list.visible ul.items {
    display: block;
}

.dropdown-check-list ul.items::-webkit-scrollbar {
    width: 6px;
}

.dropdown-check-list ul.items::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 3px;
}

.items li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.items li label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.items li input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--neon-green);
    transform: scale(1.2);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.whatsapp-btn {
    border-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-btn:hover {
    background: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    border-color: #25D366;
}

.selected-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.selected-item {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInTag 0.3s ease forwards;
}

.selected-item::before {
    content: '✓';
    font-weight: 900;
}

body.light-mode .selected-item {
    background: rgba(0, 179, 0, 0.05);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

@keyframes fadeInTag {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.selected-item-web {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
}

body.light-mode .selected-item-web {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.nowrap {
    white-space: nowrap;
}

.mobile-break {
    display: none;
}

/* ==========================================
   [SEÇÃO 8] RESPONSIVIDADE E MATEMÁTICA DE TELAS MÉDIAS
   ========================================== */
@media (max-width: 1005px) {
    .mobile-break {
        display: block;
    }

    .menu-item {
        width: 160px;
        left: -80px;
        font-size: 0.85rem;
    }

    .menu-item svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* Repassando a lógica de centralização: Menu (55), Respiro(15), Logo(80), Respiro(15) */
    #menu-wrapper {
        height: 55px;
    }

    #logo-wrapper {
        top: 65px;
        height: 70px;
    }

    #presentation-container {
        top: 145px;
        height: calc(100vh - 165px);
        align-items: flex-start;
    }

    #site-logo {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .pulse-light {
        width: 300px;
        height: 100px;
    }

    #theme-toggle-wrapper {
        top: 14px;
        right: 15px;
    }

    .slide {
        width: 90%;
        padding: 30px 25px;
        max-height: 95%;
        margin-top: 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    p,
    ul {
        font-size: 1rem;
    }

    .services-grid,
    .hub-grid,
    .contact-grid,
    .compact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 15px;
    }

    .content-split {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        margin-top: 15px;
    }

    .content-img {
        width: 85%;
        max-height: 280px;
        margin: 0 auto;
        display: block;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .cta-button,
    .cta-secondary {
        display: block;
        text-align: center;
        box-sizing: border-box;
        font-size: 0.7rem;
    }

    #classic-menu-overlay {
        height: 100vh;
    }

    #classic-menu-overlay a {
        font-size: 1.2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    #fixed-contact-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 0.7rem;
        border-width: 1px;
    }

    .splash-text-top h1 {
        font-size: 2rem;
    }

    .splash-text-bottom p {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .tap-text {
        display: block;
        font-size: 0.9rem;
        margin-top: 40px;
        animation: pulseAlpha 2s infinite;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 300;
        color: var(--text-muted);
    }

    .slide-footer {
        padding-bottom: 90px;
    }
}

/* ==========================================
   [SEÇÃO 9] RESPONSIVIDADE E MATEMÁTICA DE TELAS PEQUENAS (CELULAR)
   ========================================== */
@media (max-width: 480px) {

    /* Mantendo a constante: Menu (55), Respiro(15), Logo(70), Respiro(15) */
    #menu-wrapper {
        height: 48px;
    }

    #logo-wrapper {
        top: 60px;
        height: 70px;
    }

    #hamburger-btn {
        position: fixed;
        top: 3px;
        left: 2px;
        width: 30px;
        height: 20px;
        padding: 12px;
    }

    .toggle-track {
        width: 46px;
        height: 25px;
        top: 0;
        right: -5px;
    }

    .toggle-thumb {
        width: 21px;
        height: 21px;
        top: 2.2px;
        right: 25px;
    }

    #presentation-container {
        top: 140px;
        height: calc(100vh - 160px);
        align-items: flex-start;
    }

    #site-logo {
        font-size: 1.95rem;
        letter-spacing: 1px;
    }

    .pulse-light {
        width: 240px;
        height: 80px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .slide {
        padding: 25px 20px;
        max-height: 95%;
        margin-top: 0;
    }

    .slide-footer {
        padding-bottom: 100px;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .form-control {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .menu-item {
        width: 160px;
        font-size: 0.7rem;
    }

    .menu-item svg {
        width: 11px;
        height: 11px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #classic-menu-overlay a {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .splash-text-top h1 {
        font-size: 2.5rem;
    }

    .splash-text-bottom p {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .tap-text {
        display: block;
        font-size: 0.8rem;
        margin-top: 40px;
        animation: pulseAlpha 2s infinite;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 300;
        color: var(--text-muted);
    }
}

/* ==========================================
   [SEÇÃO 10] PÁGINA DE SUCESSO (NEON GEOMETRY)
   ========================================== */
.sucesso-body {
    background-color: var(--dark-bg);
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.sucesso-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(3, 5, 10, 0.8) 0%, rgba(3, 5, 10, 1) 100%);
    z-index: 10000;
}

.sucesso-card {
    position: relative;
    background: var(--card-bg);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
    width: 450px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.15), 0 0 30px rgba(0, 243, 255, 0.1);
}

/* Borda Neon Rotativa (Inspirada nas linhas coloridas transversais) */
.sucesso-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            var(--neon-blue),
            transparent 30%,
            transparent 50%,
            #ff00ff,
            transparent 80%);
    animation: spinNeonBorder 4s linear infinite;
    z-index: -1;
}

.sucesso-card::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: var(--slide-bg);
    border-radius: 12px;
    z-index: -1;
    backdrop-filter: blur(10px);
}

@keyframes spinNeonBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sucesso-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--neon-blue), #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5));
}

.sucesso-content h1 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.sucesso-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.sucesso-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.4s;
}

.sucesso-btn:hover {
    background: var(--neon-blue);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
    transform: scale(1.05);
}

/* ==========================================
   [SEÇÃO 11] ATUALIZAÇÕES PARA MODO CLARO NAS PÁGINAS DE SUCESSO E 404
   ========================================== */
body.light-mode .sucesso-wrapper {
    background: radial-gradient(circle at center, rgba(244, 247, 246, 0.8) 0%, rgba(220, 230, 240, 1) 100%);
}

body.light-mode .sucesso-card {
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.15), 0 0 20px rgba(0, 179, 0, 0.1);
}

body.light-mode .sucesso-content h1 {
    color: var(--neon-blue);
    text-shadow: none;
}

body.light-mode .sucesso-content p {
    color: var(--text-muted);
}

body.light-mode .sucesso-icon {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.3));
}

body.light-mode .sucesso-card::before {
    background: conic-gradient(transparent,
            var(--neon-blue),
            transparent 30%,
            transparent 50%,
            var(--neon-green),
            transparent 80%);
}

body.light-mode .sucesso-btn {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

body.light-mode .sucesso-btn:hover {
    background: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}