:root {
    --oliva: #5A5B36;
    --oliva-escuro: #44452a;
    --oliva-texto: #4a4b30;
    --terracota: #C36232;
    --azul: #253D50;
    --amarelo: #DAB465;
    --areia: #EFEAE0;
    --areia-escura: #E6DFD0;
    --areia-card: #F4F0E8;
    --linha: rgba(90, 91, 54, 0.25);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: var(--oliva-texto);
    background-color: var(--areia);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.35 0 0 0 0 0.21 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    -webkit-font-smoothing: antialiased;
}

.container { width: min(1180px, 90vw); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--oliva); line-height: 1.25; }

a { color: inherit; text-decoration: none; transition: color .3s ease, opacity .3s ease; }

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

::selection { background: var(--oliva); color: var(--areia); }

.kicker {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--terracota);
    margin-bottom: 22px;
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.rule {
    width: 64px;
    height: 1px;
    background: var(--terracota);
    border: 0;
    margin: 0 0 32px;
}

.rule.centered { margin-left: auto; margin-right: auto; }

.lead { font-size: 18px; max-width: 56ch; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding: 18px 0;
    transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}

.site-header.is-scrolled {
    background: rgba(239, 234, 224, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--linha);
    padding: 10px 0;
}

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

.brand-logo { height: 100px; width: auto; transition: height .4s ease; }

.site-header.is-scrolled .brand-logo { height: 42px; }

.site-nav { display: flex; align-items: center; gap: 34px; }

.nav-link {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--oliva);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--terracota);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-link:hover { color: var(--terracota); }

.nav-social { display: flex; align-items: center; gap: 14px; margin-left: 18px; padding-left: 24px; border-left: 1px solid var(--linha); }

.social-icon { color: var(--oliva); display: inline-flex; }

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

.social-icon:hover { color: var(--terracota); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 26px; position: relative; }

.nav-toggle span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 1.5px;
    background: var(--oliva);
    transition: all .35s ease;
}

.nav-toggle span:first-child { top: 8px; }

.nav-toggle span:last-child { bottom: 8px; }

.nav-toggle.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }

.nav-toggle.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

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

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

.hero-title {
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 500;
    letter-spacing: .04em;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(26px);
    animation: heroLine 1.1s cubic-bezier(.22,.61,.36,1) forwards;
}

.hero-title span:nth-child(2) { animation-delay: .25s; color: var(--terracota); }

.hero-title span:nth-child(3) { animation-delay: .5s; }

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

.hero-text { margin-top: 34px; max-width: 46ch; opacity: 0; animation: fadeIn 1.2s ease .9s forwards; }

.hero-actions { margin-top: 42px; display: flex; gap: 22px; align-items: center; opacity: 0; animation: fadeIn 1.2s ease 1.1s forwards; }

@keyframes fadeIn { to { opacity: 1; } }

.hero-figure { position: relative; opacity: 0; animation: fadeIn 1.4s ease .6s forwards; }

.arch-frame {
    border-radius: 999px 999px 0 0;
    overflow: hidden;
    position: relative;
}

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

.hero-figure .arch-frame { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(68, 69, 42, 0.45); }

.hero-figure::before {
    content: '';
    position: absolute;
    inset: -16px -16px 0;
    border: 1px solid var(--linha);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}

.hero-emblem {
    position: absolute;
    bottom: -26px;
    left: -26px;
    width: 110px;
    opacity: .92;
}

.scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--oliva);
    opacity: 0;
    animation: fadeIn 1.4s ease 1.6s forwards;
}

.scroll-cue::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--terracota), transparent);
    animation: cue 2.2s ease infinite;
}

@keyframes cue { 50% { transform: scaleY(.55); transform-origin: top; } }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--areia);
    background: var(--oliva);
    padding: 16px 34px;
    border: 1px solid var(--oliva);
    cursor: pointer;
    transition: all .35s ease;
}

.btn:hover { background: var(--oliva-escuro); border-color: var(--oliva-escuro); }

.btn.ghost { background: transparent; color: var(--oliva); }

.btn.ghost:hover { background: var(--oliva); color: var(--areia); }

.btn.terra { background: var(--terracota); border-color: var(--terracota); }

.btn.terra:hover { background: #a85128; border-color: #a85128; }

.section { padding: clamp(70px, 10vh, 120px) 0; }

.section.tinted { background: var(--areia-escura); }

.brick-divider {
    height: 10px;
    background-image: repeating-linear-gradient(90deg, var(--terracota) 0 46px, transparent 46px 52px);
    opacity: .16;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 100px); align-items: center; }

.split-figure { position: relative; }

.split-figure .arch-frame { aspect-ratio: 4 / 5; }

.split-figure::after {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--linha);
    border-radius: 999px 999px 0 0;
    z-index: -1;
}

.casas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.5vw, 44px); margin-top: 56px; }

.casa-card { display: block; position: relative; }

.casa-card .arch-frame { aspect-ratio: 3 / 4; }

.casa-card .arch-frame img { transition: transform 1s cubic-bezier(.22,.61,.36,1); }

.casa-card:hover .arch-frame img { transform: scale(1.05); }

.casa-card-body { padding: 24px 6px 0; text-align: center; }

.casa-card h3 { font-size: 22px; letter-spacing: .1em; text-transform: uppercase; }

.casa-card p { font-size: 14.5px; margin-top: 10px; color: var(--oliva-texto); }

.casa-card-cta {
    display: inline-block;
    margin-top: 14px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--terracota);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease;
}

.casa-card:hover .casa-card-cta { border-color: var(--terracota); }

.partners-band { padding: clamp(60px, 8vh, 90px) 0; }

.partners-band .kicker { display: block; text-align: center; }

.partners-ruler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
    margin-top: 36px;
}

.partners-ruler img {
    height: 44px;
    width: auto;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .4s ease, filter .4s ease, transform .4s ease;
}

.partners-ruler a:hover img { opacity: 1; filter: none; transform: translateY(-3px); }

.quote-band {
    background: var(--oliva);
    color: var(--areia);
    padding: clamp(80px, 12vh, 130px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-band .container { position: relative; }

.quote-band p {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: .06em;
    line-height: 1.5;
    max-width: 30ch;
    margin: 0 auto;
}

.quote-band .emblem { width: 88px; margin: 0 auto 34px; opacity: .9; }

.quote-band::before, .quote-band::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background-image: repeating-linear-gradient(0deg, rgba(239,234,224,.07) 0 14px, transparent 14px 18px), repeating-linear-gradient(90deg, rgba(239,234,224,.07) 0 30px, transparent 30px 34px);
    border-radius: 50%;
}

.quote-band::before { top: -190px; left: -160px; }

.quote-band::after { bottom: -190px; right: -160px; }

.page-hero { padding: 180px 0 70px; text-align: center; }

.page-hero .section-title { margin-bottom: 18px; }

.page-hero .lead { margin: 0 auto; }

.casa-hero { padding: 160px 0 0; }

.casa-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 6vw, 90px); align-items: end; }

.casa-hero .arch-frame { aspect-ratio: 4 / 5; }

.casa-meta { padding-bottom: 40px; }

.casa-meta h1 { font-size: clamp(34px, 4vw, 50px); letter-spacing: .08em; text-transform: uppercase; }

.contact-lines { margin-top: 34px; display: grid; gap: 14px; }

.contact-line { display: flex; align-items: baseline; gap: 16px; font-size: 15px; }

.contact-line strong {
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--terracota);
    min-width: 92px;
}

.contact-line a:hover { color: var(--terracota); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }

.gallery figure { overflow: hidden; }

.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1s cubic-bezier(.22,.61,.36,1); }

.gallery figure:hover img { transform: scale(1.04); }

.gallery figure:nth-child(3n+2) { border-radius: 999px 999px 0 0; }

.prose { max-width: 62ch; }

.prose p { margin-bottom: 1.4em; }

.prose p:last-child { margin-bottom: 0; }

.map-wrap { position: relative; }

.map-wrap iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
    filter: sepia(.32) saturate(.78);
}

.map-card {
    position: absolute;
    left: clamp(16px, 4vw, 48px);
    bottom: -38px;
    background: var(--areia-card);
    border: 1px solid var(--linha);
    padding: 30px 36px;
    max-width: 330px;
    box-shadow: 0 24px 50px -24px rgba(68,69,42,.4);
}

.map-card h3 { font-size: 19px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

.map-card p { font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form-grid .full { grid-column: 1 / -1; }

.field label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--oliva);
    margin-bottom: 9px;
}

.field input, .field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--linha);
    padding: 11px 2px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--oliva-texto);
    transition: border-color .3s ease;
}

.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terracota); }

.field textarea { min-height: 130px; resize: vertical; }

.field .error { font-size: 12px; color: var(--terracota); margin-top: 6px; display: block; letter-spacing: .04em; }

.alert-success {
    border: 1px solid var(--oliva);
    background: rgba(90,91,54,.07);
    padding: 18px 24px;
    font-size: 14px;
    letter-spacing: .04em;
    margin-bottom: 36px;
}

.site-footer {
    background: var(--oliva);
    color: rgba(239, 234, 224, 0.82);
    padding: clamp(70px, 9vh, 100px) 0 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.93 0 0 0 0 0.85 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: clamp(36px, 5vw, 70px);
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(239, 234, 224, 0.18);
}

.footer-logo { width: 168px; }

.footer-label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--amarelo);
    margin-bottom: 20px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }

.footer-col a:hover { color: var(--areia); }

.footer-text { font-size: 13.5px; line-height: 1.7; }

.footer-social { display: flex; gap: 14px; margin-top: 8px; }

.footer-social .social-icon { color: rgba(239, 234, 224, 0.82); }

.footer-social .social-icon:hover { color: var(--amarelo); }

.footer-bottom { padding-top: 36px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }

.footer-quote { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: .04em; }

.footer-copy { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(239, 234, 224, 0.5); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1); }

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .12s; }

.reveal-delay-2 { transition-delay: .24s; }

.reveal-delay-3 { transition-delay: .36s; }

@media (max-width: 980px) {
    .site-nav {
        position: fixed;
        inset: 0;
        background: var(--areia);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform .5s cubic-bezier(.22,.61,.36,1);
        z-index: -1;
    }

    .site-nav.is-open { transform: none; }

    .nav-link { font-size: 14px; }

    .nav-social { margin: 10px 0 0; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--linha); }

    .nav-toggle { display: block; }

    .hero { padding-top: 120px; }

    .hero-grid, .split, .casa-hero-grid { grid-template-columns: 1fr; }

    .hero-figure { max-width: 420px; }

    .casas-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }

    .gallery { grid-template-columns: 1fr 1fr; }

    .form-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .map-card { position: static; margin-top: 24px; max-width: none; }
}

@media (max-width: 560px) {
    .gallery { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
}
