/*
Theme Name: Imóvel com Escritura
Description: Tema WordPress personalizado para regularização imobiliária com integração Elementor Pro
Version: 1.0
Author: Marcello Cabral
Text Domain: imovel-escritura
*/

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Variáveis CSS da marca */
:root {
    --primary-color: #035b94;
    --secondary-color: #023e66;
    --accent-color: #ffff1b;
    --soft-blue: #e6f0f7;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-900: #0f172a;
    --slate-950: #020617;
}

/* Classes utilitárias */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 91, 148, 0.3);
    text-decoration: none;
    color: var(--primary-color);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Tipografia */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.accent-line {
    width: 96px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 4px;
    margin: 0 auto 2rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background: var(--primary-color);
    padding: 8px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    text-transform: uppercase;
    line-height: 1;
}

.logo-sub {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    line-height: 1;
    margin-left: 2px;
}

/* Menu */
.nav-menu {
    display: none;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(3, 91, 148, 0.3);
}

.nav-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(3, 91, 148, 0.4);
}

.nav-cta:active {
    transform: scale(0.98);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Main content */
.site-main {
    padding-top: 80px;
}

/* Footer */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-500);
    padding: 6rem 0;
    border-top: 1px solid var(--slate-900);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    color: white;
}

.footer-brand .logo-icon {
    background: var(--accent-color);
}

.footer-description {
    max-width: 320px;
    font-size: 0.875rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: white;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-contact li:hover {
    color: white;
}

.footer-contact .material-symbols-outlined {
    color: var(--accent-color);
}

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

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

.footer-links a {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-legal {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-900);
}

.footer-legal p {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-600);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive utilities */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-nav {
        padding: 0 1rem;
    }
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* WordPress specific */
.wp-block-group {
    margin: 0;
}

.alignwide {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Elementor compatibility */
.elementor-widget-container {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}
