/* --- GLOBAL --- */
:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --primary-color: #3b82f6;
    --accent-color: #06b6d4;
    --vip-color: #8b5cf6;
    --ai-color: #d946ef;
    --success-color: #10b981;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAVBAR --- */
.navbar { padding: 20px 0; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; color: white; text-decoration: none; }
.highlight { color: var(--accent-color); }
.nav-right { display: flex; align-items: center; gap: 25px; }
.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-color); }
.btn-nav { background: var(--gradient); color: white !important; padding: 10px 24px; border-radius: 50px; font-weight: 700; text-decoration: none; }

/* DROPDOWN IDIOMA */
.lang-dropdown { position: relative; display: inline-block; }
.selected-lang { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid #334155; padding: 6px 12px; border-radius: 50px; cursor: pointer; color: var(--text-color); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.selected-lang:hover { background: rgba(255,255,255,0.1); }

.lang-options { position: absolute; top: 100%; right: 0; background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 10px 0; width: 160px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.3s ease; z-index: 1100; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.lang-dropdown:hover .lang-options, .lang-options.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-options li { padding: 10px 20px; color: #94a3b8; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.2s; }
.lang-options li:hover { background: rgba(59, 130, 246, 0.1); color: white; }
.lang-options li img { border-radius: 2px; flex-shrink: 0; }
.lang-options li:last-child { border-bottom: none; }

/* --- HERO --- */
.hero { text-align: center; padding: 140px 20px 120px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('../banner.avif'); background-size: cover; background-position: center; opacity: 0.15; z-index: 0; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.badge { background: rgba(16, 185, 129, 0.15); color: #34d399; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 25px; display: inline-block; border: 1px solid rgba(16, 185, 129, 0.3); backdrop-filter: blur(5px); }
.hero h2 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; font-weight: 800; }
.hero p { font-size: 1.25rem; color: #cbd5e1; max-width: 650px; margin: 0 auto 40px; }
.btn-primary { display: inline-block; background: var(--gradient); color: white; padding: 16px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem; border: none; cursor: pointer; border-radius: 50px !important; }
.btn-primary:hover { transform: scale(1.05); transition: 0.3s; }
.visual-break { position: relative; height: 300px; width: 100%; margin: 0 auto; max-width: 1000px; border-radius: 20px; overflow: hidden; margin-top: -40px; margin-bottom: 30px; z-index: 10; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.visual-break img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

/* --- FEATURES --- */
.features { padding: 80px 0 80px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.feature-card { background: var(--card-bg); padding: 40px 30px; border-radius: 16px; border: 1px solid #334155; }
.feature-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: 20px; }
.feature-card h4 { font-size: 1.4rem; margin-bottom: 10px; color: white; }

/* --- CALCULADORA --- */
.calculator-section { padding: 60px 0 100px; background-color: #020617; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h3 { font-size: 2.2rem; margin-bottom: 10px; color: white; }
.section-header p { color: var(--text-muted); }

.calc-wrapper { display: flex; gap: 40px; align-items: flex-start; }
.calc-col-left { flex: 2; min-width: 300px; }
.calc-col-right { flex: 1; min-width: 300px; position: sticky; top: 100px; }

/* Grupos */
.plan-group { margin-bottom: 50px; }
.plan-group-title { color: white; font-size: 1.4rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #334155; display: flex; align-items: center; gap: 10px; }

/* Grupo IA */
.plan-group.ai-highlight { background: linear-gradient(180deg, rgba(217, 70, 239, 0.05) 0%, rgba(15, 23, 42, 0.6) 100%); border: 1px solid #d946ef !important; border-radius: 16px; padding: 25px; box-shadow: 0 0 40px rgba(217, 70, 239, 0.1); }
.plan-group.ai-highlight .plan-group-title { border-bottom: 1px solid rgba(217, 70, 239, 0.3); color: #d946ef !important; margin-bottom: 20px; }

/* Card Item */
.plan-item { display: flex !important; gap: 15px; background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 20px; margin-bottom: 15px; cursor: pointer; transition: all 0.2s ease; position: relative; overflow: hidden; }
.plan-item:hover { border-color: #94a3b8; transform: translateY(-2px); }
.plan-item.selected { background: rgba(59, 130, 246, 0.08) !important; border-color: #3b82f6 !important; box-shadow: 0 0 0 1px #3b82f6 !important; }
.plan-item.ai-style { background: rgba(15, 23, 42, 0.8); border-color: rgba(217, 70, 239, 0.3) !important; }
.plan-item.ai-style.selected { background: rgba(217, 70, 239, 0.1) !important; border-color: #d946ef !important; box-shadow: 0 0 0 1px #d946ef !important; }
.plan-item.is-included { background: rgba(16, 185, 129, 0.05) !important; border-color: #10b981 !important; opacity: 0.95; }
.plan-item.is-included:hover { border-color: #10b981; cursor: default; transform: none; }
.plan-item.is-base { border-color: #10b981 !important; background: rgba(16, 185, 129, 0.05) !important; border-width: 2px !important; }
.plan-item.is-base.selected { background: rgba(16, 185, 129, 0.1) !important; box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important; }
.plan-item.is-base.selected { background: rgba(16, 185, 129, 0.1); box-shadow: 0 0 10px rgba(16, 185, 129, 0.2); }

/* Checkbox */
.check-area { width: 24px; flex-shrink: 0; padding-top: 2px; }
.custom-box { width: 24px; height: 24px; border: 2px solid #64748b; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: 0.2s; background: transparent; }
.custom-box i { color: white; font-size: 14px; opacity: 0; transform: scale(0.5); transition: 0.2s; }

.plan-item.selected .custom-box { background: #3b82f6; border-color: #3b82f6; }
.plan-item.selected .custom-box i { opacity: 1; transform: scale(1); }
.plan-item.ai-style.selected .custom-box { background: #d946ef !important; border-color: #d946ef !important; }
.plan-item.is-included .custom-box { background: #10b981 !important; border-color: #10b981 !important; }
.plan-item.is-included .custom-box i { opacity: 1 !important; transform: scale(1) !important; }
.plan-item.is-base.selected .custom-box { background: #10b981; border-color: #10b981; }
.plan-item.is-base.selected .custom-box i { opacity: 1; transform: scale(1); }

.hidden-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

/* Conteúdo */
.content-area { flex-grow: 1; min-width: 0; }
.card-header { display: flex !important; justify-content: space-between !important; align-items: flex-start !important; margin-bottom: 8px; gap: 15px; }
.card-title { font-weight: 700; color: white; font-size: 1.05rem; flex: 1; }
.card-price { text-align: right; font-weight: 700; color: white; font-size: 1rem; white-space: nowrap; flex-shrink: 0; }
.price-original { transition: 0.2s; }
.badge-included { display: none; font-size: 0.75rem; color: #10b981; font-weight: 800; text-transform: uppercase; }
.plan-item.is-included .price-original { text-decoration: line-through; color: #64748b; font-size: 0.85rem; }
.plan-item.is-included .badge-included { display: block; }
.card-desc { font-size: 0.9rem; color: #94a3b8; line-height: 1.5; }
.tags-row { margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 8px; }

.dependency-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; color: #cbd5e1; font-weight: 600; }
.dependency-tag i { color: #06b6d4; }

/* CONTADORES (Social Media) */
.counter-wrapper { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.counter-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #334155; background: #1e293b; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; user-select: none; }
.counter-btn:hover { background: #3b82f6; border-color: #3b82f6; }
.counter-val { color: white; font-weight: 700; width: 30px; text-align: center; }

/* Resumo Lateral */
.summary-box { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); border: 1px solid #3b82f6; border-radius: 16px; padding: 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.price-display { font-size: 3rem; font-weight: 800; color: white; line-height: 1; margin: 10px 0; }
.items-list { text-align: left; margin: 25px 0; padding-top: 20px; border-top: 1px solid #334155; list-style: none; overflow-y: auto; max-height: 300px; }
.items-list li { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; color: #94a3b8; }
.items-list li span:last-child { color: white; font-weight: 600; }
.btn-finish { display: block; width: 100%; padding: 16px; background: #3b82f6; color: white; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.2s; border: none; cursor: pointer; }
.btn-finish:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4); }

/* --- FOOTER & MAPA --- */
.location { padding: 80px 0; background: radial-gradient(circle at center, #1e293b 0%, #0f172a 70%); border-top: 1px solid #334155; min-height: 600px; display: block; position: relative; z-index: 1; }
.map-container { width: 100%; height: 400px; min-height: 400px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid #334155; position: relative; background: #010409; }
.map-container iframe { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; border: 0 !important; filter: invert(90%) hue-rotate(180deg) contrast(90%) !important; opacity: 1 !important; visibility: visible !important; }

.location-info { text-align: center; margin-bottom: 40px; }
.location-info h3 { color: white; margin-bottom: 15px; }
.location-info p { color: #94a3b8; }

footer { padding: 60px 0; background: #020617; border-top: 1px solid #1e293b; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h5 { color: white; font-size: 1.1rem; margin-bottom: 20px; }
.footer-col p { color: var(--text-muted); margin-bottom: 10px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid #1e293b; color: #64748b; }

@media (max-width: 900px) {
    .hero h2 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .calc-wrapper { flex-direction: column; }
    .calc-col-right { width: 100%; order: -1; margin-bottom: 30px; position: relative; top: 0; }
}
