/* ==========================================================================
   SPEED NET TELECOM - VIBRANT GOLD/YELLOW & ROYAL BLUE DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-dark: #07090e;
    --bg-card: #0e1322;
    --orange-primary: #ffc800; /* Amarelo Ouro Vivo */
    --orange-hover: #ffe033;
    --orange-dark: #cc9f00;
    --orange-glow: rgba(255, 200, 0, 0.4);
    --blue-royal: #0055ff;
    --blue-royal-dark: #0044cc;
    --blue-glow: rgba(0, 85, 255, 0.35);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-card: rgba(255, 200, 0, 0.25);
    --border-light: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* ==========================================================================
   TOP LOCATION BAR
   ========================================================================== */
.top-location-bar {
    background: #04060a;
    border-bottom: 1px solid rgba(255, 200, 0, 0.2);
    padding: 0.4rem 1.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.top-location-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-gold {
    color: var(--orange-primary);
    font-weight: 800;
}

.btn-change-city {
    background: rgba(255, 200, 0, 0.15);
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    margin-left: 0.6rem;
    transition: var(--transition);
}

.btn-change-city:hover {
    background: var(--orange-primary);
    color: #000;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #4ade80;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* ==========================================================================
   HEADER NAVBAR
   ========================================================================== */
.header-top-nav {
    background: linear-gradient(90deg, #090c14 0%, #111827 50%, #090c14 100%);
    padding: 0.8rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--orange-primary);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo-orange {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-robot-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--orange-primary);
    box-shadow: 0 0 16px var(--orange-glow);
    transition: var(--transition);
}

.brand-logo-orange:hover .logo-robot-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--orange-primary);
}

.logo-text-speed {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.logo-text-speed .speed-white { color: #ffffff; }
.logo-text-speed .net-gold { color: var(--orange-primary); }
.logo-text-speed .telecom-sub {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: none;
    color: var(--orange-primary);
    margin-left: 4px;
}

/* Nav Menu Items */
.top-menu-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-menu-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.3rem 0;
}

.top-menu-links a:hover, .top-menu-links a.active {
    color: var(--orange-primary);
    text-shadow: 0 0 10px var(--orange-glow);
}

/* Action Pill Buttons */
.top-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pill-btn-blue {
    background: linear-gradient(135deg, #0055ff 0%, #0033cc 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pill-btn-blue:hover {
    background: linear-gradient(135deg, #3377ff 0%, #0055ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 255, 0.6);
}

.pill-btn-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pill-btn-cyan:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    transform: translateY(-2px);
}

.pill-btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pill-btn-whatsapp:hover {
    background: #1ebd56;
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-vibrant-section {
    padding: 3.5rem 1.5rem;
    background: radial-gradient(circle at 20% 40%, rgba(255, 200, 0, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 80% 60%, rgba(0, 85, 255, 0.15) 0%, transparent 60%);
}

.hero-vibrant-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-mascot-box {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.robot-mascot-img-large {
    width: 100%;
    max-width: 360px;
    height: auto;
    border: none;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 0 25px var(--orange-glow)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
    animation: robotFloat 4s infinite ease-in-out;
}

@keyframes robotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-banner-title-box {
    margin-top: 1.5rem;
    background: rgba(14, 19, 34, 0.85);
    border: 1px solid var(--border-card);
    padding: 1.2rem 1.8rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-banner-title-box h1 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.hero-banner-title-box .highlight-orange {
    color: var(--orange-primary);
    text-shadow: 0 0 15px var(--orange-glow);
}

/* CARDS DE PLANOS EM COLUNAS */
.plans-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.plan-column-card {
    background: linear-gradient(180deg, #0d152d 0%, #080c1a 100%);
    border: 2px solid var(--blue-royal);
    border-radius: 22px;
    padding: 2.4rem 1rem 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.25);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.plan-column-card.popular {
    border-color: var(--orange-primary);
    box-shadow: 0 12px 35px var(--orange-glow);
    transform: scale(1.03);
}

.plan-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-primary);
    color: #000000;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 3px 10px var(--orange-glow);
}

.plan-column-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 0.3rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.plan-mega-number {
    font-family: var(--font-heading);
    font-size: 2.9rem;
    font-weight: 900;
    color: var(--orange-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px var(--orange-glow);
}

.plan-mega-unit {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}

.plan-price-box {
    margin: 1rem 0;
    padding: 0.8rem 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.plan-price-currency {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-price-val {
    font-size: 1.9rem;
    font-weight: 900;
    color: #ffffff;
}

.plan-price-period {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.plan-features-list {
    list-style: none;
    margin-bottom: 1.2rem;
    text-align: left;
    font-size: 0.83rem;
}

.plan-features-list li {
    margin-bottom: 0.45rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-features-list li i {
    color: var(--orange-primary);
}

.btn-hire-plan {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: #000000 !important;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 15px var(--orange-glow);
    transition: var(--transition);
}

.btn-hire-plan:hover {
    background: linear-gradient(135deg, var(--orange-hover) 0%, var(--orange-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px var(--orange-glow);
}

/* ==========================================================================
   AUTOATENDIMENTO SECTION
   ========================================================================== */
.autoatendimento-section {
    padding: 4rem 1.5rem;
    background: rgba(14, 19, 34, 0.7);
}

.section-container {
    max-width: 1320px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.section-title-large .highlight {
    color: var(--orange-primary);
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.auto-card {
    background: #0d1424;
    border: 1.5px solid var(--border-card);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.auto-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--orange-glow);
    background: #121b30;
}

.auto-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 200, 0, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange-primary);
    margin-bottom: 1.2rem;
}

.auto-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auto-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   MODAL DE SELEÇÃO DE CIDADE NA TELA INICIAL (ESTILO WEBFLASH)
   ========================================================================== */
.city-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(14px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.city-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.city-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 560px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    color: #0f172a;
}

.city-modal-backdrop.active .city-modal-card {
    transform: scale(1);
}

.city-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition);
}

.city-modal-close:hover {
    color: #000;
}

.city-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-robot-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-dark);
    box-shadow: 0 0 15px var(--orange-glow);
    margin-bottom: 0.8rem;
}

.city-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.city-modal-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.city-search-box {
    position: relative;
    margin-bottom: 1.2rem;
}

.city-search-box .search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.city-search-box input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: #f8fafc;
    color: #0f172a;
}

.city-search-box input:focus {
    border-color: var(--orange-dark);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(204, 159, 0, 0.2);
}

.modal-cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.3rem;
}

.modal-cities-grid::-webkit-scrollbar {
    width: 5px;
}
.modal-cities-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modal-city-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
}

.modal-city-btn i {
    color: var(--orange-dark);
    font-size: 1rem;
}

.modal-city-btn:hover, .modal-city-btn.active {
    border-color: var(--orange-dark);
    background: #fffdf0;
    color: #000;
    box-shadow: 0 4px 15px rgba(204, 159, 0, 0.2);
    transform: translateY(-2px);
}

/* FOOTER & FLOATING WHATSAPP */
footer {
    background: #05080e;
    border-top: 1px solid var(--border-card);
    padding: 3rem 1.5rem 1.5rem 1.5rem;
}

.float-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsive Queries */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    .top-menu-links {
        display: none;
    }
    .hero-vibrant-container {
        grid-template-columns: 1fr;
    }
    .plans-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .plans-columns-grid {
        grid-template-columns: 1fr;
    }
    .modal-cities-grid {
        grid-template-columns: 1fr;
    }
}
