/* ===== VARIÁVEIS DE COR (fiel ao tema HSL do React) ===== */
:root {
    --background: 222 47% 6%;
    --foreground: 210 40% 96%;
    --card: 222 47% 9%;
    --border: 222 30% 18%;
    --muted: 222 30% 14%;
    --muted-foreground: 215 20% 60%;
    --night-deep: 222 55% 4%;
    --night-mid: 222 47% 8%;
    --night-surface: 222 35% 12%;
    --glow-cyan: 190 90% 50%;
    --glow-blue: 217 91% 60%;
    --cta-green: 142 60% 45%;
    --highlight: 190 90% 60%;
}

/* ===== RESET BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* ===== TIPOGRAFIA ===== */
.font-heading { font-family: 'Outfit', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }

/* ===== FUNDO FIXO (night sky) ===== */
.night-sky-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    background-image: url('img_2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* ===== UTILITÁRIOS DE GLOW/GRADIENTE ===== */
.text-glow {
    text-shadow: 0 0 20px hsl(190 90% 50% / 0.4), 0 0 40px hsl(190 90% 50% / 0.2);
}
.text-glow-strong {
    text-shadow: 0 0 30px hsl(190 90% 50% / 0.6), 0 0 60px hsl(190 90% 50% / 0.3);
}
.box-glow {
    box-shadow: 0 0 20px hsl(190 90% 50% / 0.2), 0 0 40px hsl(190 90% 50% / 0.1);
}
.box-glow-green {
    box-shadow: 0 0 20px hsl(142 60% 45% / 0.3), 0 0 40px hsl(142 60% 45% / 0.15);
}
.gradient-night {
    background: linear-gradient(180deg, hsl(222 55% 4%) 0%, hsl(222 47% 8%) 50%, hsl(222 55% 4%) 100%);
}
.gradient-card {
    background: linear-gradient(135deg, hsl(222 35% 12% / 0.8) 0%, hsl(222 47% 9% / 0.6) 100%);
}
.text-glow-cyan { color: hsl(var(--glow-cyan)); }
.text-highlight { color: hsl(var(--highlight)); }
.text-cta { color: hsl(var(--cta-green)); }
.bg-cta { background-color: hsl(var(--cta-green)); }
.border-border\/30 { border-color: hsl(var(--border) / 0.3); }

/* ===== COMPONENTES ===== */
.btn-cta {
    display: inline-block;
    white-space: nowrap;
    background: hsl(var(--cta-green));
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
    max-width: 100%;
}
@media (min-width: 768px) {
    .btn-cta { font-size: 1.125rem; padding: 1.25rem 3rem; }
}
.btn-cta:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}
.btn-cta-lg {
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
}
@media (min-width: 768px) {
    .btn-cta-lg { font-size: 1.25rem; padding: 1.5rem 3.5rem; }
}

.card-glass {
    background: linear-gradient(135deg, hsl(222 35% 12% / 0.8) 0%, hsl(222 47% 9% / 0.6) 100%);
    border: 1px solid hsl(var(--border) / 0.3);
    transition: all 0.3s ease;
}
.card-glass-hover:hover {
    box-shadow: 0 0 20px hsl(190 90% 50% / 0.2), 0 0 40px hsl(190 90% 50% / 0.1);
    border-color: hsl(var(--glow-cyan) / 0.3);
}

.icon-circle {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: hsl(var(--glow-cyan) / 0.1);
    border: 1px solid hsl(var(--glow-cyan) / 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px hsl(190 90% 50% / 0.4), 0 0 40px hsl(190 90% 50% / 0.2);
}
@media (min-width: 768px) {
    .section-title { font-size: 2.25rem; margin-bottom: 3rem; }
}

/* ===== FAQ ===== */
.faq-item { border: 1px solid hsl(var(--border) / 0.3); border-radius: 0.75rem; }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    background: transparent;
    border: none;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}
@media (min-width: 768px) {
    .faq-question { font-size: 1rem; }
}
.faq-icon {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    position: relative;
    transition: transform 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: hsl(var(--muted-foreground));
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; transition: opacity 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-item.open .faq-icon::after { opacity: 0; }
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-content-inner {
    padding: 0 1.5rem 1.25rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.7;
    white-space: pre-line;
}
@media (min-width: 768px) {
    .faq-content-inner { font-size: 1rem; }
}

/* ===== VIDEO PLAYER ===== */
.video-thumb {
    position: relative;
    cursor: pointer;
}
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-play-circle {
    width: 4rem; height: 4rem;
    border-radius: 9999px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
@media (min-width: 768px) {
    .video-play-circle { width: 5rem; height: 5rem; }
}
.video-thumb:hover .video-play-circle { transform: scale(1.1); }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb img { transition: transform 0.3s ease; }

/* ===== ANIMAÇÕES ===== */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px hsl(142 60% 45% / 0.3); }
    50%      { box-shadow: 0 0 35px hsl(142 60% 45% / 0.5); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== PROTEÇÃO DE BOTÕES (GLOBAL) ===== */
button,
input[type="button"],
input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}

a[href*="checkout"],
a.btn-cta {
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
}
