/* Reset Básico e Estilos Globais */
:root {
    --font-family: 'Poppins', sans-serif;
    --primary-color: #C5050F;
    --secondary-color: #F4C600;
    --background-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --text-color: #f5f5f5;
    --text-muted-color: #a0a0a0;
    --border-color: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--background-color); color: var(--text-color); line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 40px 0; }
h1, h2, h3 { line-height: 1.3; text-transform: uppercase; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; color: var(--text-color); font-weight: 900; }
/* MUDANÇA: Espaçamento do subtítulo corrigido */
.section-subtitle { max-width: 700px; text-align: center; margin: 20px auto 40px; color: var(--text-muted-color); }
.cta-button { 
    background: linear-gradient(90deg, var(--primary-color), #ff4d4d);
    color: #fff; padding: 12px 28px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 1rem; display: inline-block; border: none;
    cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }

/* Navegação */
.top-nav { background-color: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px); position: fixed; width: 100%; z-index: 1000; border-bottom: 1px solid var(--border-color); transition: transform 0.3s ease; }
.top-nav.nav-hidden { transform: translateY(-100%); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { width: 200px; height: auto; }
.nav-menu { list-style: none; display: flex; }
.nav-menu li { margin-left: 25px; }
.nav-menu a { color: var(--text-color); text-decoration: none; font-weight: 500; position: relative; padding-bottom: 5px; text-transform: uppercase; }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--secondary-color); transition: width 0.3s ease; }
.nav-menu a:hover::after { width: 100%; }
.nav-toggle { display: none; }

/* Botão Fixo Mobile */
.mobile-sticky-cta {
    display: none; position: fixed; top: 0; left: 0; width: 100%;
    padding: 10px 20px; background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px); z-index: 999; text-align: center;
}
.mobile-sticky-cta .cta-button { width: 100%; }

/* Seção Hero com Mosaico */
.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; position: relative; overflow: hidden; background: #000; }
.hero-mosaic-background { display: grid; grid-template-columns: repeat(4, 1fr); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-mosaic-background img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity 0.3s ease, transform 0.3s ease; }
.hero-mosaic-background img:hover { opacity: 1; transform: scale(1.1); z-index: 2; }
.hero-section::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 800px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 900; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: var(--text-muted-color); }
.hero-content .cta-button { padding: 16px 32px; font-size: 1.1rem; }

/* Seção de Recursos (Imagens) */
.features-section { padding: 80px 0; background-color: var(--surface-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background-color: #252525; border-radius: 10px; overflow: hidden; text-align: center; }
.feature-card img { width: 100%; height: 240px; object-fit: cover; }
.feature-card h3 { font-size: 1.2rem; margin: 20px 20px 10px; color: var(--secondary-color); font-weight: 700; }
.feature-card p { padding: 0 20px 20px; color: var(--text-muted-color); }

/* Seção de Benefícios (Ícones) */
.benefits-section { padding: 80px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit-card { background-color: var(--surface-color); padding: 30px; border-radius: 10px; text-align: center; border: 1px solid var(--border-color); }
.benefit-icon { margin-bottom: 20px; }
.benefit-icon img { height: 50px; filter: invert(86%) sepia(45%) saturate(4172%) hue-rotate(359deg) brightness(102%) contrast(97%); }
.benefit-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.benefit-card p { color: var(--text-muted-color); }

/* Seção de Vídeo */
.video-tutorial-section { padding: 80px 0; }
.video-responsive-wrapper { position: relative; overflow: hidden; width: 100%; max-width: 800px; margin: 0 auto; padding-top: 56.25%; border-radius: 10px; }
.video-responsive-wrapper iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; }

/* Seção de Preços */
.elegant-pricing-section { padding: 80px 0; background-color: var(--surface-color); }
.elegant-pricing-intro { text-align: center; margin-bottom: 60px; }
.elegant-pricing-title { font-size: 2.8rem; margin-bottom: 10px; font-weight: 900; }
.elegant-pricing-plans-area { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan-card-elegant { background-color: #252525; border: 1px solid var(--border-color); padding: 30px; border-radius: 15px; transition: all 0.3s ease; display: flex; flex-direction: column; }
.highlighted-plan-elegant { border-color: var(--secondary-color); transform: scale(1.05); }
.plan-header-elegant { text-align: center; }
.plan-name-elegant { font-size: 1.4rem; font-weight: 700; }
.plan-description-elegant { color: var(--text-muted-color); text-transform: none; }
.plan-badge-elegant { background-color: var(--secondary-color); color: var(--background-color); padding: 5px 15px; border-radius: 20px; display: inline-block; margin-bottom: 15px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; }
.plan-features-elegant { margin: 20px 0; flex-grow: 1; }
.plan-features-elegant ul { list-style: none; }
.plan-features-elegant li { margin-bottom: 10px; font-size: 0.9rem; }
.plan-features-elegant li .feature-check-elegant { color: var(--secondary-color); }
.plan-price-area-elegant { text-align: center; margin: 20px 0; }
.price-value { font-size: 2.2rem; font-weight: bold; color: var(--secondary-color); }
.price-period { display: block; color: var(--text-muted-color); }
.select-plan-button-elegant { 
    display: block; 
    width: 100%; 
    text-align: center; 
    text-transform: uppercase; 
    color: #fff; 
    text-decoration: none; 
    margin-top: auto;
    background: linear-gradient(90deg, var(--primary-color), #ff4d4d);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.select-plan-button-elegant:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

/* Seção Depoimentos */
.testimonials-section { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background-color: var(--surface-color); padding: 30px; border-radius: 10px; border: 1px solid var(--border-color); text-align: center; }
.testimonial-card img { height: 60px; margin-bottom: 20px; filter: invert(86%) sepia(45%) saturate(4172%) hue-rotate(359deg) brightness(102%) contrast(97%); }
.testimonial-text { color: var(--text-muted-color); font-style: italic; margin-bottom: 20px; }
.testimonial-text::before { content: '“'; font-size: 2rem; }
.testimonial-text::after { content: '”'; font-size: 2rem; }
.testimonial-author { font-weight: bold; color: var(--text-color); }
.testimonial-location { font-size: 0.9rem; color: var(--text-muted-color); }

/* Seção FAQ */
.faq-section-styled { padding: 80px 0; background-color: var(--surface-color); }
.faq-accordion-container { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: #252525; margin-bottom: 10px; border-radius: 5px; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px; font-size: 1.2rem; color: var(--text-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question h3 { margin: 0; font-size: 1.1rem; font-weight: 500; text-transform: none; }
.faq-icon { font-size: 1.5rem; font-weight: bold; transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding: 0 20px 20px; color: var(--text-muted-color); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Rodapé */
.site-footer-complex { background-color: #000; padding: 40px 0 20px; }
.footer-top-row, .footer-bottom-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.footer-logo img { width: 220px; height: auto; opacity: 0.8; }
.footer-bottom-row { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.footer-nav ul, .footer-legal-nav ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a, .footer-legal-nav a { color: var(--text-muted-color); text-decoration: none; transition: color 0.3s; text-transform: uppercase; font-size: 0.9rem; }
.footer-nav a:hover, .footer-legal-nav a:hover { color: var(--text-color); }
.footer-copyright { color: var(--text-muted-color); font-size: 0.9rem; }

/* Responsividade */
@media (max-width: 1200px) {
    .elegant-pricing-plans-area { grid-template-columns: repeat(2, 1fr); }
    .highlighted-plan-elegant { transform: scale(1); }
}
@media (max-width: 992px) {
    .features-grid, .benefits-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .top-nav .nav-menu, .top-nav .nav-toggle, .cta-nav-bar { display: none; }
    .nav-container { justify-content: center; }
    /* MUDANÇA: Logo maior no mobile */
    .logo { width: 75%; }
    .logo img { width: 100%; }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-mosaic-background { grid-template-columns: repeat(3, 1fr); }
    .elegant-pricing-plans-area, .features-grid, .benefits-grid, .testimonials-grid { grid-template-columns: 1fr; }
    
    /* MUDANÇA: Estilos do rodapé para mobile */
    .footer-top-row, .footer-bottom-row { flex-direction: column; gap: 25px; align-items: flex-start; text-align: left; }
    .footer-nav ul, .footer-legal-nav ul { flex-direction: column; gap: 15px; }
    .footer-copyright { text-align: left; }
}

/* ======================================= */
/* === Estilos para o Menu Dropdown ====== */
/* ======================================= */

.nav-menu li {
    position: relative; /* Essencial para o posicionamento do submenu */
}

.nav-menu .submenu {
    display: none; /* Começa escondido */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface-color);
    list-style: none;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    border: 1px solid var(--border-color);
    min-width: 220px; /* Largura mínima do dropdown */
    z-index: 1001;
}

.nav-menu li:hover > .submenu {
    display: block; /* Mostra o submenu ao passar o mouse no item pai */
}

.nav-menu .submenu li {
    margin: 0;
    width: 100%;
}

.nav-menu .submenu a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap; /* Impede que o texto quebre em duas linhas */
    text-transform: none; /* Remove o uppercase dos sub-itens */
}

.nav-menu .submenu a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.nav-menu .submenu a::after {
    display: none; /* Remove a linha animada dos sub-itens */
}

/* Seta para indicar que há um submenu */
.nav-menu .has-submenu > a::after {
    content: ' ▾'; /* Adiciona uma seta para baixo */
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-menu .has-submenu:hover > a::after {
    transform: rotate(180deg); /* Gira a seta ao passar o mouse */
}
