/* =========================================================
   Casa da Ancestralidade
   Direção visual: a casa como portal. Mármore negro com veios de ouro,
   arcos de porta como forma recorrente (hero, serviços, contato) e o selo
   da cliente (estrela de seis pontas, ankh, machado, chave, borboleta)
   como conteúdo que se explora, não só como enfeite.
   Por quê: a cliente pediu preto e dourado, e o único material real é o
   selo do Instagram. Credibilidade vem de clareza: compromissos escritos,
   valor antes, sigilo, e mostrar como a conversa começa.
   Tipografia: Fraunces (serifa quente e encorpada) + Instrument Sans.
   ========================================================= */

:root {
  /* Paleta */
  --onix: #070605;
  --pedra: #14100b;
  --pedra-2: #1c160e;
  --ouro: #c9a24b;
  --ouro-claro: #ecd28f;
  --ouro-velho: #7d5f24;
  --marfim: #f0e5cc;
  --texto: #ece3cf;
  --texto-suave: rgba(236, 227, 207, .82);
  --linha: rgba(201, 162, 75, .26);
  --linha-forte: rgba(201, 162, 75, .55);
  --grad-ouro: linear-gradient(180deg, #ecd28f 0%, #c9a24b 52%, #9c7a32 100%);

  /* Tipografia */
  --display: "Fraunces", Georgia, serif;
  --corpo: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ritmo */
  --largura: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --secao: clamp(72px, 9vw, 128px);
  --raio: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; font-variant-numeric: lining-nums; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--onix);
  color: var(--texto);
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  margin: 0; font-family: var(--display); font-weight: 560; line-height: 1.08;
  font-variation-settings: "SOFT" 50; letter-spacing: -.01em; color: var(--marfim);
}
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 3px; border-radius: 8px; }

.pular {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ouro); color: var(--onix);
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.pular:focus { top: 12px; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--gutter); }
.secao { padding: var(--secao) 0; }

h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--corpo); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1px solid var(--ouro); overflow: hidden; isolation: isolate; text-align: center;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%); transition: transform .6s var(--ease);
}
.btn--ouro { background: var(--grad-ouro); color: #1c1306; border-color: #e3c47a; box-shadow: 0 8px 24px -10px rgba(201, 162, 75, .6); }
.btn--ouro::before { background: #f6e3b0; }
.btn--linha { background: rgba(7, 6, 5, .4); color: var(--ouro-claro); }
.btn--linha::before { background: rgba(201, 162, 75, .18); }
@media (hover: hover) { .btn:hover::before { transform: translateX(0); } }
.btn--grande { min-height: 58px; padding: 0 32px; font-size: 1.02rem; }
.btn--topo { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--topo svg { width: 18px; height: 18px; }

/* ---------- Cabeçalho ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.topo.rolado { background: rgba(7, 6, 5, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--linha); }
.topo.menu-aberto { backdrop-filter: none; -webkit-backdrop-filter: none; }
.topo__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.marca { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.marca__selo { width: 40px; height: 40px; color: var(--ouro); }
.marca__nome { font-family: var(--display); font-weight: 600; font-size: 1.14rem; color: var(--marfim); font-variation-settings: "SOFT" 50; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.menu a:not(.btn) { position: relative; font-size: .96rem; font-weight: 500; color: var(--texto-suave); padding: 6px 0; transition: color .3s; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ouro); transform: scaleX(0); transition: transform .45s var(--ease); }
.menu a.ativo, .menu a:not(.btn):hover { color: var(--ouro-claro); }
.menu a.ativo::after, .menu a:not(.btn):hover::after { transform: scaleX(1); }

.menu-botao { display: none; width: 48px; height: 48px; background: rgba(7, 6, 5, .5); border: 1px solid var(--linha-forte); border-radius: 50%; position: relative; z-index: 61; }
.menu-botao span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ouro-claro); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-botao span:nth-child(1) { top: 19px; }
.menu-botao span:nth-child(2) { top: 27px; }
.menu-botao[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-botao[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero: o portal ---------- */
.hero {
  position: relative; padding: 132px 0 0; overflow: hidden;
  background: radial-gradient(70% 60% at 78% 40%, rgba(201, 162, 75, .14), transparent 70%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; margin-bottom: 28px; }
.hero__lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--texto-suave); max-width: 34em; margin-bottom: 36px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; }

.portal { position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 400 / 560; color: var(--ouro); }
.portal__moldura { max-width: none; position: absolute; inset: -14px -14px 0 -14px; width: calc(100% + 28px); height: calc(100% + 14px); overflow: visible; }
.portal__pedra {
  position: absolute; inset: 0; border-radius: 999px 999px 0 0; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(201, 162, 75, .22), transparent 70%),
    linear-gradient(180deg, rgba(7, 6, 5, .35), rgba(7, 6, 5, .82)),
    url("../assets/img/marmore.webp") 30% 40% / 260% auto;
  box-shadow: inset 0 0 0 1px rgba(236, 210, 143, .5), inset 0 0 60px rgba(0, 0, 0, .7);
}
.portal__selo { position: absolute; left: 11%; right: 11%; top: 17%; aspect-ratio: 1; }
.portal__estrela { width: 100%; height: 100%; color: var(--ouro); filter: drop-shadow(0 0 18px rgba(201, 162, 75, .45)); }
.portal__sim { position: absolute; left: var(--x); top: var(--y); width: 13%; height: 13%; transform: translate(-50%, -50%); color: var(--ouro-claro); }
.portal__sim--centro { left: 50%; top: 50%; width: 17%; height: 17%; }
.portal::after { /* luz no chão, saindo da porta */
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -40px; height: 80px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(201, 162, 75, .35), transparent 70%); pointer-events: none;
}

/* entrada única: a moldura se desenha, a pedra e os símbolos acendem */
@keyframes desenhar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes acender { from { opacity: 0; } to { opacity: 1; } }

/* trilho de confiança */
.trilho {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha);
}
.trilho li { display: flex; align-items: center; gap: 14px; padding: 24px 20px; font-size: .97rem; color: var(--texto-suave); line-height: 1.35; }
.trilho li + li { border-left: 1px solid var(--linha); }
.trilho svg { width: 30px; height: 30px; flex: none; color: var(--ouro); }
.trilho strong { color: var(--marfim); font-weight: 600; }

/* ---------- Painel base ---------- */
.painel {
  position: relative; border-radius: var(--raio); padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(160deg, var(--pedra-2), #0c0906 70%);
  border: 1px solid var(--linha);
}
.painel::before { /* segundo fio de ouro por dentro */
  content: ""; position: absolute; inset: 8px; border-radius: calc(var(--raio) - 8px);
  border: 1px solid rgba(201, 162, 75, .1); pointer-events: none;
}

/* ---------- A Casa: selo interativo ---------- */
.casa__painel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.casa__lead { color: var(--texto-suave); font-size: 1.08rem; max-width: 34em; margin: 22px 0 32px; }
.simbolo { min-height: 168px; padding-left: 22px; border-left: 2px solid var(--ouro); }
.simbolo__item { animation: surgir .5s var(--ease); }
.simbolo__item h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--ouro-claro); margin-bottom: 10px; }
.simbolo__item p { color: var(--texto-suave); max-width: 32em; margin: 0; }
@keyframes surgir { from { opacity: 0; } to { opacity: 1; } }

.selo-vivo { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; color: var(--ouro); }
.selo-vivo__base { width: 100%; height: 100%; opacity: .9; }
.ponto {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: clamp(50px, 12vw, 62px); height: clamp(50px, 12vw, 62px); padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--onix); border: 1.5px solid var(--ouro); color: var(--ouro-claro);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.ponto svg { width: 54%; height: 54%; }
.ponto--centro { width: clamp(64px, 15vw, 80px); height: clamp(64px, 15vw, 80px); }
.ponto[aria-pressed="true"] { background: var(--grad-ouro); color: #1c1306; border-color: var(--ouro-claro); box-shadow: 0 0 0 7px rgba(201, 162, 75, .16), 0 0 36px rgba(201, 162, 75, .5); }
@media (hover: hover) { .ponto:not([aria-pressed="true"]):hover { background: var(--pedra-2); box-shadow: 0 0 0 5px rgba(201, 162, 75, .12); } }

/* ---------- Caminhos: as portas ---------- */
.caminhos__topo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.caminhos__topo h2 { max-width: 14ch; }
.guia__pergunta { color: var(--texto-suave); margin-bottom: 14px; }
.guia__opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: transparent; border: 1px solid var(--linha-forte); color: var(--texto);
  transition: background .35s, color .35s, border-color .35s;
}
@media (hover: hover) { .chip:hover { border-color: var(--ouro); color: var(--ouro-claro); } }
.chip[aria-pressed="true"] { background: var(--ouro); border-color: var(--ouro); color: #1c1306; }

.portas { display: flex; gap: 12px; height: 580px; }
.porta {
  position: relative; flex: 0 0 92px; min-width: 0; overflow: hidden;
  border-radius: 999px 999px 22px 22px; border: 1px solid var(--linha);
  background: linear-gradient(180deg, var(--pedra-2), #0c0906);
  transition: flex .8s var(--ease), border-color .5s;
}
.porta.ativa {
  flex: 1 1 auto; border-color: var(--linha-forte);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(201, 162, 75, .2), transparent 70%),
    linear-gradient(180deg, rgba(7, 6, 5, .6), rgba(7, 6, 5, .9)),
    url("../assets/img/marmore.webp") center / cover;
}
@media (hover: hover) { .porta:not(.ativa):hover { border-color: var(--ouro); } }
.porta__titulo { font-size: inherit; }
.porta__abrir {
  width: 100%; height: 100%; padding: 56px 0 28px; display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: none; border: 0; color: var(--ouro-claro); text-align: center;
}
.porta__abrir svg { width: 30px; height: 30px; flex: none; color: var(--ouro); }
.porta__abrir span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 520; font-size: 1.16rem; white-space: nowrap; color: var(--marfim); }
.porta.ativa .porta__abrir { height: auto; padding: 96px 32px 0; gap: 14px; cursor: default; }
.porta.ativa .porta__abrir svg { width: 44px; height: 44px; color: var(--ouro-claro); }
.porta.ativa .porta__abrir span { writing-mode: horizontal-tb; transform: none; font-size: clamp(1.8rem, 3vw, 2.5rem); white-space: normal; line-height: 1.1; }
.porta__corpo { padding: 22px clamp(28px, 5vw, 64px) 40px; text-align: center; animation: surgir .6s .25s var(--ease) both; }
.js .porta:not(.ativa) .porta__corpo { display: none; }
.porta__desc { color: var(--texto-suave); font-size: 1.06rem; max-width: 32em; margin: 0 auto 26px; }
.porta__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 36em; margin: 0 auto 30px; text-align: left; }
.porta__info div { padding: 16px 18px; border-radius: 14px; background: rgba(7, 6, 5, .55); border: 1px solid var(--linha); }
.porta__info dt { font-size: .86rem; font-weight: 600; color: var(--ouro); margin-bottom: 4px; }
.porta__info dd { font-size: .95rem; color: var(--texto); line-height: 1.5; }

/* ---------- Búzios: a mesa ---------- */
.buzios__painel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.buzios__texto h2 { margin-bottom: 20px; max-width: 15ch; }
.buzios__texto p { color: var(--texto-suave); max-width: 30em; }
.buzios__aviso { font-size: .93rem; margin-bottom: 28px !important; padding: 12px 16px; border-radius: 12px; background: rgba(201, 162, 75, .08); border: 1px solid var(--linha); }
.mesa { display: grid; gap: 22px; justify-items: center; }
.mesa__tampo {
  position: relative; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(201, 162, 75, .14), transparent 60%),
    linear-gradient(rgba(7, 6, 5, .62), rgba(7, 6, 5, .8)),
    url("../assets/img/marmore.webp") 70% 30% / 300% auto;
  box-shadow: 0 0 0 1px var(--ouro), 0 0 0 9px #0c0906, 0 0 0 10px rgba(201, 162, 75, .45), 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.mesa__selo { position: absolute; inset: 14%; width: 72%; height: 72%; color: var(--ouro); opacity: .16; }
.buzio {
  position: absolute; left: var(--bx); top: var(--by); width: 15%; aspect-ratio: 40 / 56;
  transform: translate(-50%, -50%) rotate(var(--br));
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .6));
  transition: left .9s var(--ease), top .9s var(--ease), transform .9s var(--ease);
}
.buzio svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.buzio .buzio__a { display: none; }
.buzio.aberto .buzio__a { display: block; }
.buzio.aberto .buzio__f { display: none; }
.buzio.pulando { animation: pular .9s var(--ease); }
@keyframes pular { 0% { scale: 1; } 30% { scale: 1.35; } 65% { scale: .95; } 100% { scale: 1; } }
.mesa__resultado { text-align: center; max-width: 28em; min-height: 132px; display: grid; align-content: start; justify-items: center; gap: 10px; }
.mesa__vazio { margin: 0; color: var(--texto-suave); }
.mesa__resultado h3 { font-size: 1.6rem; color: var(--ouro-claro); }
.mesa__resultado p { margin: 0; color: var(--texto-suave); }
.mesa__resultado .contagem { font-size: .9rem; color: var(--ouro); font-weight: 600; }
.mesa__resultado .btn { margin-top: 8px; }

/* ---------- Compromissos: a carta ---------- */
.carta {
  position: relative; max-width: 980px; margin: 48px auto 0; text-align: center;
  padding: 88px clamp(24px, 6vw, 80px) clamp(40px, 6vw, 64px);
  border-radius: 6px; border: 1px solid var(--linha-forte);
  background: radial-gradient(80% 60% at 50% 0%, rgba(201, 162, 75, .1), transparent 70%), linear-gradient(180deg, #1a140c, #0f0b07);
  box-shadow: inset 0 0 0 10px #0f0b07, inset 0 0 0 11px rgba(201, 162, 75, .3), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.carta__lacre {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #f3dc9c, #c9a24b 55%, #7d5f24);
  box-shadow: 0 0 0 6px var(--onix), 0 0 0 7px var(--linha-forte), 0 10px 30px rgba(0, 0, 0, .6);
}
.carta__lacre svg { width: 76%; height: 76%; color: #2a1d0b; }
.carta h2 { max-width: 18ch; margin: 0 auto 14px; }
.carta__lead { color: var(--texto-suave); font-size: 1.08rem; margin-bottom: 40px; }
.carta__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; text-align: left; }
.carta__lista li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--linha); }
.carta__lista svg { width: 28px; height: 28px; flex: none; color: var(--ouro); margin-top: 2px; }
.carta__lista h3 { font-size: 1.24rem; margin-bottom: 4px; }
.carta__lista p { margin: 0; color: var(--texto-suave); font-size: .98rem; line-height: 1.55; }
.carta__assinatura {
  display: inline-block; margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--ouro);
  font-family: var(--display); font-size: 1.3rem; color: var(--ouro-claro); font-variation-settings: "SOFT" 100;
}

/* ---------- Como funciona + celular ---------- */
.como__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.como__texto h2 { max-width: 15ch; margin-bottom: 40px; }
.passos { position: relative; display: grid; gap: 28px; }
.passos::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--ouro), var(--linha)); }
.passos li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; }
.passos__n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--onix); border: 1.5px solid var(--ouro); color: var(--ouro-claro);
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
}
.passos h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.passos p { margin: 0; color: var(--texto-suave); }

.celular { margin: 0; display: grid; justify-items: center; gap: 16px; }
.celular__aparelho {
  position: relative; width: min(100%, 320px); aspect-ratio: 9 / 17.5; border-radius: 46px; padding: 14px;
  background: #15110b; border: 1px solid var(--linha-forte);
  box-shadow: inset 0 0 0 2px #050403, 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(201, 162, 75, .25);
  display: flex; flex-direction: column;
}
.celular__aparelho > * { position: relative; }
.celular__aparelho::before { /* tela */
  content: ""; position: absolute; inset: 14px; border-radius: 34px;
  background: radial-gradient(90% 50% at 50% 0%, rgba(201, 162, 75, .1), transparent), #0b0907;
}
.celular__topo { display: flex; align-items: center; gap: 10px; padding: 26px 16px 14px; border-bottom: 1px solid var(--linha); font-weight: 600; font-size: .95rem; color: var(--marfim); }
.celular__avatar { width: 34px; height: 34px; padding: 4px; border-radius: 50%; background: var(--onix); border: 1px solid var(--linha-forte); color: var(--ouro); flex: none; }
.celular__conversa { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; }
.celular__dia { align-self: center; margin: 0 0 4px; padding: 3px 12px; border-radius: 999px; background: #1d1912; font-size: .76rem; color: var(--texto-suave); }
.balao { margin: 0; padding: 11px 14px; max-width: 86%; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.balao--voce { align-self: flex-end; background: #3b2f17; color: var(--marfim); border-bottom-right-radius: 4px; animation: surgir .45s var(--ease); }
.balao--casa { align-self: flex-start; background: #1d1912; color: var(--texto); border: 1px solid var(--linha); border-bottom-left-radius: 4px; }
.celular__enviar {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 14px 20px; min-height: 48px; border-radius: 999px;
  background: var(--grad-ouro); color: #1c1306; font-weight: 600; font-size: .94rem;
}
.celular__enviar svg { width: 18px; height: 18px; }
.celular figcaption { font-size: .9rem; color: var(--texto-suave); text-align: center; max-width: 24em; }

/* ---------- Perguntas ---------- */
.perguntas__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.perguntas__lado h2 { max-width: 12ch; margin-bottom: 18px; }
.perguntas__lado p { color: var(--texto-suave); margin-bottom: 24px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--linha); border-radius: 18px; background: linear-gradient(160deg, var(--pedra-2), #0c0906); transition: border-color .4s; }
.faq details[open] { border-color: var(--linha-forte); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 14px 24px; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--marfim); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--ouro); transition: transform .45s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--texto-suave); max-width: 42em; }

/* ---------- Contato: a porta aberta ---------- */
.contato__arco {
  position: relative; max-width: 780px; margin: 0 auto; text-align: center; overflow: hidden;
  padding: clamp(150px, 20vw, 210px) clamp(24px, 6vw, 72px) clamp(48px, 6vw, 72px);
  border-radius: 999px 999px var(--raio) var(--raio);
  border: 1px solid var(--linha-forte);
  background:
    radial-gradient(60% 40% at 50% 10%, rgba(201, 162, 75, .25), transparent 70%),
    linear-gradient(180deg, rgba(7, 6, 5, .5), rgba(7, 6, 5, .88)),
    url("../assets/img/marmore.webp") 20% 60% / 220% auto;
}
.contato__selo { position: absolute; left: 50%; top: clamp(34px, 5vw, 56px); width: clamp(90px, 14vw, 128px); height: clamp(90px, 14vw, 128px); transform: translateX(-50%); color: var(--ouro); filter: drop-shadow(0 0 16px rgba(201, 162, 75, .5)); }
.contato__arco h2 { max-width: 14ch; margin: 0 auto 16px; }
.contato__arco p { color: var(--texto-suave); max-width: 30em; margin-left: auto; margin-right: auto; }
.contato__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 20px; }
.contato__fone { font-weight: 600; margin: 0 auto !important; color: var(--ouro-claro) !important; }

/* ---------- Rodapé ---------- */
.rodape { padding: 56px 0 40px; border-top: 1px solid var(--linha); }
.rodape__in { display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center; }
.rodape__marca { display: flex; align-items: center; gap: 12px; }
.rodape__marca svg { width: 44px; height: 44px; color: var(--ouro); }
.rodape__marca p { margin: 0; font-family: var(--display); font-size: 1.2rem; color: var(--marfim); }
.rodape__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; font-size: .95rem; color: var(--texto-suave); }
.rodape__nav a { padding: 8px 0; }
.rodape__nav a:hover { color: var(--ouro-claro); }
.rodape__aviso, .rodape__credito { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: rgba(236, 227, 207, .74); }
.rodape__aviso { padding-top: 22px; border-top: 1px solid var(--linha); }
.rodape__credito a { color: var(--ouro-claro); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-ouro); color: #1c1306;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 240, 200, .4);
  opacity: 0; pointer-events: none; transform: scale(.8); transition: opacity .4s, transform .4s var(--ease);
}
.whats-flutuante svg { width: 28px; height: 28px; }
.whats-flutuante.visivel { opacity: 1; pointer-events: auto; transform: none; }
.whats-flutuante.oculto { opacity: 0; pointer-events: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .portas { height: 620px; }
  .porta { flex-basis: 80px; }
  .porta__info { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .menu-botao { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center; gap: 24px;
    background: var(--onix); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .menu.aberto { opacity: 1; visibility: visible; }
  .menu a:not(.btn) { font-family: var(--display); font-size: 1.9rem; font-weight: 520; color: var(--marfim); }
  .btn--topo { min-height: 54px; padding: 0 28px; font-size: 1rem; margin-top: 8px; }

  .hero { padding-top: 108px; }
  .hero__in { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__acoes { justify-content: center; }
  .portal { width: min(62vw, 280px); }
  .trilho { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trilho li:nth-child(3) { border-left: 0; }
  .trilho li:nth-child(n+3) { border-top: 1px solid var(--linha); }

  .casa__painel, .buzios__painel, .como__in, .perguntas__in, .caminhos__topo { grid-template-columns: minmax(0, 1fr); }
  .selo-vivo { max-width: 360px; }

  /* portas viram acordeão vertical */
  .portas { flex-direction: column; height: auto; }
  .porta { flex: none; border-radius: 20px; }
  .porta.ativa { flex: none; border-radius: 200px 200px 22px 22px; }
  .porta__abrir { flex-direction: row; justify-content: flex-start; padding: 0 22px; min-height: 66px; gap: 14px; }
  .porta__abrir span { writing-mode: horizontal-tb; transform: none; font-size: 1.15rem; }
  .porta__abrir svg { width: 26px; height: 26px; }
  .porta.ativa .porta__abrir { flex-direction: column; justify-content: center; padding: 64px 24px 0; }
  .porta.ativa .porta__abrir span { font-size: 1.8rem; }
  .porta__corpo { padding: 18px 22px 30px; }

  .rodape__in { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .rodape__marca { justify-content: center; }
  .rodape__nav { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .marca__nome { font-size: 1.02rem; }
  .marca__selo { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .hero__acoes .btn, .contato__acoes .btn { width: 100%; }
  .trilho li { flex-direction: column; text-align: center; gap: 8px; padding: 18px 10px; font-size: .9rem; }
  .painel { padding: 30px 20px; }
  .simbolo { min-height: 200px; }
  .carta { padding-top: 76px; }
  .carta__lista { grid-template-columns: minmax(0, 1fr); }
  .contato__arco { border-radius: 200px 200px var(--raio) var(--raio); }
}

/* ---------- Movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .portal__moldura .moldura { stroke-dasharray: 1; animation: desenhar 2.2s var(--ease) .1s both; }
  .motion .portal__pedra { animation: acender 1.4s var(--ease) .3s both; }
  .motion .portal__sim { animation: acender 1s var(--ease) 1.5s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
