/* =========================================================
   Móveis Primo
   Identidade da marca: vinho profundo, dourado do monograma,
   serifa clássica (Marcellus) e texto limpo (Jost).
   Layout claro, com as fotos reais como protagonistas.
   ========================================================= */

:root {
  --wine: #300808;
  --wine-2: #4a1515;
  --wine-3: #642222;
  --gold: #a97d59;
  --gold-dark: #8a6240;   /* dourado legível sobre branco */
  --gold-light: #cfa984;  /* dourado legível sobre vinho */
  --paper: #fdfcfa;
  --stone: #f4f0eb;
  --ink: #2b1f1c;
  --muted: #6e625e;
  --line: rgba(48, 8, 8, .12);

  --display: "Marcellus", "Times New Roman", Georgia, serif;
  --body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --hd: 84px;
  --gx: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nw { white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--wine); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gx); }
.section { padding-block: clamp(80px, 10vw, 130px); }

/* ---------- tipografia ---------- */
.eyebrow {
  margin-bottom: 18px;
  font: 500 12px/1 var(--body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow--dark { color: var(--gold-dark); }

.h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  color: var(--wine);
}
.h2--light { color: #fff; }

.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__lead { margin-top: 16px; color: var(--muted); font-weight: 300; font-size: 18px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: 500 13px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-3); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--line-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--text { padding: 12px 4px; letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--muted); }
.btn--text:hover { color: var(--wine); }
.btn--wa svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================================
   Cabeçalho
   ========================================================= */
.hd {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--hd);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.hd.is-scrolled { box-shadow: 0 6px 24px -18px rgba(48, 8, 8, .45); }
.hd__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd__logo img { height: 58px; width: auto; }
.hd__nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.hd__nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  font: 500 13px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
}
.hd__nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.hd__nav a:not(.btn):hover::after { transform: scaleX(1); }
.hd__cta { padding: 13px 20px; }
.burger { display: none; }

/* =========================================================
   Abertura
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  height: calc(100vh - var(--hd));
  height: calc(100svh - var(--hd));
  min-height: 560px;
  max-height: 920px;
}
.hero__panel {
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 4.5vw, 72px);
  background: var(--wine);
  color: #fff;
}
.hero__text { max-width: 470px; }
.hero__title {
  font-family: var(--display);
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 1.06;
}
.hero__title span { display: block; opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero__title span:nth-child(2) { animation-delay: .15s; }
.hero__title span:nth-child(3) { animation-delay: .3s; color: var(--gold-light); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__ornament { width: min(240px, 70%); height: auto; margin: 30px 0 26px; opacity: 0; animation: rise 1s var(--ease) .5s forwards; }
.hero__lead { font-weight: 300; font-size: 18px; color: rgba(255, 255, 255, .82); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__slides { position: relative; overflow: hidden; background: var(--wine-2); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.is-active img { animation: drift 8s linear forwards; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 28px 24px;
  background: linear-gradient(0deg, rgba(30, 6, 6, .6), transparent);
  color: #fff;
  font: 500 12px/1 var(--body);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero__dots { position: absolute; right: 26px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.hero__dots button {
  width: 28px; height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.hero__dots button.is-active { background: #fff; width: 44px; }

/* =========================================================
   Projetos
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 12px/1 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
}
.filter:hover { border-color: var(--wine); }
.filter.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  background: var(--stone);
  cursor: zoom-in;
}
.shot.is-extra { animation: shotIn .7s var(--ease) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(18px); } }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 50px 18px 16px;
  background: linear-gradient(0deg, rgba(30, 6, 6, .7), transparent);
  color: #fff;
  font: 500 12px/1.3 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.shot:hover img { transform: scale(1.04); }
.shot:hover span, .shot:focus-visible span { opacity: 1; transform: none; }
.more { display: flex; justify-content: center; margin-top: 34px; }
.btn--line { border-color: var(--wine); color: var(--wine); }
.btn--line:hover { background: var(--wine); color: #fff; }

/* =========================================================
   Como trabalhamos
   ========================================================= */
.steps { background: var(--stone); overflow: hidden; }
.steps__list {
  --badge: 96px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}
/* linha que liga as etapas e se desenha ao entrar na tela */
.steps__list::before {
  content: "";
  position: absolute;
  top: calc(var(--badge) / 2);
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.2s var(--ease) .2s;
}
.steps__list.is-in::before { transform: scaleX(1); }

.steps__item {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i) * .45s + .2s);
}
.steps__item:nth-child(1) { --i: 0; } .steps__item:nth-child(2) { --i: 1; }
.steps__item:nth-child(3) { --i: 2; } .steps__item:nth-child(4) { --i: 3; }
.steps__list.is-in .steps__item { opacity: 1; transform: none; }

.steps__badge {
  position: relative;
  z-index: 1;
  width: var(--badge); height: var(--badge);
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(169, 125, 89, .45);
  box-shadow: 0 16px 30px -20px rgba(48, 8, 8, .45);
  transition: background .4s var(--ease), transform .4s var(--ease), border-color .4s;
}
/* anel que pulsa quando a etapa "acende" */
.steps__badge::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
}
.steps__list.is-in .steps__badge::after { animation: ring 1.4s var(--ease) calc(var(--i) * .45s + .6s) 1; }
@keyframes ring { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.25); } }

.steps__icon { width: 50px; height: 50px; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.steps__icon .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); transition-delay: calc(var(--i) * .45s + .5s); }
.steps__list.is-in .steps__icon .draw { stroke-dashoffset: 0; }
.steps__icon circle:not(.draw) { fill: var(--gold); stroke: none; }

/* micro animações contínuas de cada ícone */
.steps__icon .dots circle { opacity: 0; }
.steps__list.is-in .steps__icon .dots circle { animation: typing 1.4s ease-in-out infinite; animation-delay: calc(1.6s + var(--d, 0s)); }
.steps__icon .dots circle:nth-child(2) { --d: .2s; } .steps__icon .dots circle:nth-child(3) { --d: .4s; }
@keyframes typing { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.steps__icon .pencil { transform-box: fill-box; transform-origin: 30% 70%; }
.steps__list.is-in .steps__icon .pencil { animation: sketch 2.4s ease-in-out 2.4s infinite; }
@keyframes sketch { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-3px, 2px) rotate(-6deg); } 50% { transform: translate(-6px, 0) rotate(0); } 75% { transform: translate(-3px, -2px) rotate(6deg); } }
.steps__icon .blade { transform-box: fill-box; transform-origin: center; }
.steps__list.is-in .steps__icon .blade { animation: spin 6s linear 2.6s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps__icon .check { stroke: var(--gold-dark); stroke-width: 2.4; transition-delay: calc(var(--i) * .45s + 1.4s) !important; }

.steps__item:hover .steps__badge { background: var(--wine); border-color: var(--wine); transform: translateY(-4px); }
.steps__item:hover .steps__icon { stroke: var(--gold-light); }
.steps__item:hover .steps__icon .check { stroke: #fff; }

.steps__n { display: block; margin-bottom: 8px; font: 500 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.steps__item h3 { font: 400 23px/1.2 var(--display); color: var(--wine); margin-bottom: 8px; }
.steps__item p { color: var(--muted); font-weight: 300; max-width: 26ch; margin-inline: auto; }

/* ---------- compromissos (diferenciais) ---------- */
.vals { position: relative; overflow: hidden; background: var(--wine); color: rgba(255, 255, 255, .78); }
.vals__mark { position: absolute; left: -90px; bottom: -120px; width: 460px; opacity: .05; pointer-events: none; }
.vals__list {
  --badge: 92px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.vals__item {
  position: relative;
  padding: 34px 26px 32px;
  text-align: center;
  border: 1px solid rgba(207, 169, 132, .18);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), background .4s, border-color .4s;
  transition-delay: calc(var(--i) * .2s);
}
.vals__item:nth-child(1) { --i: 0; } .vals__item:nth-child(2) { --i: 1; }
.vals__item:nth-child(3) { --i: 2; } .vals__item:nth-child(4) { --i: 3; }
/* filete dourado que se desenha no topo de cada cartão */
.vals__item::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  width: 56px; height: 2px;
  margin-left: -28px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .9s var(--ease) calc(var(--i) * .2s + .5s);
}
.vals__list.is-in .vals__item { opacity: 1; transform: none; }
.vals__list.is-in .vals__item::before { transform: scaleX(1); }
.vals__list.is-in .vals__item:hover { transform: translateY(-6px); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)); border-color: rgba(207, 169, 132, .45); transition-delay: 0s; }

.vals__badge {
  position: relative;
  width: var(--badge); height: var(--badge);
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(207, 169, 132, .5);
  transition: background .4s var(--ease), border-color .4s;
}
.vals__badge::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--gold-light); opacity: 0; }
.vals__list.is-in .vals__badge::after { animation: ring 1.4s var(--ease) calc(var(--i) * .2s + .5s) 1; }
.vals__item:hover .vals__badge { background: var(--gold); border-color: var(--gold); }

.vals__icon { width: 48px; height: 48px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; transition: stroke .4s; }
.vals__icon .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); transition-delay: calc(var(--i) * .2s + .4s); }
.vals__list.is-in .vals__icon .draw { stroke-dashoffset: 0; }
.vals__icon .dot { fill: var(--gold-light); stroke: none; transition: fill .4s; }
.vals__icon .hand { stroke-width: 2.2; transform-origin: 28px 31px; }
.vals__icon .check { stroke-width: 2.4; transition-delay: calc(var(--i) * .2s + 1.2s) !important; }
.vals__item:hover .vals__icon { stroke: var(--wine); }
.vals__item:hover .vals__icon .dot { fill: var(--wine); }

/* movimento contínuo de cada ícone, depois de desenhado */
.vals__icon .star { transform-box: fill-box; transform-origin: center; }
.vals__list.is-in .vals__icon .star { animation: twinkle 3s ease-in-out 2s infinite; }
@keyframes twinkle { 0%, 70%, 100% { transform: scale(1) rotate(0); } 80% { transform: scale(1.25) rotate(18deg); } 90% { transform: scale(.95) rotate(36deg); } }
.vals__icon .aim { transform-box: fill-box; transform-origin: center; }
.vals__list.is-in .vals__icon .aim { animation: aim 3.2s ease-in-out 2s infinite; }
@keyframes aim { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3px, 2px); } 40% { transform: translate(3px, -2px); } 55%, 85% { transform: translate(0, 0) scale(.82); } }
.vals__list.is-in .vals__icon .hand--m { animation: spin 4s linear 1.4s infinite; }
.vals__list.is-in .vals__icon .hand--h { animation: spin 48s linear 1.4s infinite; }

.vals__item h3 { font: 400 24px/1.2 var(--display); color: #fff; margin-bottom: 8px; }
.vals__item p { font-weight: 300; font-size: 15.5px; max-width: 24ch; margin-inline: auto; }

/* =========================================================
   Arquitetos
   ========================================================= */
.arch__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.arch__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.arch__text .h2 { margin-bottom: 26px; }
.ticks { list-style: none; margin: 0 0 34px; padding: 0; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-weight: 300; }
.ticks li::before {
  content: "";
  position: absolute; left: 2px; top: 19px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--gold-dark);
  border-bottom: 1.5px solid var(--gold-dark);
  transform: rotate(-45deg);
}

/* =========================================================
   Sobre
   ========================================================= */
.about { position: relative; overflow: hidden; background: var(--wine); color: rgba(255, 255, 255, .85); }
.about__mark { position: absolute; right: -60px; top: 50%; width: 520px; height: auto; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__text .h2 { margin-bottom: 22px; }
.about__text > p:not(.eyebrow) { font-weight: 300; font-size: 18px; margin-bottom: 28px; max-width: 54ch; }
.about__more { margin-bottom: 28px; font-weight: 300; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.mv h3 { font: 400 20px/1.2 var(--display); color: var(--gold-light); margin-bottom: 8px; }
.mv p { font-size: 15.5px; }
.about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

/* =========================================================
   Contato / formulário
   ========================================================= */
.contact { background: var(--stone); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__intro .h2 { margin-bottom: 18px; }
.contact__intro > p:not(.eyebrow) { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 46ch; }
.contact__info { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact__info li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.contact__info span { font: 500 11px/1.9 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.contact__info a { text-decoration: none; }
.contact__info a:hover { color: var(--wine); }

.stepform {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(48, 8, 8, .35);
}
.stepform__top { margin-bottom: 12px; font: 500 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tape { height: 3px; margin-bottom: 30px; background: var(--line); border-radius: 3px; overflow: hidden; }
.tape__fill { height: 100%; width: 12.5%; background: var(--gold); transition: width .5s var(--ease); }

form .step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
form .step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
form .step legend { padding: 0; margin-bottom: 22px; font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--display); color: var(--wine); }
.hint { margin: -12px 0 18px; font-size: 14px; color: var(--muted); }

.options { display: grid; gap: 8px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.options--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt, .chip { position: relative; cursor: pointer; }
.opt input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 74px;
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color .2s, background .2s;
}
.opt--row span { min-height: 0; }
.opt span small { display: block; margin-top: 3px; font-weight: 300; font-size: 13.5px; color: var(--muted); }
.opt span::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  border: 1.5px solid rgba(48, 8, 8, .3);
  border-radius: 50%;
  transition: all .2s;
}
.opt:hover span { border-color: var(--gold); }
.opt input:checked + span { border-color: var(--wine); background: #fbf6f4; }
.opt input:checked + span::before { border-color: var(--wine); background: var(--wine); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip span {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  transition: all .2s;
}
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font: 500 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 300; }
.field--full { grid-column: 1 / -1; }
.field--city { margin-top: 18px; }
.field input, .field textarea, .field select {
  font: 400 16px/1.4 var(--body);
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(48, 8, 8, .08); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--wine); flex: none; }

.stepform__error { min-height: 22px; margin: 14px 0 0; font-size: 14px; color: #b3261e; }
.stepform__nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.stepform__nav .btn--wine { margin-left: auto; }

.result { text-align: center; padding: 10px 0; }
.result:focus { outline: none; }
.result__mark { width: 64px; height: auto; margin: 0 auto 18px; }
.result h3 { font: 400 30px/1.2 var(--display); color: var(--wine); margin-bottom: 12px; }
.result p { color: var(--muted); max-width: 440px; margin: 0 auto 1em; font-weight: 300; }
.result .btn { margin-top: 6px; }
.result .btn--text { display: block; margin: 6px auto 0; }

/* =========================================================
   Rodapé
   ========================================================= */
.ft { background: var(--wine); color: rgba(255, 255, 255, .72); padding-block: 70px 30px; font-weight: 300; font-size: 15px; }
.ft__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft__logo { width: 150px; height: auto; }
.ft h3 { font: 400 20px/1.2 var(--display); color: var(--gold-light); margin-bottom: 14px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; }
.ft__bottom span:first-child { font-family: var(--display); color: var(--gold-light); letter-spacing: .04em; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 85;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 29px; height: 29px; fill: currentColor; }

/* ---------- visualizador de fotos ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  background: rgba(24, 6, 6, .94);
  animation: fadeIn .3s var(--ease);
}
.lightbox figure { display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { color: #fff; font: 500 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.lightbox button { border: 0; background: transparent; color: #fff; cursor: pointer; font: 300 46px/1 var(--body); padding: 10px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { position: absolute; top: 14px; right: 18px; font-size: 40px !important; }

/* ---------- revelação ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Serra discreta (só telas grandes)
   ========================================================= */
.saw-layer { display: none; }
@media (min-width: 1200px) {
  .saw-layer { display: block; position: fixed; top: calc(var(--hd) + 30px); bottom: 110px; right: 26px; width: 0; z-index: 60; pointer-events: none; }
  .saw-track { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(169, 125, 89, .18); }
  .saw-progress { width: 100%; height: 0; background: var(--gold); }
  .saw { position: absolute; top: 0; left: -24px; width: 48px; height: 48px; margin-top: -24px; will-change: transform; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
  .saw__svg { width: 100%; height: 100%; }
  .saw__blade { transform-origin: 120px 120px; transform-box: view-box; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 980px) {
  .vals__list { grid-template-columns: 1fr 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --hd: 68px; }
  /* linha do tempo vertical */
  .steps__list { --badge: 72px; grid-template-columns: 1fr; gap: 34px; text-align: left; }
  .steps__list::before { top: 10px; bottom: 10px; left: calc(var(--badge) / 2 - 1px); right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 18px); transform: scaleY(0); transform-origin: top; }
  .steps__list.is-in::before { transform: scaleY(1); }
  .steps__item { display: grid; grid-template-columns: var(--badge) 1fr; column-gap: 20px; align-items: start; }
  .steps__badge { grid-row: span 3; margin: 0; }
  .steps__icon { width: 38px; height: 38px; }
  .steps__item p { margin-inline: 0; max-width: none; }
  .hd__logo img { height: 40px; }
  .burger {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 44px; height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }
  .burger span { display: block; width: 24px; height: 1.5px; background: var(--wine); transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .hd__nav {
    position: fixed;
    top: var(--hd); left: 0; right: 0; bottom: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px var(--gx) 40px;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .hd__nav.is-open { opacity: 1; visibility: visible; }
  .hd__nav a:not(.btn) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font: 400 28px/1.1 var(--display);
    letter-spacing: 0;
    text-transform: none;
    color: var(--wine);
  }
  .hd__nav a:not(.btn)::after { display: none; }
  .hd__cta { margin-top: 26px; padding: 17px 20px; }

  .hero { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; }
  .hero__slides { order: -1; height: 58svh; min-height: 320px; }
  .hero__panel { padding: 44px var(--gx) 52px; }

  .arch__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__mark { width: 360px; right: -120px; top: 30%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot span { opacity: 1; transform: none; padding: 30px 10px 10px; font-size: 10px; letter-spacing: .08em; }
  .vals__list { --badge: 68px; grid-template-columns: 1fr; gap: 12px; }
  .vals__item { display: grid; grid-template-columns: var(--badge) 1fr; column-gap: 18px; align-items: center; padding: 20px 18px; text-align: left; }
  .vals__item::before { left: 18px; margin-left: 0; transform-origin: left; }
  .vals__badge { grid-row: span 2; margin: 0; }
  .vals__icon { width: 36px; height: 36px; }
  .vals__item h3 { margin-bottom: 2px; }
  .vals__item p { margin-inline: 0; max-width: none; }
  .options--2, .fields, .mv { grid-template-columns: 1fr; }
  .opt span { min-height: 0; }
  .stepform__nav .btn--wine { flex: 1; }
  .contact__info li { grid-template-columns: 1fr; gap: 2px; }
  .ft__grid { grid-template-columns: 1fr; }
  .ft { padding-bottom: 96px; }
  .ft__bottom { flex-direction: column; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title span, .hero__ornament { opacity: 1; transform: none; animation: none; }
  .hero__slide.is-active img { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .steps__list::before { transform: none !important; transition: none; }
  .steps__item { opacity: 1; transform: none; transition: none; }
  .steps__icon .draw { stroke-dashoffset: 0; transition: none; }
  .steps__icon .dots circle { opacity: 1; animation: none !important; }
  .steps__icon .pencil, .steps__icon .blade { animation: none !important; }
  .vals__item { opacity: 1; transform: none; transition: none; }
  .vals__item::before { transform: none; transition: none; }
  .vals__icon .draw { stroke-dashoffset: 0; transition: none; }
  .vals__icon .star, .vals__icon .aim, .vals__icon .hand { animation: none !important; }
}
.architect-dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 32px); margin: auto; overflow-y: auto; color: var(--ink); }
.architect-dialog::backdrop { background: rgba(24, 6, 6, .72); }
.architect-dialog .h2 { padding-right: 20px; font-size: clamp(28px, 5vw, 38px); }
.architect-intro { color: var(--muted); margin: 12px 0 26px; }
.architect-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--wine); font-size: 30px; cursor: pointer; }
.architect-space { margin-top: 20px; }
.architect-dialog legend:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { form .step.is-active { animation: none; } .tape__fill { transition: none; } }

.privacy-settings { border: 0; padding: 0; color: inherit; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 250; bottom: 16px; left: 16px; right: 16px; max-width: 960px; margin-inline: auto; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 50px rgba(0,0,0,.18); display: flex; gap: 24px; align-items: center; }
.cookie-banner strong { color: var(--wine); font-weight: 500; }
.cookie-banner p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 14px 18px; font-size: 10px; }
.privacy-page { max-width: 850px; padding-block: 40px 80px; }
.privacy-page h1 { font: 400 42px/1.2 var(--display); color: var(--wine); margin-block: 30px 14px; }
.privacy-page h2 { font: 400 26px/1.3 var(--display); color: var(--wine); margin-block: 30px 14px; }
@media (max-width: 700px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; bottom: 10px; left: 10px; right: 10px; } .cookie-actions .btn { flex: 1; } }

