/* ZURI Real Estate, site institucional. Sem dependencias externas. */

@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/hanken-grotesk-latin-300-normal.woff2") format("woff2"); }

:root {
  --pine: #26352F;
  --pine-2: #2F3F36;
  --stone: #E9E6DF;
  --stone-2: #DDD9CF;
  --sand: #C8BBA7;
  --ink: #26352F;
  --ink-soft: #55625B;
  --mist: #CDD2C5;
  --mist-soft: #A9B2A5;
  --line: rgba(38, 53, 47, 0.18);
  --line-light: rgba(205, 210, 197, 0.22);
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --title: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --blue-stone: #A7B3B1;
  --accent: #C8BBA7;
  --lead: #EEEAE2;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 78rem;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
h1, h2, h3, p, dl, dd, dt, address { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; border-radius: 1px; }
.section--stone :focus-visible, .section--sand :focus-visible { outline-color: var(--pine); }

.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--stone); color: var(--pine); padding: .6rem 1rem; font-size: .9rem;
}
.skip-link:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Cabecalho ------------------------------------------------------------- */
.site-header {
  --hbg: var(--pine);
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem var(--gutter);
  color: var(--mist);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.brand { position: relative; display: block; height: 3rem; aspect-ratio: 2566 / 994; flex: none; }
.brand__img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
.site-header .brand { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.site-header nav a:not(.pill) {
  text-decoration: none; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400;
  padding: .3rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.site-header nav a:not(.pill):hover, .site-header nav a:not(.pill):focus-visible { background-size: 100% 1px; }
body.is-past-hero .site-header { --hbg: var(--stone); background: var(--stone); color: var(--pine); border-bottom-color: var(--line); }
body.is-past-hero .site-header .brand, .page-simple .site-header .brand { opacity: 1; pointer-events: auto; }
body.is-past-hero .brand__img--claro, .page-simple .brand__img--claro { opacity: 1; }
body.is-on-dark .site-header { --hbg: var(--pine); background: var(--pine); color: var(--mist); border-bottom-color: var(--line-light); }
body.is-on-dark .brand__img--claro { opacity: 0; }
body.is-on-dark .brand__img--escuro { opacity: 1; }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh; background: var(--pine); color: var(--mist);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto;
  align-content: center; justify-items: center;
  padding: 5.5rem var(--gutter) 3rem; overflow: hidden;
}
.stage { width: min(100%, 38rem); height: min(62svh, 40rem); }
.stage svg { width: 100%; height: 100%; overflow: visible; }
.hero__text { width: min(100%, 38rem); margin-top: 1.5rem; }
.hero h1 {
  font-family: var(--title); font-weight: 300; font-size: clamp(1.8rem, 4.2vw, 2.9rem); line-height: 1.14; letter-spacing: -.01em;
  color: var(--stone);
}
.hero__sub { margin-top: 1rem; color: var(--mist-soft); font-size: 1rem; }
.hero__text p:last-child { margin-top: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-quiet {
  font-weight: 400; color: var(--sand); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: .3rem; transition: background-size .5s var(--ease), color .3s var(--ease);
}
.link-quiet:hover, .link-quiet:focus-visible { background-size: 40% 1px; color: var(--stone); }

@media (min-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr; align-content: stretch; align-items: center; justify-items: stretch; column-gap: clamp(2rem, 6vw, 6rem); padding-top: 4.5rem; padding-bottom: 2.5rem; }
  .stage { width: 100%; height: min(86svh, 62rem); justify-self: end; max-width: 46rem; }
  .hero__text { margin-top: 0; width: auto; max-width: 30rem; }
  .hero h1 { font-size: clamp(2.4rem, 3.6vw, 3.6rem); }
}

/* Estados do hero: texto revela com a animacao (so com JS) */
.js .hero.is-playing .hero__text > * { opacity: 0; }
.js .hero.is-playing .hero__text h1 { clip-path: inset(0 100% 0 0); opacity: 1; }
.js .hero__text > * { transition: opacity .9s var(--ease); }
.js .hero.is-done .hero__text h1 { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease); }
.js .hero.is-done .hero__text > * { opacity: 1; }
.js .hero.is-done .hero__text .hero__sub { transition-delay: .5s; }
.js .hero.is-done .hero__text p:last-child { transition-delay: .9s; }

.js .hero.is-playing #wordmark { opacity: 0; }

.skip {
  position: absolute; right: var(--gutter); bottom: 1.5rem; z-index: 5;
  background: none; border: 0; color: var(--mist-soft); font: inherit; font-size: .85rem; letter-spacing: .02em;
  padding: .5rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px;
  opacity: 0; transition: opacity .6s var(--ease);
}
.js .hero.is-playing .skip { opacity: 1; }
.hero:not(.is-playing) .skip, html:not(.js) .skip { display: none; }
.skip:hover { color: var(--stone); }

/* Seccoes --------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section--tight { padding-top: 0; padding-bottom: clamp(5rem, 11vw, 9rem); }
.section--stone { background: var(--stone); }
.section--pine { background: var(--pine); color: var(--mist); }
.section--sand { background: var(--sand); color: var(--pine); }

.grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56rem) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .col-statement, .col-head, .col-big, .contact__intro { grid-column: 1 / span 5; }
  .col-text, .values { grid-column: 7 / span 6; }
  .col-big { grid-column: 1 / span 6; }
  .col-text--buy { grid-column: 8 / span 5; align-self: end; }
  .grid--marca .marca__symbol { grid-column: 1 / span 4; }
  .grid--marca .marca__text { grid-column: 6 / span 7; }
  .grid--contact .contact__intro { grid-column: 1 / span 5; }
  .grid--contact .form { grid-column: 7 / span 6; }
}

h2 { font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.statement {
  font-family: var(--display); font-weight: 400; letter-spacing: -.025em;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; max-width: 14ch;
}
.col-text p + p { margin-top: 1.3rem; }
.col-text p { max-width: 38rem; }
.name-block { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.name-block h3 { font-weight: 400; font-size: .95rem; letter-spacing: .02em; margin-bottom: .6rem; }

/* Valores */
.values { display: block; border-top: 1px solid var(--line); }
.values__row { display: grid; gap: .3rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .values__row { grid-template-columns: 11rem 1fr; align-items: baseline; } }
.values dt { font-weight: 400; font-size: 1.05rem; }
.values dd { color: var(--ink-soft); }

/* Marca */
.marca__symbol { max-width: 15rem; }
.marca__symbol img { width: 100%; height: auto; }
.marca__text p { max-width: 38rem; margin-top: 1.4rem; color: var(--mist); }
.readings { margin-top: 2.2rem; display: grid; gap: 0; max-width: 38rem; border-top: 1px solid var(--line-light); }
.readings > div { display: grid; gap: .2rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 40rem) { .readings > div { grid-template-columns: 9rem 1fr; align-items: baseline; } }
.readings dt { font-weight: 400; color: var(--stone); }
.readings dd { color: var(--mist-soft); }

/* Comprar */
.big { font-family: var(--title); font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.1; letter-spacing: -.015em; max-width: 15ch; }
.col-text--buy p { color: var(--pine); }

/* Botoes (pilula) */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font: inherit; font-weight: 400; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  padding: 1.05rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pill__arrow { transition: transform .35s var(--ease); }
.pill:hover .pill__arrow, .pill:focus-visible .pill__arrow { transform: translateX(4px); }
.pill--accent { background: var(--accent); color: var(--pine); border-color: var(--accent); }
.pill--accent:hover, .pill--accent:focus-visible { background: transparent; color: var(--accent); }
.pill--line { color: var(--stone); border-color: rgba(238, 234, 226, .5); background: transparent; }
.pill--line:hover, .pill--line:focus-visible { background: var(--stone); color: var(--pine); border-color: var(--stone); }
.pill--dark { background: var(--pine); color: var(--stone); border-color: var(--pine); }
.pill--dark:hover, .pill--dark:focus-visible { background: transparent; color: var(--pine); }
.pill--nav { padding: .8rem 1.3rem; border-color: currentColor; color: inherit; background: transparent; }
.pill--nav:hover, .pill--nav:focus-visible { background: currentColor; }
.pill--nav:hover, .pill--nav:focus-visible { color: var(--hbg); }
.pill--nav:hover { -webkit-text-fill-color: var(--hbg); }
.pill[disabled], .btn[disabled] { opacity: .55; cursor: progress; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 400; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; padding: 1.05rem 1.9rem; border-radius: 999px; background: var(--pine); color: var(--stone); border: 1px solid var(--pine); cursor: pointer; text-decoration: none; transition: background-color .35s var(--ease), color .35s var(--ease); }
.btn:hover, .btn:focus-visible { background: transparent; color: var(--pine); }

/* Frase de tela cheia */
.statement-screen { min-height: 100svh; background: var(--pine); display: grid; place-items: center; padding: 6rem var(--gutter); text-align: center; }
.statement-screen__text {
  font-family: var(--title); font-weight: 300; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(2.6rem, 8.6vw, 7.6rem); max-width: 12ch; margin-inline: auto;
}
.statement-screen .lead { color: var(--lead); }
.statement-screen .accent { color: var(--accent); }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Titulos de seccao */
.eyebrow { font-weight: 400; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.6rem; }
.display { font-family: var(--title); font-weight: 300; letter-spacing: -.025em; line-height: 1.08; font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 19ch; }
.display--light { color: var(--stone); }

/* Ciclo */
.cycle { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; display: grid; gap: 1rem; counter-reset: c; }
.cycle__item { background: var(--sand); color: var(--pine); border-radius: 1rem; padding: 1.8rem 1.6rem 2rem; position: relative; }
.cycle__n { display: block; font-family: var(--display); font-weight: 400; font-size: 1rem; color: var(--ink-soft); margin-bottom: 2.2rem; letter-spacing: .06em; }
.cycle__item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: .7rem; }
.cycle__item p { font-weight: 400; font-size: .98rem; line-height: 1.55; }
.cycle__return { display: none; }
.pull { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.5rem, 3vw, 2.3rem); margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 24ch; }
@media (min-width: 40rem) { .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) {
  .cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
  .cycle__return { display: block; position: relative; height: 3.4rem; color: var(--mist-soft); margin-top: .4rem; }
  .cycle__return svg { width: 100%; height: 100%; overflow: visible; }
  .cycle__return::after { content: ""; position: absolute; left: 12.5%; top: .25rem; width: .55rem; height: .55rem; border-left: 1.2px solid currentColor; border-top: 1.2px solid currentColor; transform: translateX(-50%) rotate(45deg); }
  .cycle__loop { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -62%); background: var(--stone); padding: 0 1rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
}

/* Marca: etapas */
.stages { list-style: none; padding: 0; margin: 2.2rem 0 2.4rem; display: grid; gap: .1rem; max-width: 38rem; border-left: 1px solid var(--line-light); }
.stages li { position: relative; padding: .55rem 0 .55rem 1.6rem; color: var(--mist); font-weight: 400; }
.stages li::before { content: ""; position: absolute; left: -.28rem; top: 50%; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); transform: translateY(-50%) scale(var(--s, 1)); }
.stages li:nth-child(1) { --s: .55; } .stages li:nth-child(2) { --s: .75; } .stages li:nth-child(3) { --s: 1; } .stages li:nth-child(4) { --s: 1.25; } .stages li:nth-child(5) { --s: 1.6; color: var(--stone); }
@media (min-width: 40rem) {
  .stages { grid-template-columns: repeat(5, auto); justify-content: space-between; border-left: 0; border-top: 1px solid var(--line-light); gap: 1rem; padding-top: 0; }
  .stages li { padding: 1.5rem 0 0; font-size: .92rem; }
  .stages li::before { left: 0; top: 0; transform: translateY(-50%) scale(var(--s, 1)); transform-origin: left center; }
}

/* Como enviar uma oportunidade */
.grid--steps { align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.steps li span { font-family: var(--display); font-weight: 400; color: var(--ink-soft); min-width: 1.4rem; }
.steps__box { background: var(--sand); border-radius: 1rem; padding: clamp(1.6rem, 3vw, 2.4rem); }
.steps__box h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin-bottom: 1.2rem; }
.steps__box ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-weight: 400; }
@media (min-width: 56rem) { .steps__col { grid-column: 1 / span 6; } .steps__box { grid-column: 8 / span 5; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section--stone2 { background: var(--stone-2); }
.section--stone2 :focus-visible { outline-color: var(--pine); }

/* Contato */
.contact__intro p { margin-top: 1.2rem; max-width: 26rem; color: var(--ink-soft); }
.contact__intro address { margin-top: 2.2rem; color: var(--ink); line-height: 1.8; }

.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 400; font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-weight: 300; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(38, 53, 47, 0.45); border-radius: 0; padding: .65rem 0;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--pine); box-shadow: 0 1px 0 var(--pine); }
.field--consent { grid-template-columns: auto 1fr; align-items: start; column-gap: .8rem; }
.field--consent input { margin-top: .4rem; width: 1.05rem; height: 1.05rem; accent-color: var(--pine); }
.field--consent label { font-weight: 300; font-size: .92rem; line-height: 1.55; }
.field--consent .err { grid-column: 1 / -1; }
.field--invalid input, .field--invalid textarea { border-bottom-color: #8B3A2E; }
.err { color: #8B3A2E; font-size: .88rem; font-weight: 400; }
.form-note { font-size: .9rem; color: var(--ink-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5rem; font-size: .95rem; }
.form-status.is-ok { color: #2F5A3E; font-weight: 400; }
.form-status.is-error { color: #8B3A2E; font-weight: 400; }
.turnstile { min-height: 65px; }

/* Rodape */
.site-footer { background: var(--pine); color: var(--mist-soft); padding-block: 3.5rem; font-size: .9rem; }
.footer__grid { display: grid; gap: 1.6rem; }
.footer__brand { display: block; width: 11rem; }
.footer__brand img { width: 100%; height: auto; }
.footer__legal { line-height: 1.7; }
.footer__links a { color: var(--mist); }
@media (min-width: 56rem) { .footer__grid { grid-template-columns: 1fr 2fr auto; align-items: start; } }

/* Paginas simples (privacidade, 404) */
.page-simple { background: var(--stone); min-height: 100svh; }
.page-simple .site-header { background: var(--stone); color: var(--pine); border-bottom-color: var(--line); }
.prose { padding-top: 8rem; padding-bottom: 6rem; max-width: 46rem; }
.prose h1 { font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 2rem; }
.prose h2 { font-size: 1.3rem; font-weight: 400; margin-top: 2.6rem; margin-bottom: .8rem; }
.prose p, .prose li { color: #3C4943; }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
@media (max-width: 62rem) {
  .site-header nav a:not(.pill) { display: none; }
  .brand { height: 2.5rem; }
}

/* Marca: do simbolo a vida */
.journey { margin-top: clamp(3.5rem, 7vw, 6rem); }
.eyebrow--light { color: var(--blue-stone); }
.journey__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.journey__list img { display: block; width: 100%; height: auto; aspect-ratio: 398 / 612; object-fit: cover; border-radius: 1.25rem; margin-bottom: 1.2rem; }
.journey__list h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.01em; color: var(--lead); margin-bottom: .4rem; }
.journey__list p { color: var(--mist); font-weight: 400; max-width: 26ch; line-height: 1.5; }
.journey__close { margin-top: clamp(2.5rem, 5vw, 4rem); font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--accent); }
@media (max-width: 52rem) { .journey__list { grid-template-columns: 1fr; max-width: 26rem; } }
