/*
Theme Name: OnCabo
Theme URI: https://oncabo.com.br
Author: OnCabo
Author URI: https://oncabo.com.br
Description: Tema OnCabo para WordPress - Internet Fibra Óptica
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oncabo
*/

/* ===================================
   RESET E BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* ===================================
   TIPOGRAFIA
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: #6B7280;
}

/* ===================================
   CONTAINER
   =================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   HEADER - ESTILO BRISANET
   =================================== */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #E5E7EB;
}

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

.site-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--oncabo-green, #13fa1c);
    font-family: 'Figtree', sans-serif;
}

.site-logo img {
    height: 45px;
    width: auto;
}

/* Menu Principal - Estilo Brisanet */
.main-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.938rem;
}

.nav-menu a:hover {
    color: var(--oncabo-green, #13fa1c);
}

/* Botões do Header - Estilo Brisanet */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.938rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--oncabo-green, #13fa1c);
    color: #111827;
}

.btn-primary:hover {
    background: var(--oncabo-green-hover, #10d118);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 250, 28, 0.3);
}

.btn-outline {
    border: 2px solid #E5E7EB;
    color: #374151;
    background: transparent;
}

.btn-outline:hover {
    background: #F9FAFB;
    border-color: var(--oncabo-green, #13fa1c);
    color: var(--oncabo-green, #13fa1c);
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   HERO SECTION - ESTILO BRISANET
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-content h1 .highlight {
    color: var(--oncabo-green, #13fa1c);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   STATS SECTION - ESTILO BRISANET
   =================================== */
.stats-section {
    background: #F9FAFB;
    padding: 3rem 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.stat-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--oncabo-green, #13fa1c);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--oncabo-green, #13fa1c);
    display: block;
    font-family: 'Figtree', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

/* ===================================
   COMBO SECTION - ESTILO BRISANET
   =================================== */
.combo-section {
    padding: 5rem 0;
    background: #fff;
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #111827;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
}

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

.combo-card {
    background: #fff;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.combo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--oncabo-green, #13fa1c);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
    transition: all 0.3s ease;
}

.combo-card:hover {
    border-color: var(--oncabo-green, #13fa1c);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

.combo-card:hover::before {
    width: 150px;
    height: 150px;
}

.combo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--oncabo-green, #13fa1c), var(--oncabo-green-hover, #10d118));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.combo-title {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1rem;
}

.combo-description {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.combo-features {
    list-style: none;
    margin-bottom: 2rem;
}

.combo-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #374151;
}

.combo-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--oncabo-green, #13fa1c);
    color: #111827;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ===================================
   PLANOS SECTION - CARDS BRISANET
   =================================== */
.planos-section {
    background: #F9FAFB;
    padding: 5rem 0;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plano-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.plano-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--oncabo-green, #13fa1c);
}

.plano-card.popular {
    border-color: var(--oncabo-green, #13fa1c);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.plano-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--oncabo-green, #13fa1c), var(--oncabo-green-hover, #10d118));
    color: #111827;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(19, 250, 28, 0.4);
}

.plano-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 1.5rem;
}

.plano-nome {
    font-size: 0.875rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.plano-velocidade {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.velocidade-numero {
    font-size: 4rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    font-family: 'Figtree', sans-serif;
}

.velocidade-unidade {
    font-size: 1.5rem;
    color: var(--oncabo-green, #13fa1c);
    font-weight: 700;
}

.plano-preco {
    text-align: center;
    margin-bottom: 2rem;
}

.preco-destaque {
    background: transparent;
    color: #111827;
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.preco-valor {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
}

.preco-periodo {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 600;
}

.preco-info {
    color: #6B7280;
    font-size: 0.938rem;
}

.preco-anterior {
    text-decoration: line-through;
    opacity: 0.7;
}

.plano-beneficios {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plano-beneficios li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F3F4F6;
    color: #374151;
}

.plano-beneficios li:last-child {
    border-bottom: none;
}

.plano-beneficios li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--oncabo-green, #13fa1c);
    color: #111827;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.plano-cta {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
}

/* ===================================
   AUTOATENDIMENTO - ESTILO BRISANET
   =================================== */
.autoatendimento-section {
    background: #F9FAFB;
    padding: 5rem 0;
}

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

.auto-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
    cursor: pointer;
}

.auto-card:hover {
    background: var(--oncabo-green, #13fa1c);
    border-color: var(--oncabo-green, #13fa1c);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.auto-card:hover .auto-icon {
    color: #111827;
}

.auto-card:hover .auto-title {
    color: #111827;
}

.auto-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--oncabo-green, #13fa1c);
    transition: all 0.3s ease;
}

.auto-title {
    font-size: 0.938rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

/* ===================================
   FOOTER - ESTILO BRISANET
   =================================== */
.site-footer {
    background: #111827;
    color: #ffffff !important;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--oncabo-green, #13fa1c) !important;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--oncabo-green, #13fa1c);
    color: #111827;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #ffffff !important;
}

.footer-bottom p {
    color: #ffffff !important;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        transition: all 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        align-items: flex-start;
        z-index: 1001;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #E5E7EB;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .combo-grid {
        grid-template-columns: 1fr;
    }

    .planos-grid {
        grid-template-columns: 1fr;
    }

    .auto-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .social-links {
        justify-content: center;
    }
}

/* ===================================
   ANIMAÇÕES
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}
