/* ==========================================================================
   I.O.E.R.M.M. — International Obedience of the Egyptian Rite of Memphis Misraim
   Site em ingles.

   O DNA vem do selo da ordem: um disco de ouro sobre fundo escuro. Dai o
   preto profundo, o dourado em degrade e o rose gold pedidos pelo cliente,
   com o vermelho rubi entrando so como acento. O piso xadrez do templo
   egipcio (a arte que ele mandou) virou a textura das faixas.
   Mobile primeiro.
   ========================================================================== */

:root {
  --black: #08070a;
  --black-2: #0d0c11;
  --ink: #14131a;
  --ink-2: #1c1a23;

  --gold: #c8a24a;
  --gold-lt: #f0d68a;
  --gold-dk: #8a6a24;
  --rose: #d9a68c;
  --gold-grad: linear-gradient(118deg, #8a6a24 0%, #f0d68a 24%, #c8a24a 52%, #f0d68a 76%, #8a6a24 100%);

  --white: #f4f1ea;
  --grey: #a49f96;
  /* era #736e66: dava 3,97:1 sobre o chao, e ele veste o rodape (12,5px) e a
     nota do formulario. #7f7971 sobe para 4,67:1 e continua discreto. */
  --grey-2: #7f7971;
  --red: #96222b;
  --red-lt: #c0323d;

  --line: rgba(200, 162, 74, .28);
  --line-2: rgba(244, 241, 234, .1);

  --display: Cinzel, "Trajan Pro", Georgia, serif;
  --body: Spectral, Georgia, "Times New Roman", serif;
  --ui: Jost, "Century Gothic", system-ui, sans-serif;

  --r: 2px;
  --head: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 0;
  color: var(--white);
}
p { margin: 0 0 18px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
b, strong { color: var(--white); font-weight: 500; }
em { color: var(--gold-lt); font-style: italic; }

/* o dourado do selo nunca e chapado: e sempre o degrade */
.gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap--mid { max-width: 900px; }
.wrap--thin { max-width: 720px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 90; background: var(--gold); color: #14100a;
  padding: 10px 16px;
}

/* ---------- rótulo em versalete ------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--display);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow--line { display: flex; align-items: center; gap: 16px; }
.eyebrow--line::after {
  content: ""; flex: 1 1 auto; height: 1px; max-width: 80px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.center .eyebrow--line { justify-content: center; }
.center .eyebrow--line::after { display: none; }
@media (max-width: 620px) {
  .eyebrow { font-size: 10px; letter-spacing: .26em; }
  .eyebrow--line::after { display: none; }
}

/* ---------- botões -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 32px;
  border: 0; border-radius: var(--r);
  font-family: var(--display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: transform .16s var(--ease), filter .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--wide { width: 100%; }

.btn--gold { background: var(--gold-grad); color: #14100a; }
.btn--gold:hover { filter: brightness(1.12); }

.btn--line { background: transparent; color: var(--gold-lt); border: 1px solid var(--line); }
.btn--line:hover { border-color: var(--gold); background: rgba(200, 162, 74, .1); }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-lt); }

/* ---------- cabeçalho ----------------------------------------------------- */

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(8, 7, 10, .72);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.top.scrolled { background: rgba(8, 7, 10, .97); border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 14px; height: var(--head); }

.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__abbr {
  font-family: var(--display); font-size: 16px; font-weight: 700;
  letter-spacing: .12em; color: var(--white); white-space: nowrap;
}
.brand__sub {
  font-family: var(--ui); font-size: 8.5px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}

.nav { display: none; }
.top__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* seletor de idioma: leva para a mesma pagina na outra lingua */
.idiomas { position: relative; }
.idiomas__bt {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 9px 13px;
  border: 1px solid var(--line); border-radius: var(--r); background: transparent;
  color: var(--gold-lt); font-family: var(--display); font-weight: 600;
  font-size: 11.5px; letter-spacing: .12em;
}
.idiomas__bt:hover { border-color: var(--gold); }
.idiomas__bt svg { width: 16px; height: 16px; }
/* o display: grid abaixo vence o [hidden] do navegador, entao a lista nascia
   sempre aberta: esta regra devolve o comportamento do atributo */
.idiomas__lista[hidden] { display: none; }
.idiomas__lista {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 168px; display: grid;
  background: var(--black-2); border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .6);
}
.idiomas__lista a {
  padding: 12px 15px; text-decoration: none; color: var(--white);
  font-family: var(--body); font-size: 15px;
}
.idiomas__lista a + a { border-top: 1px solid var(--line-2); }
.idiomas__lista a:hover { background: rgba(200, 162, 74, .12); color: var(--gold-lt); }
.idiomas__lista a[aria-current] { color: var(--gold-lt); }
.top__right .btn { display: none; }

.burger {
  flex: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--r); background: transparent;
  display: grid; place-content: center; gap: 5px;
}
.burger span {
  display: block; width: 19px; height: 1px; background: var(--gold-lt);
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; z-index: 39; top: var(--head); left: 0; right: 0;
  background: var(--black-2); border-bottom: 1px solid var(--line);
  display: grid; padding: 8px 22px 26px;
  transform: translateY(-125%); transition: transform .34s var(--ease);
  max-height: calc(100dvh - var(--head)); overflow-y: auto;
}
.drawer.on { transform: translateY(0); }
.drawer a {
  padding: 16px 2px; text-decoration: none; color: var(--white);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--display); font-size: 17px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.drawer a[aria-current] { color: var(--gold-lt); }
.drawer__mail {
  margin-top: 18px; border: 1px solid var(--gold) !important;
  text-align: center; color: var(--gold-lt) !important; font-size: 13px !important;
}

.veil {
  position: fixed; inset: 0; z-index: 38; background: rgba(0, 0, 0, .72);
  opacity: 0; transition: opacity .3s ease;
}
.veil.on { opacity: 1; }

/* ==========================================================================
   Capa
   ========================================================================== */

/* O texto fica POR CIMA da imagem, mas sem caixa e sem veu pesado: quem
   garante a leitura e a sombra das proprias letras, que escurece so o
   contorno delas. Assim a cena continua inteira e visivel por tras. */

/* A altura fica amarrada a largura (58vw) e nao so a tela: assim o recorte
   do object-fit chega perto da proporcao original da arte e a cena aparece
   quase inteira, em vez de dar zoom no meio do quadro. */
.cover {
  position: relative; overflow: hidden;
  min-height: max(620px, min(82svh, 58vw));
  display: grid; grid-template-rows: 1fr auto; justify-items: center; text-align: center;
  padding: calc(var(--head) + 8px) 0 40px;
  background: var(--black);
}
.cover--short { min-height: 58svh; padding: calc(var(--head) + 36px) 0 40px; }

.cover__bg { position: absolute; inset: 44px 0 0; z-index: 0; }
.cover__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
/* quase nada: so tira o brilho do topo, onde fica o menu, e fecha na base */
.cover__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 10, .42) 0%, rgba(8, 7, 10, .06) 22%,
                              rgba(8, 7, 10, .1) 62%, rgba(8, 7, 10, .62) 100%);
}

.cover__in { position: relative; z-index: 2; max-width: 900px; grid-row: 2; align-self: end; }
/* o emblema abre a capa, no vazio acima do titulo (pedido do cliente) */
/* O esquadro da arte comeca a 30% da altura (medido no arquivo). O emblema e
   posicionado em porcentagem da propria capa, entao ele termina sempre por
   volta de 22% - acima do esquadro em qualquer tela - e cresce junto com ela. */
.cover__seal {
  position: absolute; z-index: 3;
  left: 50%; transform: translateX(-50%);
  top: max(calc(var(--head) + 12px), 4.5%); height: 18%; width: auto; max-width: 62vw;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .9));
}
.cover .eyebrow {
  margin-bottom: 16px; color: var(--gold-lt);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .95), 0 0 26px rgba(0, 0, 0, .8);
}
.cover h1 {
  font-size: clamp(25px, 6vw, 46px); line-height: 1.16; margin-bottom: 18px; text-wrap: balance;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .92), 0 3px 34px rgba(0, 0, 0, .8), 0 0 70px rgba(0, 0, 0, .6);
}
.cover__lead {
  font-size: 16.5px; color: #fff;
  max-width: 60ch; margin: 0 auto 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .95), 0 2px 26px rgba(0, 0, 0, .85);
}
.cover__btns { display: grid; gap: 12px; }

/* a régua dupla, que imita o filete do selo */
.rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 24px; max-width: 240px; }
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
.rule span { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }

/* ==========================================================================
   Seções
   ========================================================================== */

.sec { padding: 72px 0; position: relative; }
.sec--ink { background: var(--ink); }
.sec--line { border-top: 1px solid var(--line-2); }

/* No lugar do piso xadrez entra a propria arte da ordem por tras do texto
   (pedido do cliente). O data-fundo escolhe a imagem; o veu por cima garante
   que o texto continue legivel sobre ela. */
.sec--arte { position: relative; overflow: hidden; }
.sec--arte::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .62;
}
.sec--arte::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(20, 19, 26, .74) 20%,
                              rgba(20, 19, 26, .74) 80%, var(--ink) 100%);
}
.sec--arte > * { position: relative; z-index: 1; }
.sec--arte[data-fundo="fundo-templo"]::before { background-image: url("/img/fundo-templo.webp"); }
.sec--arte[data-fundo="fundo-loja"]::before { background-image: url("/img/fundo-loja.webp"); }
.sec--arte[data-fundo="fundo-altar"]::before { background-image: url("/img/fundo-altar.webp"); }

.head { margin-bottom: 40px; }
.head h2 { font-size: clamp(26px, 5.6vw, 40px); margin-bottom: 16px; }
.head p { max-width: 62ch; margin-bottom: 0; }
.center { text-align: center; }
.center .head p { margin-left: auto; margin-right: auto; }

/* ---------- bloco duplo ---------------------------------------------------- */

.pair { display: grid; gap: 36px; align-items: center; }
.pair h2 { font-size: clamp(24px, 5.2vw, 34px); margin-bottom: 18px; }

/* moldura dourada dupla, ecoando o anel do selo */
.frame { position: relative; margin: 0; }
.frame img { width: 100%; position: relative; z-index: 1; }
.frame::before {
  content: ""; position: absolute; z-index: 2; inset: 12px;
  border: 1px solid rgba(240, 214, 138, .45); pointer-events: none;
}
.frame::after {
  content: ""; position: absolute; z-index: 0; left: 22px; top: 22px; right: -12px; bottom: -12px;
  border: 1px solid var(--line); pointer-events: none;
}

/* ---------- pilares -------------------------------------------------------- */

.pillars { display: grid; gap: 16px; }
.pillar {
  background: var(--ink-2); border: 1px solid var(--line-2);
  padding: 32px 26px 30px; text-align: center;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.pillar:hover { border-color: var(--line); transform: translateY(-3px); }
.pillar__ico {
  width: 46px; height: 46px; margin: 0 auto 18px; color: var(--gold);
}
.pillar__ico svg { width: 100%; height: 100%; }
.pillar h3 {
  font-size: 19px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px;
}
.pillar p { font-size: 15.5px; margin-bottom: 0; }

/* ---------- lista de fundamentos ------------------------------------------- */

.tenets { display: grid; gap: 0; counter-reset: t; list-style: none; margin: 0; padding: 0; }
.tenet { counter-increment: t; position: relative; padding: 26px 0 26px 62px; }
.tenet + .tenet { border-top: 1px solid var(--line-2); }
.tenet::before {
  content: counter(t, upper-roman);
  position: absolute; left: 0; top: 26px;
  font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--gold);
  letter-spacing: .06em;
}
.tenet b { display: block; font-family: var(--display); font-size: 20px; color: var(--white); margin-bottom: 6px; }
.tenet p { font-size: 15.5px; margin-bottom: 0; }

/* ---------- Hierofantes ---------------------------------------------------- */

.hierofantes { display: grid; gap: 20px; }
.hier {
  background: var(--ink-2); border: 1px solid var(--line-2);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.hier:hover { border-color: var(--line); transform: translateY(-3px); }
.hier__foto { position: relative; }
.hier__foto img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; }
/* o grau sai do canto da foto e vira uma linha propria, logo abaixo do nome */
.hier__grau {
  display: block; margin: 2px 0 9px;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  letter-spacing: .04em; color: var(--gold);
}
.hier__txt { padding: 20px 18px 22px; text-align: center; }
.hier__txt h3 { font-size: 21px; margin-bottom: 0; }
.hier__cargo {
  display: block; font-family: var(--display); font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.hier__pais {
  display: block; margin-top: 6px; font-family: var(--ui);
  font-size: 13.5px; letter-spacing: .08em; color: var(--grey);
}
/* o Hierofante Mundial abre a relacao com um fio dourado */
.hier--destaque { border-color: var(--line); box-shadow: inset 0 0 0 1px rgba(200, 162, 74, .2); }
.hier--destaque .hier__txt { background: rgba(200, 162, 74, .06); }

@media (min-width: 620px) { .hierofantes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .hierofantes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* o card virou link: precisa se comportar como link sem parecer um */
.hier { color: inherit; text-decoration: none; }
.hier__ver {
  display: inline-block; margin-top: 12px;
  font-family: var(--ui); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); opacity: 0; transform: translateY(4px);
  transition: opacity .3s ease, transform .3s var(--ease);
}
.hier:hover .hier__ver, .hier:focus-visible .hier__ver { opacity: 1; transform: none; }
/* no toque nao existe hover: no celular o "ver perfil" fica sempre visivel */
@media (hover: none) { .hier__ver { opacity: 1; transform: none; } }

/* ---------- capa com o selo ------------------------------------------------ */
/* O selo dos World Hierophants e redondo. Esticado numa faixa larga ele
   deforma, entao a capa da pagina de hierofantes nao usa foto de fundo: usa o
   selo como emblema, centralizado sobre a pedra escura. */
.cover--selo { min-height: auto; padding: 148px 0 72px; background: var(--ink); }
.cover--selo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(64% 74% at 50% 34%, rgba(200, 162, 74, .2), transparent 72%);
}
.cover--selo .cover__in { position: relative; z-index: 1; }
.cover__emblema {
  /* o cliente pediu o selo maior e mais imponente: ele e o assunto da pagina */
  display: block; width: min(420px, 80vw); height: auto; margin: 0 auto 40px;
  filter: drop-shadow(0 26px 58px rgba(0, 0, 0, .68))
          drop-shadow(0 0 42px rgba(200, 162, 74, .22));
}
.cover--selo .eyebrow--line::before { display: none; }
.cover--selo h1 { margin-bottom: 14px; }
.cover--selo .cover__lead { margin-inline: auto; }

@media (min-width: 900px) {
  .cover--selo { padding: 172px 0 96px; }
  .cover__emblema { width: 500px; margin-bottom: 46px; }
}

/* ---------- perfil do hierofante ------------------------------------------- */
.perfil { background: var(--ink); padding: 128px 0 56px; position: relative; }
.perfil::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 20% 20%, rgba(200, 162, 74, .1), transparent 70%);
}
.perfil__g { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.perfil__foto { margin: 0; border: 1px solid var(--line-2); overflow: hidden; }
.perfil__foto img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; display: block; }
.perfil__volta {
  display: inline-block; margin-bottom: 22px;
  font-family: var(--ui); font-size: 13px; letter-spacing: .1em; color: var(--grey);
}
.perfil__volta:hover { color: var(--gold); }
.perfil__id h1 { font-size: clamp(34px, 6vw, 52px); margin-bottom: 6px; }
.perfil__grau {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  letter-spacing: .04em; color: var(--gold); margin-bottom: 4px;
}
.perfil__pais { font-family: var(--ui); font-size: 15px; letter-spacing: .08em; color: var(--grey); margin-bottom: 0; }

/* o texto que ainda nao chegou da Chancelaria: precisa parecer nota, nao erro */
.aguardando {
  border-left: 2px solid var(--line); padding: 4px 0 4px 18px;
  font-style: italic; color: var(--grey); margin-bottom: 0;
}

.staffs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.staff { margin: 0; border: 1px solid var(--line-2); background: var(--ink-2); overflow: hidden; }
.staff img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.staff figcaption { padding: 14px 16px 16px; text-align: center; }
.staff b { display: block; font-family: var(--display); font-size: 18px; color: var(--white); }
.staff span { display: block; margin-top: 3px; font-family: var(--ui); font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

@media (min-width: 860px) {
  .perfil { padding: 168px 0 76px; }
  .perfil__g { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 52px; }
}

/* ---------- galeria -------------------------------------------------------- */

.gallery { display: grid; gap: 14px; }
.shot { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line-2); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px; font-size: 13.5px; color: var(--white);
  font-family: var(--ui); letter-spacing: .06em;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 10, .9));
}
.shot--tall img { aspect-ratio: 3 / 4; }

/* ---------- chamada -------------------------------------------------------- */

.call { position: relative; overflow: hidden; text-align: center; background: var(--black-2); }
.call__bg { position: absolute; inset: -12% 0; z-index: 0; }
.call__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.call__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 74% at 50% 50%, rgba(8, 7, 10, .84) 0%, rgba(8, 7, 10, .6) 78%),
    rgba(8, 7, 10, .28);
}
.call__in { position: relative; z-index: 1; padding-block: 76px; }
.call__seal { width: 96px; margin: 0 auto 24px; opacity: .95; }
.call h2 { font-size: clamp(26px, 5.6vw, 38px); margin-bottom: 16px; }
.call p { max-width: 54ch; margin: 0 auto 28px; color: rgba(244, 241, 234, .8); }
.call .btn { width: 100%; max-width: 360px; }

/* ---------- contato -------------------------------------------------------- */

.cards { display: grid; gap: 14px; margin-bottom: 32px; }
.card {
  display: flex; align-items: flex-start; gap: 15px; text-decoration: none;
  border: 1px solid var(--line-2); background: var(--ink-2); padding: 20px;
  transition: border-color .3s ease;
}
.card:hover { border-color: var(--line); }
.card svg { width: 21px; height: 21px; flex: none; margin-top: 4px; color: var(--gold); }
.card b {
  display: block; font-family: var(--display); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 600;
}
.card span { display: block; color: var(--white); font-size: 16px; line-height: 1.5; word-break: break-word; }

/* ---------- formulário ------------------------------------------------------ */

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block; font-family: var(--display); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--body); font-size: 16px;
  color: var(--white); background: var(--black); border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-msg { margin: 16px 0 0; font-size: 15px; }
.form-msg--err { color: #e2949b; }
.form-msg--ok { color: var(--gold-lt); }
.form-note { font-size: 13.5px; color: var(--grey-2); margin-top: 16px; }

/* ---------- rodapé ---------------------------------------------------------- */

.foot { background: var(--black); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.foot__grid { display: grid; gap: 34px; }
.foot__brand { display: flex; gap: 16px; align-items: flex-start; }
.foot__brand img { width: 74px; flex: none; }
.foot__brand p { font-size: 14.5px; margin-bottom: 0; }
.foot__brand b { display: block; font-family: var(--display); font-size: 15px; letter-spacing: .1em; color: var(--white); margin-bottom: 6px; }
.foot h4 {
  font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot a { text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--gold-lt); }
.foot__end {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--grey-2); display: grid; gap: 8px;
}
.foot__motto { font-family: var(--display); letter-spacing: .18em; font-size: 11px; color: var(--gold); text-transform: uppercase; }

/* ---------- entrada suave ---------------------------------------------------- */

.rev { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rev.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rev { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .cover__bg img, .call__bg img { transform: none !important; }
}

/* ==========================================================================
   Telas maiores
   ========================================================================== */

@media (min-width: 620px) {
  .cover__btns { grid-auto-flow: column; justify-content: center; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot__end { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  body { font-size: 17.5px; }

  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 28px; margin-left: 34px; }
  .nav a {
    text-decoration: none; font-family: var(--display); font-size: 11.5px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; color: var(--white);
    padding: 6px 0; border-bottom: 1px solid transparent;
  }
  .nav a:hover { color: var(--gold-lt); }
  .nav a[aria-current] { color: var(--gold-lt); border-bottom-color: var(--gold); }
  .top__right .btn { display: inline-flex; min-height: 44px; padding: 12px 24px; font-size: 11px; }

  .brand img { width: 50px; height: 50px; }
  .brand__abbr { font-size: 18px; }

  .cover { min-height: max(620px, min(88svh, 56vw)); padding: calc(var(--head) + 10px) 0 60px; }
  .cover--short { min-height: 54vh; }
  .cover h1 { font-size: clamp(32px, 3.4vw, 50px); }

  .sec { padding: 112px 0; }
  .head { margin-bottom: 60px; }
  .pair { grid-template-columns: 1fr 1fr; gap: 70px; }
  .pair--inv .frame { order: 2; }

  .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .gallery--main { grid-template-columns: repeat(6, 1fr); }
  .gallery--main .shot:nth-child(1) { grid-column: span 4; }
  .gallery--main .shot:nth-child(2) { grid-column: span 2; }
  .gallery--main .shot:nth-child(3) { grid-column: span 2; }
  .gallery--main .shot:nth-child(4) { grid-column: span 2; }
  .gallery--main .shot:nth-child(5) { grid-column: span 2; }

  .call__in { padding-block: 120px; }
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
}

/* ── Perfil do hierofante: texto longo com subtitulos e assinatura ─────────
   O texto que a Chancelaria manda vem em capitulos. Sem hierarquia visual
   ele vira um bloco unico de vinte paragrafos, ilegivel no celular. */
.bio__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--gold-lt);
  font-style: italic;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.bio__h {
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--gold-lt);
  margin: 46px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.bio__h:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: clamp(23px, 2.4vw, 32px);
  color: var(--white);
}
.bio__firma {
  margin-top: 46px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: rgba(200, 162, 74, .05);
  text-align: center;
}
.bio__firma span {
  display: block;
  font-family: var(--display);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--grey);
}
.bio__firma span + span { margin-top: 10px; }
.bio__firma span:first-child {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--gold-lt);
  margin-bottom: 4px;
}
.bio__firma span:last-child {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-style: italic;
  color: var(--gold);
}
@media (max-width: 620px) {
  .bio__firma { padding: 22px 18px; }
  .bio__h { margin-top: 36px; }
}
.bio__h2 {
  font-size: clamp(16px, 1.25vw, 18.5px);
  color: var(--gold);
  letter-spacing: .06em;
  margin: 34px 0 14px;
}
.bio__h + .bio__h2 { margin-top: 22px; }

/* ---------- selo proprio do hierofante -------------------------------------
   Alguns hierofantes tem selo sacerdotal proprio. Ele abre a bio como brasao,
   acima do titulo. Selo e' redondo: nada de esticar, e o halo dourado e' o
   mesmo do emblema da capa, para o site falar uma lingua so. */
.perfil__selo {
  margin: 0 auto 44px;
  width: min(310px, 66vw);
}
.perfil__selo img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, .6))
          drop-shadow(0 0 34px rgba(200, 162, 74, .2));
}
@media (min-width: 900px) {
  .perfil__selo { width: 340px; margin-bottom: 52px; }
}

/* a dignidade proclamada sozinha na linha ('> ' no perfis.py): nao e' titulo
   de secao, e' a formula sendo dita. Centralizada entre dois fios. */
.bio__dig {
  margin: 26px auto 30px;
  padding: 18px 16px;
  max-width: 34rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.35;
  letter-spacing: .07em;
  text-align: center;
  color: var(--gold-lt);
}
