/* ============================================
   LANDING PAGE - REGULARIZAÇÃO DE IMÓVEIS
   CSS Premium - ObraBIM
   ============================================ */

/* Variáveis de Cor e Espaçamento */
:root {
    --primary-color: #E6692A;
    --secondary-color: #1F2C44;
    --accent-color: #FF8C42;
    --light-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --text-dark: #333333;
    --text-light: #666666;
    --success-color: #27AE60;
    --spacing-unit: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-regularizacao {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a3f5f 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.3;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 44, 68, 0.85) 0%, rgba(31, 44, 68, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(230, 105, 42, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(230, 105, 42, 0.4);
}

.btn-secondary {
    position: relative;
    z-index: 10;
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.btn-icon {
    font-size: 1.3em;
}

.hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.highlight-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 700;
}

.highlight-text {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

/* ============================================
   SEÇÕES GENÉRICAS
   ============================================ */
section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

/* ============================================
   SEÇÃO DE PROBLEMAS
   ============================================ */
.problemas-section {
    background: var(--light-bg);
}

.problemas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.problema-card {
    background: #ffffff !important;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark) !important;
}

.problema-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.problema-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.problema-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   SEÇÃO COMO FUNCIONA
   ============================================ */
.como-funciona-section {
    background: #fff;
}

.processo-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.processo-step {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    color: var(--text-dark) !important;
}

.processo-step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(230, 105, 42, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.processo-step h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.processo-step p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   SEÇÃO DIFERENCIAIS
   ============================================ */
.diferenciais-section {
    background: var(--light-bg);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.diferencial-item {
    background: #ffffff !important;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
}

.diferencial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.diferencial-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.diferencial-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   SEÇÃO DEPOIMENTOS
   ============================================ */
.depoimentos-section {
    background: #fff;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.depoimento-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
}

.depoimento-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(230, 105, 42, 0.1);
}

.depoimento-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.depoimento-nome {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0.5rem 0 0.25rem 0;
}

.depoimento-cidade {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.depoimento-texto {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* ============================================
   SEÇÃO FAQ
   ============================================ */
.faq-section {
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff !important;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--text-dark) !important;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary-color) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
    background: #ffffff !important;
}

.faq-item summary:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.faq-item summary::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SEÇÃO CTA FINAL
   ============================================ */
.cta-final-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a3f5f 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem; /* Aumentar o espaçamento entre os botões */
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1.5rem; /* Espaçamento uniforme entre botões em mobile */
    }

    .btn-large {
        width: 100%;
        padding: 1rem 2rem; /* Padding adequado para mobile */
    }

    section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

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

    h2 {
        font-size: 1.8rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .container {
        padding: 0 1rem;
    }

    .problema-card, .processo-step, .diferencial-item {
        padding: 1.5rem;
    }
}

/* ============================================
   OTIMIZAÇÕES DE PERFORMANCE
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading */
img[loading="lazy"] {
    background: var(--light-bg);
}

/* Smooth Scrolling - Otimizado */
html {
    scroll-behavior: smooth;
    font-display: swap;
}

/* Otimizações de Rendering */
.hero-regularizacao,
.problemas-section,
.como-funciona-section,
.diferenciais-section,
.depoimentos-section,
.faq-section,
.cta-final-section {
    will-change: auto;
    contain: layout style paint;
}

/* Transições Suaves - Otimizadas */
* {
    transition-timing-function: ease-in-out;
}

/* Reduzir Repaints */
.btn-primary:hover,
.btn-secondary:hover,
.problema-card:hover,
.processo-step:hover,
.diferencial-item:hover,
.depoimento-card:hover {
    will-change: transform, box-shadow;
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus Visible para Navegação por Teclado */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   DARK MODE - DESABILITADO PARA CONSISTÊNCIA
   ============================================ */
/* Dark mode foi removido para garantir que o site
   tenha aparência consistente em todos os dispositivos,
   independentemente das preferências de tema do sistema. */
