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

/* ===== TEMA ESCURO (PADRÃO) ===== */
:root {
    --primary-green: #70D800;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --card-bg: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
    --hover-bg: #333333;
    --gradient-bg: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --header-bg: rgba(26, 26, 26, 0.95);
    --footer-bg: #0f0f0f;
    --menu-bg: #0f0f0f;
    --menu-border: #2c2c2c;
}

/* ===== TEMA CLARO ===== */
.light-mode {
    --dark-bg: #f9f1e7;
    --darker-bg: #f0e4d5;
    --card-bg: #ffffff;
    --text-primary: #3e2e23;
    --text-secondary: #6b4f3c;
    --text-muted: #9b7b66;
    --border-color: #e6d5c4;
    --hover-bg: #f0e4d5;
    --gradient-bg: linear-gradient(135deg, #f9f1e7 0%, #f0e4d5 100%);
    --header-bg: rgba(249, 241, 231, 0.95);
    --footer-bg: #f0e4d5;
    --menu-bg: #ffffff;
    --menu-border: #e6d5c4;
}

/* ===== ESTILOS GLOBAIS ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

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

section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HEADER E NAVEGAÇÃO ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s, border-color 0.3s;
}

.navbar {
    padding: 1rem 0;
}

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

/* LOGO PADRÃO (HEADER) */
.logo a,
.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo svg {
    height: 60px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

/* Menu de navegação */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green);
}

/* Ações do Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-green);
    color: #000;
}

.btn-primary:hover {
    background: #6BC91A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 216, 0, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

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

.btn-outline:hover {
    background: var(--primary-green);
    color: #000;
}

/* Botão de tema */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    background-color: var(--hover-bg);
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* ===== MENU HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
    z-index: 10002;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* ===== CLASSES AUXILIARES ===== */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none !important;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 80px;
    background: var(--gradient-bg);
    text-align: center;
    position: relative;
    transition: background 0.3s;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(112, 216, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(112, 216, 0, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(112, 216, 0, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-buttons .btn {
    min-width: 180px;
}

/* ===== GRIDS ===== */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* ===== CARDS ===== */
.service-card,
.plan-card,
.stat-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.plan-card:hover,
.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(112, 216, 0, 0.1);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff4757;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3,
.plan-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p,
.plan-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Estatísticas */
.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
}

/* ===== SEÇÃO SOBRE ===== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ===== SEÇÃO CTA ===== */
.cta-section {
    background: var(--gradient-bg);
    text-align: center;
    position: relative;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(112, 216, 0, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s, border-color 0.3s;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

/* Logo no footer */
.footer .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer .logo svg {
    height: 50px;
    width: auto;
}

.footer .logo span {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-column li:not(a) {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .planos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 16px;
    }
    
    /* HEADER MOBILE */
    .navbar {
        padding: 0.6rem 0;
    }
    
    .logo svg {
        height: 40px !important;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .header-actions {
        display: flex !important;
        gap: 8px;
    }
    
    /* Botão de tema no header (mobile) */
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        display: flex !important;
        cursor: pointer;
    }
    
    /* Hamburger sempre visível */
    .hamburger {
        display: flex !important;
    }
    
    /* MENU MOBILE */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--menu-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: left 0.3s ease;
        border-top: 1px solid var(--menu-border);
        z-index: 10001;
        display: flex !important;
        margin: 0;
        padding: 20px;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 15px 25px;
        width: auto;
        min-width: 200px;
        text-align: center;
        display: inline-block;
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(112, 216, 0, 0.1);
        color: var(--primary-green);
    }
    
    /* HERO MOBILE */
    .hero {
        padding: 100px 0 40px !important;
    }
    
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* SEÇÕES MOBILE */
    section {
        padding: 40px 0 !important;
    }
    
    section h2 {
        font-size: 1.6rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* GRIDS MOBILE */
    .services-grid,
    .planos-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .stats-grid,
    .stats-grid-about {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 20px 0 !important;
    }
    
    /* CARDS MOBILE */
    .service-card,
    .plan-card,
    .stat-item,
    .stat-card-about {
        padding: 1.2rem !important;
    }
    
    .service-icon {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .service-card h3,
    .plan-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .service-card p,
    .plan-card p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-card li {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
        padding-left: 1.2rem !important;
    }
    
    .service-card .btn,
    .plan-card .btn {
        font-size: 0.85rem !important;
        padding: 0.5rem 1rem !important;
        width: 100%;
    }
    
    /* STATS MOBILE */
    .stat-item h3,
    .stat-card-about h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .stat-item p,
    .stat-card-about p {
        font-size: 0.8rem !important;
    }
    
    /* ABOUT MOBILE */
    .about-grid {
        gap: 30px !important;
    }
    
    .about-text h2 {
        font-size: 1.5rem !important;
    }
    
    .about-text p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* CTA MOBILE */
    .cta-section {
        padding: 40px 0 !important;
    }
    
    .cta-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .cta-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* FOOTER MOBILE */
    .footer {
        padding: 30px 0 10px !important;
    }
    
    .footer-content {
        gap: 20px !important;
    }
    
    .footer .logo svg {
        height: 30px !important;
    }
    
    .footer .logo span {
        font-size: 1rem !important;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .footer-column h4 {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
    
    .footer-column a,
    .footer-column li:not(a) {
        font-size: 0.8rem !important;
    }
    
    .footer-bottom {
        font-size: 0.7rem !important;
        padding-top: 15px !important;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero p {
        font-size: 0.9rem !important;
    }
    
    section h2 {
        font-size: 1.4rem !important;
    }
    
    .stats-grid,
    .stats-grid-about,
    .values-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-links {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .logo span {
        font-size: 1rem !important;
    }
    
    .logo svg {
        height: 35px !important;
    }
}

/* ===== GARANTIA PARA DESKTOP ===== */
@media (min-width: 769px) {
    .nav-menu {
        position: static;
        left: auto;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 2rem;
        border-top: none;
        z-index: auto;
        display: flex;
        padding: 0;
    }
    
    .hamburger {
        display: none !important;
    }
}

/* ===== UTILITÁRIOS ===== */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary-green);
    color: #000;
}

::-moz-selection {
    background: var(--primary-green);
    color: #000;
}
/* ===== REMOVER BOTÃO FALE CONOSCO DO MOBILE ===== */
@media screen and (max-width: 768px) {
    /* Remove o botão Fale Conosco */
    .header-actions a.btn-primary,
    .header-actions .btn-primary,
    a.btn-primary.desktop-only,
    .btn-primary.desktop-only {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        position: absolute !important;
        pointer-events: none !important;
    }
    
    /* Garante que o botão de tema continua visível */
    .header-actions .theme-toggle {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 38px !important;
        height: 38px !important;
        position: relative !important;
        pointer-events: auto !important;
    }
    
    /* Garante que o container dos botões não atrapalha */
    .header-actions {
        display: flex !important;
        gap: 8px !important;
    }
}
