﻿/* ============================================
   SOFTMENSAL - SOFTWARES POR ASSINATURA (SAAS)
   CSS COMPLETO - ESTILO LOJA VIRTUAL
   Paleta: Marrom (#8B4513) e Laranja (#FF8C00)
   ============================================ */

/* Reset e Variáveis */
:root {
    --primary-color: #8B4513;
    --secondary-color: #FF8C00;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER MODERNO
   ============================================ */
.header-modern {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-modern.header-scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-modern.header-scrolled .header-main {
    padding: 8px 0;
}

.header-top {
    background: var(--primary-color);
    padding: 8px 0;
    color: #fff;
    font-size: 0.9rem;
}

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

.header-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.header-info span {
    margin-right: 20px;
}

.header-info i {
    margin-right: 5px;
}

.header-badge {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 4px 12px;
    border-radius: 50px;
    margin-left: 15px;
    font-weight: 500;
    font-size: 0.85rem;
}

.header-badge i {
    color: #667eea;
    margin-right: 5px;
}

.header-social {
    display: flex;
    gap: 5px;
}

.header-social a {
    color: #fff;
    margin-left: 15px;
    transition: var(--transition);
}

.header-social a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 15px 0;
}

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

/* ============================================
   LOGO - COM SUPORTE A MÚLTIPLOS TAMANHOS
   ============================================ */
.logo-container .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    transition: all 0.3s ease;
    object-fit: contain;
    width: auto;
}

.logo-pequeno {
    max-height: 40px !important;
}

.logo-medio {
    max-height: 70px !important;
}

.logo-grande {
    max-height: 120px !important;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 15px;
    transition: var(--transition);
}

/* ============================================
   NAVEGAÇÃO - MENU PRINCIPAL
   ============================================ */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    display: block;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ============================================
   HEADER ACTIONS
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle,
.cart-icon,
.user-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #333;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.search-toggle:hover,
.cart-icon:hover,
.user-toggle:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* ============================================
   BOTÕES DE AUTENTICAÇÃO
   ============================================ */
.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login {
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-register {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-register:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: #333;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.user-toggle i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.user-toggle:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.user-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown .dropdown-menu li {
    padding: 0;
}

.user-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.user-dropdown .dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.user-dropdown .dropdown-menu a i {
    width: 20px;
    color: var(--primary-color);
}

.user-dropdown .dropdown-menu .divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
    display: none;
    background: #fff;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.search-bar .container {
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.search-bar input:focus {
    border-color: var(--primary-color);
}

.search-bar button[type="submit"] {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.search-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ============================================
   BOTÕES GERAIS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.3);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
}

/* ============================================
   BANNER / HERO
   ============================================ */
.hero-banner {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-content {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.banner-text {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: #fff;
}

.banner-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.banner-badge i {
    color: #667eea;
    margin-right: 8px;
}

.banner-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Swiper */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

/* ============================================
   SEÇÃO DE DIFERENCIAIS SaaS
   ============================================ */
.saas-features {
    padding: 60px 0;
    background: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139,69,19,0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #333;
}

.section-header p {
    font-size: 1rem;
    color: #666;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

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

/* ============================================
   PRODUTOS EM DESTAQUE - ESTILO LOJA VIRTUAL
   CARDS PADRONIZADOS COM TAMANHO MÉDIO
   ============================================ */
.featured-products {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Grid de Produtos - Loja Virtual */
.products-grid-shop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

/* Card do Produto - Tamanho Médio Padronizado */
.product-card-shop {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139,69,19,0.1);
    border-color: #FF8C00;
}

/* Badges */
.product-badge-shop {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
    color: #fff;
}

.product-badge-shop.destaque {
    background: #FF8C00;
}

.product-badge-shop.cloud {
    background: linear-gradient(135deg, #667eea, #764ba2);
    left: auto;
    right: 12px;
}

/* Imagem do Produto - Tamanho Fixo e Padronizado */
.product-image-shop {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.product-image-shop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.product-card-shop:hover .product-image-shop img {
    transform: scale(1.05);
}

/* Informações do Produto */
.product-info-shop {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-shop {
    color: #FF8C00;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-info-shop h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-description-shop {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

/* Preço */
.product-price-shop {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-price-shop .price-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value-shop {
    font-size: 1.6rem;
    font-weight: 700;
    color: #8B4513;
    line-height: 1.3;
}

.price-value-shop .price-period {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.price-old-shop {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-top: 3px;
}

/* Botões de Ação */
.product-actions-shop {
    display: flex;
    gap: 10px;
}

.product-actions-shop .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ============================================
   WHY SAAS SECTION
   ============================================ */
.why-saas {
    padding: 60px 0;
    background: #fff;
}

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

.why-saas-content h2 {
    font-size: 2.2rem;
    margin: 15px 0 20px;
    color: #333;
}

.why-saas-content p {
    color: #666;
    line-height: 1.8;
}

.saas-benefits {
    list-style: none;
    margin-top: 25px;
}

.saas-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.saas-benefits i {
    color: var(--success-color);
    margin-top: 3px;
}

.why-saas-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

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

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
}

.cta-badge i {
    margin-right: 8px;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: #f5f7fa;
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #999;
}

.breadcrumb span {
    color: #666;
}

/* ============================================
   FOOTER MODERNO
   ============================================ */
.footer-modern {
    background: #1a1a2e;
    color: #fff;
}

.footer-main {
    padding: 50px 0 30px;
}

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

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    max-height: 35px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-contact i {
    width: 22px;
    color: var(--secondary-color);
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter h5 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 40px 10px 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 5px 12px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-color);
}

.footer-bottom {
    background: #16213e;
    padding: 18px 0;
    text-align: center;
    font-size: 0.9rem;
}

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

.payment-methods {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}

.payment-methods i {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   ALERTAS
   ============================================ */
.alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ============================================
   MOBILE TOGGLE E MENU OVERLAY
   ============================================ */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #333;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.menu-overlay.active {
    display: block;
}

.nav-menu .close-menu {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #333;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s;
}

.nav-menu .close-menu:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }

.bg-light { background: var(--light-color); }
.bg-primary { background: var(--primary-color); color: #fff; }
.bg-secondary { background: var(--secondary-color); color: #fff; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid-shop {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -280px !important;
        width: 260px !important;
        height: 100vh !important;
        background: #fff !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1) !important;
        padding: 50px 20px 20px !important;
        transition: right 0.3s ease !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-menu .close-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu ul {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .nav-menu li:last-child {
        border-bottom: none !important;
    }
    
    .nav-menu a {
        display: block !important;
        padding: 14px 0 !important;
        font-size: 1rem !important;
    }
    
    .nav-menu a::after {
        display: none !important;
    }
    
    .why-saas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .auth-buttons {
        display: none !important;
    }
    
    .user-toggle span {
        display: none !important;
    }
    
    .header-badge {
        display: none;
    }
    
    .products-grid-shop {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid-shop {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .banner-text h1 {
        font-size: 2rem !important;
    }
    
    .banner-text p {
        font-size: 1rem !important;
    }
    
    .hero-banner {
        height: 420px !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-info {
        justify-content: center;
    }
    
    .header-info span {
        margin-right: 10px;
        font-size: 0.8rem;
    }
    
    .logo-text {
        font-size: 1.3rem !important;
        margin-left: 10px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    .cta-content h2 {
        font-size: 1.8rem !important;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .product-image-shop {
        height: 160px;
        padding: 15px;
    }
    
    .product-info-shop {
        padding: 15px;
    }
    
    .product-info-shop h3 {
        font-size: 1rem;
    }
    
    .price-value-shop {
        font-size: 1.4rem;
    }
    
    .product-actions-shop {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .banner-text h1 {
        font-size: 1.6rem !important;
    }
    
    .hero-banner {
        height: 380px !important;
    }
    
    .btn-lg {
        padding: 12px 25px;
    }
    
    .payment-methods {
        font-size: 1.3rem;
    }
    
    .products-grid-shop {
        grid-template-columns: 1fr;
    }
    
    .product-image-shop {
        height: 180px;
    }
}

@media (min-width: 993px) {
    .mobile-toggle {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        right: auto !important;
    }
    
    .nav-menu .close-menu {
        display: none !important;
    }
    
    .nav-menu ul {
        flex-direction: row !important;
        gap: 30px !important;
    }
    
    .nav-menu li {
        width: auto !important;
        border-bottom: none !important;
    }
    
    .nav-menu a {
        padding: 5px 0 !important;
    }
    
    .auth-buttons {
        display: flex !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.cart-bounce {
    animation: cartBounce 0.5s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideInUp 0.3s ease-out;
    font-size: 0.9rem;
}

.notification-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification-error {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.notification-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
}