:root {
    --bg: #0a0b10;
    --bg-elevated: #11131a;
    --bg-card: #161821;
    --bg-soft: #1c1f2a;
    --teal: #1de9b6;
    --teal-dark: #12c9a0;
    --teal-ink: #04352c;
    --text: #f5f7fa;
    --muted: #9aa3b2;
    --line: rgba(255, 255, 255, 0.08);
    --surface: #f4f6f8;
    --ink: #12141c;
    --ink-soft: #3d4454;
    --white: #ffffff;
    --danger: #ff6b7a;
    --radius: 10px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    --container: 1180px;
    --header-h: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    line-height: 1.15;
    margin: 0 0 0.6em;
}

p {
    margin: 0 0 1em;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 11, 16, 0.97);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand__mark {
    height: 38px;
    width: auto;
    max-width: 76px;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.brand__word {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--white);
}

.brand__we {
    font-weight: 800;
    font-size: 1em;
}

.brand__point {
    font-weight: 400;
    font-size: 1em;
}

.brand__dot {
    color: var(--teal);
    font-weight: 800;
}

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    font-size: 0.86rem;
    color: #d5dae3;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--teal);
}

.header-cta {
    flex-shrink: 0;
}

.header-account {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
}

.header-account__hello {
    color: #d5dae3;
    font-size: 0.88rem;
    white-space: nowrap;
}

.header-account__hello strong {
    color: var(--teal);
    font-weight: 700;
}

.mobile-menu__hello {
    margin: 0 0 12px;
    color: #d5dae3;
    font-size: 1rem;
}

.mobile-menu__hello strong {
    color: var(--teal);
}

.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    padding: 0;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.nav-toggle span:nth-child(1) {
    top: 13px;
}

.nav-toggle span:nth-child(2) {
    top: 20px;
}

.nav-toggle span:nth-child(3) {
    top: 27px;
}

.nav-toggle.is-open span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
}

@keyframes navReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 12px 18px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        filter 0.22s ease;
    will-change: transform;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-teal {
    background: var(--teal);
    color: var(--teal-ink);
    box-shadow: 0 0 0 rgba(29, 233, 182, 0);
}

.btn-teal:hover {
    background: var(--teal-dark);
    box-shadow: 0 10px 24px rgba(29, 233, 182, 0.28);
}

.btn-teal:hover svg {
    transform: translateX(2px);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

.btn-outline:hover {
    background: rgba(29, 233, 182, 0.12);
    box-shadow: 0 8px 20px rgba(29, 233, 182, 0.16);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero {
    position: relative;
    padding: 56px 0 36px;
    background:
        radial-gradient(circle at 18% 10%, rgba(29, 233, 182, 0.12), transparent 28%),
        var(--bg);
}

.hero--home {
    min-height: min(88vh, 760px);
    padding: 72px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #07080c;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 8, 12, 0.96) 0%, rgba(7, 8, 12, 0.82) 38%, rgba(7, 8, 12, 0.35) 68%, rgba(7, 8, 12, 0.2) 100%),
        linear-gradient(180deg, rgba(7, 8, 12, 0.55) 0%, rgba(7, 8, 12, 0.2) 28%, rgba(7, 8, 12, 0.55) 72%, rgba(7, 8, 12, 0.96) 100%),
        radial-gradient(ellipse at 20% 40%, rgba(29, 233, 182, 0.08), transparent 45%);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: block;
    padding-bottom: 36px;
    flex: 1;
}

.hero__copy {
    max-width: 620px;
    padding-top: 40px;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 12ch;
}

.hero--home h1 {
    max-width: 13ch;
    margin-bottom: 18px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 em,
.accent {
    color: var(--teal);
    font-style: normal;
}

.hero-lead {
    color: #c9d0db;
    max-width: 42ch;
    font-size: 1.02rem;
}

.hero--home .hero-lead {
    color: #e8edf5;
    font-size: 1.08rem;
    max-width: 46ch;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.hero--home .hero-actions {
    gap: 14px;
    margin-top: 4px;
}

.hero--home .btn-teal {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero--home .btn-teal:hover {
    color: #fff;
    box-shadow: 0 12px 28px rgba(29, 233, 182, 0.35);
}

.hero--home .btn-teal svg {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.hero--home .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero__sign {
    display: none;
}

.hero__sign strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    line-height: 1.25;
    margin-bottom: 8px;
}

.hero__search {
    position: relative;
    z-index: 3;
    padding-bottom: 28px;
}

.search-bar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
    background: #141722;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.search-bar--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    background: rgba(18, 20, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(29, 233, 182, 0.08),
        0 18px 50px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(29, 233, 182, 0.35);
    backdrop-filter: blur(14px);
}

@media (min-width: 1100px) {
    .search-bar--hero {
        grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
    }
}

.search-bar label {
    display: grid;
    gap: 6px;
}

.search-bar span {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
}

.search-bar--hero > label > span {
    color: #f3f6fb;
}

.search-bar input,
.search-bar select,
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    padding: 11px 12px;
    outline: none;
}

.search-bar--page {
    margin-bottom: 28px;
}

.search-bar__submit {
    height: 44px;
    min-width: 52px;
    padding-inline: 16px;
}

.search-bar--hero .search-bar__submit {
    min-width: 118px;
    height: 46px;
    padding-inline: 18px;
}

.search-bar__submit span {
    color: inherit;
    font-size: 0.92rem;
}

.features {
    padding: 34px 0 18px;
    background: var(--bg);
}

.features-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.features-dots {
    display: none;
}

.feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: var(--teal);
}

.feature__icon svg {
    width: 100%;
    height: 100%;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--teal);
}

.section {
    padding: 64px 0;
}

.section-light {
    background: var(--surface);
    color: var(--ink);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: 0;
}

.link-teal {
    color: var(--teal);
    font-weight: 700;
}

.section-light .link-teal {
    color: #0f9f80;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.favoritos-grid.is-empty {
    display: none !important;
}

.favoritos-card[hidden] {
    display: none !important;
}

.cards-grid--destaques {
    grid-template-columns: repeat(3, 1fr);
}

.card-imovel {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 20, 32, 0.08);
    display: flex;
    flex-direction: column;
}

.card-imovel__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #0a0c11;
}

.card-imovel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.card-imovel__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(145deg, #12151d, #0a0c11);
}

.card-imovel:hover img {
    transform: scale(1.04);
}

.badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--teal);
    color: var(--teal-ink);
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 6px;
    padding: 5px 8px;
}

.btn-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 11, 16, 0.55);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.btn-fav svg {
    width: 18px;
    height: 18px;
}

.btn-fav.is-on {
    color: #ff6b8a;
}

.btn-fav.is-on svg {
    fill: currentColor;
}

.card-imovel__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-imovel h3 {
    margin: 0;
    font-size: 1.05rem;
}

.card-imovel__loc,
.meta-line {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    margin: 0;
}

.card-imovel__loc svg,
.meta-line svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.card-imovel__specs {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.9rem;
}

.card-imovel__excerpt {
    color: #5b6270;
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    flex: 1;
}

.segments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.segments--two {
    grid-template-columns: repeat(2, 1fr);
}

.segment {
    position: relative;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #12141c;
}

.segment img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.segment::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 16, 0.15), rgba(10, 11, 16, 0.88));
}

.segment > * {
    position: relative;
    z-index: 1;
}

.segment h3 {
    font-size: 1.35rem;
    max-width: 16ch;
}

.segment .icon-line {
    width: 36px;
    height: 36px;
    color: var(--teal);
    margin-bottom: 16px;
}

.page-hero {
    padding: 56px 0 28px;
    background:
        radial-gradient(circle at 80% 0%, rgba(29, 233, 182, 0.12), transparent 30%),
        var(--bg);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    max-width: 16ch;
}

.page-hero p {
    color: var(--muted);
    max-width: 62ch;
}

.prose {
    color: #d5dae3;
    max-width: 72ch;
}

.prose h2,
.prose h3 {
    color: var(--white);
    margin-top: 1.4em;
}

.detail-facts,
.detail-map {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-card);
}

.detail-facts h3,
.detail-map h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
}

.facts-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 0;
}

.facts-list dt {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.facts-list dd {
    margin: 0;
    color: var(--white);
    font-weight: 600;
    line-height: 1.35;
}

.detail-map__address {
    margin: 0 0 14px;
    color: #d5dae3;
    line-height: 1.5;
}

.detail-map__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0a0c11;
    margin-bottom: 12px;
}

.detail-map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.side-card__address {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .facts-list {
        grid-template-columns: 1fr;
    }

    .detail-map__frame {
        aspect-ratio: 4 / 3;
    }
}

.steps,
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.step,
.benefit,
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
}

.step span,
.benefit span {
    color: var(--teal);
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.listing-layout {
    display: grid;
    gap: 8px;
}

.listing-meta {
    color: var(--muted);
    margin-bottom: 18px;
}

.empty-state {
    background: var(--bg-card);
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    color: #ffffff;
}

.section-light .empty-state,
.section-light .empty-state h2,
.empty-state h2 {
    color: #ffffff;
}

.section-light .empty-state p,
.empty-state p {
    color: #c5cbd6;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.gallery {
    display: grid;
    gap: 12px;
}

.gallery__stage {
    position: relative;
}

.gallery__main {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    cursor: zoom-in;
    background: #0a0c11;
    position: relative;
}

.gallery__main--empty {
    display: grid;
    place-items: center;
    cursor: default;
    color: var(--muted);
    font-weight: 600;
}

.site-flash {
    padding: 12px 0;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
}

.site-flash--ok {
    background: rgba(29, 233, 182, 0.12);
    color: var(--teal);
}

.site-flash--err {
    background: rgba(255, 107, 122, 0.12);
    color: #ff6b7a;
}

.gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #0a0c11;
}

.gallery__hint {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.gallery__main:hover .gallery__hint,
.gallery__main:focus-visible .gallery__hint {
    opacity: 1;
}

.gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(10, 12, 17, 0.72);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.gallery__nav:hover {
    background: rgba(29, 233, 182, 0.92);
    color: #061016;
}

.gallery__nav svg {
    width: 20px;
    height: 20px;
}

.gallery__nav--prev {
    left: 12px;
}

.gallery__nav--next {
    right: 12px;
}

.gallery__thumbs-bar {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
}

.gallery__thumbs-nav {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-card);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.gallery__thumbs-nav:hover {
    border-color: rgba(29, 233, 182, 0.45);
    color: var(--teal);
}

.gallery__thumbs-nav svg {
    width: 18px;
    height: 18px;
}

.gallery__thumbs-nav.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.gallery__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px;
}

.gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.gallery__thumbs button {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border: 2px solid transparent;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0c11;
}

.gallery__thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery__thumbs button.is-active {
    border-color: var(--teal);
}

.lightbox[hidden] {
    display: none !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 6, 10, 0.88);
    cursor: pointer;
}

.lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 32px));
    height: min(86vh, 820px);
    margin: 7vh auto 0;
    display: grid;
    place-items: center;
}

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    background: #0a0c11;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(29, 233, 182, 0.92);
    color: #061016;
}

.lightbox__close {
    top: -8px;
    right: -4px;
    width: 42px;
    height: 42px;
    z-index: 2;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
}

.lightbox__nav svg,
.lightbox__close svg {
    width: 22px;
    height: 22px;
}

.lightbox__nav--prev {
    left: -6px;
}

.lightbox__nav--next {
    right: -6px;
}

.lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 720px) {
    .gallery__main {
        aspect-ratio: 4 / 3;
    }

    .gallery__nav {
        width: 34px;
        height: 34px;
    }

    .gallery__thumbs button {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .lightbox__dialog {
        width: calc(100% - 16px);
        height: 78vh;
        margin-top: 10vh;
    }

    .lightbox__nav--prev {
        left: 4px;
    }

    .lightbox__nav--next {
        right: 4px;
    }

    .lightbox__close {
        top: -40px;
        right: 0;
    }
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.chip {
    background: rgba(29, 233, 182, 0.12);
    color: var(--teal);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.side-card,
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
}

.side-card h3,
.form-card h2,
.form-card h3 {
    margin-top: 0;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal);
}

.form-card {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.field span {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

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

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
}

.alert-ok {
    background: rgba(29, 233, 182, 0.12);
    color: var(--teal);
    border-radius: 10px;
    padding: 14px 16px;
}

.contact-grid,
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.site-footer {
    background: #08090d;
    border-top: 1px solid var(--line);
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
}

.footer-brand p {
    color: var(--muted);
    max-width: 32ch;
}

.site-footer h3 {
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: var(--teal);
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--teal);
}

.social svg,
.footer-contact svg {
    width: 16px;
    height: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
}

.footer-bottom {
    border-top: 1px solid var(--line);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.footer-bottom p {
    margin: 0;
}

.link-btn {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.link-btn:hover {
    color: var(--teal);
}

.btn-whatsapp {
    width: 100%;
    background: #25d366;
    color: #fff;
    margin-top: 8px;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover svg {
    transform: scale(1.08);
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
}

.link-whatsapp {
    display: inline-block;
    margin-top: 12px;
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-card__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
}

.contact-card__person p {
    margin: 0;
    line-height: 1.35;
    min-width: 0;
}

.contact-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(29, 233, 182, 0.35);
    background: #0d0f15;
}

.contact-card__meta a:hover {
    color: var(--teal);
}

body.modal-open {
    overflow: hidden;
}

.modal[hidden] {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: block;
    padding: max(12px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 10, 0.72);
    backdrop-filter: blur(6px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    margin: min(8vh, 48px) auto;
    background: #12141c;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    max-height: none;
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.modal__close svg {
    width: 16px;
    height: 16px;
}

.modal__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.modal__brand img {
    height: 28px;
    width: auto;
    mix-blend-mode: lighten;
}

.modal__dialog h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}

.modal__lead {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 0.94rem;
}

.modal__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 4px;
}

.modal__tab {
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
}

.modal__tab.is-active {
    background: rgba(29, 233, 182, 0.14);
    color: var(--teal);
}

.modal__panel {
    display: none;
    gap: 12px;
}

.modal__panel.is-active {
    display: grid;
}

.modal__panel .btn {
    width: 100%;
    margin-top: 4px;
}

.modal__hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

.modal__feedback {
    margin-top: 14px;
    margin-bottom: 14px;
    background: rgba(255, 107, 122, 0.12);
    color: #ff6b7a;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.modal__feedback:not([hidden]) {
    display: block;
}

@media (max-width: 1100px) {
    .header-cta {
        display: none;
    }

    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
        position: relative;
        background: rgba(10, 11, 16, 0.9);
    }

    .site-header.is-nav-open {
        z-index: 1001;
        border-radius: 0;
        border-bottom-color: transparent;
        background: transparent;
    }

    .site-header.is-nav-open .brand {
        position: relative;
        z-index: 1002;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        z-index: 1000;
        background: #0a0b10;
        padding: calc(var(--header-h) + 8px) 0 0;
        box-sizing: border-box;
        overflow: hidden;
        animation: navReveal 0.2s ease;
    }

    .mobile-menu[hidden] {
        display: none !important;
    }

    .mobile-menu__panel {
        height: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 12px 24px max(24px, env(safe-area-inset-bottom));
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background:
            radial-gradient(circle at 85% 0%, rgba(29, 233, 182, 0.12), transparent 40%),
            transparent;
    }

    .mobile-menu__nav ul {
        list-style: none;
        margin: 0;
        padding: 8px 0 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-menu__nav a {
        display: block;
        padding: 15px 2px;
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        color: var(--white);
        border-bottom: 1px solid var(--line);
        white-space: normal;
    }

    .mobile-menu__nav a.is-active,
    .mobile-menu__nav a:hover {
        color: var(--teal);
    }

    .mobile-menu__footer {
        margin-top: auto;
        padding-top: 28px;
        text-align: center;
    }

    .mobile-menu__footer .btn {
        width: 100%;
        min-height: 52px;
        font-size: 1rem;
    }

    .mobile-menu__footer p {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 0.86rem;
    }

    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .search-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-bar__submit {
        grid-column: 1 / -1;
    }

    .cards-grid,
    .features-track,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__content,
    .detail-grid,
    .contact-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero__sign {
        display: none;
    }

    .hero--home {
        min-height: auto;
        padding-top: 48px;
    }
}

@media (max-width: 900px) {
    .hero--home .hero-actions {
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero--home {
        padding-top: 36px;
    }

    .hero--home h1 {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .hero__copy {
        padding-top: 12px;
    }

    .hero--home .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: 360px;
        margin-top: 4px;
    }

    .hero--home .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding-inline: 16px;
    }

    .hero__search {
        padding-bottom: 20px;
    }

    .search-bar,
    .search-bar--hero,
    .cards-grid,
    .segments,
    .steps,
    .benefits,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 22px 0 28px;
    }

    .features-carousel {
        overflow: hidden;
        position: relative;
    }

    .features-track {
        display: flex;
        gap: 0;
        width: 100%;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .features-track .feature {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 8px 8px 14px;
        text-align: left;
    }

    .features-track .feature p {
        font-size: 0.98rem;
        line-height: 1.35;
        max-width: 22ch;
    }

    .features-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
    }

    .features-dots button {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(29, 233, 182, 0.28);
        cursor: pointer;
    }

    .features-dots button.is-active {
        background: var(--teal);
        transform: scale(1.15);
    }

    .section-head,
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-cta {
        display: none;
    }
}

/* Scrollbar — paleta WePoint */
html {
    scrollbar-color: var(--teal) #12141c;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0f16;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--teal), #0fb894);
    border-radius: 999px;
    border: 2px solid #0d0f16;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-dark);
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: #04352c;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top[hidden] {
    display: none !important;
}

.scroll-top:hover {
    transform: translateY(-2px);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
}

.form-intro {
    color: var(--muted);
    margin: -4px 0 8px;
    font-size: 0.92rem;
}

.contact-aside__list {
    margin-top: 22px;
}

.contact-aside__list p {
    margin-bottom: 14px;
}

.about-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 72px 0 48px;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.72) 55%, rgba(7, 8, 12, 0.45) 100%),
        linear-gradient(180deg, rgba(7, 8, 12, 0.35), rgba(7, 8, 12, 0.9));
}

.about-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.about-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.about-hero__brand img {
    height: 42px;
    width: auto;
    mix-blend-mode: lighten;
}

.about-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.about-hero p {
    color: #d7dde8;
    max-width: 58ch;
    margin: 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.about-intro__text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.about-intro__text p {
    color: #c9d0db;
}

.about-intro__visual {
    display: grid;
    gap: 14px;
}

.about-logo-full {
    width: min(100%, 320px);
    margin: 0 auto;
    mix-blend-mode: lighten;
}

.about-intro__visual img:last-child {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.about-pillars article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 20, 32, 0.08);
}

.about-pillars img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.about-pillars h3,
.about-pillars p {
    padding: 0 16px;
}

.about-pillars h3 {
    margin: 14px 0 8px;
    font-size: 1.1rem;
}

.about-pillars p {
    color: #5b6270;
    padding-bottom: 18px;
    margin: 0;
}

.about-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
}

.about-cta h2 {
    margin: 0 0 8px;
}

.about-cta p {
    margin: 0;
    color: var(--muted);
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 900px) {
    .about-intro,
    .about-pillars,
    .segments--two {
        grid-template-columns: 1fr;
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Contato */
.contact-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 72px 0 48px;
    overflow: hidden;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.78) 48%, rgba(7, 8, 12, 0.45) 100%),
        linear-gradient(180deg, rgba(7, 8, 12, 0.3), rgba(7, 8, 12, 0.88));
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.contact-hero__eyebrow {
    color: var(--teal);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.contact-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    max-width: 14ch;
}

.contact-hero p {
    color: #d7dde8;
    max-width: 46ch;
    margin: 0 0 22px;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-channels {
    padding-top: 28px;
    padding-bottom: 12px;
}

.contact-channels__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-channel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 20px;
    min-height: 210px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-channel:hover {
    border-color: rgba(29, 233, 182, 0.45);
    transform: translateY(-2px);
}

.contact-channel__icon {
    width: 40px;
    height: 40px;
    color: var(--teal);
}

.contact-channel__icon svg {
    width: 100%;
    height: 100%;
}

.contact-channel h2 {
    margin: 0;
    font-size: 1.15rem;
}

.contact-channel p {
    margin: 0;
    color: var(--muted);
    flex: 1;
    font-size: 0.94rem;
}

.contact-channel__cta {
    color: var(--teal);
    font-weight: 700;
    font-size: 0.9rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.contact-layout__intro h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-layout__intro > p {
    color: #5b6270;
    max-width: 38ch;
}

.contact-info-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.contact-info-list li {
    display: grid;
    gap: 2px;
}

.contact-info-list strong {
    color: var(--ink);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-info-list a,
.contact-info-list span {
    color: #3d4454;
    font-weight: 600;
}

.contact-info-list a:hover {
    color: #0f9f80;
}

.contact-hours {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(29, 233, 182, 0.1);
    display: grid;
    gap: 2px;
}

.contact-hours strong {
    color: #0f9f80;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-hours span {
    color: #3d4454;
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 36px rgba(16, 20, 32, 0.08);
    display: grid;
    gap: 14px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form .field span {
    color: #5b6270;
}

.contact-form__submit {
    width: 100%;
    min-height: 50px;
}

.contact-form__note {
    margin: 0;
    text-align: center;
    color: #8a93a3;
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .contact-channels__grid,
    .contact-layout,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        min-height: auto;
        padding-top: 48px;
    }

    .contact-hero h1 {
        max-width: none;
    }

    .contact-channel {
        min-height: 0;
    }
}

/* Legal pages */
.page-hero--legal h1 {
    max-width: 18ch;
}

.legal-eyebrow {
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-meta {
    margin-top: 10px !important;
    font-size: 0.9rem;
    color: var(--muted);
}

.legal-switch {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.legal-switch a {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.legal-switch a.is-active,
.legal-switch a:hover {
    color: var(--teal-ink);
    background: var(--teal);
}

.legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.legal-toc > p {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.legal-toc a {
    color: #c5cbd6;
    font-size: 0.88rem;
    line-height: 1.35;
}

.legal-toc a:hover {
    color: var(--teal);
}

.legal-doc {
    max-width: 68ch;
}

.legal-doc h2 {
    scroll-margin-top: calc(var(--header-h) + 16px);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.legal-doc ul {
    margin: 0.8em 0 1.2em;
    padding-left: 1.2em;
    color: #d5dae3;
}

.legal-doc li {
    margin: 0.35em 0;
}

.legal-doc li::marker {
    color: var(--teal);
}

.password-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.password-wrap input {
    width: 100%;
    padding-right: 46px;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0;
    display: grid;
    place-items: center;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--teal, #1de9b6);
    background: rgba(29, 233, 182, 0.1);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.imovel-form .password-wrap input,
.panel-form .password-wrap input,
.modal .password-wrap input {
    padding-right: 46px;
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal-toc {
        position: static;
    }

    .page-hero--legal h1 {
        max-width: none;
    }
}
