:root {
    --primary: #00E5FF;
    --primary-dark: #00B8CC;
    --secondary: #2979FF; 
    --slate-900: #0f172a; 
    --slate-600: #475569; 
    
    --bg-light: #F4F6F9;
    --text-light: #1E293B;
    --bg-dark: #0B1120;
    --text-dark: #E2E8F0;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --glass-bg: rgba(17, 25, 40, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; transition: background-color 0.3s ease, color 0.3s ease; }

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--bg-light); color: var(--text-light); 
    overflow-x: hidden; overflow-y: auto; 
}
body.dark-mode { background: var(--bg-dark); color: var(--text-dark); }
.hidden { display: none !important; }

.orb-bg {
    position: fixed; top: -30%; right: -20%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 60%);
    filter: blur(80px); z-index: -1;
}

/* --- LOGO INTELIGENTE (CORREÇÃO DE CORES E TAMANHO) --- */
.brand-logo { max-width: 100%; height: auto; display: block; transition: opacity 0.3s ease; }
.brand-logo.hero-size { max-height: 140px; margin-bottom: 25px; } /* Tamanho Grande para a Hero */
.brand-logo.footer-size { max-height: 80px; margin-bottom: 15px; } /* Tamanho Médio para o Rodapé */

/* LÓGICA: Fundo Claro (Padrão) -> Mostra Logo Escura */
.logo-light-mode { display: block; }
.logo-dark-mode { display: none; }

/* LÓGICA: Fundo Escuro (Dark Mode) -> Mostra Logo Clara */
body.dark-mode .logo-light-mode { display: none; }
body.dark-mode .logo-dark-mode { display: block; }


/* CABEÇALHO & MENU MOBILE */
header { padding: 20px 5%; position: sticky; top: 0; z-index: 1000; }
.glass-nav {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 12px 30px; border-radius: 12px; border: var(--glass-border); box-shadow: var(--glass-shadow);
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -1px; }
.highlight { color: var(--secondary); }
body.dark-mode .highlight { color: var(--primary); }
.version-badge { background: rgba(41, 121, 255, 0.1); color: var(--secondary); font-size: 0.7rem; padding: 4px 8px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; }

.nav-links a { text-decoration: none; color: inherit; font-weight: 600; font-size: 1rem; margin: 0 15px; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--secondary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(150,150,150,0.2); background: transparent; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }

.mobile-only { display: none; }
.mobile-dropdown {
    display: none; flex-direction: column; background: var(--glass-bg);
    backdrop-filter: blur(15px); padding: 15px; border-radius: 12px;
    border: var(--glass-border); margin-top: 10px; box-shadow: var(--glass-shadow);
    animation: fadeIn 0.3s ease; position: absolute; width: 90%; left: 5%;
}
.mobile-dropdown.active { display: flex; }
.mobile-dropdown a {
    text-decoration: none; color: var(--text-light); font-weight: 600; font-size: 1.1rem;
    padding: 15px 10px; border-bottom: 1px solid rgba(150,150,150,0.1);
    display: flex; align-items: center; gap: 12px;
}
body.dark-mode .mobile-dropdown a { color: var(--text-dark); border-color: rgba(255,255,255,0.05); }
.mobile-dropdown a i { color: var(--secondary); width: 20px; text-align: center; }
.mobile-dropdown a:last-child { border-bottom: none; }

/* HERO SECTION */
.hero { display: flex; flex-wrap: wrap; padding: 60px 5%; align-items: center; gap: 50px; max-width: 1400px; margin: 0 auto; height: auto; }
.hero-content { flex: 1; min-width: 350px; }

.premium-pill { display: inline-flex; align-items: center; gap: 8px; background: #eafcf1; color: #16a34a; padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 800; margin-bottom: 25px; }
body.dark-mode .premium-pill { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.dot { width: 8px; height: 8px; background: currentColor; border-radius: 50%; }

.premium-title { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900; color: var(--slate-900); line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
body.dark-mode .premium-title { color: #f8fafc; }
.premium-desc { font-size: 1.1rem; color: var(--slate-600); line-height: 1.6; max-width: 90%; margin-bottom: 40px; font-weight: 500;}
body.dark-mode .premium-desc { color: #cbd5e1; }

.premium-metrics { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.premium-metrics .metric strong { font-size: 2rem; color: var(--secondary); line-height: 1; margin-bottom: 5px; display: block; font-weight: 800;}
body.dark-mode .premium-metrics .metric strong { color: var(--primary); }
.premium-metrics .metric span { font-size: 0.95rem; color: var(--slate-600); font-weight: 600; }
body.dark-mode .premium-metrics .metric span { color: #94a3b8; }
.premium-metrics .separator { width: 2px; height: 40px; background: rgba(150,150,150,0.3); }

/* HUB CARD COTAÇÃO */
.hub-card { flex: 0 0 450px; width: 100%; background: var(--glass-bg); border: var(--glass-border); border-radius: 16px; overflow: visible; box-shadow: 0 20px 40px rgba(0,0,0,0.1); backdrop-filter: blur(20px); height: auto; }
.hub-header { padding: 25px 25px 15px 25px; border-bottom: 1px solid rgba(150,150,150,0.1); }
.hub-header h3 { font-size: 1.3rem; color: var(--text-light); display: flex; align-items: center; gap: 10px; font-weight: 800;}
body.dark-mode .hub-header h3 { color: #fff; }

.hub-panel { padding: 20px 25px 30px 25px; }
.input-group { width: 100%; }
.input-group label { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; opacity: 0.9; }
.input-wrapper { position: relative; width: 100%; }
.input-wrapper i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--secondary); opacity: 0.8; font-size: 1.1rem; }
.input-wrapper input, .custom-select { width: 100%; padding: 15px 15px 15px 40px; border-radius: 10px; border: 1px solid rgba(150,150,150,0.3); background: rgba(255,255,255,0.05); color: inherit; outline: none; font-size: 1rem; font-weight: 500;}
.custom-select { padding-left: 15px; }

/* Múltiplas Paradas */
.btn-add-stop { background: rgba(41, 121, 255, 0.05); color: var(--secondary); border: 1px dashed var(--secondary); padding: 12px; width: 100%; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; }
.btn-add-stop:hover { background: rgba(41, 121, 255, 0.15); }
.stop-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 15px; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.btn-remove-stop { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: none; height: 52px; width: 52px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.btn-remove-stop:hover { background: #ef4444; color: white; }

.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 1rem; font-weight: 600; opacity: 0.9; }
.custom-checkbox { width: 22px; height: 22px; accent-color: var(--secondary); cursor: pointer; }

.full-width { width: 100%; padding: 18px; background: var(--secondary); color: white; border: none; border-radius: 10px; font-weight: 800; font-size: 1.1rem; cursor: pointer; margin-top: 10px; display: flex; justify-content: center; align-items: center; gap: 10px; transition: 0.3s;}
.full-width:hover { background: #1c54b2; }

/* Mapa e Resultado */
.map-container { height: 250px; width: 100%; border-radius: 12px; margin-top: 25px; border: 1px solid var(--glass-border); z-index: 10; }
.leaflet-top, .leaflet-bottom { z-index: 400 !important; }

.result-box { margin-top: 25px; padding: 25px; background: rgba(41, 121, 255, 0.05); border: 2px solid var(--secondary); border-radius: 12px; display: flex; flex-direction: column; gap: 20px; animation: slideUp 0.5s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.route-details { font-size: 1rem; opacity: 0.9; line-height: 1.8; }
.price-container { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(150,150,150,0.2); padding-top: 20px; flex-wrap: wrap; gap: 15px; }
.price-tag small { font-size: 1rem; font-weight: 600; opacity: 0.8; }
.price-tag h3 { color: var(--secondary); font-size: 2.2rem; line-height: 1; margin-top: 5px; }

.btn-whatsapp-action { background: #25D366; color: white; border: none; padding: 15px 30px; border-radius: 10px; font-weight: 800; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: 0.3s; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp-action:hover { transform: translateY(-3px); background: #20bd5a; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }

/* --- SEÇÕES: DUAL CARDS (Você vs Empresa) --- */
.dual-section { padding: 60px 5%; max-width: 1400px; margin: 0 auto; }
.dual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.dual-card { padding: 40px; border-radius: 20px; display: flex; flex-direction: column; gap: 20px; transition: 0.3s; }
.dual-card:hover { transform: translateY(-5px); border-color: var(--secondary); }

.card-header { display: flex; align-items: center; gap: 15px; }
.icon-circle { width: 50px; height: 50px; background: rgba(41, 121, 255, 0.1); color: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.dual-card h2 { font-size: 1.8rem; font-weight: 800; }

.benefit-list { list-style: none; padding: 0; margin-top: 10px; flex: 1; }
.benefit-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.05rem; margin-bottom: 12px; opacity: 0.9; }
.benefit-list li i { font-size: 0.6rem; margin-top: 8px; opacity: 0.5; }

.included-box { background: rgba(150,150,150,0.05); padding: 20px; border-radius: 12px; border: 1px dashed rgba(150,150,150,0.3); }
.included-box h4 { font-size: 1.1rem; margin-bottom: 15px; font-weight: 800; }
.included-box p { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; margin-bottom: 8px; font-weight: 600; opacity: 0.9; }
.text-primary { color: #22c55e; } 
.highlight-box { background: rgba(41, 121, 255, 0.05); border-color: rgba(41, 121, 255, 0.3); }

/* --- SEÇÕES: DIFERENCIAIS E PORTA A PORTA --- */
.diferenciais-section, .praticidades-section { padding: 80px 5%; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 2.2rem; margin-bottom: 40px; font-weight: 800; text-align: center;}
.text-left { text-align: left; margin-bottom: 10px;}
.subtitle { font-size: 1.1rem; opacity: 0.8; margin-bottom: 30px; }

.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.bento-item { padding: 35px; border-radius: 16px; transition: 0.3s; }
.bento-item:hover { transform: translateY(-5px); border-color: var(--secondary); }
.bento-item i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }
.bento-item h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 800; }
.bento-item p { font-size: 1rem; line-height: 1.6; opacity: 0.9; }

.praticidades-card { padding: 50px; border-radius: 20px; background: var(--glass-bg); border: var(--glass-border); }
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; margin-bottom: 30px; }
.check-item { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; opacity: 0.9; padding: 10px 0; border-bottom: 1px solid rgba(150,150,150,0.1); }
.check-item i { color: #ef4444; font-size: 1.2rem; } 
.action-row { margin-top: 20px; }

/* --- FOOTER --- */
footer { background: #0B1120; color: white; padding: 60px 5% 30px; margin-top: 60px; }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: 1400px; margin: 0 auto; }
.footer-brand p { font-size: 0.95rem; opacity: 0.7; margin-bottom: 15px; }
.security-badges img { margin-right: 10px; margin-bottom: 10px; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 10px; transition: 0.3s; font-size: 1rem;}
.footer-contact p { color: #94a3b8; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-size: 1rem;}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; text-align: center; color: #64748b; font-size: 0.9rem; }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; box-shadow: 0 10px 20px rgba(37,211,102,0.3); z-index: 999; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    
    .hero { flex-direction: column; text-align: center; }
    .brand-logo.hero-size { margin: 0 auto 25px auto; }
    .premium-title { font-size: 2.5rem; }
    .premium-desc { max-width: 100%; }
    .premium-metrics { justify-content: center; }
    .hub-card { width: 100%; }
    .praticidades-card { padding: 30px 20px; }
    .price-container { flex-direction: column; align-items: flex-start; }
    .btn-whatsapp-action { width: 100%; justify-content: center; padding: 18px; font-size: 1.3rem; }
}
