/* css/style.css - ESTILOS COMPLETOS E RESPONSIVOS */

/* Reset e Variáveis CSS */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* ===== HEADER RESPONSIVO ===== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tagline {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
    display: none;
}

/* Menu Hamburguer - MOBILE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

/* Menu Principal - DESKTOP */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

.btn-admin {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.btn-admin:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem 0;
    text-align: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.search-form {
    max-width: 500px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-box input {
    flex: 1;
    padding: 0.875rem;
    border: none;
    outline: none;
    font-size: 1rem;
    min-width: 0;
}

.search-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.search-btn:hover {
    background: #eab308;
}

/* ===== SECTIONS GERAIS ===== */
.categorias-section,
.empresas-section,
.cta-section {
    padding: 3rem 0;
    width: 100%;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ===== CATEGORIAS GRID ===== */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.categoria-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.categoria-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.categoria-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.categoria-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.categoria-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-categoria {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    margin-top: auto;
}

.btn-categoria:hover {
    background: var(--primary-dark);
}

/* ===== EMPRESAS GRID ===== */
.empresas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.empresa-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.empresa-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.empresa-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.empresa-categoria {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.empresa-descricao {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-empresa {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.btn-empresa:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== BOTÕES ===== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: #eab308;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.section-actions {
    text-align: center;
    margin-top: 2rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    width: 100%;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVIDADE - MOBILE FIRST ===== */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    /* 🔥 MENU HAMBURGUER - MOBILE */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
        padding: 4rem 1.5rem 2rem;
        display: block;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav ul li {
        margin-bottom: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
    }
    
    .nav-link:hover {
        background: var(--bg-light);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Overlay para fechar menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Botão fechar no menu mobile */
    .menu-close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
    }
    
    /* Conteúdo Mobile */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input,
    .search-btn {
        width: 100%;
    }
    
    .search-btn {
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    .categorias-section,
    .empresas-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .categorias-grid,
    .empresas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .categoria-card,
    .empresa-card {
        padding: 1.25rem;
    }
    
    .main-nav {
        width: 100%;
    }
}

/* ===== ESTADOS ESPECIAIS ===== */
.no-results {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Acessibilidade - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Foco visível para acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Loading states */
.loading {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Utilitários */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
/* ===== CORREÇÃO DO MENU HAMBURGUER NO DESKTOP ===== */

/* Menu Hamburguer - OCULTAR NO DESKTOP */
.menu-toggle {
    display: none; /* Oculto por padrão */
}

/* Menu Close - OCULTAR NO DESKTOP */
.menu-close {
    display: none; /* Oculto por padrão */
}

/* Overlay - OCULTAR NO DESKTOP */
.nav-overlay {
    display: none; /* Oculto por padrão */
}

/* Menu Principal - SEMPRE VISÍVEL NO DESKTOP */
.main-nav {
    display: flex !important; /* Forçar display flex no desktop */
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.main-nav ul {
    display: flex !important;
    flex-direction: row !important;
}

/* ===== APENAS PARA MOBILE ===== */
@media (max-width: 768px) {
    /* Menu Hamburguer - VISÍVEL APENAS EM MOBILE */
    .menu-toggle {
        display: flex; /* Aparece apenas em mobile */
    }
    
    /* Menu Principal - COMPORTAMENTO MOBILE */
    .main-nav {
        display: none !important; /* Oculto por padrão em mobile */
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: var(--bg-white) !important;
        box-shadow: var(--shadow-lg) !important;
        padding: 4rem 1.5rem 2rem !important;
        transition: var(--transition) !important;
    }
    
    .main-nav.active {
        display: block !important;
        left: 0 !important;
    }
    
    .main-nav ul {
        flex-direction: column !important;
    }
    
    /* Menu Close - VISÍVEL APENAS EM MOBILE */
    .menu-close {
        display: block; /* Aparece apenas em mobile */
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
    }
    
    /* Overlay - VISÍVEL APENAS EM MOBILE */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
}
/* ===== HAMBURGUER ANIMADO ===== */
.hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 1px;
    position: absolute;
    transition: var(--transition);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Estado ativo do hamburger */
.menu-toggle[aria-expanded="true"] .hamburger-inner {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::before {
    top: 0;
    transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::after {
    top: 0;
    transform: rotate(90deg);
    opacity: 0;
}
/* ===== ESTILOS PARA CADASTRO E ÁREA DO CLIENTE ===== */

/* Seção de Cadastro */
.cadastro-section {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: 80vh;
}

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

.cadastro-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cadastro-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.cadastro-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-info {
    text-align: center;
    color: var(--text-light);
}

/* Alertas */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Área do Cliente */
.area-cliente-section {
    padding: 3rem 0;
    min-height: 80vh;
}

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

.area-cliente-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.option-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.option-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.option-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.area-cliente-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.area-cliente-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.area-cliente-info ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.area-cliente-info li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cadastro-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .area-cliente-options {
        grid-template-columns: 1fr;
    }
    
    .area-cliente-info ul {
        text-align: center;
    }
}
/* ===== ESTILOS PARA LISTAGEM DE EMPRESAS ===== */

.empresas-listing {
    padding: 3rem 0;
    min-height: 80vh;
}

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

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.listing-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.total-empresas {
    font-size: 1.1rem;
    color: var(--text-light);
}

.total-empresas strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.empresas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.empresa-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.empresa-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.empresa-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.empresa-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.empresa-categoria {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.empresa-descricao {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.empresa-contato {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.contato-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contato-item strong {
    color: var(--text-dark);
}

.empresa-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .listing-actions {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .empresa-card {
        margin-bottom: 1rem;
    }
}
/* ===== ESTILOS PARA DETALHES DA EMPRESA ===== */

.empresa-detalhe {
    padding: 3rem 0;
    min-height: 80vh;
}

.empresa-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.empresa-titulo h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.categoria-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.empresa-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.empresa-info {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-section {
    margin-bottom: 2rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contato-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

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

.contato-item a:hover {
    text-decoration: underline;
}

.empresa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-share {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link.whatsapp {
    background: #25d366;
    color: white;
}

.social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .empresa-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .empresa-content {
        grid-template-columns: 1fr;
    }

    .empresa-info {
        padding: 1.5rem;
    }
}
/* ===== ESTILOS PARA LISTAGEM DE CATEGORIAS ===== */

.categorias-listing {
    padding: 3rem 0;
    min-height: 80vh;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.categoria-card-large {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
}

.categoria-card-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.categoria-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.categoria-info {
    flex-grow: 1;
}

.categoria-card-large h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.categoria-descricao {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.categoria-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.empresas-count {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.categoria-actions {
    flex-shrink: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .categorias-grid {
        grid-template-columns: 1fr;
    }

    .categoria-card-large {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .categoria-info {
        text-align: center;
    }
}
/* ===== ESTILOS PARA PÁGINA DE BUSCA ===== */

.busca-resultados {
    padding: 3rem 0;
    min-height: 80vh;
}

.busca-form-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.busca-box {
    display: flex;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.busca-box input {
    flex: 1;
    padding: 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.resultados-info {
    margin-bottom: 2rem;
    text-align: center;
}

.resultados-info p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.resultados-info strong {
    color: var(--primary-color);
}

.suggestions {
    margin-top: 2rem;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.suggestions ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.suggestions li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

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

/* Responsividade */
@media (max-width: 768px) {
    .busca-box {
        flex-direction: column;
    }

    .busca-box input,
    .search-btn {
        width: 100%;
    }

    .search-btn {
        border-radius: 0 0 var(--radius) var(--radius);
    }
}
/* ===== ESTILOS PARA PÁGINA SOBRE ===== */

.sobre-page {
    padding: 3rem 0;
    min-height: 80vh;
}

.sobre-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.sobre-texto h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.sobre-texto h2:first-child {
    margin-top: 0;
}

.sobre-texto p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.sobre-texto ul {
    list-style: none;
    margin: 1rem 0;
}

.sobre-texto li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.sobre-texto li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cta-sobre {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sobre-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* ===== ESTILOS PARA PÁGINA DE CONTATO ===== */

.contato-page {
    padding: 3rem 0;
    min-height: 80vh;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contato-info {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.contato-info h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.contato-info .contato-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contato-info .contato-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

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

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

.contato-redes {
    margin-top: 2rem;
}

.contato-redes h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.redes-sociais {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rede-social {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    text-align: center;
    transition: var(--transition);
}

.rede-social:hover {
    background: var(--primary-color);
    color: white;
}

.contato-form-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contato-form .form-group {
    margin-bottom: 1.5rem;
}

.contato-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contato-form input,
.contato-form select,
.contato-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .cta-sobre {
        flex-direction: column;
    }

    .sobre-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-card {
        flex: 1;
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .sobre-stats {
        flex-direction: column;
    }
}
/* ===== ESTILOS PARA PÁGINAS DE AUTENTICAÇÃO ===== */

.auth-page {
    padding: 3rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.auth-header p {
    color: var(--text-light);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

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

.auth-footer a:hover {
    text-decoration: underline;
}
/* ===== ESTILOS PARA PAINEL DO CLIENTE ===== */

.cliente-painel {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.painel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.minhas-empresas h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.empresa-status {
    margin-top: 1rem;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.status-ativo {
    background: #d1fae5;
    color: #065f46;
}

.status-inativo {
    background: #fee2e2;
    color: #991b1b;
}

.status-pendente {
    background: #fef3c7;
    color: #92400e;
}
/* ===== ESTILOS PARA PÁGINA DE ERRO 404 ===== */

.error-page {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.error-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.error-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.error-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* ===== ESTILOS PARA PÁGINA CATEGORIAS ===== */

.categorias-page {
    padding: 2rem 0;
    min-height: 70vh;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-light);
}

/* Cabeçalho da Categoria */
.categoria-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.categoria-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.categoria-descricao {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.categoria-stats {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Layout do Conteúdo */
.categoria-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/* Lista de Empresas */
.empresas-lista {
    min-height: 400px;
}

.empresas-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empresa-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.empresa-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.empresa-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.empresa-categoria {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.empresa-descricao {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.empresa-contato {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contato-icon {
    font-size: 1rem;
}

.empresa-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

/* Sidebar */
.categorias-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.categorias-list {
    list-style: none;
}

.categorias-list li {
    margin-bottom: 0.5rem;
}

.categorias-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: var(--radius);
    transition: var(--transition);
}

.categorias-list a:hover,
.categorias-list a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.categorias-list a.active {
    font-weight: 600;
}

.empresas-count {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 40px;
    text-align: center;
}

/* Categoria Não Encontrada */
.categoria-not-found {
    text-align: center;
    padding: 3rem 0;
}

.not-found-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.categoria-not-found h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.categoria-not-found p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.suggestions {
    margin: 3rem 0;
}

.suggestions h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.categoria-card-small {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.categoria-card-small:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.categoria-icon {
    font-size: 2rem;
}

.categoria-name {
    font-weight: 600;
}

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

/* Estados Vazios */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Responsividade */
@media (max-width: 1024px) {
    .categoria-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categorias-sidebar {
        position: static;
        order: -1;
    }
    
    .sidebar-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .empresa-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .empresa-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .categoria-header h1 {
        font-size: 2rem;
    }
    
    .categorias-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .actions .btn-primary,
    .actions .btn-outline {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .categorias-page {
        padding: 1rem 0;
    }
    
    .categoria-header {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .empresa-card {
        padding: 1rem;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
}
/* ===== ESTILOS PARA PÁGINA DE BUSCA ===== */

.busca-page {
    padding: 2rem 0;
    min-height: 70vh;
}

/* Cabeçalho da Busca */
.busca-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.busca-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.busca-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Formulário de Busca Grande */
.search-box-large {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.search-box-large input {
    flex: 1;
    padding: 1.25rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    min-width: 0;
}

.search-btn-large {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-btn-large:hover {
    background: var(--primary-dark);
}

.search-icon {
    font-size: 1.2rem;
}

/* Estatísticas da Busca */
.busca-stats {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.busca-stats p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Filtros */
.filtros-categorias {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filtros-categorias h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.filtros-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filtro-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filtro-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.filtro-count {
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    min-width: 30px;
    text-align: center;
}

.filtro-tag:hover .filtro-count {
    background: white;
    color: var(--primary-color);
}

/* Resultados */
.resultados-lista {
    min-height: 400px;
}

.resultados-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.resultado-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.resultado-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.resultado-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.resultado-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.resultado-info h3 a:hover {
    color: var(--primary-color);
}

.resultado-categoria {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.resultado-descricao {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.resultado-descricao mark {
    background: #ffeb3b;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
    font-weight: 600;
}

.resultado-contato {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contato-icon {
    font-size: 1rem;
}

.resultado-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

/* Paginação */
.paginacao {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.paginacao-lista {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.paginacao-lista a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
}

.paginacao-lista a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.paginacao-lista a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Estados Vazios e Iniciais */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.suggestions h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.suggestions ul {
    list-style: none;
    text-align: left;
}

.suggestions li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.suggestions li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0.5rem;
}

.busca-inicial {
    text-align: center;
    padding: 3rem 2rem;
}

.inicial-content {
    max-width: 600px;
    margin: 0 auto;
}

.inicial-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.busca-inicial h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.busca-inicial p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.suggestions-inicial {
    margin-top: 2rem;
}

.suggestions-inicial h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.termos-populares {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.termo-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.termo-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

/* Responsividade */
@media (max-width: 768px) {
    .busca-header h1 {
        font-size: 2rem;
    }
    
    .search-box-large {
        flex-direction: column;
    }
    
    .search-box-large input,
    .search-btn-large {
        width: 100%;
    }
    
    .search-btn-large {
        justify-content: center;
    }
    
    .resultado-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resultado-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .filtros-list {
        justify-content: center;
    }
    
    .paginacao-lista {
        flex-wrap: wrap;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .actions .btn-primary,
    .actions .btn-secondary,
    .actions .btn-outline {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .busca-page {
        padding: 1rem 0;
    }
    
    .busca-header {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .resultado-card {
        padding: 1rem;
    }
    
    .termos-populares {
        flex-direction: column;
        align-items: center;
    }
    
    .termo-tag {
        width: 200px;
        text-align: center;
    }
}
/* ===== BARRA DE BUSCA NO HEADER ===== */

/* Busca no Header (Desktop) */
.header-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.search-form-header {
    width: 100%;
}

.search-box-header {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-box-header:focus-within {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.search-box-header input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
    background: transparent;
    min-width: 0;
}

.search-btn-header {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.search-btn-header:hover {
    background: var(--primary-dark);
}

.search-icon {
    font-size: 1rem;
}

/* Busca no Menu Mobile */
.search-mobile-item {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.search-form-mobile {
    width: 100%;
}

.search-box-mobile {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-box-mobile input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    min-width: 0;
}

.search-btn-mobile {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.search-btn-mobile:hover {
    background: var(--primary-dark);
}

/* Responsividade para a Barra de Busca */
@media (max-width: 1024px) {
    .header-search {
        max-width: 300px;
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .header-search {
        display: none; /* Oculta busca no header em mobile */
    }
    
    .search-mobile-item {
        display: block; /* Mostra busca no menu mobile */
    }
}

@media (min-width: 769px) {
    .search-mobile-item {
        display: none; /* Oculta busca no menu em desktop */
    }
}

/* Ajustes no Layout do Header para acomodar a busca */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

/* Garantir que o logo não fique muito pequeno */
.logo {
    min-width: 150px;
}

.logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tagline {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
    display: none; /* Ocultar tagline em mobile */
}

@media (min-width: 769px) {
    .tagline {
        display: block; /* Mostrar tagline em desktop */
    }
}
/* HERO - FULL WIDTH COM IMAGEM */
.hero-section {
    width: 100%;
    height: 120px; /* Altura ideal desktop */
    background-image: url('/images/uploads/1200px-PicoIbituruna-GovernadorValadares.jpg');
    background-size: cover; /* Sem distorcer */
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Camada de contraste para melhorar leitura do texto */
.hero-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* ajuste se quiser mais claro ou escuro */
}

/* Texto */
.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
}

/* Título */
.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Formulário */
.hero-search {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-search input {
    width: 320px;
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.hero-search button {
    padding: 12px 22px;
    background: #0063ac;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-section {
        height: 300px; /* reduz altura no mobile */
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-search {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }

    .hero-search input {
        width: 100%;
    }

    .hero-search button {
        width: 100%;
    }
}
/* HERO COM IMAGEM + OVERLAY AZUL */
.hero-section {
    width: 100%;
    height: 420px;
    background-image: url('/images/uploads/1200px-PicoIbituruna-GovernadorValadares.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* OVERLAY AZUL POR CIMA DA IMAGEM  */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(153, 167, 207, 0.9), 
        rgba(30, 80, 220, 0.85)    
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* Títulos */
.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 22px;
}

/* Busca */
.hero-search {
    display: flex;
    justify-content: center;
    gap: 0;
}

.hero-search input {
    width: 350px;
    padding: 12px;
    border-radius: 6px 0 0 6px;
    border: none;
}

.hero-search button {
    padding: 12px 24px;
    background: #f0a014;
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-section {
        height: 360px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-search {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }
    .hero-search input {
        border-radius: 6px;
        width: 100%;
    }
    .hero-search button {
        border-radius: 6px;
        width: 100%;
        margin-top: 6px;
    }
}
/* HERO FULL-WIDTH COM IMAGEM */
.hero-section {
    width: 100%;
    min-height: 360px;
    background-image: url('/images/uploads/1200px-PicoIbituruna-GovernadorValadares.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    position: relative;
    display: flex;
    align-items: center;
}

/* OVERLAY BEM LEVE POR CIMA DA IMAGEM */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
         rgba(113, 165, 233, 0),   /* topo levemente escurecido */
         rgba(253, 253, 253, 0)     /* parte de baixo um pouco mais escura */
    );
    z-index: 1;
}

/* CONTEÚDO CENTRALIZADO */
.hero-content {
    position: relative;
    z-index: 2;          /* acima do overlay */
    text-align: center;
    color: #ffffff;
    padding: 60px 15px;  /* respiro superior/latéral */
    margin: 0 auto;
}

/* TÍTULO E SUBTÍTULO */
.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 22px;
}

/* FORM DE BUSCA */
.hero-search {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-search input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 6px 0 0 6px;
    border: none;
    font-size: 0.95rem;
}

.hero-search button {
    padding: 12px 24px;
    background: #1f5aee;    /* azul do seu tema */
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-section {
        min-height: 320px;
        align-items: flex-start;
    }

    .hero-content {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search {
        flex-direction: column;
        width: 100%;
    }

    .hero-search input {
        border-radius: 6px;
        width: 100%;
        margin-bottom: 8px;
    }

    .hero-search button {
        border-radius: 6px;
        width: 100%;
    }
}
/* ===== EMPRESAS COM IMAGENS ===== */
.empresas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.empresa-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

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

.empresa-imagem-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.empresa-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.empresa-card:hover .empresa-imagem {
    transform: scale(1.05);
}

.empresa-imagem-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.empresa-imagem-placeholder span {
    font-size: 4rem;
    font-weight: bold;
    margin-top: 10px;
    opacity: 0.9;
}

.empresa-categoria-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.empresa-info {
    padding: 20px;
}

.empresa-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.empresa-descricao {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
    height: 70px;
    overflow: hidden;
}

.empresa-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-empresa {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-empresa:hover {
    background: #2980b9;
    color: white;
}

.btn-categoria {
    background: #f8f9fa;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-categoria:hover {
    background: #3498db;
    color: white;
    transform: rotate(15deg);
}

.no-empresas {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-empresas i {
    color: #ddd;
    margin-bottom: 20px;
}

.no-empresas p {
    color: #666;
    margin-bottom: 20px;
}

/* Upload area no formulário */
.upload-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
}

.upload-area:hover {
    background: #e8f4fc;
    border-color: #2980b9;
}

.upload-area i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 15px;
}

.upload-area p {
    font-weight: 500;
    margin-bottom: 5px;
    color: #2c3e50;
}

.upload-area span {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Preview da imagem */
#imagePreview {
    margin-top: 15px;
    text-align: center;
}

#previewImg {
    max-width: 200px;
    max-height: 150px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#imagePreview button {
    margin-top: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .empresas-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .empresa-imagem-container {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .empresas-grid {
        grid-template-columns: 1fr;
    }
}
/* Botão azul padrão */
.btn-primary,
.btn-categoria,
.btn-empresa {
  background-color: #1E40AF; /* azul intenso */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

.btn-primary:hover,
.btn-categoria:hover,
.btn-empresa:hover {
  background-color: #1D4ED8; /* azul mais claro ao passar o mouse */
  transform: translateY(-1px);
}

/* Para formulários ou botões inline (como o de busca) */
.hero-search button {
  background-color: #1E40AF;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hero-search button:hover {
  background-color: #1D4ED8;
}
/* ========================================
   BOTÕES AZUIS - CSS FUNCIONAL
   Adicione este CSS no final do seu arquivo style.css
   ======================================== */

/* IMPORTANTE: Use !important para sobrescrever estilos existentes */

/* 1. Botão de Busca do Hero */
.hero-search button,
.hero-search button[type="submit"] {
    background: #2563eb !important;
    background-image: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

.hero-search button:hover {
    background: #1d4ed8 !important;
    background-image: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

/* 2. Botões "Ver Empresas" nas Categorias */
.btn-categoria,
a.btn-categoria {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #3b82f6 !important;
    background-image: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25) !important;
    border: none !important;
}

.btn-categoria:hover,
a.btn-categoria:hover {
    background: #2563eb !important;
    background-image: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 3. Botões "Ver Detalhes" nas Empresas */
.btn-empresa,
a.btn-empresa {
    display: inline-block !important;
    background: #3b82f6 !important;
    background-image: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25) !important;
    text-align: center !important;
    border: none !important;
}

.btn-empresa:hover,
a.btn-empresa:hover {
    background: #2563eb !important;
    background-image: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 4. Botão Principal "Ver Todas as Empresas" */
.btn-primary,
a.btn-primary,
button.btn-primary {
    display: inline-block !important;
    background: #2563eb !important;
    background-image: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    padding: 14px 36px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background: #1d4ed8 !important;
    background-image: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 5. Responsividade Mobile */
@media (max-width: 768px) {
    .hero-search button,
    .hero-search button[type="submit"] {
        padding: 12px 24px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    
    .btn-primary,
    a.btn-primary {
        padding: 12px 28px !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .btn-categoria,
    .btn-empresa {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* 6. Estados de Foco (Acessibilidade) */
.hero-search button:focus,
.btn-categoria:focus,
.btn-empresa:focus,
.btn-primary:focus {
    outline: 3px solid rgba(37, 99, 235, 0.5) !important;
    outline-offset: 3px !important;
}

/* 7. Estado Ativo/Clique */
.hero-search button:active,
.btn-categoria:active,
.btn-empresa:active,
.btn-primary:active {
    transform: scale(0.98) !important;
}
/* Estilos para imagens das empresas */
.empresa-imagem {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.empresa-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.empresa-imagem img:hover {
    transform: scale(1.05);
}

.empresa-imagem.sem-imagem {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

.empresa-imagem-destaque {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.empresa-imagem-destaque img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.empresa-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

/* Upload area estilizada */
.upload-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.upload-area:hover {
    background: #e8f4fc;
    border-color: #2980b9;
}

.upload-area i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 15px;
}

#imagePreview {
    margin-top: 20px;
    text-align: center;
}

#previewImg {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== WHATSAPP STYLES ===== */
.btn-whatsapp {
    color: #25D366;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    color: #128C7E;
    transform: translateY(-1px);
}

.btn-whatsapp i {
    font-size: 1.25em;
}

.whatsapp-item {
    margin-top: 5px;
}


/* Badge New */
.badge-new {
    background-color: #25D366;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: bold;
    text-transform: uppercase;
}

/* VERSÃO SIMPLIFICADA - Mais próxima do original mas aprimorada */
#categorias-menu {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

#categorias-menu h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

#categorias-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#categorias-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

#categorias-menu li:last-child {
    border-bottom: none;
}

#categorias-menu li:hover {
    background: #f8fafc;
    padding-left: 10px;
    border-radius: 6px;
}

#categorias-menu li a {
    color: #34495e;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
}

#categorias-menu li a::before {
    content: '•';
    color: #3498db;
    font-size: 24px;
    margin-right: 12px;
    transition: transform 0.3s;
}

#categorias-menu li:hover a::before {
    transform: scale(1.3);
    color: #e74c3c;
}

#categorias-menu .not-iquess {
    background: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 600;
}

#categorias-menu .descricao {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 5px;
    padding-left: 24px;
    line-height: 1.4;
}
