/* =========================================================
   Talia & Cia · estilos
   ========================================================= */
:root {
  /* cores da marca, tiradas do logo */
  --green: #0e4a2c;
  --green-deep: #0a3620;
  --green-2: #1d6b43;
  --orange: #e8621e;
  --orange-soft: #f39a63;

  --cream: #f6f2ea;
  --paper: #fdfbf7;
  --ink: #13241a;
  --muted: #5d6a61;
  --line: #e3ddd0;
  --sand: var(--orange-soft);
  --olive: var(--green-2);
  --terra: #c9582a;
  --accent: var(--orange);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);

  /* cena interativa */
  --sofa: #b9a68c;
  --wall: #efe6d8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 350; line-height: 1.02; margin: 0; letter-spacing: -.02em; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: var(--paper); }

/* textura de papel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kicker {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); margin: 0 0 22px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 30px; border-radius: 999px; background: var(--green); color: var(--paper);
  font-weight: 600; font-size: 15px; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1;
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn--small { padding: 12px 20px; font-size: 14px; }

.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; position: relative; }
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center; align-content: center; gap: 34px;
  transition: clip-path 1.1s var(--ease) .2s;
  clip-path: inset(0 0 0 0);
}
.loader__logo { width: min(300px, 62vw); height: auto; overflow: visible; }
/* as faixas do telhado caem uma a uma, a linha laranja se desenha e o nome sobe */
.lg-s { transform: translateY(-60px); opacity: 0; animation: lg-drop .7s var(--ease) forwards; }
.lg-s:nth-child(1) { animation-delay: .1s; } .lg-s:nth-child(2) { animation-delay: .22s; } .lg-s:nth-child(3) { animation-delay: .34s; }
.lg-roof { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lg-draw .8s var(--ease) .45s forwards; }
.lg-chim { transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); animation: lg-chim .5s var(--ease) 1.05s forwards; }
.lg-name { transform: translateY(150px); animation: lg-up .9s var(--ease) .7s forwards; }
.lg-cia { opacity: 0; transform: translateY(30px); animation: lg-drop .8s var(--ease) .95s forwards; }
@keyframes lg-drop { to { transform: none; opacity: 1; } }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-chim { to { transform: scaleY(1); } }
@keyframes lg-up { to { transform: none; } }
.loader__bar { width: min(200px, 50vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); animation: grow 1.5s var(--ease) .3s forwards; }
body.is-ready .loader { clip-path: inset(0 0 100% 0); }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 95; border-radius: 50%; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--ink);
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__label { font-size: 13px; font-weight: 600; color: var(--paper); opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(232,98,30,.14); border-color: transparent; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); border-color: var(--orange); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter); transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.nav.is-scrolled { background: rgba(246,242,234,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { margin-right: auto; display: block; }
.nav__logo svg { display: block; width: 64px; height: 54px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: translateX(-50%) scale(1); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger i:first-child { top: 18px; } .nav__burger i:last-child { top: 25px; }
.menu-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--cream); display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter); gap: 8px; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease);
}
.menu a { font: 300 clamp(40px, 12vw, 64px)/1.15 var(--serif); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 80px; position: relative;
}
.hero__title { font-size: clamp(52px, 8.4vw, 132px); font-weight: 300; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.rotator em { display: inline-block; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.rotator em.out { transform: translateY(-40%); opacity: 0; }
.rotator em.in { transform: translateY(40%); opacity: 0; transition: none; }
.hero__sub { max-width: 440px; color: var(--muted); font-size: 18px; margin: 30px 0 36px; }
.hero__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero__art { position: relative; height: min(78vh, 680px); }
.hero__art .arch { position: absolute; margin: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; will-change: transform; }
.arch--a { width: 54%; height: 78%; left: 8%; top: 6%; }
.arch--b { width: 36%; height: 46%; right: 0; top: 0; border-radius: 18px 18px 999px 999px; }
.arch--c { width: 40%; height: 46%; right: 6%; bottom: 0; }
.arch img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.is-ready .arch img { transform: scale(1); }
.badge { position: absolute; left: -4%; bottom: 4%; width: 150px; height: 150px; display: grid; place-items: center; }
.badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge text { font: 600 13px var(--sans); letter-spacing: .18em; text-transform: uppercase; fill: var(--ink); }
.badge > span { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--paper); display: grid; place-items: center; font: 400 26px/1 var(--serif); }
.badge small { font-size: 14px; display: block; margin-top: -18px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1px solid var(--ink); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--ink); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Placeholder elegante enquanto as fotos reais não chegam */
.ph {
  position: relative; background:
    radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(160deg, #d9c8b1, #a88d70);
}
.ph--olive { background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.35), transparent 60%), linear-gradient(160deg, #6fa383, #0e4a2c); }
.ph--terra { background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.4), transparent 60%), linear-gradient(160deg, #f8b98d, #e8621e); }
.ph--sage  { background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.45), transparent 60%), linear-gradient(160deg, #c9dccd, #4f8a63); }
.ph--stone { background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.45), transparent 60%), linear-gradient(160deg, #d6d2cc, #8b8681); }
.ph::after {
  content: attr(data-label); position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font: italic 400 15px var(--serif); color: rgba(255,255,255,.9); white-space: nowrap;
}
.ph:has(img)::after { display: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 40px; width: max-content; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font: 300 clamp(30px, 4vw, 54px)/1 var(--serif); white-space: nowrap; }
.marquee span:nth-of-type(even) { font-style: italic; color: var(--accent); }
.marquee i { font-style: normal; color: var(--green-2); font-size: 24px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about { padding: clamp(100px, 16vw, 200px) var(--gutter); }
.manifesto { font: 300 clamp(30px, 4.4vw, 64px)/1.15 var(--serif); letter-spacing: -.015em; max-width: 1200px; margin: 0; }
.manifesto .w { opacity: .14; transition: opacity .4s; }
.manifesto .w.on { opacity: 1; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(60px, 10vw, 120px); }
.pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 36px 32px 40px;
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
}
.pill:hover { box-shadow: 0 30px 60px -30px rgba(60,40,20,.25); }
.pill__n { font: italic 400 15px var(--serif); color: var(--accent); }
.pill h3 { font-size: 30px; margin: 46px 0 12px; }
.pill p { color: var(--muted); margin: 0; }

/* ---------- Obra (casa que se constrói) ---------- */
.build { height: 420vh; position: relative; background: var(--paper); }
.build__sticky {
  position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px); align-items: center; padding: 90px var(--gutter) 40px;
}
.build h2 { font-size: clamp(36px, 4.6vw, 68px); margin-bottom: 36px; }
.build__steps { list-style: none; padding: 0; margin: 0; }
.build__steps li {
  display: grid; grid-template-columns: 44px 1fr; border-top: 1px solid var(--line); padding: 14px 0;
  opacity: .35; transition: opacity .5s var(--ease);
}
.build__steps li span { font: italic 400 15px var(--serif); color: var(--accent); padding-top: 4px; }
.build__steps h3 { font-size: 24px; }
.build__steps p { margin: 0; color: var(--muted); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); }
.build__steps li.is-active { opacity: 1; }
.build__steps li.is-active p { max-height: 80px; opacity: 1; margin-top: 6px; }
.build__steps li.is-done { opacity: .7; }

.build__art { position: relative; }
.build__svg { width: 100%; height: auto; overflow: visible; }
/* casa 3D: ocupa o lugar da ilustração e sangra um pouco para os lados */
.build__3d { display: none; }
.build__art.is-3d .build__3d { display: block; position: absolute; inset: -14% -6% -10%; cursor: grab; }
.build__art.is-3d .build__3d:active { cursor: grabbing; }
.build__art.is-3d .build__3d canvas { display: block; width: 100% !important; height: 100% !important; }
.build__art.is-3d .build__svg { visibility: hidden; }
.build__count { z-index: 1; pointer-events: none; }
.build__count { position: absolute; right: 0; top: 0; font: 300 18px var(--serif); color: var(--muted); }
.build__count span { font-size: 54px; color: var(--ink); }
.b-ground { stroke: var(--ink); stroke-width: 2; }
.b-sun circle { fill: #e9c27a; opacity: .5; transition: opacity 1s, fill 1s; }
.build[data-step="5"] .b-sun circle { opacity: 1; fill: #f0b75a; }
.b-concrete { fill: #a39d95; }
.b-joint { stroke: #8b857d; stroke-width: 2; }
.b-brick { fill: var(--terra); stroke: var(--paper); stroke-width: 2; opacity: 0; transform: translateY(-30px); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.b-brick:nth-child(3n) { fill: #a65a37; } .b-brick:nth-child(5n) { fill: #c2724b; }
.b-brick.on { opacity: 1; transform: none; }
.b-roof { fill: var(--ink); }
.b-chimney { fill: #3a332b; }
.b-door { fill: #6b4a33; }
.b-win { fill: #cfdbe0; }
.b-frame { stroke: var(--paper); stroke-width: 4; fill: none; }
.b-warm { fill: #ffd98a; }
.b-sofa { fill: var(--olive); }
.b-table { stroke: #6b4a33; stroke-width: 4; fill: none; }
.b-leaf { fill: #6f8a55; }
.b-smoke { fill: #d8d2c9; animation: smoke 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.b-smoke:nth-of-type(2) { animation-delay: .4s; } .b-smoke:nth-of-type(3) { animation-delay: .8s; }
@keyframes smoke { 50% { transform: translate(6px, -6px) scale(1.12); opacity: .6; } }
.b-heart { fill: var(--terra); transform-box: fill-box; transform-origin: center; animation: beat 1.6s var(--ease) infinite; }
@keyframes beat { 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
.b-step[data-step]:not(.b-bricks) { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.b-step[data-step="3"] { transform: translateY(-50px); }
.b-step.on { opacity: 1 !important; transform: none !important; }

/* ---------- Sorteio ---------- */
.promo {
  position: fixed; left: 20px; bottom: 20px; z-index: 40; max-width: calc(100vw - 40px); background: var(--green); color: var(--cream);
  border-radius: 20px; padding: 18px 44px 18px 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .8s var(--ease);
}
.promo.is-visible { transform: none; }
.promo a { display: grid; gap: 2px; }
.promo__tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--sand); }
.promo strong { font: 400 21px/1.15 var(--serif); white-space: nowrap; }
.promo small { color: rgba(244,239,231,.65); font-size: 13px; }
.promo__close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; font-size: 22px; line-height: 1; color: rgba(244,239,231,.6); }

/* ---------- Ambientes (scroll horizontal) ---------- */
.rooms { height: 500vh; position: relative; background: var(--green-deep); color: var(--cream); }
.rooms__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; padding-top: 70px; }
.rooms__head { padding: 0 var(--gutter); display: flex; align-items: end; gap: 40px; flex-wrap: wrap; }
.rooms__head .kicker { color: var(--sand); width: 100%; margin: 0; }
.rooms__head h2 { font-size: clamp(36px, 5vw, 72px); flex: 1; }
.rooms__head em { color: var(--sand); }
.rooms__progress { width: 180px; height: 2px; background: rgba(255,255,255,.15); margin-bottom: 14px; }
.rooms__progress i { display: block; height: 100%; background: var(--sand); transform-origin: left; transform: scaleX(0); }
.rooms__track { display: flex; gap: 3vw; padding: 0 var(--gutter); will-change: transform; }
.room { flex: 0 0 auto; width: clamp(280px, 34vw, 520px); }
.room__img { height: min(46vh, 460px); margin: 0; border-radius: 22px; overflow: hidden; }
.room__img img { transition: transform 1.2s var(--ease); }
.room:hover .room__img img { transform: scale(1.06); }
.room:nth-child(even) { margin-top: 6vh; }
.room__info { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 22px; }
.room__info span { font: italic 400 15px var(--serif); color: var(--sand); grid-row: span 2; padding-top: 8px; }
.room__info h3 { font-size: 34px; }
.room__info p { margin: 0; color: rgba(244,239,231,.65); font-size: 15px; max-width: 380px; }

/* ---------- Tons ---------- */
.tones { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding: clamp(100px, 14vw, 180px) var(--gutter); }
.tones h2 { font-size: clamp(40px, 5.4vw, 80px); margin-bottom: 20px; }
.tones__text > p:not(.kicker) { color: var(--muted); max-width: 420px; margin: 0 0 40px; }
.swatches { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.swatches__title { width: 70px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.swatches button {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c); position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .4s var(--ease);
}
.swatches button::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--ink); transform: scale(.7); opacity: 0; transition: .4s var(--ease); }
.swatches button[aria-checked="true"]::after { transform: scale(1); opacity: 1; }
.swatches button:hover { transform: scale(1.12); }
.light-toggle { margin-top: 22px; }

.scene { background: var(--paper); border-radius: 32px; padding: 20px; box-shadow: 0 40px 80px -50px rgba(60,40,20,.4); overflow: hidden; }
.scene svg { width: 100%; height: auto; display: block; border-radius: 20px; }
.scene * { transition: fill .8s var(--ease), opacity .8s var(--ease); }
.s-wall { fill: var(--wall); }
.s-floor { fill: #d6c3a8; }
.s-sofa rect:not([fill]) { fill: var(--sofa); }
.s-sofa .shade { filter: brightness(.9); }
.s-curtain { fill: #e8dccb; transform-box: fill-box; transition: transform 1s var(--ease); }
.s-curtain--l { transform-origin: top left; } .s-curtain--r { transform-origin: top right; }
.scene:hover .s-curtain--l { transform: skewX(-4deg); } .scene:hover .s-curtain--r { transform: skewX(4deg); }
.s-shade { fill: #efe2c9; }
.s-glow { fill: #ffd27a; opacity: 0; filter: blur(30px); }
.s-art { fill: var(--sofa); }
.s-plant { transform-box: fill-box; transform-origin: bottom center; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(2deg); } }
.scene.is-lit .s-glow { opacity: .55; }
.scene.is-lit .s-shade { fill: #ffe7b0; }
.scene.is-lit .s-wall { filter: brightness(.94); }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 56px var(--gutter) 48px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font: 300 clamp(48px, 6vw, 88px)/1 var(--serif); display: flex; align-items: baseline; gap: 4px; }
.stat small { font-size: .4em; color: var(--accent); }
.stat p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.stat--link { background: var(--accent); color: var(--paper); transition: background .4s; }
.stat--link p { color: rgba(255,255,255,.85); }
.stat--link:hover { background: var(--green); }
.stat--link strong { transition: transform .5s var(--ease); }
.stat--link:hover strong { transform: translateX(12px); }

/* ---------- Visite ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); padding: clamp(100px, 14vw, 180px) var(--gutter); align-items: center; }
.visit__title { font-size: clamp(42px, 5.6vw, 84px); margin-bottom: 44px; }
.visit__info { list-style: none; padding: 0; margin: 0 0 44px; }
.visit__info li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.visit__info li span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-top: 4px; }
.visit__info a { border-bottom: 1px solid var(--accent); }
.visit__map { position: relative; height: min(70vh, 600px); border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) contrast(1.05); transition: filter .8s var(--ease); }
.visit__map:hover iframe { filter: none; }
.pin { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.pin span { position: absolute; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--accent); }
.pin span::before, .pin span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.4s var(--ease) infinite; }
.pin span::after { animation-delay: 1.2s; }
@keyframes ping { to { transform: scale(5); opacity: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: var(--cream); padding: 80px var(--gutter) 32px; overflow: hidden; }
.footer__big { display: flex; align-items: end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin: 0 0 48px; }
.footer__logo { --logo-green: #fdfbf7; width: clamp(200px, 30vw, 420px); height: auto; }
.footer__big p { font: 300 clamp(24px, 3vw, 40px)/1.2 var(--serif); margin: 0; max-width: 520px; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: rgba(244,239,231,.6); border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.footer__row a { color: var(--cream); }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .nav__links, .nav .btn--small { display: none; }
  .nav__burger { display: block; z-index: 2; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero__art { height: 70vw; max-height: 520px; }
  .about__grid { grid-template-columns: 1fr; }
  .tones, .visit { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .build__sticky { grid-template-columns: 1fr; align-content: center; gap: 10px; padding-top: 80px; }
  .build__art { order: -1; max-width: 420px; width: 100%; justify-self: center; }
  .build h2 { font-size: 30px; margin-bottom: 14px; }
  .build .kicker { display: none; }
  .build__steps li:not(.is-active) { display: none; }
  .build__steps li { border: 0; }
  .build__count span { font-size: 36px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .scroll-cue { display: none; }
}
@media (max-width: 760px) {
  /* no celular os ambientes viram uma lista que desliza com o dedo */
  .rooms { height: auto; padding: 90px 0; }
  .rooms__sticky { position: static; height: auto; }
  .rooms__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; transform: none !important; scrollbar-width: none; }
  .rooms__track::-webkit-scrollbar { display: none; }
  .room { width: 80vw; scroll-snap-align: center; }
  .room:nth-child(even) { margin-top: 0; }
  .rooms__progress { display: none; }
  .badge { width: 110px; height: 110px; left: 0; }
  .badge > span { width: 62px; height: 62px; font-size: 20px; }
  .visit__info li { grid-template-columns: 1fr; gap: 4px; }
  .visit__map { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
