/* =====================================================
   FRAME 520 - IMOBILIÁRIO LP
   Premium Real Estate Landing Page
   ===================================================== */

/* Reset & Variables */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #E85D3C;
    --color-primary-dark: #d14d2d;
    --color-primary-light: #ff6f4a;

    --color-bg: #ffffff;
    --color-bg-subtle: #fafafa;
    --color-bg-dark: #09090b;
    --color-bg-dark-elevated: #18181b;

    --color-text: #27272a;
    --color-text-muted: #71717a;
    --color-text-inverse: #fafafa;
    --color-border: #e4e4e7;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 999px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
}

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

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

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

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 93, 60, 0.3);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 14px;
}

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

/* =====================================================
   HEADER
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav__logo-img {
    height: 32px;
    width: auto;
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(9, 9, 11, 0.85) 0%,
            rgba(9, 9, 11, 0.6) 50%,
            rgba(9, 9, 11, 0.4) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 72px;
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(232, 93, 60, 0.2);
    color: var(--color-primary-light);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text-inverse);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff9966 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* =====================================================
   PRODUCT SECTIONS
   ===================================================== */

.product {
    padding: 100px 0;
    background: var(--color-bg);
}

.product--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.product__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product__grid--reverse {
    direction: rtl;
}

.product__grid--reverse>* {
    direction: ltr;
}

.product__image-wrap {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.6s ease;
}

.product__image-wrap:hover .product__image {
    transform: scale(1.03);
}

.product__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(232, 93, 60, 0.15);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.product--dark .product__badge {
    background: rgba(232, 93, 60, 0.2);
    color: var(--color-primary-light);
}

.product__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.product__text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product--dark .product__text {
    color: rgba(255, 255, 255, 0.6);
}

.product__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.product--dark .product__features li {
    color: rgba(255, 255, 255, 0.6);
}

.product__features svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

/* =====================================================
   CONTACT FORM SECTION
   ===================================================== */

.contato {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
}

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

.contato__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.2;
}

.contato__form {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contato__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contato__input {
    width: 100%;
    background: var(--color-bg-subtle);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    outline: none;
    transition: all 0.3s ease;
}

.contato__input:focus {
    background: var(--color-bg);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 60, 0.1);
}

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

.contato__submit {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
}

.contato__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: left;
    cursor: pointer;
    line-height: 1.5;
}

.contato__consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contato__consent a {
    color: var(--color-primary);
    text-decoration: underline;
}

.contato__consent a:hover {
    color: var(--color-primary-dark);
}

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

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    padding: 32px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .product {
        padding: 64px 0;
    }

    .product__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product__grid--reverse {
        direction: ltr;
    }

    .product__image-wrap {
        order: -1;
    }

    .cta {
        padding: 64px 0;
    }

    .footer__content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn--lg {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@media (prefers-reduced-motion: no-preference) {
    .hero__content {
        animation: fadeInUp 0.8s ease-out both;
    }

    .product__image-wrap {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .product__content {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
    }

    .product__image-wrap.visible,
    .product__content.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}