/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */
:root {
    --primary-color: #003653;
    --primary-light: #004e7c;
    --secondary-color: #6c757d;
    --accent-color: #0ea5e9;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

a {
    text-decoration: none;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #002a42;
    border-color: #002a42;
}

.text-primary-light {
    color: var(--accent-color);
}

.bg-primary-subtle {
    background-color: rgba(0, 54, 83, 0.1) !important;
}

.section-padding {
    padding: 80px 0;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.hover-lift {
    transition: transform 0.3s, box-shadow 0.3s;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.hover-scale {
    transition: transform 0.3s;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ============================================
   HEADER STYLES
   ============================================ */
.top-bar-blue {
    background-color: #003653;
    padding: 8px 0;
}

.top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.top-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.top-menu li a:hover {
    opacity: 0.8;
}

.btn-top-login {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    margin-right: 15px;
}

.btn-top-login:hover {
    color: #fff;
    opacity: 0.8;
}

.btn-top-admin {
    color: #fff;
    font-size: 11px;
    text-decoration: underline;
    margin-left: 10px;
}

.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-img {
    max-height: 80px;
    width: auto;
}

.header-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.cat-link {
    color: #003653;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.cat-link:hover {
    background: #f5f5f5;
    color: #0a5a8a;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.btn-login {
    color: #003653;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.btn-login:hover {
    color: #0a5a8a;
}

.btn-register {
    background: #003653;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #0a5a8a;
    color: #fff;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 54, 83, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 54, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 54, 83, 0);
    }
}

.header-actions-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.btn-login-sm {
    color: #003653;
    font-size: 20px;
}

.btn-register-sm {
    background: #003653;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
}

/* Mobile Header */
@media (max-width: 767px) {
    .top-bar-blue {
        padding: 5px 0;
    }

    .top-menu {
        justify-content: center;
        gap: 10px;
        font-size: 11px;
    }

    .main-header {
        padding: 10px 0;
    }

    .logo-img {
        max-height: 50px;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.why-buy-section {
    background: #fdfdfd;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.main-footer {
    background: #003653;
    color: #fff;
    font-size: 12px;
    padding-top: 10px;
}

.footer-link {
    color: #d0e1ea;
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-nav-link {
    color: #a0bacc;
    text-decoration: none;
}

.footer-nav-link:hover {
    color: #fff;
    text-decoration: underline;
}

.social-links a {
    color: #fff;
    opacity: 0.7;
    transition: 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.floating-contacts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-btn {
    background: #25D366;
}

/* ============================================
   PAGE HERO & COMPONENTS
   ============================================ */
.about-hero {
    background: url('../img/banner_home.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    height: 40vh;
    /* Fallback */
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific heights for different pages if needed, handled by class overrides or inline styles if dynamic */

.about-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 54, 83, 0.95) 0%, rgba(0, 30, 50, 0.8) 100%);
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-custom a:hover {
    color: #fff;
}

/* Glass Cards (Quem Somos) */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 54, 83, 0.15) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Decorative Blobs */
.blob {
    position: absolute;
    filter: blur(50px);
    opacity: 0.1;
    z-index: 1;
}

.blob-1 {
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: blue;
    border-radius: 50%;
}

.blob-2 {
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Timeline Steps (Como Funciona) */
.step-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Custom Accordion (FAQ) */
.custom-accordion .accordion-button {
    background-color: #fff;
    color: #333;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(0, 54, 83, 0.05);
    color: var(--primary-color);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Contact Info */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   INDEX / HOME STYLES
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-static {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-static::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 30, 50, 0.9) 0%, rgba(0, 30, 50, 0.4) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* Lote Cards */
.lote-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(114, 114, 114, 0.15);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.lote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 54, 83, 0.25);
    border-color: #003653;
}