:root {
    --primary-blue: #160d21; /* Roxo escuro do fundo do flyer */
    --primary-blue-dark: #0d0814; /* Quase preto/roxo para contraste */
    --primary-blue-light: #4b225c; /* Roxo do círculo do logo no flyer */
    --flyer-blue: #1d65b2; /* Azul dos botões/cards de plano no flyer */
    --primary-yellow: #FFFF00;
    --primary-yellow-hover: #e6e600;
    --text-light: #ffffff;
    --text-gray: #a0aec0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-yellow);
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-blue-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 0, 0.1);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 8, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(3, 8, 26, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-dots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
}

.logo-dots .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
}

.logo-dots .dot:nth-child(2),
.logo-dots .dot:nth-child(5) {
    transform: scale(1.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    line-height: 1;
}

.logo-text .oronet {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-yellow);
    letter-spacing: 1px;
}

.logo-text .telecom {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-yellow);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: url('imagens/familia_hero.jpg') center/cover no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 8, 20, 0.95) 0%, rgba(13, 8, 20, 0.7) 40%, rgba(13, 8, 20, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-yellow);
}

.hero-title .highlight-large {
    color: var(--primary-yellow);
    font-size: 5.5rem;
    display: block;
    text-shadow: 0 0 30px rgba(255, 255, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-contact {
    font-size: 1.1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-contact i {
    color: var(--primary-yellow);
}

/* Hero Image/Animation */
.hero-image-container {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.globe-wireframe {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    animation: rotateGlobe 20s linear infinite;
}

.ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 0, 0.3);
    border-radius: 50%;
}

.r1 { transform: rotateY(0deg); }
.r2 { transform: rotateY(60deg); }
.r3 { transform: rotateY(120deg); }

.feature-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(7, 21, 54, 0.8);
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-yellow);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.4);
}

.f1 { top: -25px; left: 150px; animation: float 4s ease-in-out infinite; }
.f2 { bottom: 50px; left: -10px; animation: float 4s ease-in-out infinite 1s; }
.f3 { bottom: 50px; right: -10px; animation: float 4s ease-in-out infinite 2s; }

/* Planos Section */
.planos-section {
    background-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.planos-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 40px 10px; /* Padding menor, pois agora está dentro do container e vai rolar interno */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.planos-grid::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-yellow);
    color: var(--primary-blue-dark);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

@media (max-width: 1250px) {
    .prev-btn {
        left: -10px;
    }
    .next-btn {
        right: -10px;
    }
}

.plano-card {
    min-width: 300px;
    scroll-snap-align: center;
    flex-shrink: 0;
    /* Fundo azul metalizado */
    background: linear-gradient(135deg, #153c70 0%, #1d65b2 35%, #59acff 50%, #1d65b2 65%, #0e2b52 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 40px 30px;
    /* Adicionando inset shadow para o efeito chanfrado de metal */
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.3), 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plano-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 40px rgba(255, 255, 0, 0.2);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: var(--primary-yellow);
    color: var(--primary-blue-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.plano-card.popular {
    border-color: var(--primary-yellow);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--flyer-blue) 0%, #154c86 100%);
}

.plano-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plano-card.premium {
    background: linear-gradient(135deg, #154c86 0%, var(--primary-blue-light) 100%);
    border-color: var(--primary-yellow);
}

/* Cobertura Section */
.cobertura-section {
    background-color: var(--primary-blue-dark);
}

.cobertura-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cobertura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cobertura-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--primary-yellow);
    transition: var(--transition);
}

.cobertura-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.cobertura-item i {
    color: var(--primary-yellow);
    font-size: 20px;
}

.cobertura-aviso {
    font-size: 0.9rem;
    margin-top: 20px;
}

.plano-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.plano-speed {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.plano-speed span {
    font-size: 1.5rem;
    color: var(--primary-yellow);
}

.plano-name {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plano-price {
    text-align: center;
    margin-bottom: 30px;
}

.plano-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    color: var(--primary-yellow);
}

.plano-price .value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-yellow);
}

.plano-price .cents {
    font-size: 1.2rem;
    vertical-align: top;
    color: var(--primary-yellow);
}

.plano-price .period {
    color: rgba(255, 255, 255, 0.7);
}

.plano-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plano-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plano-features li i {
    color: var(--primary-yellow);
    margin-top: 4px;
}

.cobertura-map-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#map {
    width: 100%;
    height: 100%;
    background: #e5e3df; /* Fallback de carregamento claro padrão de mapa */
}

@media (max-width: 992px) {
    .cobertura-layout {
        grid-template-columns: 1fr;
    }
    
    .cobertura-map-container {
        height: 300px;
        order: -1; /* Coloca o mapa em cima no celular */
    }
}

/* Vantagens Section */
.vantagens-section {
    background-color: var(--primary-blue-dark);
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.vantagem-item {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.vantagem-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-yellow);
    transition: var(--transition);
}

.vantagem-item:hover .icon-box {
    background: var(--primary-yellow);
    color: var(--primary-blue-dark);
    transform: scale(1.1);
}

.vantagem-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.vantagem-item p {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background-color: #020510;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-gray);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue-dark);
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-contact li {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-yellow);
}

.footer-anatel {
    text-align: center;
}

.anatel-logo {
    max-width: 150px;
    margin-bottom: 15px;
    margin-top: -20px; /* Sobe a imagem para alinhar com os títulos (h3) das outras colunas */
    opacity: 0.9;
}

.footer-anatel p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.developer-info a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.developer-info a:hover {
    text-decoration: underline;
}

.social-dev {
    margin-left: 10px;
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 12px;
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: #FFF;
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes rotateGlobe {
    from { transform: rotateX(10deg) rotateY(0deg); }
    to { transform: rotateX(10deg) rotateY(360deg); }
}

/* Reveal on Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .hero-title .highlight-large { font-size: 4rem; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: var(--primary-blue-dark);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active, .nav-actions.active {
        display: flex;
    }

    .nav-actions {
        top: calc(100% + 150px);
        padding-bottom: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-contact {
        justify-content: center;
    }

    .plano-card.popular {
        transform: scale(1);
    }
    
    .plano-card.popular:hover {
        transform: translateY(-10px);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-title .highlight-large {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}
