/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
    --primary: #B30000;
    --secondary: #800000;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #e0e0e0;
    --neon-blue: #00FFFF;
    --neon-pink: #FF0080;
    --electric-purple: #8A2BE2;
}

/* ===== RESET E BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }
body { background-color: var(--dark); color: var(--light); scroll-behavior: smooth; line-height: 1.6; overflow-x: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    width: 3.125rem;
    height: 3.125rem;
    border: 0.3125rem solid var(--gray);
    border-top: 0.3125rem solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loaded #preloader {
    opacity: 0;
    pointer-events: none;
}

.loaded main {
    opacity: 1 !important;
}

/* ===== NAVEGAÇÃO ===== */
.nav { 
    padding: 1rem 5%; 
    background-color: rgba(26, 26, 26, 0.9); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    backdrop-filter: blur(10px); 
    transition: all 0.3s ease; 
}
.nav.scrolled { padding: 0.5rem 5%; box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3); }
.logo { font-size: 2rem; font-weight: bold; color: var(--light); transition: all 0.3s ease; cursor: pointer; }
@media (max-width: 480px) {
    .logo { font-size: 1.5rem; }
    .nav { padding: 0.75rem 4%; }
}
.logo:hover { color: var(--primary); transform: scale(1.05); }

/* ===== HERO SECTION ===== */
.hero { 
    padding: 8rem 5% 4rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 2rem; 
    min-height: 100vh; 
    opacity: 0; 
    transform: translateY(1.25rem); 
    animation: fadeIn 1s forwards 0.3s; 
}
@media (max-width: 767px) {
    .hero { padding: 6rem 4% 3rem; gap: 1.5rem; }
}
@media (min-width: 768px) {
    .hero { flex-direction: row; }
}

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.title { 
    font-size: 2.5rem; 
    margin-bottom: 1rem; 
    color: var(--light); 
    line-height: 1.2; 
    position: relative; 
    text-align: center; 
}
@media (max-width: 480px) {
    .title { font-size: 2rem; margin-bottom: 0.75rem; }
}
@media (min-width: 768px) {
    .title { font-size: 3.5rem; text-align: left; }
}

.title::after { 
    content: ''; 
    position: absolute; 
    bottom: -0.625rem; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 6.25rem; 
    height: 0.25rem; 
    background: var(--primary); 
    border-radius: 0.125rem; 
}
@media (min-width: 768px) {
    .title::after { left: 0; transform: none; }
}

.features { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    margin: 2rem 0; 
    justify-content: center; 
}
@media (max-width: 480px) {
    .features { gap: 0.5rem; margin: 1.5rem 0; }
}
@media (min-width: 768px) {
    .features { justify-content: flex-start; }
}

.feature { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 1rem; 
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 1.25rem; 
    transition: all 0.3s ease; 
    font-size: 0.9rem; 
}
@media (max-width: 480px) {
    .feature { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
}
.feature:hover { background: rgba(179, 0, 0, 0.3); transform: translateY(-0.1875rem); }

.cta-button { 
    background-color: var(--primary); 
    color: var(--light); 
    padding: 1rem 2rem; 
    border: none; 
    border-radius: 0.3125rem; 
    font-size: 1.1rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    text-decoration: none; 
    display: inline-block; 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
    text-align: center; 
}
@media (max-width: 480px) {
    .cta-button { padding: 0.875rem 1.5rem; font-size: 1rem; }
}
.cta-button:hover { 
    background-color: var(--secondary); 
    transform: translateY(-0.1875rem); 
    box-shadow: 0 0.625rem 1.25rem rgba(179, 0, 0, 0.3); 
}

/* ===== DEPOIMENTOS ===== */
.testimonials {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}
@media (max-width: 480px) {
    .testimonials { padding: 3rem 4%; }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}
@media (max-width: 480px) {
    .section-title { font-size: 1.8rem; margin-bottom: 2rem; }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}
@media (max-width: 480px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(179, 0, 0, 0.3);
    transition: all 0.3s ease;
}
@media (max-width: 480px) {
    .testimonial-card { padding: 1.5rem; }
}
.testimonial-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(179, 0, 0, 0.2);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.client-info strong {
    display: block;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.client-info span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ===== BENEFÍCIOS ===== */
.benefits {
    padding: 4rem 5%;
    background: #222;
}
@media (max-width: 480px) {
    .benefits { padding: 3rem 4%; }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}
@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    transition: all 0.3s ease;
}
@media (max-width: 480px) {
    .benefit-item { padding: 1.5rem; }
}
.benefit-item:hover {
    transform: translateY(-0.3125rem);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

/* ===== PREÇOS ===== */
.pricing { 
    padding: 4rem 5%; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); 
    gap: 2rem; 
}
@media (max-width: 480px) {
    .pricing { padding: 3rem 4%; gap: 1.5rem; grid-template-columns: 1fr; }
}

.price-card { 
    background-color: #2a2a2a; 
    padding: 2rem; 
    border-radius: 0.625rem; 
    text-align: center; 
    transition: all 0.3s ease; 
    opacity: 0; 
    transform: translateY(1.25rem); 
    position: relative; 
}
@media (max-width: 480px) {
    .price-card { padding: 1.5rem; }
}

.price-card.animated { animation: fadeInUp 0.6s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.price-card:hover { 
    transform: translateY(-0.625rem); 
    box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.3); 
}

.price-card.featured { 
    border: 0.125rem solid var(--primary); 
    transform: scale(1.05); 
}
@media (max-width: 480px) {
    .price-card.featured { transform: scale(1.02); }
}

.price { 
    font-size: 2rem; 
    margin: 1rem 0; 
    color: var(--primary); 
}
@media (max-width: 480px) {
    .price { font-size: 1.75rem; }
}

.features-list { 
    list-style: none; 
    text-align: left; 
    margin: 2rem 0; 
}

.features-list li { 
    margin: 0.5rem 0; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem; 
    border-radius: 0.3125rem; 
    font-size: 0.95rem; 
}
@media (max-width: 480px) {
    .features-list li { font-size: 0.875rem; padding: 0.375rem; }
}
.features-list li::before { 
    content: "✓"; 
    color: var(--primary); 
    font-weight: bold; 
    font-size: 1.5em; 
}

/* ===== EM BREVE ===== */
.coming-soon {
    text-align: center;
    padding: 4rem 5%;
    font-size: 2rem;
    font-weight: 900;
    color: #ff4500;
    text-shadow: 0 0 1.25rem #ff4500, 0 0 2.5rem #ff4500;
    background: linear-gradient(90deg, #ff4500, #ff006e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}
@media (max-width: 480px) {
    .coming-soon { font-size: 1.5rem; padding: 3rem 4%; }
}
@media (min-width: 768px) {
    .coming-soon { font-size: 3.5rem; }
}

@keyframes glow { 
    from { text-shadow: 0 0 1.25rem #ff4500; } 
    to { text-shadow: 0 0 2.5rem #ff4500, 0 0 3.75rem #ff4500; } 
}

/* ===== ROBÔ SECTION ===== */
.robot-section { 
    padding: 4rem 5%; 
    text-align: center; 
    background: #222; 
}
@media (max-width: 480px) {
    .robot-section { padding: 3rem 4%; }
}

.robot-section img { 
    max-width: 31.25rem; 
    width: 90%; 
    height: auto; 
    border-radius: 1.25rem; 
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.6); 
    margin-bottom: 2rem; 
    object-fit: cover; 
}

/* ===== FAQ ===== */
.faq-section { 
    padding: 4rem 10%; 
    background-color: #202020; 
}

.faq-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 3rem; 
}

.faq-item { 
    background: #2a2a2a; 
    margin-bottom: 1rem; 
    border-radius: 10px; 
    border: 1px solid #333; 
    padding: 0; 
    transition: all 0.3s ease; 
    overflow: hidden; 
}

.faq-item[open] { 
    border-color: #B30000; 
    box-shadow: 0 0 15px rgba(179, 0, 0, 0.4); 
}

.faq-item summary { 
    padding: 1.2rem 1.5rem; 
    cursor: pointer; 
    font-size: 1.2rem; 
    color: #fff; 
    list-style: none; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.faq-item summary::-webkit-details-marker { 
    display: none; 
}

.faq-item summary::after { 
    content: "▼"; 
    font-size: 1rem; 
    transition: transform 0.3s ease; 
}

.faq-item[open] summary::after { 
    transform: rotate(180deg); 
}

.faq-item p { 
    padding: 0 1.5rem 1.5rem; 
    color: #d0d0d0; 
    font-size: 1rem; 
    line-height: 1.6; 
}

/* ===== BRAND SECTION ===== */
.brand-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(42,42,42,0.95) 50%, rgba(26,26,26,0.95) 100%),
                radial-gradient(circle at 20% 80%, rgba(0,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,0,128,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(138,43,226,0.1) 0%, transparent 50%);
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    position: relative; 
    overflow: hidden;
    padding: 2rem 5%;
}
@media (max-width: 480px) {
    .brand-section { padding: 2rem 4%; height: auto; min-height: 100vh; }
}

.brand-text {
    font-size: 4rem; 
    font-weight: 900; 
    color: transparent;
    background: linear-gradient(135deg, #00FFFF 0%, #FF0080 25%, #8A2BE2 50%, #FF0080 75%, #00FFFF 100%);
    background-size: 300% 300%; 
    -webkit-background-clip: text; 
    background-clip: text;
    font-family: 'Orbitron', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 0.1em;
    animation: gradientMove 4s ease infinite, textGlow 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 1.25rem rgba(0,255,255,0.3));
}
@media (max-width: 480px) {
    .brand-text { font-size: 2.5rem; }
}
@media (min-width: 768px) {
    .brand-text { font-size: 8rem; }
}

@keyframes gradientMove { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}

@keyframes textGlow { 
    0% { text-shadow: 0 0 0.625rem rgba(0,255,255,0.5), 0 0 1.25rem rgba(255,0,128,0.3); } 
    100% { text-shadow: 0 0 1.25rem rgba(0,255,255,0.8), 0 0 2.5rem rgba(255,0,128,0.5); } 
}

.tagline { 
    font-size: 1.5rem; 
    margin: 2rem 0; 
    background: linear-gradient(90deg, #00FFFF, #FF0080, #8A2BE2); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
    text-align: center; 
}
@media (max-width: 480px) {
    .tagline { font-size: 1.2rem; margin: 1.5rem 0; }
}
@media (min-width: 768px) {
    .tagline { font-size: 2.5rem; }
}

.action-links { 
    display: flex; 
    gap: 2rem; 
    flex-wrap: wrap; 
    justify-content: center; 
}
@media (max-width: 480px) {
    .action-links { gap: 1rem; }
}

.action-link { 
    padding: 1rem 2rem; 
    border: 0.125rem solid transparent; 
    border-radius: 3.125rem; 
    color: white; 
    text-decoration: none; 
    font-size: 1.2rem; 
    transition: all 0.4s; 
}
@media (max-width: 480px) {
    .action-link { padding: 0.875rem 1.5rem; font-size: 1rem; }
}
.action-link:hover { 
    border-color: var(--neon-blue); 
    transform: translateY(-0.3125rem); 
    box-shadow: 0 0.625rem 1.875rem rgba(0,255,255,0.3); 
}

/* ===== PARTÍCULAS ===== */
.particles { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
    z-index: 1; 
}

.particle { 
    position: absolute; 
    width: 0.25rem; 
    height: 0.25rem; 
    background: var(--neon-blue); 
    border-radius: 50%; 
    animation: floatParticle 8s infinite linear; 
    opacity: 0.7; 
}
.particle:nth-child(2n) { background: var(--neon-pink); }
.particle:nth-child(3n) { background: var(--electric-purple); }

@keyframes floatParticle { 
    0% { transform: translateY(100vh); opacity: 0; } 
    10% { opacity: 0.7; } 
    90% { opacity: 0.7; } 
    100% { transform: translateY(-6.25rem) translateX(6.25rem); opacity: 0; } 
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { 
    position: fixed; 
    bottom: 1.875rem; 
    right: 1.875rem; 
    width: 3.75rem; 
    height: 3.75rem; 
    background-color: #25D366; 
    color: #FFF; 
    border-radius: 50%; 
    font-size: 1.875rem; 
    box-shadow: 0 0.25rem 1.25rem rgba(37, 211, 102, 0.4); 
    z-index: 100; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    animation: pulse 2s infinite; 
}
@media (max-width: 480px) {
    .whatsapp-float { bottom: 1rem; right: 1rem; width: 3rem; height: 3rem; font-size: 1.5rem; }
}

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 
    70% { box-shadow: 0 0 0 0.9375rem rgba(37, 211, 102, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}

/* ===== IFRAME ===== */
.iframe-container { 
    width: 100%; 
    position: relative; 
    padding-top: 56.25%; 
    border-radius: 0.9375rem; 
    overflow: hidden; 
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.5); 
    margin-top: 2rem; 
}
@media (max-width: 480px) {
    .iframe-container { border-radius: 0.625rem; margin-top: 1.5rem; }
}
@media (min-width: 768px) {
    .iframe-container { flex: 1; margin-top: 0; padding-top: 33.75%; }
}

.iframe-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: none; 
}

/* ===== PROGRESS BAR ===== */
.progress-container { 
    width: 100%; 
    height: 0.25rem; 
    background: #333; 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1001; 
}

.progress-bar { 
    height: 0.25rem; 
    background: var(--primary); 
    width: 0%; 
    transition: width 0.3s; 
}

/* ===== HERO CONTENT ===== */
.hero-content { text-align: center; }
@media (min-width: 768px) {
    .hero-content { text-align: left; }
}

/* ===== ANIMAÇÕES OTIMIZADAS PARA MOBILE ===== */
@media (max-width: 480px) {
    .particle { animation: none !important; }
    .brand-text { animation: gradientMove 6s ease infinite !important; }
    .price-card { transform: none !important; }
    .feature:hover { transform: none !important; }
    .cta-button:hover { transform: none !important; }
    .action-link:hover { transform: none !important; }
    .whatsapp-float { animation: none !important; }
}

/* ===== GARANTIR CARREGAMENTO SUAVE ===== */
main { opacity: 0; transition: opacity 0.5s ease-in; }
