/**
 * PUBLIC UNIFIED CSS
 * Sprint 1 - Fase 1.3
 * Design System: NOIR EDITORIAL
 * 
 * ========================================
 * GOVERNANÇA CSS - LEIA ANTES DE EDITAR
 * ========================================
 * 
 * Este arquivo contém APENAS:
 * - Layout público (header, footer, grid)
 * - Estilos de páginas públicas
 * - Responsividade de páginas públicas
 * 
 * NÃO ADICIONE aqui:
 * - Variáveis CSS → tokens.css
 * - Animações → animations.css
 * - Componentes reutilizáveis → ui-components.css
 * - Estilos admin → admin.css
 * 
 * LIMITE: Máximo 1500 linhas
 * ========================================
 * 
 * Dependências (ordem de carregamento):
 * 1. tokens.css
 * 2. animations.css
 * 3. utilities.css
 * 4. ui-components.css
 * 5. public-unified.css (este arquivo)
 */

/* ============================================
   PUBLIC-SPECIFIC VARIABLES
   ============================================ */
:root {
    /* Header */
    --header-height: 72px;
    --header-height-scrolled: 64px;
    --container-max: 1200px;
    
    /* Brand colors (sobrescritos por BrandingHelper) */
    --brand-primary: var(--color-accent-primary, #f59e0b);
    --brand-primary-rgb: 245, 158, 11;
    --brand-primary-hover: var(--color-accent-hover, #d97706);
    --brand-primary-light: var(--color-accent-light, rgba(245, 158, 11, 0.12));
    --brand-primary-glow: var(--color-accent-glow, rgba(245, 158, 11, 0.3));
    
    --brand-secondary: var(--color-accent-secondary, #fbbf24);
    --brand-secondary-rgb: 251, 191, 36;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary, #f5f7fa);
    background: var(--bg-deep, #08090a);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.public-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Skip link (acessibilidade) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--brand-primary);
    color: var(--bg-deep);
    border-radius: var(--radius-md, 8px);
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
}

/* Background Atmosphere */ 
.public-bg-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(var(--brand-primary-rgb), 0.06) 0%, transparent 100%),
        radial-gradient(ellipse 50% 50% at 100% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 50% 50% at 0% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        var(--bg-deep, #08090a);
}

.public-bg-atmosphere::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--brand-secondary);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding, 24px);
}

.public-main {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
}

/* ============================================
   HEADER
   ============================================ */
.public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.public-header.scrolled {
    height: var(--header-height-scrolled);
    background: var(--glass-bg, rgba(8, 9, 10, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
}

.public-header.header-transparent {
    background: transparent;
}

.public-header.header-minimal .header-nav,
.public-header.header-minimal .header-actions {
    display: none;
}

.header-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.header-logo img {
    height: 32px;
    width: auto;
    transition: transform 0.3s var(--ease-out-expo);
}

.header-logo:hover img {
    transform: scale(1.05);
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out-expo);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full, 9999px);
    transition: all 0.2s;
}

.btn-header-secondary:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.btn-header-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: var(--radius-full, 9999px);
    box-shadow: 0 2px 12px var(--brand-primary-glow);
    transition: all 0.2s var(--ease-out-expo);
}

.btn-header-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--brand-primary-glow);
    color: var(--bg-deep);
}

.btn-header-primary i {
    font-size: 12px;
    transition: transform 0.2s;
}

.btn-header-primary:hover i {
    transform: translateX(3px);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

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

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

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

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 1000;
    overflow-y: auto;
    padding-top: var(--header-height);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    font-size: 16px;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 12px 0;
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 12px;
}

/* Body menu open */
body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 10, 0.85);
    z-index: 999;
}

/* ============================================
   FOOTER
   ============================================ */
.public-footer {
    position: relative;
    z-index: 1;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
}

.public-footer.footer-minimal .footer-grid {
    display: none;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px var(--container-padding, 24px) 30px;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 32px;
    width: 30%;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.social-link:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
}

.footer-contact a,
.footer-contact .contact-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--brand-primary);
}

.footer-contact i {
    width: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-legal p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-links a {
    font-size: 13px;
    color: var(--text-muted);
}

.legal-links a:hover {
    color: var(--text-primary);
}

.legal-links .separator {
    color: var(--text-disabled);
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.powered-logo {
    height: 18px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-powered:hover .powered-logo {
    opacity: 1;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-out-expo);
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--bg-deep);
    transform: translateY(-4px);
}

/* ============================================
   PAGE COMPONENTS
   ============================================ */

/* Hero Section */
.page-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.stat-card i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
    font-size: 20px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-item {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out-expo);
}

.feature-item:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    font-size: 24px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Page Cards Grid */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.page-card {
    display: block;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out-expo);
}

.page-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.page-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.score-badge.score-high {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.score-badge.score-medium {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.score-badge.score-low {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.page-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.page-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.page-card-footer {
    display: flex;
    gap: 16px;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.empty-state i {
    font-size: 48px;
    color: var(--text-disabled);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
}

/* CTA Box */
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb i {
    font-size: 10px;
    color: var(--text-disabled);
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Category/City Page Sections */
.category-page,
.city-page {
    padding-bottom: 80px;
}

.category-hero,
.city-hero {
    padding: 60px 0 40px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
   
}

.category-stats,
.city-stats {
    padding: 40px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.category-pages,
.city-bairros {
    padding: 60px 0;
}

.category-pages h2,
.city-bairros h2 {
    margin-bottom: 32px;
}

.bairros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.bairro-card {
    display: block;
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.bairro-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

.bairro-card-header {
    margin-bottom: 12px;
}

.bairro-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bairro-title {
    font-size: 13px;
    color: var(--text-muted);
}

.bairro-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.bairro-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bairro-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-disabled);
    transition: all 0.2s;
}

.bairro-card:hover .bairro-arrow {
    color: var(--brand-primary);
    transform: translateY(-50%) translateX(4px);
}

.category-cta,
.city-cta {
    padding: 60px 0;
    background: var(--bg-surface);
}

/* ============================================
   BUTTONS (Global)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s var(--ease-out-expo);
}

.btn-primary {
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    box-shadow: 0 4px 20px var(--brand-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--brand-primary-glow);
    color: var(--bg-deep);
}

.btn-secondary {
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

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

.btn-outline:hover {
    background: var(--brand-primary-light);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    width:100%
}

/* ============================================
   FORMS (Global)
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.form-input::placeholder {
    color: var(--text-muted);
}

		   .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.required {
    color: var(--accent-red, #ef4444);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA0A6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .desktop-nav,
    .header-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --header-height: 64px;
    }
    
    .public-main {
        padding-top: var(--header-height);
    }
    
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        align-items: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .pages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        max-width: 100%;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .legal-links .separator {
        display: none;
    }
    
    .cta-box {
        padding: 24px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.minimal-body {
    background: var(--bg-deep);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.minimal-main {
    width: 100%;
    max-width: 440px;
}

.login-wrapper {
    animation: fadeSlideUp 0.6s var(--ease-out-expo) forwards;
}

.login-header-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 48px 40px 32px;
    text-align: center;
}

.login-logo-wrapper {
    margin-bottom: 24px;
}

.login-logo-wrapper img {
    max-height: 48px;
    width: auto;
    margin: 0 auto;
}

.login-logo-wrapper .brand-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.login-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.login-form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 32px 40px 40px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-error {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--accent-red);
    border-left: 4px solid var(--accent-red);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.login-error.show {
    display: flex;
}

.login-error-icon {
    color: var(--accent-red);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.login-error-text {
    font-size: 14px;
    color: var(--accent-red);
    line-height: 1.5;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.input-with-icon .form-input {
    padding-left: 48px;
}

.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.login-back-link:hover {
    color: var(--brand-primary);
}

.btn-loading .btn-text {
    opacity: 0;
}

.btn-spinner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.pricing-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.pricing-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
}

.billing-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.billing-label.active {
    color: var(--text-primary);
    background: var(--bg-surface);
}

.toggle-switch {
    width: 48px;
    height: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.2s;
}

.toggle-switch.active .toggle-slider {
    left: 23px;
    background: var(--brand-primary);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-full);
}

.pricing-cards-section {
    padding: 40px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all 0.3s var(--ease-out-expo);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-default);
}

.pricing-card.highlighted,
.pricing-card.featured {
    border-color: var(--brand-primary);
    box-shadow: 0 0 40px var(--brand-primary-glow);
}

.pricing-card .card-badge,
.pricing-card .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bg-deep);
    background: var(--brand-primary);
    border-radius: var(--radius-full);
}

.card-header,
.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.card-title,
.pricing-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-price,
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.card-description,
.pricing-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.card-features,
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.card-features li,
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.card-features li:last-child,
.pricing-features li:last-child {
    border-bottom: none;
}

.card-features i,
.pricing-features i {
    color: var(--accent-green);
    font-size: 12px;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-surface);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: var(--bg-surface);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table th.highlighted,
.comparison-table td.highlighted {
    background: rgba(var(--brand-primary-rgb), 0.05);
}

.comparison-table .text-success {
    color: var(--accent-green);
}

.comparison-table .text-muted {
    color: var(--text-disabled);
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.faq-hero h1 {
    margin-bottom: 16px;
}

.faq-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.faq-content-section {
    padding: 40px 0 80px;
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.faq-category-title i {
    color: var(--brand-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.active {
    border-color: var(--brand-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-cta-section {
    padding: 60px 0;
    background: var(--bg-surface);
}

/* ============================================
   LEGAL PAGES (Termos, Privacidade)
   ============================================ */
.legal-hero {
    padding: 100px 0 40px;
    text-align: center;
}

.legal-hero h1 {
    margin-bottom: 12px;
}

.legal-update {
    font-size: 14px;
    color: var(--text-muted);
}

.legal-content-section {
    padding: 40px 0 80px;
}

.legal-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.legal-intro {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-article h2 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.legal-article h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-article h3 {
    font-size: 1rem;
    margin: 24px 0 12px;
}

.legal-article p {
    margin-bottom: 16px;
}

.legal-article ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-article li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.legal-article a {
    color: var(--brand-primary);
}

.legal-back-section {
    padding: 0 0 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

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

/* ============================================
   LANDING PAGE (VENDAS)
   ============================================ */
.landing-hero {
    padding: 140px 0 100px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.hero-badge span {
    color: var(--brand-primary);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

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

.hero-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.landing-features,
.landing-steps,
.landing-pricing {
    padding: 100px 0;
}

.landing-features {
    background: var(--bg-surface);
}

.section-header {
    margin: 0 auto 60px;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border-radius: 50%;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.landing-cta {
    padding: 100px 0;
    background: var(--bg-surface);
}

.landing-cta .cta-box {
    text-align: center;
    padding: 64px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.landing-cta .cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.landing-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 12px;
}

.landing-cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Animation on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE - PAGES
   ============================================ */
@media (max-width: 768px) {
    .login-header-card,
    .login-form-card {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .pricing-hero,
    .faq-hero,
    .legal-hero,
    .landing-hero {
        padding-top: 80px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-article {
        padding: 32px 24px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .landing-cta .cta-box {
        padding: 40px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   LANDING SEO PAGES
   ============================================ */
.landing-seo-body {
    background: var(--bg-deep);
}

.landing-main {
    padding-top: var(--header-height);
}

/* Preview Banner */
.preview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 12px 0;
    background: linear-gradient(90deg, var(--accent-amber), #d97706);
    color: var(--bg-deep);
    font-size: 14px;
    font-weight: 500;
}

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

.preview-banner .preview-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bg-deep);
    font-weight: 600;
}

.landing-seo-body .landing-main {
    padding-top: calc(var(--header-height) + 48px);
}

/* Landing Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.landing-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.landing-header .header-logo img {
    height: 32px;
    width: auto;
}

.landing-header .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.landing-header .header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.landing-header .header-nav a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.landing-header .header-nav a:not(.btn):hover {
    color: var(--text-primary);
}

/* Landing Hero */
.landing-hero-section {
    padding: 100px 0 80px;
        background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand-primary), transparent 90%), 
    color-mix(in srgb, var(--brand-secondary), transparent 100%)
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.landing-hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.landing-hero-section .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.landing-hero-section .hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.landing-hero-section .hero-cta {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.trust-stars {
    color: var(--accent-amber);
    letter-spacing: 2px;
}

/* Score Card */
.hero-score {
    display: flex;
    justify-content: center;
}

.score-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 320px;
}

.score-gauge {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}

.score-gauge svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-gauge .gauge-bg {
    fill: none;
    stroke: var(--bg-surface);
    stroke-width: 8;
}

.score-gauge .gauge-progress {
    fill: none;
    stroke: var(--score-color, var(--brand-primary));
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: calc(314 - (314 * var(--score, 0) / 100));
    transition: stroke-dashoffset 1s ease-out;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.score-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.score-text {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.score-text i {
    color: var(--brand-primary);
}

/* Location Banner */
.location-banner {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
}

.location-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.location-content i {
    color: var(--brand-primary);
}

.location-content strong {
    color: var(--text-primary);
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s var(--ease-out-expo);
}

.service-card:hover {
    border-color: var(--border-default);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 24px;
    margin-bottom: 20px;
}

.service-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-category {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-weight {
    display: flex;
    align-items: center;
    gap: 12px;
}

.weight-label {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.weight-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.weight-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.6s ease-out;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand-primary), transparent 20%), 
    color-mix(in srgb, var(--brand-secondary), transparent 50%)
    );
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
}

.contact-form-wrapper {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-disclaimer i {
    color: var(--accent-green);
}

.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 64px;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

/* Landing Footer */
.landing-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    max-width: 300px;
}

.landing-footer .footer-logo {
    height: 100%;
    margin-bottom: 12px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
}

.landing-footer .footer-links {
    display: flex;
    gap: 24px;
}

.landing-footer .footer-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.landing-footer .footer-links a:hover {
    color: var(--text-primary);
}

.landing-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.powered-by {
    color: var(--text-disabled);
    font-size: 12px;
}

.powered-by:hover {
    color: var(--text-muted);
}

/* Landing SEO Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-score {
        order: -1;
    }
    
    .score-card {
        max-width: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .landing-header .header-nav {
        display: none;
    }
    
    .landing-hero-section {
        padding: 80px 0 60px;
    }
    
    .landing-hero-section .hero-title {
        font-size: 1.75rem;
    }
    
    .services-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .landing-footer .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Print */
@media print {
    .public-header,
    .public-footer,
    .scroll-to-top,
    .mobile-menu {
        display: none !important;
    }
    
    .public-main {
        padding-top: 0;
    }
}


/* Soluções - Estilos Específicos */

.solucoes-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-content {
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #9AA0A6;
    line-height: 1.6;
    margin: 0 auto;
}

/* Sections */
.categorias-section,
.ultimas-section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.section-title i {
    color: #F59E0B;
}

.section-subtitle {
    color: #9AA0A6;
    font-size: 16px;
        display: flex;
    justify-content: center;
}

/* Categorias Grid */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.categoria-card {
    background: #16181D;
    border: 1px solid #222529;
    border-radius: 16px;
    padding: 32px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.categoria-card:hover {
    transform: translateY(-4px);
    border-color: #2563EB;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
}

.categoria-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.categoria-nome {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #F5F7FA;
}

.categoria-desc {
    color: #9AA0A6;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.categoria-link {
    color: #2563EB;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.categoria-link i {
    transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-link i {
    transform: translateX(4px);
}

/* Pages Grid */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.page-card {
    background: #16181D;
    border: 1px solid #222529;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.page-card:hover {
    border-color: #2563EB;
    transform: translateY(-2px);
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.page-categoria {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.page-score {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.page-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #F5F7FA;
    line-height: 1.4;
}

.page-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9AA0A6;
    font-size: 14px;
}

.page-location i {
    color: #F59E0B;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #222529;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9AA0A6;
    font-size: 13px;
}

.meta-item i {
    font-size: 12px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateX(4px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #9AA0A6;
}

.empty-state i {
    font-size: 64px;
    color: #222529;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #F5F7FA;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-content {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid #222529;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    color: #9AA0A6;
    font-size: 16px;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto; 
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1E40AF 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .categorias-grid,
    .pages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .page-header {
        flex-wrap: wrap;
    }
}
