/* =====================================================================
   CASA ESSENCE — estilo
   Paleta e tipografia oficiais do Dossiê Mestre (v1.0, out/2026).
   Contraste medido: dourado NUNCA como cor de texto sobre fundo claro
   (2,3:1). Dourado = fios, detalhes e texto apenas sobre marrom profundo.
   ===================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Allura"; src: url(../fonts/allura.woff2) format("woff2"); font-display: swap; }

:root {
  /* paleta oficial */
  --off: #F6F0E9;
  --bege: #E7D4C1;
  --rose: #CFA58E;
  --ouro: #C69A50;
  --marrom: #593426;
  --profundo: #342018;

  /* papéis */
  --fundo: var(--off);
  --texto: var(--profundo);
  --texto-2: var(--marrom);
  --linha: rgba(89, 52, 38, .16);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;

  --lateral: clamp(20px, 5vw, 56px);
  --largura: 1200px;
  --secao: clamp(64px, 10vw, 140px);
  --topo-h: 96px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --sombra: 0 18px 48px -24px rgba(52, 32, 24, .35);
}
@media (min-width: 960px) { :root { --topo-h: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* textura sutil de linho */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .12 0 0 0 0 .09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--serif); font-weight: 500; color: var(--texto); }
p { margin: 0; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--marrom); outline-offset: 3px; border-radius: 2px; }
.casa :focus-visible, .final :focus-visible, .rodape :focus-visible { outline-color: var(--ouro); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--profundo); color: var(--off); padding: 12px 18px; text-decoration: none; transition: top .2s; }
.pular:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  font: 500 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 3px; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
/* o preenchimento sobe de baixo, como a porta das fotos */
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-fill);
  transform: translateY(101%); transition: transform .42s cubic-bezier(.65, 0, .25, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn--escuro { background: var(--marrom); color: var(--off); --btn-fill: var(--profundo); }
.btn--linha { border-color: var(--marrom); color: var(--marrom); background: transparent; --btn-fill: var(--marrom); }
.btn--linha:hover, .btn--linha:focus-visible { color: var(--off); }
.btn--dourado { background: var(--ouro); color: var(--profundo); --btn-fill: #DDBB7C; }
.btn__seta { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; margin-right: -4px; transition: transform .3s var(--ease); }
.btn:hover .btn__seta { transform: translateX(4px); }
.btn--pequeno { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.btn--grande { min-height: 60px; padding: 0 44px; font-size: 16px; }
.btn--cheio { width: 100%; }
.link {
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 500 15px var(--sans); color: var(--texto);
  text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Rótulos ---------- */
.rotulo {
  display: inline-flex; align-items: center; gap: 12px;
  font: italic 500 1.3rem/1 var(--serif); letter-spacing: .01em; color: var(--marrom);
}
.rotulo::before { content: ""; width: 28px; height: 1px; background: var(--ouro); transform-origin: right; transition: transform .9s cubic-bezier(.65, 0, .25, 1) .15s; }
.pronto .rotulo:not(.in):not(.escolha .rotulo)::before { transform: scaleX(0); }
.rotulo--claro { color: var(--bege); }
.manuscrito { font: 400 2.6rem/1 var(--script); color: var(--marrom); margin-bottom: .1em; }

/* ---------- Pendências (somem quando o dado for preenchido) ---------- */
.pendente {
  display: inline; font: 500 13px/1.6 var(--sans); color: var(--profundo);
  background: rgba(198, 154, 80, .2); border-bottom: 1px dashed var(--ouro); padding: 1px 6px;
}
.pendente::before { content: "Pendente · "; font-weight: 700; }
.slot {
  position: relative; width: 100%; height: 100%;
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255, 250, 244, .7), transparent 60%),
    linear-gradient(165deg, var(--bege) 0%, #DDBFA7 55%, var(--rose) 100%);
}
.slot--escuro {
  background:
    radial-gradient(110% 70% at 25% 10%, rgba(198, 154, 80, .22), transparent 60%),
    linear-gradient(165deg, #6A4131 0%, var(--marrom) 50%, #2A1912 100%);
}
.slot::after {
  content: "Pendente · " attr(data-slot);
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font: 500 11px/1.4 var(--sans); letter-spacing: .04em; color: var(--profundo);
  background: rgba(246, 240, 233, .82); padding: 6px 9px; border-radius: 2px;
}
.slot--escuro::after { background: rgba(52, 32, 24, .7); color: var(--bege); }

/* ---------- 1 · Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topo__in {
  max-width: var(--largura); margin: 0 auto; padding: 8px var(--lateral);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topo__logo img { width: 80px; height: auto; transition: width .3s var(--ease); }
.topo.rolou { background: rgba(246, 240, 233, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--linha); }
.topo.rolou .topo__logo img { width: 56px; }
.topo__nav { display: none; }
.topo__local {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  color: var(--marrom); transition: background-color .25s var(--ease);
}
.topo__local svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.topo__local:hover { background: rgba(89, 52, 38, .08); }
.topo__local:hover svg { transform: translateY(-2px); }
.topo .btn { flex: none; }
@media (max-width: 959px) { .topo__in { gap: 6px; } }
.so-desk { display: none; }
@media (min-width: 960px) {
  .topo__logo img { width: 108px; }
  .topo.rolou .topo__logo img { width: 60px; }
  .topo__nav { display: flex; gap: 36px; margin-left: auto; }
  .topo__local { display: none; }
  .topo__nav a {
    font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--marrom);
    padding: 14px 0; background: linear-gradient(var(--ouro), var(--ouro)) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease);
  }
  .topo__nav a:hover { background-size: 100% 1px; }
  .so-desk { display: inline; }
  .so-mob { display: none; }
  .topo .btn { margin-left: 16px; }
}

/* ---------- 2 · Hero ---------- */
.hero {
  max-width: var(--largura); margin: 0 auto;
  padding: calc(var(--topo-h) + 16px) var(--lateral) 0;
  display: grid; gap: 56px;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.25rem);
  line-height: 1.04; letter-spacing: -.012em; max-width: 13.5ch;
}
.hero h1 em { color: var(--marrom); }
.hero__sub { margin-top: 24px; font-size: 17px; color: var(--texto-2); max-width: 34em; }
.hero__acoes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) { .hero__acoes .btn { flex: 1 1 100%; } }
.hero__onde {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 8px;
  font: 500 14px/1 var(--sans); color: var(--marrom);
}
.hero__onde svg { width: 18px; height: 18px; fill: none; stroke: var(--marrom); stroke-width: 1.3; }

/* Assinatura: a casa do logo como moldura */
.casinha { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.casinha__img {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 26.4%, 100% 100%, 0 100%, 0 26.4%);
}
.casinha__img img { width: 100%; height: 100%; object-fit: cover; }
.casinha__fio {
  position: absolute; inset: -5% -6% -2.5% -6%; width: 112%; height: 107.5%;
  overflow: visible; pointer-events: none;
}
.casinha__fio path { fill: none; stroke: var(--ouro); stroke-width: 1.25; stroke-linecap: square; stroke-linejoin: miter; }
.hero__foto { width: min(84%, 440px); margin: 16px auto 0; }

@media (min-width: 900px) {
  .hero {
    padding-top: calc(var(--topo-h) + 48px);
    grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6vw;
    padding-bottom: 0;
  }
  .hero__foto { width: 100%; max-width: 460px; margin: 0 0 0 auto; }
}

/* entrada da página */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: a casa se ergue do chão; depois chega o fio dourado */
  .hero__foto .casinha__img { animation: ergue 1.5s .25s cubic-bezier(.65, 0, .25, 1) both; }
  .hero__foto .casinha__fio { opacity: 0; animation: aparece 1.1s 1.35s var(--ease) forwards; }
  .hero__texto > * { opacity: 0; animation: aparece .9s var(--ease) forwards; }
  .hero__texto > :nth-child(2) { animation-delay: .1s; }
  .hero__texto > :nth-child(3) { animation-delay: .25s; }
  .hero__texto > :nth-child(4) { animation-delay: .4s; }
  .hero__texto > :nth-child(5) { animation-delay: .55s; }

  /* Fachada: a mesma casa se ergue quando entra na tela */
  .pronto .local__foto .casinha__img { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); transition: clip-path 1.4s cubic-bezier(.65, 0, .25, 1); }
  .pronto .local__foto.in .casinha__img { clip-path: polygon(50% 0, 100% 26.4%, 100% 100%, 0 100%, 0 26.4%); }
  .pronto .local__foto .casinha__fio { opacity: 0; transition: opacity 1s 1.1s var(--ease); }
  .pronto .local__foto.in .casinha__fio { opacity: 1; }

  /* Portas: as fotos se abrem de baixo para cima, com a imagem assentando */
  .pronto .porta { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .25, 1) calc(var(--i, 0) * 140ms); }
  .pronto .porta > * { transform: scale(1.14); transition: transform 1.7s var(--ease) calc(var(--i, 0) * 140ms); }
  /* estado final com folga negativa: não corta a sombra do card */
  .pronto .in .porta, .pronto .porta.in { clip-path: inset(-12% -12% -18% -12%); }
  .pronto .in .porta > *, .pronto .porta.in > * { transform: none; }

  /* Texto dos cards e das profissionais: chega depois da porta */
  .pronto .card__corpo, .pronto .pessoa > :not(.pessoa__foto) { opacity: 0; transition: opacity .8s var(--ease) calc(var(--i, 0) * 140ms + .45s); }
  .pronto .in .card__corpo, .pronto .pessoa.in > :not(.pessoa__foto) { opacity: 1; }

  /* Fio dourado: se desenha a partir do telhadinho */
  .pronto .fio span { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .25, 1) .25s; }
  .pronto .fio span:first-child { transform-origin: right; }
  .pronto .fio span:last-child { transform-origin: left; }
  .pronto .fio svg { opacity: 0; transform: translateY(5px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .pronto .fio.in span { transform: none; }
  .pronto .fio.in svg { opacity: 1; transform: none; }

  /* Proposta e diferenciais: só luz, sem "subir" */
  .pronto .proposta, .pronto .diferenciais li { opacity: 0; transition: opacity 1s var(--ease) calc(var(--i, 0) * 120ms); }
  .pronto .proposta.in, .pronto .diferenciais li.in { opacity: 1; }
  .pronto .diferenciais li::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .25, 1) calc(var(--i, 0) * 120ms); }
  .pronto .diferenciais li.in::before { transform: none; }

  .pronto .depo__item { opacity: 0; transition: opacity 1s var(--ease) calc(var(--i, 0) * 120ms); }
  .pronto .depo__item.in { opacity: 1; }
}
@keyframes ergue {
  from { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  to   { clip-path: polygon(50% 0, 100% 26.4%, 100% 100%, 0 100%, 0 26.4%); }
}
@keyframes aparece { to { opacity: 1; } }

/* ---------- Fio divisor ---------- */
.fio { display: flex; align-items: center; justify-content: center; gap: 10px; margin: clamp(40px, 6vw, 72px) auto; }
.fio span { width: clamp(56px, 10vw, 120px); height: 1px; background: var(--ouro); opacity: .7; }
.fio svg { width: 22px; height: 10px; fill: none; stroke: var(--ouro); stroke-width: 1.2; }

/* ---------- 3 · Proposta ---------- */
.proposta { max-width: var(--largura); margin: 0 auto; padding: 0 var(--lateral); display: grid; gap: 24px; }
.proposta h2 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; max-width: 12ch; }
.proposta__corpo > p:first-child { font-size: 17px; color: var(--texto-2); max-width: 33em; }
.proposta__corpo em { font: italic 500 1.2em/1 var(--serif); color: var(--marrom); }
@media (min-width: 900px) { .proposta { grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; } }
.proposta__verbos {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 16px;
  font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--marrom);
}
.proposta__verbos span { display: inline-flex; align-items: center; gap: 16px; }
.proposta__verbos span + span::before { content: ""; width: 5px; height: 5px; background: var(--ouro); transform: rotate(45deg); }

/* ---------- Seções ---------- */
.secao { max-width: var(--largura); margin: 0 auto; padding: var(--secao) var(--lateral) 0; }
.secao__topo { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.secao__topo h2 { margin-top: 20px; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.01em; }
.secao__sub { margin-top: 14px; color: var(--texto-2); }
.secao__topo--esq { text-align: left; }

/* ---------- 4 · Cards ---------- */
.cards { display: grid; gap: 56px; }
.card__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; box-shadow: var(--sombra); }
.card__foto > * { width: 100%; height: 100%; object-fit: cover; }
.card__foto::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(246, 240, 233, .85); pointer-events: none;
  opacity: 0; transform: scale(1.03); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__foto::after, .card:focus-within .card__foto::after { opacity: 1; transform: none; }
.card__corpo { padding-top: 26px; }
.card__cat { font: 600 11.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--marrom); }
.card__nome { margin-top: 14px; font-size: 2rem; font-weight: 600; line-height: 1.1; }
.card__nome span { display: block; margin-top: 2px; font-size: 1.2rem; font-weight: 500; font-style: italic; color: var(--marrom); }
.card__beneficio { margin-top: 14px; font-size: 15.5px; color: var(--texto-2); max-width: 30em; }
.card__cta {
  margin-top: 20px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--texto);
  background:
    linear-gradient(var(--marrom), var(--marrom)) 0 100% / 0 1px no-repeat,
    linear-gradient(var(--ouro), var(--ouro)) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s cubic-bezier(.65, 0, .25, 1);
}
.card__cta:hover, .card__cta:focus-visible { background-size: 100% 1px, 100% 1px; }
.card__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--ease); }
.card__cta:hover svg { transform: translateX(4px); }
@media (min-width: 760px) {
  .card__foto { aspect-ratio: 4 / 5; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
  .cards > :nth-child(3n + 2) { margin-top: 72px; }
}

/* ---------- 5 · Por quê ---------- */
.porque { margin-top: var(--secao); background: var(--bege); }
.porque__in { max-width: var(--largura); margin: 0 auto; padding: var(--secao) var(--lateral); display: grid; gap: 48px; }
.porque .secao__topo { margin: 0; }
.porque h2 { max-width: 14ch; }
.diferenciais { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.diferenciais svg { width: 34px; height: 34px; fill: none; stroke: var(--marrom); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.diferenciais h3 { margin-top: 16px; font-size: 1.5rem; font-weight: 600; }
.diferenciais p { margin-top: 8px; font-size: 15px; color: var(--texto-2); }
.diferenciais li { position: relative; padding-top: 24px; }
.diferenciais li::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgba(89, 52, 38, .25); transform-origin: left; }
@media (min-width: 640px) { .diferenciais { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
@media (min-width: 1000px) { .porque__in { grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; } }

/* ---------- 6 · Profissionais ---------- */
.pessoas { display: grid; gap: 40px; }
@media (max-width: 759px) {
  .pessoa { display: grid; grid-template-columns: 116px 1fr; column-gap: 20px; align-items: start; }
  .pessoa__foto { grid-row: 1 / 6; aspect-ratio: 3 / 4 !important; }
  .pessoa__foto::after { inset: 6px; }
  .pessoa__foto .slot::after { display: none; }
  .pessoa__nome { margin-top: 0; font-size: 1.6rem; }
  .pessoa .pessoa__acoes { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 14px; }
}
.pessoa__foto { position: relative; aspect-ratio: 1 / 1.1; }
.pessoa__foto::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(246, 240, 233, .75); pointer-events: none; }
.pessoa__foto img, .pessoa__foto .slot { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.pessoa__foto .slot::after { bottom: 24px; left: 24px; right: 24px; }
.pessoa__nome { margin-top: 24px; font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.pessoa__esp { margin-top: 8px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--marrom); }
.pessoa__bio { margin-top: 14px; font-size: 15px; color: var(--texto-2); }
.pessoa__acoes { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pessoa__insta { font-size: 14px; color: var(--marrom); text-underline-offset: 4px; padding: 10px 0; }
@media (min-width: 760px) { .pessoa__foto { aspect-ratio: 3 / 4; } .pessoas { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); } }

/* ---------- 7 · A Casa ---------- */
.casa { margin-top: var(--secao); background: var(--profundo); color: var(--bege); }
.casa__in { max-width: var(--largura); margin: 0 auto; padding: var(--secao) var(--lateral); display: grid; gap: 56px; }
.casa h2 { margin-top: 20px; color: var(--off); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.06; max-width: 12ch; }
.casa__texto p:not(.rotulo) { margin-top: 24px; max-width: 32em; font-size: 16.5px; }
.casa__texto .btn { margin-top: 36px; }
.casa__galeria { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.casa__galeria .slot { border-radius: 2px; }
.g1 { grid-row: span 2; aspect-ratio: 3 / 4.4; height: auto; }
.g2, .g3 { aspect-ratio: 1; height: auto; }
.casa__galeria .slot::after { font-size: 10.5px; left: 8px; right: 8px; bottom: 8px; }
@media (min-width: 960px) { .casa__in { grid-template-columns: 5fr 7fr; gap: 6vw; align-items: center; } }

/* ---------- 8 · Depoimentos ---------- */
.depo__lista { display: grid; gap: 32px; }
.depo__item { margin: 0; padding: 32px 0 0; border-top: 1px solid var(--ouro); }
.depo__item blockquote { margin: 0; font: italic 500 1.45rem/1.4 var(--serif); }
.depo__item figcaption { margin-top: 16px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--marrom); }
@media (min-width: 760px) { .depo__lista { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 9 · FAQ ---------- */
.faq__lista { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--linha); }
.faq__item { position: relative; border-bottom: 1px solid var(--linha); }
.faq__item::before {
  content: ""; position: absolute; left: -18px; top: 22px; bottom: 22px; width: 1px; background: var(--ouro);
  transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.65, 0, .25, 1);
}
.faq__item[open]::before { transform: none; }
.faq__p { transition: transform .3s var(--ease), color .3s var(--ease); }
.faq__item summary:hover .faq__p { transform: translateX(6px); }
.faq__item[open] .faq__p { color: var(--marrom); }
/* abre com suavidade onde o navegador permite (Chrome 131+); nos outros, abre direto */
.faq__lista { interpolate-size: allow-keywords; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__item summary {
  list-style: none; cursor: pointer; min-height: 44px; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font: 600 1.35rem/1.25 var(--serif); color: var(--texto);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .faq__mais-ico { position: relative; flex: none; width: 14px; height: 14px; }
.faq__mais-ico::before, .faq__mais-ico::after {
  content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--marrom); transition: transform .25s var(--ease);
}
.faq__mais-ico::after { transform: rotate(90deg); }
.faq__item[open] .faq__mais-ico::after { transform: rotate(0); }
.faq__item[open] .faq__mais-ico::before { background: var(--ouro); }
.faq__item p { padding: 0 0 24px; max-width: 40em; color: var(--texto-2); font-size: 15.5px; }
.faq__mais { max-width: 760px; margin: 28px auto 0; color: var(--texto-2); font-size: 15px; }

/* ---------- 10 · Localização ---------- */
.local { max-width: var(--largura); margin: 0 auto; padding: var(--secao) var(--lateral); }
.local__in { display: grid; gap: 64px; align-items: center; }
.local h2 { margin-top: 20px; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); line-height: 1.08; }
.local address { margin-top: 24px; font: normal 500 1.6rem/1.3 var(--serif); }
.horarios { margin: 28px 0 0; max-width: 380px; }
.horarios div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linha); font-size: 15px; }
.horarios dt { font-weight: 500; }
.horarios dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--texto-2); }
.local__nota { margin-top: 14px; font-size: 14px; font-style: italic; color: var(--texto-2); }
.local .btn { margin-top: 32px; }
.local__foto { width: min(84%, 400px); margin: 16px auto 0; }
@media (min-width: 900px) { .local__in { grid-template-columns: 1fr 1fr; gap: 6vw; } .local__foto { margin: 0 0 0 auto; } }

/* ---------- 11 · CTA final ---------- */
.final { background: var(--profundo); color: var(--off); text-align: center; padding: var(--secao) var(--lateral) calc(var(--secao) * .8); }
.final__logo { width: clamp(150px, 22vw, 210px); height: auto; margin: 0 auto 40px; }
.final h2 { color: var(--off); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1.15; max-width: 20ch; margin: 0 auto; }
.final h2 em { color: var(--ouro); }
.final .btn { margin-top: 44px; }

/* ---------- 12 · Rodapé ---------- */
.rodape { background: var(--profundo); color: var(--bege); font-size: 14px; }
.rodape__in {
  max-width: var(--largura); margin: 0 auto; padding: 56px var(--lateral) 40px;
  display: grid; gap: 32px; border-top: 1px solid rgba(198, 154, 80, .28);
}
.rodape__marca { font: 600 1.6rem/1 var(--serif); color: var(--off); margin-bottom: 10px; }
.rodape__tit { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ouro); margin-bottom: 12px; }
.rodape a { color: var(--bege); text-underline-offset: 4px; }
.rede { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.rede span:not(.sr) { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(198, 154, 80, .6); }
.rede svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ouro); stroke-width: 1.4; transition: stroke .2s var(--ease); }
.rede svg .ponto { fill: var(--ouro); stroke: none; }
.rede:hover svg { stroke: var(--bege); }
.rede:hover svg .ponto { fill: var(--bege); }
.rodape__base {
  max-width: var(--largura); margin: 0 auto; padding: 20px var(--lateral) calc(96px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: rgba(231, 212, 193, .8);
}
.pendente-link::after { content: " (pendente)"; }
.subir { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--bege); }
.subir svg { width: 16px; height: 8px; fill: none; stroke: var(--ouro); stroke-width: 1.4; transition: transform .3s var(--ease); }
.subir:hover svg { transform: translateY(-4px); }
@media (min-width: 640px) { .rodape__in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .rodape__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .rodape__base { padding-bottom: 28px; }
}

/* ---------- Barra fixa (celular) ---------- */
.dock {
  position: fixed; inset: auto 0 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(246, 240, 233, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--linha);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s .3s;
}
.dock.visivel { transform: none; visibility: visible; transition: transform .3s var(--ease); }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Diálogo de escolha ---------- */
.escolha {
  width: 100%; max-width: 100%; margin: auto 0 0; padding: 0; border: 0;
  background: var(--off); color: var(--texto); border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(52, 32, 24, .5);
}
.escolha::backdrop { background: rgba(52, 32, 24, .55); backdrop-filter: blur(2px); }
.escolha[open] { animation: folha .32s var(--ease); }
@keyframes folha { from { transform: translateY(24px); opacity: 0; } }
.escolha__in { position: relative; padding: 32px 24px calc(28px + env(safe-area-inset-bottom)); }
.escolha h2:focus { outline: none; }
.escolha h2 { margin-top: 16px; font-size: 2rem; line-height: 1.1; padding-right: 40px; }
.escolha__sub { margin-top: 10px; font-size: 14.5px; color: var(--texto-2); }
.escolha__fechar {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%;
}
.escolha__fechar:hover { background: rgba(89, 52, 38, .08); }
.escolha__fechar svg { width: 20px; height: 20px; stroke: var(--texto); stroke-width: 1.4; }
.escolha__lista { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--linha); }
.escolha__lista a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
  min-height: 72px; padding: 14px 6px; text-decoration: none; border-bottom: 1px solid var(--linha);
  transition: background-color .2s var(--ease);
}
.escolha__lista a:hover { background: rgba(231, 212, 193, .5); }
.escolha__cat { grid-column: 1; font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--marrom); }
.escolha__nome { grid-column: 1; margin-top: 6px; font: 600 1.45rem/1.15 var(--serif); }
.escolha__nome em { font-weight: 500; color: var(--marrom); }
.escolha__lista svg { grid-column: 2; grid-row: 1 / 3; width: 20px; height: 20px; fill: none; stroke: var(--marrom); stroke-width: 1.4; }
.escolha__geral {
  margin-top: 20px; min-height: 44px; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 500 14.5px var(--sans); color: var(--texto);
  text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 5px;
}
@media (min-width: 640px) {
  .escolha { max-width: 520px; margin: auto; border-radius: 6px; }
  .escolha__in { padding: 40px 40px 36px; }
}

/* ---------- Aviso ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 100px; z-index: 60; transform: translate(-50%, 12px);
  background: var(--profundo); color: var(--off); font-size: 14px; padding: 12px 18px; border-radius: 3px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px);
}
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* =====================================================================
   Microinterações das seções inferiores
   ===================================================================== */

/* Diferenciais: ícone escurece e sobe um fio */
.diferenciais li svg { transition: stroke .3s var(--ease), transform .3s var(--ease); }
.diferenciais li:hover svg { stroke: var(--profundo); transform: translateY(-2px); }

/* Profissionais e galeria: a moldura interna fica dourada e se aproxima */
.pessoa__foto::after { transition: inset .4s var(--ease), border-color .4s var(--ease); }
.pessoa:hover .pessoa__foto::after { inset: 18px; border-color: rgba(198, 154, 80, .9); }
.casa__galeria .porta { position: relative; }
.casa__galeria .porta::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198, 154, 80, .7); pointer-events: none;
  opacity: 0; transform: scale(1.04); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.casa__galeria .porta:hover::after { opacity: 1; transform: none; }

/* Localização: copiar endereço e o dia de hoje */
.copiar {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; font: 500 14px var(--sans); color: var(--marrom);
}
.copiar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--ease); }
.copiar span { background: linear-gradient(var(--ouro), var(--ouro)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.copiar:hover span { background-size: 100% 1px; }
.copiar.feito svg { transform: scale(.85) rotate(-8deg); }
.horarios .hoje dt::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--ouro); transform: rotate(45deg) translateY(-2px); }
.hoje__tag { font: italic 500 1.05rem/1 var(--serif); color: var(--marrom); margin-left: 4px; }

/* Fechamento: traço dourado sob "para você" */
.sublinha { position: relative; white-space: nowrap; }
.sublinha svg { position: absolute; left: -2%; right: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.sublinha path { fill: none; stroke: var(--ouro); stroke-width: 2.2; stroke-linecap: round; }

/* Diálogo: as opções entram em sequência */
.escolha[open] .escolha__lista li { animation: aparece-linha .45s var(--ease) both; }
.escolha[open] .escolha__lista li:nth-child(2) { animation-delay: .06s; }
.escolha[open] .escolha__lista li:nth-child(3) { animation-delay: .12s; }
.escolha[open] .escolha__lista li:nth-child(4) { animation-delay: .18s; }
@keyframes aparece-linha { from { opacity: 0; transform: translateY(6px); } }
.escolha__lista svg { transition: transform .25s var(--ease); }
.escolha__lista a:hover svg { transform: translateX(4px); }

@media (prefers-reduced-motion: no-preference) {
  /* ícones dos diferenciais se desenham a traço */
  .pronto .diferenciais li svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) calc(var(--i, 0) * 140ms + .2s); }
  .pronto .diferenciais li.in svg * { stroke-dashoffset: 0; }
  /* traço sob "para você" */
  .pronto .final .sublinha path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .25, 1) .6s; }
  .pronto .final.in .sublinha path { stroke-dashoffset: 0; }
}

/* =====================================================================
   Revisão mobile (até 759px): uma decisão por tela, nada repetido
   ===================================================================== */
@media (max-width: 759px) {
  :root { --secao: 56px; }
  .secao__topo { margin-bottom: 32px; }
  .secao__topo h2 { font-size: 2rem; }
  .secao__sub { display: none; }                      /* repete o título */

  /* Hero: foto menor, texto um pouco mais enxuto */
  .hero { gap: 36px; padding-top: calc(var(--topo-h) + 4px); }
  .hero__sub { margin-top: 18px; font-size: 16px; }
  .hero__acoes { margin-top: 28px; }
  .hero__onde { margin-top: 22px; font-size: 13px; }
  .hero__foto { width: 66%; aspect-ratio: 4 / 4.4; margin-top: 4px; }
  .fio { margin: 40px auto 36px; }

  /* Proposta */
  .proposta { gap: 16px; }
  .proposta h2 { font-size: 2rem; }
  .proposta__corpo > p:first-child { font-size: 16px; }
  .proposta__verbos { margin-top: 20px; }

  /* Cards de serviço: foto panorâmica, menos espaço entre eles */
  .cards { gap: 44px; }
  .card__foto { aspect-ratio: 16 / 10; }
  .card__corpo { padding-top: 20px; }
  .card__nome { font-size: 1.75rem; margin-top: 10px; }
  .card__beneficio { margin-top: 10px; font-size: 15px; }
  .card__cta { margin-top: 12px; }

  /* Por que: grade 2×2, só ícone e título */
  .porque__in { gap: 32px; }
  .porque h2 { font-size: 1.9rem; max-width: none; }
  .diferenciais { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .diferenciais li { padding-top: 18px; }
  .diferenciais svg { width: 28px; height: 28px; }
  .diferenciais h3 { margin-top: 10px; font-size: 1.2rem; line-height: 1.2; }
  .diferenciais p { display: none; }

  /* Profissionais */
  .pessoas { gap: 32px; }
  .pessoa { grid-template-columns: 96px 1fr; column-gap: 16px; }
  .pessoa__nome { font-size: 1.45rem; }
  .pessoa__esp { letter-spacing: .14em; }
  .pessoa__bio { margin-top: 8px; font-size: 14px; }
  .pessoa__insta { padding: 6px 0; font-size: 13px; }

  /* A Casa: duas fotos lado a lado, sem vazar da tela */
  .casa__in { gap: 36px; }
  .casa h2 { font-size: 2.1rem; }
  .casa__texto p:not(.rotulo) { margin-top: 18px; font-size: 15.5px; }
  .casa__texto .btn { margin-top: 26px; }
  .casa__galeria { grid-template-columns: 1fr 1fr; gap: 10px; }
  .casa__galeria .g1, .casa__galeria .g2 { grid-row: auto; aspect-ratio: 4 / 5; }
  .casa__galeria .g3 { display: none; }

  /* Dúvidas */
  .faq__item summary { padding: 18px 0; font-size: 1.2rem; }
  .faq__item::before { left: -12px; }
  .faq__item p { font-size: 15px; padding-bottom: 18px; }

  /* Localização: a fachada é decorativa, sai no celular */
  .local { padding-top: var(--secao); padding-bottom: var(--secao); }
  .local h2 { font-size: 2rem; }
  .local address { margin-top: 18px; font-size: 1.4rem; }
  .local__foto { display: none; }
  .horarios { margin-top: 18px; max-width: none; }
  .local .btn { margin-top: 24px; }

  /* Fechamento */
  .final { padding-top: 64px; padding-bottom: 56px; }
  .final__logo { width: 116px; margin-bottom: 28px; }
  .final h2 { font-size: 1.85rem; }
  .final .btn { margin-top: 32px; width: 100%; max-width: 340px; }

  /* Rodapé: endereço e horários já estão logo acima */
  .rodape__in { padding-top: 36px; padding-bottom: 20px; gap: 20px; }
  .rodape__in > :nth-child(2), .rodape__in > :nth-child(3) { display: none; }
  .rodape__base { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
