/* RESET GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --blue-dark: #092543;
    --blue-medium: #0d3b66;
    --blue-light: #0077b6;
    --blue-ultra-light: #00b4d8;
    --red: #e63946;
    --red-hover: #d62839;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-text: #cbd5e1;
    --gray-dark-text: #6c757d;
    --dark-bg: #0a1128;
    --border-radius: 16px;
}

body {
    background-color: var(--white);
    color: var(--blue-dark);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* UTILITÁRIOS DE TEXTO */
.text-center { text-align: center; }
.text-red { color: var(--red) !important; }
.text-blue { color: var(--blue-light); }
.text-blue-light { color: var(--blue-ultra-light); }
.text-white { color: var(--white); }
.text-gray { color: #94a3b8; }
.mt-4 { margin-top: 1.5rem; }

/* NAVBAR (MENU SUPERIOR) */
.navbar {
    background-color: var(--blue-dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.menu a:hover { color: var(--white); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instagram-icon {
    color: var(--white);
    font-size: 20px;
    transition: transform 0.3s;
}
.instagram-icon:hover { transform: scale(1.1); }

.btn-talk {
    background-color: var(--blue-light);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}
.btn-talk:hover { background-color: var(--blue-ultra-light); }

/* SEÇÃO 1: BANNER PRINCIPAL (HERO) */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-image: url('./hero-totalnet.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 37, 67, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    color: #f1f5f9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-hero-connect {
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* SUB TAGS GERAIS DE SEÇÃO */
.sub-tag {
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-dark-text);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* SEÇÃO 2: PLANOS */
.plans-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.plan-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 25px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.plan-card h3 { font-size: 18px; color: var(--gray-dark-text); margin-bottom: 15px; }
.plan-megas { font-size: 48px; font-weight: 900; color: var(--blue-dark); line-height: 1; }
.plan-megas span { font-size: 18px; font-weight: 600; display: block; margin-bottom: 15px; }
.plan-price { font-size: 28px; font-weight: 800; color: var(--red); margin-bottom: 15px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--gray-dark-text); }
.plan-summary { font-size: 13px; color: var(--gray-dark-text); margin-bottom: 25px; min-height: 38px; }

.plan-list { list-style: none; text-align: left; margin-bottom: 35px; flex-grow: 1; }
.plan-list li { margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.plan-list li i { color: #2ec4b6; }

.btn-card-action {
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.plan-card.featured {
    background-color: var(--blue-light);
    border-color: var(--blue-light);
    transform: scale(1.03);
}
.plan-card.featured h3, .plan-card.featured .plan-summary, .plan-card.featured .plan-list li { color: rgba(255, 255, 255, 0.9); }
.plan-card.featured .plan-megas { color: var(--white); }
.plan-card.featured .plan-list li i { color: var(--white); }
.btn-card-action.btn-white { background-color: var(--white); color: var(--blue-light); }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
}

/* SEÇÃO 3: SOBRE NÓS */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-wrapper img { width: 100%; border-radius: var(--border-radius); }
.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--red);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}
.floating-badge span { display: block; font-size: 12px; font-weight: 400; }
.about-text-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.about-text-content p { margin-bottom: 20px; line-height: 1.6; color: var(--gray-dark-text); text-align: justify; }
.about-features { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }
.feat-box { background-color: var(--gray-light); padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.feat-box i { color: var(--blue-light); }

/* SEÇÃO 4: COMO FUNCIONA */
.steps-section { padding: 80px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 40px; }
.step-card { text-align: center; }
.step-icon-wrapper { position: relative; width: 70px; height: 70px; background-color: var(--blue-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; color: var(--white); font-size: 28px; }
.step-count { position: absolute; top: -10px; right: -10px; background-color: var(--red); width: 24px; height: 24px; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 18px; margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--gray-dark-text); line-height: 1.5; }
.btn-blue-cta { background-color: var(--blue-light); color: var(--white); text-decoration: none; padding: 14px 30px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   CORREÇÃO VISUAL DA SEÇÃO 5: DIFERENCIAIS (ESTRUTURA EM COLUNAS LADO A LADO)
   ========================================================================== */
.features-dark-section {
    background-color: var(--dark-bg) !important;
    color: var(--white) !important;
    padding: 80px 0;
    width: 100%;
}

.features-dark-section h2 { 
    color: var(--white) !important; 
}

.features-dark-section .section-desc {
    color: #cbd5e1 !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; /* Força renderizar em 3 colunas paralelas */
    gap: 30px;
    margin: 40px 0;
}

.feature-item-card {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 35px 25px !important;
    border-radius: var(--border-radius) !important;
    text-align: left !important; /* Alinhamento elegante à esquerda para os cards */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item-card i {
    font-size: 32px !important;
    color: var(--red) !important;
    display: block;
    margin-bottom: 10px;
}

.feature-item-card h3 {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
}

.feature-item-card p {
    font-size: 14px !important;
    color: #94a3b8 !important;
    line-height: 1.6 !important;
}

.btn-red-cta {
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

/* ==========================================================================
   CORREÇÃO DA SEÇÃO 6: PARA EMPRESAS (LAYOUT CORPORATIVO CORRIGIDO)
   ========================================================================== */
.corp-section { 
    padding: 80px 0; 
    background-color: var(--white);
}

.corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.corp-text {
    text-align: left;
}

.corp-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.corp-text p {
    color: var(--gray-dark-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

.corp-list {
    list-style: none;
    margin: 25px 0 35px 0;
    padding: 0;
}

.corp-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--blue-dark);
}

.corp-list li i { 
    color: var(--blue-light); 
    font-size: 18px;
}

.corp-image-box img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* SEÇÃO FAQ */
.faq-section { padding: 80px 0; background-color: var(--gray-light); }
.faq-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 50px; }
.faq-link { color: var(--blue-light); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 15px; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-row { background-color: var(--white); border-radius: 8px; border: 1px solid #e2e8f0; overflow: hidden; }
.faq-toggle { width: 100%; padding: 20px; background: none; border: none; text-align: left; font-size: 15px; font-weight: 600; color: var(--blue-dark); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-toggle i { transition: transform 0.3s; font-size: 13px; color: var(--blue-light); }
.faq-content-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; }
.faq-content-panel p { padding-bottom: 20px; font-size: 14px; color: var(--gray-dark-text); line-height: 1.6; }
.faq-row.active .faq-toggle i { transform: rotate(180deg); }

/* FOOTER */
.site-footer { background-color: var(--dark-bg); color: #94a3b8; padding: 70px 0 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-layout { display: grid; grid-template-columns: 4fr 2fr 2fr 4fr; gap: 40px; margin-bottom: 50px; }
.footer-layout h2 { color: var(--white); margin-bottom: 15px; }
.footer-layout h3 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-layout ul { list-style: none; }
.footer-layout ul li { margin-bottom: 12px; }
.footer-layout ul li a { color: #94a3b8; text-decoration: none; font-size: 14px; }
.footer-layout ul li a:hover { color: var(--white); }
.footer-social-links a { color: var(--white); font-size: 22px; margin-top: 15px; display: inline-block; }
.footer-social-links a:hover { color: var(--red); }
.footer-contact-info li { font-size: 14px; display: flex; gap: 10px; line-height: 1.5; }
.footer-copyright { padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; }

/* WHATSAPP STICKY */
.whatsapp-sticky-btn { position: fixed; bottom: 25px; right: 25px; background-color: #25d366; color: var(--white); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 9999; text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }

/* RESPONSIVIDADE ADAPTATIVA MÓVEL */
@media (max-width: 992px) {
    .footer-layout { grid-template-columns: 1fr 1fr; }
    .about-grid, .corp-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr !important; } /* Colunas empilham no celular */
    .hero-content h1 { font-size: 32px; }
}

@media (max-width: 768px) {
    .menu { display: none; flex-direction: column; position: absolute; top: 75px; left: 0; width: 100%; background-color: var(--blue-dark); padding: 20px; }
    .menu.active { display: flex; }
    .menu-toggle { display: block; }
    .nav-right { display: none; }
    .plan-card.featured { transform: none; margin: 0; }
}

/* ==========================================================================
   ANIMAÇÃO HERO
   ========================================================================== */
.animate-fade-up { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.4s; }
.anim-delay-3 { animation-delay: 0.6s; }
.anim-delay-4 { animation-delay: 0.8s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.btn-hero-connect { animation: pulseButton 2s infinite alternate; animation-delay: 1.6s; }
@keyframes pulseButton { 0% { box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4); transform: scale(1); } 100% { box-shadow: 0 8px 25px rgba(230, 57, 70, 0.7); transform: scale(1.03); } }