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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0D0D0D;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

/* ===== VARIABLES ===== */
:root {
    --primary: #fdc500;
    --primary-dark: #fdc500;
    --black: #1A1A1A;
    --bg: #0D0D0D;
    --bg-light: #151515;
    --white: #FFFFFF;
    --gray: #B3B3B3;
    --gray-dark: #666;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    color: var(--primary);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(253, 197, 0, 0.3);
}

.btn-outline {
    border: 2px solid var(--gray-dark);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-full {
    width: 100%;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
}

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

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo-img {
    height: 60px;
    width: auto;
}

.footer-logo {
    height: 48px;
}

.logo-tagline {
    font-size: 10px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245, 166, 35, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 32px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}

.stat-plus,
.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SOBRE ===== */
.sobre {
    background: var(--bg-light);
}

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

.sobre-card {
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.sobre-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 166, 35, 0.3);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--black);
}

.sobre-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sobre-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ===== BENEFÍCIOS ===== */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.beneficio-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.beneficio-item:hover {
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateX(8px);
}

.beneficio-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.beneficio-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    stroke-width: 2;
}

.beneficio-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.beneficio-content p {
    font-size: 13px;
    color: var(--gray);
}

/* ===== FORMATOS ===== */
.formatos {
    background: var(--bg-light);
}

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

.formato-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.formato-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 166, 35, 0.3);
}

.formato-card.featured {
    border-color: var(--primary);
}

.formato-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--black);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.formato-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(212, 175, 55, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.formato-alvenaria {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.formato-container {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
}

.formato-cedido {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.formato-content {
    padding: 32px;
}

.formato-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.formato-content>p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.formato-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.formato-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.formato-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.depoimento-card {
    padding: 40px;
    position: relative;
}

.depoimento-quote {
    font-size: 80px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.3;
}

.depoimento-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black);
}

.author-info strong {
    display: block;
    font-size: 14px;
}

.author-info span {
    font-size: 12px;
    color: var(--gray);
}

/* ===== MAPA ===== */
.mapa-section {
    background: var(--bg-light);
}

.mapa-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#storesMap {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.mapa-legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(253, 197, 0, 0.5);
}

.legend-stats {
    display: flex;
    gap: 32px;
}

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

.legend-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.legend-stat span {
    font-size: 12px;
    color: var(--gray);
}

/* Custom Leaflet Styles */
.leaflet-container {
    background: #1a1a1a;
}

.leaflet-tile {
    filter: grayscale(100%) invert(100%) contrast(90%) brightness(90%);
}

.leaflet-popup-content-wrapper {
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.leaflet-popup-content {
    margin: 16px;
}

.leaflet-popup-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.leaflet-popup-content p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

.leaflet-popup-tip {
    background: var(--black);
}

.leaflet-control-zoom a {
    background: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--glass-border) !important;
}

.leaflet-control-zoom a:hover {
    background: var(--primary) !important;
    color: var(--black) !important;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.7) !important;
    color: var(--gray) !important;
}

.leaflet-control-attribution a {
    color: var(--primary) !important;
}

/* Custom Marker */
.custom-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-pin {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.marker-pin:hover {
    transform: scale(1.2);
}

/* ===== FAQ ===== */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--gray);
    transition: var(--transition);
    flex-shrink: 0;
}

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

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

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

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: radial-gradient(ellipse at 50% 100%, rgba(245, 166, 35, 0.1) 0%, transparent 60%);
}

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

.cta-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    color: var(--gray);
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.cta-form input {
    padding: 16px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.cta-form input::placeholder {
    color: var(--gray-dark);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--primary);
}

.contact-icon {
    font-size: 18px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 12px;
    margin-top: 4px;
}

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

.footer-links a {
    font-size: 13px;
    color: var(--gray);
    transition: var(--transition);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--gray);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--black);
    border-color: var(--primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .nav-menu,
    .header .btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}