/* ============================================================
   ABERTURA DE CAMINHOS · Templo de Goetia
   Preto quente + osso + dourado âmbar. Tema único (dark).
   Raio fixo: 2px em tudo. Um acento: âmbar.
   ============================================================ */

:root {
  --bg: #0B0908;
  --bg-2: #12100D;
  --panel: #16130F;
  --bone: #E9E2D2;
  --bone-dim: #A89F8C;
  /* TESTE vermelho sangue escuro (anterior: #A31621 / #C42430; âmbar original: #C9A02C / #E3B94E) */
  --amber: #6F0D15;
  --amber-bright: #8A1119;
  --line: rgba(233, 226, 210, 0.14);
  --line-soft: rgba(233, 226, 210, 0.08);
  --radius: 2px;
  --font-display: "Cinzel", serif;
  --font-body: "Archivo", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--bone-dim);
  max-width: 46ch;
  margin-bottom: 3rem;
}

section { padding: 6.5rem 0; }

p + p { margin-top: 1.1em; }

::selection { background: rgba(163, 22, 33, 0.45); color: var(--bone); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  transform: translateZ(0);
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #F5F0E6;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.1rem;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--amber-bright); border-color: var(--amber-bright); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  display: inline-block;
  color: var(--bone);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.1rem;
  border: 1px solid rgba(233, 226, 210, 0.35);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); }
.btn-ghost:active { transform: translateY(1px); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 24px;
  background: rgba(13, 11, 9, 0.96);
  border-bottom: 1px solid var(--line-soft);
  transform: translateZ(0);
}

.nav-brand {
  font-family: "Space Grotesk", var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
}
.nav-links a {
  font-family: "Space Grotesk", var(--font-body);
  font-weight: 500;
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--bone); }

.btn-nav { padding: 0.5rem 1.05rem; font-size: 0.72rem; }

/* ---------- Hero / ATENÇÃO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 108px 24px 4.5rem;
  overflow: hidden;
  background: url("../img/sigilo.jpg") center / cover no-repeat var(--bg);
}

/* véu escuro por cima da textura do sigilo pra manter a leitura impecável */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, rgba(11, 9, 8, 0.9) 0%, rgba(11, 9, 8, 0.96) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(163, 22, 33, 0.12) 0%, transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1040px;
  text-align: center;
  background: #F5F0E6;
  padding: 2rem 3rem calc(2.5rem - 0.5cm);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.nav-tag {
  flex: 1;
  min-width: 0;
  text-align: center;
  margin: 0 1.2rem;
  font-family: "Space Grotesk", var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.hero-ask {
  position: relative;
  width: 100%;
  max-width: 1040px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
  background: #F5F0E6;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 0.7rem 1.5rem;
  margin-bottom: 1.1rem;
  font-size: 12px;
  font-weight: 700;
  color: #3A322A;
  line-height: 1.4;
}
.hero-ask p {
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 960px) {
  .hero-ask {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 1.2rem;
  }
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  font-weight: 700;
  margin: 0 auto 2rem;
  color: #1C1710;
}

.seta {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--amber-bright);
  margin: 0 0.07em;
}

.hero-copy {
  text-align: justify;
  margin: 2rem auto 0;
  color: #262019;
  font-size: 13.3px;
  font-weight: 500;
  line-height: 1.85;
}
.hero-copy p + p { margin-top: 0.95em; }

.hero-cta {
  margin-top: 1.8rem;
  text-align: center;
}
.hero-cta .btn {
  padding: 0.475rem 1.05rem;
  font-size: 0.7125rem;
}

.grifo {
  background: var(--amber-bright);
  color: #F5F0E6;
  font-weight: 600;
  padding: 0.06em 0.28em;
  border-radius: var(--radius);
  text-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- O que você busca (bloco claro minimalista) ---------- */
.busca { background: #F5F0E6; padding-top: 5.14rem; padding-bottom: 5.74rem; }
.busca h2 { color: #1C1710; }
.busca .section-sub { color: #6B6254; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.area-card {
  text-align: left;
  background: transparent;
  border: 1px solid rgba(111, 13, 21, 0.5);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  cursor: pointer;
  color: #1C1710;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.2s var(--ease);
}
.area-card:hover {
  border-color: var(--amber);
  background: var(--amber);
  transform: translateY(-2px);
}
.area-card:hover .area-name { color: #F5F0E6; }
.area-card:hover .area-line { background: rgba(245, 240, 230, 0.6); }
.area-card:hover .area-desc { color: rgba(245, 240, 230, 0.85); }
.area-card:active { transform: translateY(0); }

.area-card[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--amber);
}
.area-card[aria-pressed="true"] .area-name { color: #F5F0E6; }
.area-card[aria-pressed="true"] .area-line { background: rgba(245, 240, 230, 0.6); }
.area-card[aria-pressed="true"] .area-desc { color: rgba(245, 240, 230, 0.85); }

/* ---------- 6º slot da grade: card Goetia x astrologia (informativo) ---------- */
.astro-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(111, 13, 21, 0.22), rgba(111, 13, 21, 0.06)),
    var(--bg-2);
  border: 1px solid rgba(138, 17, 25, 0.45);
}
.astro-card .astro-card-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
}
.astro-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.2;
}
.astro-card .area-line { background: rgba(233, 226, 210, 0.35); }
.astro-card p {
  color: var(--bone-dim);
  font-size: 0.88rem;
  line-height: 1.65;
}
.astro-card p strong { color: var(--bone); font-weight: 600; }
.astro-card p em { color: var(--bone); font-style: italic; }

.area-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: #1C1710;
  transition: color 0.25s var(--ease);
}

.area-line {
  width: 34px;
  height: 1px;
  background: rgba(111, 13, 21, 0.45);
  transition: background 0.25s var(--ease);
}

.area-desc {
  color: #5F574A;
  font-size: 0.93rem;
  line-height: 1.65;
  transition: color 0.25s var(--ease);
}

/* ---------- Números do templo (pré-gate) ---------- */
.stats-sec {
  background: var(--bg-2);
  padding: 0 0 2.6rem;
}
.stats-sec .stat-label { color: var(--bone-dim); }

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem 2.2rem;
  margin-bottom: 0.9rem;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  color: #5F574A;
  font-size: 0.76rem;
  margin-top: 0;
}
.stats-cta {
  text-align: center;
  margin-bottom: 0;
}
.stats-cta .btn { font-size: 0.72rem; padding: 0.55rem 1.6rem; }

@media (max-width: 700px) {
  .stats-grid { flex-direction: column; gap: 0.3rem; }
}

/* ---------- Landing pages de área ---------- */
.lp-hero { min-height: auto; padding: 130px 24px 4.5rem; }

.lp-back {
  position: relative;
  margin-bottom: 1.3rem;
  font-size: 0.78rem;
  padding: 0.7rem 1.6rem;
}

.lp-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: #1C1710;
  margin-bottom: 0.4rem;
}

.lp-hero .hero-copy { margin-top: 1rem; font-size: 13.5px; }

.lp-como { background: var(--bg-2); }
.lp-como .wrap { max-width: 900px; }

.lp-como-card {
  background: #F5F0E6;
  border-radius: var(--radius);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    inset 0 22px 50px rgba(0, 0, 0, 0.3),
    inset 0 -26px 55px rgba(0, 0, 0, 0.22);
  padding: 3rem 3.4rem;
  text-align: center;
}
.lp-como-card h2 {
  color: #1C1710;
  font-weight: 700;
  margin-bottom: 1.7rem;
}
.lp-como-card > p {
  color: #4A4238;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}
.lp-como-card p strong { color: #1C1710; font-weight: 700; }

.lp-atend {
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(111, 13, 21, 0.25);
}
.lp-atend-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #1C1710;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 1.8rem;
}
.lp-atend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.atend-card {
  background: linear-gradient(180deg, var(--amber) 0%, #2A0407 100%);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  color: #F5F0E6;
  text-align: center;
}
.atend-icon {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.atend-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #F5F0E6;
  margin-bottom: 0.9rem;
}
.atend-card p {
  color: rgba(245, 240, 230, 0.9) !important;
  font-size: 12.5px !important;
  line-height: 1.65;
}
.atend-card p strong { color: #FFFFFF !important; }

@media (max-width: 640px) {
  .lp-atend-grid { grid-template-columns: 1fr; }
}

.lp-cta { text-align: center; margin-top: 2.4rem; }
.lp-cta .btn {
  padding: 0.475rem 1.05rem;
  font-size: 0.7125rem;
}
.lp-hint { color: #6B6254; font-size: 0.85rem; margin-top: 0.9rem; }

/* ---------- Vídeo do ritual (landing de área) ---------- */
.ritual-video {
  margin: 3.2rem auto 0;
  max-width: 400px;
  text-align: center;
}
.ritual-video-frame {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #000;
  padding: 10px;
  border: 1px solid rgba(233, 226, 210, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.ritual-video-frame::after {
  /* brilho âmbar bem sutil ao redor, ambiente premium */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(163, 22, 33, 0.14);
  pointer-events: none;
}
.ritual-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.ritual-video-cap {
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .ritual-video { max-width: 320px; }
}

@media (max-width: 640px) {
  .lp-como-card { padding: 2rem 1.4rem; }
}

.lp-footer {
  text-align: center;
  padding: 2.2rem 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--bone-dim);
  font-size: 0.85rem;
}

/* ---------- Gate: só hero + busca até escolher uma área ---------- */
body:not(.unlocked) .gated { display: none; }
body:not(.unlocked) .nav-links { display: none; }

/* ---------- O Templo ---------- */
.templo-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.4rem;
  align-items: center;
}

.templo-text p {
  color: var(--bone-dim);
  max-width: 62ch;
  font-size: 14.2px;
  line-height: 1.65;
  text-align: justify;
}
.templo-text p + p { margin-top: 0.85em; }
.templo-text h2 { margin-bottom: 1.2rem; }

.templo-plate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  padding: 1.4rem;
}
.templo-plate img { width: 100%; display: block; }

.plate-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plate-duo img {
  aspect-ratio: 3 / 4.6;
  object-fit: cover;
}
.templo-plate figcaption {
  margin-top: 1rem;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ---------- Horóscopo do dia ---------- */
.horo {
  padding: 0;
  background: var(--amber);
  color: #F5F0E6;
  overflow: hidden;
  /* estica de ponta a ponta (encosta nas laterais da tela) */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 2.6rem;
}
.horo-bar {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.1rem 24px;
}
.horo-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Space Grotesk", var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  white-space: nowrap;
}
.horo-moon { font-size: 1.7rem; line-height: 1; }
.horo-signs {
  display: flex;
  flex: 1;
  gap: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.horo-signs::-webkit-scrollbar { display: none; }
.horo-sign {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: 0;
  color: rgba(245, 240, 230, 0.85);
  font-family: var(--font-body);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.horo-sign:hover, .horo-sign.active {
  background: rgba(0, 0, 0, 0.22);
  color: #FFFFFF;
}
.horo-glyph { font-size: 1.35rem; line-height: 1; }

.horo-panel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2.2rem 2.2rem;
  background: #F5F0E6;
  color: #262019;
  border-radius: var(--radius);
  transform: translateY(-1px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.7), inset 0 18px 44px rgba(0,0,0,0.22);
}
.horo-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: none;
  border: 0;
  color: #6B6254;
  font-size: 1rem;
  cursor: pointer;
}
.horo-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.horo-glyph-big { font-size: 2.4rem; line-height: 1; color: var(--amber); }
.horo-head h3 { font-size: 1.5rem; color: #1C1710; }
.horo-panel-range { color: #6B6254; font-size: 0.82rem; }
.horo-date {
  margin-left: auto;
  align-self: flex-start;
  font-family: "Space Grotesk", var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--amber);
  text-transform: uppercase;
}
.horo-message {
  color: #3A322A;
  font-size: 12.5px;
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 1.3rem;
}
.horo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.horo-actions .btn,
.horo-actions .btn-ghost {
  font-size: 0.72rem;
  padding: 0.65rem 1.3rem;
}
.horo-site {
  color: #1C1710;
  border-color: rgba(111, 13, 21, 0.5);
}
.horo-site:hover { border-color: var(--amber); color: var(--amber); }

@media (max-width: 760px) {
  .horo-brand { display: none; }
  .horo-sign { font-size: 0; gap: 0; }
  .horo-glyph { font-size: 1.5rem; }
  .horo-actions { flex-direction: column; }
  .horo-actions .btn, .horo-actions .btn-ghost { text-align: center; }
}

/* ---------- Como funciona ---------- */
.processo {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  /* menos espaco vazio no topo/base, um respiro lateral a mais */
  padding: 3.8rem 1.6rem;
}

.processo-title {
  text-align: center;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  /* 3px menor que o h2 padrão (clamp 1.7rem..2.5rem) */
  font-size: clamp(1.5125rem, 3.4vw, 2.3125rem);
}
/* com as linhas mais juntas, a tarja fica mais fina p/ nao invadir a linha de cima */
.processo-title .grifo {
  padding: 0.02em 0.24em;
}

.timeline {
  list-style: none;
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem 3rem;
}

.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.6rem;
  padding-bottom: 0;
}

.tl-num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tl-step h3 {
  font-size: 18.8px;
  margin: 0.55rem 0 0.5rem;
}
.tl-step p { color: var(--bone-dim); max-width: 56ch; font-size: 14.6px; }

/* ---------- Frentes ---------- */
.frentes {
  position: relative;
  overflow: hidden;
  /* metade do espaço vertical (section padrão = 6.5rem) */
  padding: 3.25rem 0;
}

.frentes-marca {
  position: absolute;
  right: -12%;
  top: 50%;
  width: min(60vw, 620px);
  transform: translateY(-50%) translateZ(0);
  opacity: 0.06;
  pointer-events: none;
}

.frentes h2 { margin-bottom: 1.8rem; }

.frente {
  max-width: 560px;
  padding: 0;
  margin-bottom: 0.9rem;
}
.frente:last-child { margin-bottom: 0; }
.frente-right { margin-left: auto; }

.frente h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: var(--amber-bright);
  margin-bottom: 0.7rem;
}
.frente p { color: var(--bone-dim); }

/* ---------- Depoimentos ---------- */
.depo { background: var(--bg-2); border-top: 1px solid var(--line-soft); }

.depo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
}
.depo-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #000;
  border: 1px solid rgba(233, 226, 210, 0.14);
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 40px rgba(163, 22, 33, 0.12),
    0 24px 50px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.depo-grid img:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 46px rgba(163, 22, 33, 0.2),
    0 30px 60px -16px rgba(0, 0, 0, 0.9);
}

@media (max-width: 900px) {
  .depo-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (max-width: 480px) {
  .depo-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}

.depo-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 2.4rem 2rem;
  text-align: center;
  color: var(--bone-dim);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- FAQ ---------- */
/* duas colunas: perguntas na esquerda, localização na direita */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: start;
}

.faq-list {
  max-width: 100%;
  margin-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.43rem 0.2rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--amber-bright); }

.faq-mark {
  position: relative;
  flex: 0 0 11px;
  height: 11px;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--amber);
  transition: transform 0.3s var(--ease);
}
.faq-mark::before { left: 0; top: 5px; width: 11px; height: 1.5px; }
.faq-mark::after { left: 4.75px; top: 0; width: 1.5px; height: 11px; }
.faq-list details[open] .faq-mark::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 0.2rem 0.5rem;
  color: var(--bone-dim);
  max-width: 62ch;
  font-size: 0.92rem;
}

/* ---------- Localização (coluna direita do FAQ) ---------- */
/* bloco com metade da largura da coluna, centralizado */
.local-col {
  max-width: 75%;
  margin: 0 auto;
}
.local-col h2 { text-align: center; }

.local-map {
  margin-top: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  line-height: 0;
}
.local-map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05) brightness(0.9);
}

/* dois botões colados embaixo do mapa, metade cada, mesma largura do mapa */
.local-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.7rem;
}
.btn-local {
  text-align: center;
  padding: 0.6rem 0.4rem;
  font-size: 0.62rem;
  line-height: 1.35;
  white-space: normal;
}
.btn-local-alt {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}
.btn-local-alt:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #F5F0E6;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .local-col { max-width: 100%; }
  .local-map iframe { height: 260px; }
}

/* ---------- Rodapé ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 0.7rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
  align-items: center;
  padding-bottom: 0.55rem;
}

.footer-sigil {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.92;
  margin-bottom: 0.2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}
.footer-tag { color: var(--bone-dim); font-size: 0.88rem; margin-top: 0.05rem; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-self: center;
}
.footer-links a {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.2s var(--ease);
}
.footer-links a::before {
  content: "°";
  color: var(--amber-bright);
  margin-right: 0.5em;
  font-weight: 700;
}
.footer-links a:hover::before { color: var(--bone); }
.footer-links a:hover { color: var(--bone); }

.footer-contact {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.footer-contact .btn {
  padding: 0.7125rem 1.575rem;
  font-size: 0.7125rem;
}
.footer-ig {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
  text-align: center;
}
.footer-ig:hover { color: var(--amber-bright); }

.footer-base {
  border-top: 1px solid var(--line-soft);
  padding: 0.3rem 24px 0.4rem;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.6125rem;
}
.footer-note { margin-top: 0.15rem; opacity: 0.75; }

/* ---------- Aviso de mensagem copiada ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  z-index: 999;
  background: var(--amber);
  color: #F5F0E6;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--amber-bright);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal (scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.on {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .area-card, .btn, .btn-ghost { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {
  .nav-links { display: none; }
}

@media (max-width: 767px) {
  .nav-tag { display: none; }
}

@media (max-width: 860px) {
  section { padding: 4.5rem 0; }

  .timeline { grid-template-columns: 1fr; gap: 2rem; }

  .area-grid { grid-template-columns: repeat(2, 1fr); }

  .templo-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .templo-plate { max-width: 420px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .footer-links { justify-self: start; }
  .footer-contact { justify-self: start; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .hero { padding-top: 96px; }
  .hero-inner { padding: 1.4rem 1.2rem 1.9rem; }
  .hero-title { margin-bottom: 1.4rem; }
  .hero-copy { font-size: 12.2px; margin-top: 1.4rem; }

  .area-grid { grid-template-columns: 1fr; }

  .frente, .frente-right {
    max-width: 100%;
    margin-left: 0;
  }

  .btn-nav { padding: 0.55rem 1rem; font-size: 0.72rem; }
  .nav { gap: 1rem; }
  .nav-brand { font-size: 0.8rem; }
}
