/* ==========================================================================
   Jaque Mazeppa · Consultoria de Imagem — folha de estilo única
   Referência de design: docs/DESIGN-SYSTEM.md (tokens, componentes, motion).
   Regras: mobile-first (iPhone), sem frameworks, sem estilos inline (CSP),
   toda cor/medida recorrente vem de um token em :root.
   ========================================================================== */

/* ---------- Fontes (self-hosted, OFL — ver assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond.d80df8ff5a.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-italic.6f2f5c3b1a.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost.7726a5cd6f.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta — derivada das fotos (vinho do vestido, dourado das joias, marfim do estúdio) */
  --ivory: #f4eee6;
  --ivory-2: #ebe2d6;
  --paper: #fbf8f3;
  --ink: #2b1b1e;
  --ink-soft: #7a6668;
  --wine: #5c1a24;
  --wine-deep: #2e0b11;
  --gold: #b38e5d;
  --gold-light: #dcc39a;
  --gold-deep: #8a683d;
  --on-dark: #fbf6ef;
  --line: rgba(92, 26, 36, 0.13);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --gutter: 16px;
  --col: 440px;
  --radius: 6px;

  /* Movimento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ivory);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: var(--wine);
  color: var(--on-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Fundo (luz suave + textura de papel) ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 55% at 50% -8%, #fdfaf6 0%, rgba(253, 250, 246, 0) 62%),
    radial-gradient(90% 45% at 50% 112%, rgba(92, 26, 36, 0.1) 0%, rgba(92, 26, 36, 0) 70%),
    var(--ivory);
}

.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/grain.1a366ae004.svg');
  background-size: 220px 220px;
  opacity: 0.28;
  mix-blend-mode: multiply;
}

/* ---------- Página ---------- */
.page {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--gutter));
  margin: 0 auto;
  padding:
    calc(env(safe-area-inset-top, 0px) + 34px)
    max(var(--gutter), env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 26px)
    max(var(--gutter), env(safe-area-inset-left, 0px));
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__frame {
  position: relative;
  width: min(74vw, 320px);
  aspect-ratio: 4 / 5;
  margin-top: 12px;
}

/* Arco: topo em semicírculo (raio = metade da largura; 4:5 -> 40% da altura) */
.hero__media {
  --arch: inset(0 round 50% 50% 0 0 / 40% 40% 0 0);
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ivory-2);
  -webkit-clip-path: var(--arch);
  clip-path: var(--arch);
  animation: arch-reveal 1.5s var(--ease-out) both;
}

.hero__picture {
  position: absolute;
  inset: -8% 0 0; /* folga no topo para o parallax (main.js limita o deslocamento a 7%) */
  will-change: transform;
}

.hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  animation: hero-zoom 2.6s var(--ease-out) both;
}

.hero__line {
  position: absolute;
  top: -11px;
  left: -11px;
  width: calc(100% + 22px);
  height: calc(100% + 11px);
  max-width: none; /* anula a regra base svg{max-width:100%} */
  overflow: visible;
  pointer-events: none;
}

.hero__line path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s var(--ease-in-out) 0.35s forwards;
}

.hero__seal {
  position: absolute;
  left: 50%;
  bottom: -30px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--wine);
  box-shadow:
    0 0 0 1px rgba(179, 142, 93, 0.55),
    0 0 0 4px var(--paper),
    0 0 0 5px rgba(179, 142, 93, 0.3),
    0 14px 26px -14px rgba(46, 11, 17, 0.55);
  animation: seal-in 1s var(--ease-out) 0.85s both;
}

.hero__seal svg {
  width: 34px;
  height: auto;
  transform: translateX(1px);
}

.hero__name {
  margin: 50px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 11.6vw, 52px);
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--ink);
}

/* Máscara por palavra: o texto "sobe" de dentro da linha */
.hero__word {
  display: inline-block;
  overflow: hidden;
  padding: 0.04em 0.02em 0.16em;
  margin-bottom: -0.12em;
  vertical-align: top;
}

.hero__word > span {
  display: inline-block;
  animation: word-rise 1.1s var(--ease-out) both;
}

.hero__word:nth-child(1) > span { animation-delay: 0.45s; }
.hero__word:nth-child(2) > span { animation-delay: 0.56s; }

.hero__role {
  margin: 12px 0 0;
  padding-left: 0.42em; /* compensa o tracking à direita para centralizar */
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--wine);
  animation: role-in 1.4s var(--ease-out) 0.7s both;
}

.hero__rule {
  position: relative;
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 22px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(179, 142, 93, 0), var(--gold) 50%, rgba(179, 142, 93, 0));
  transform-origin: center;
  animation: rule-in 1.2s var(--ease-out) 0.9s both;
}

.hero__rule::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff8e8 50%, transparent);
  transform: translateX(-100%);
  animation: shimmer 5s var(--ease-in-out) 2.2s infinite;
}

/* ---------- Lista de links ---------- */
.links {
  margin-top: 30px;
}

.links__list,
.group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.links__item {
  animation: rise 1s var(--ease-out) both;
}

.links__item:nth-child(1) { animation-delay: 0.55s; }
.links__item:nth-child(2) { animation-delay: 0.67s; }
.links__item:nth-child(3) { animation-delay: 0.79s; }
.links__item:nth-child(4) { animation-delay: 0.91s; }
.links__item:nth-child(5) { animation-delay: 1.03s; }
.links__item:nth-child(n + 6) { animation-delay: 1.15s; }

/* ---------- Card (link com foto) ---------- */
.card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--wine-deep);
  color: var(--on-dark);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  box-shadow:
    0 1px 2px rgba(46, 11, 17, 0.12),
    0 22px 40px -26px rgba(46, 11, 17, 0.6);
  transform: translateZ(0);
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-radius 0.3s ease;
}

.card:active {
  transform: scale(0.982);
  transition-duration: 0.15s;
}

.card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.8s var(--ease-out);
}

.card:active .card__media img {
  transform: scale(1.045);
  transition-duration: 0.6s;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow:
      0 1px 2px rgba(46, 11, 17, 0.12),
      0 30px 50px -26px rgba(46, 11, 17, 0.7);
  }
  .card:hover .card__media img {
    transform: scale(1.05);
  }
}

/* Sombra lateral para leitura do texto (lado do texto = mais escuro) */
.card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(38, 9, 14, 0.86) 0%,
      rgba(38, 9, 14, 0.66) 32%,
      rgba(38, 9, 14, 0.18) 60%,
      rgba(38, 9, 14, 0) 78%),
    linear-gradient(0deg, rgba(38, 9, 14, 0.32) 0%, rgba(38, 9, 14, 0) 55%);
}

.card--right .card__shade {
  background:
    linear-gradient(270deg,
      rgba(38, 9, 14, 0.86) 0%,
      rgba(38, 9, 14, 0.66) 32%,
      rgba(38, 9, 14, 0.18) 60%,
      rgba(38, 9, 14, 0) 78%),
    linear-gradient(0deg, rgba(38, 9, 14, 0.32) 0%, rgba(38, 9, 14, 0) 55%);
}

/* Brilho que atravessa o card uma vez após a entrada */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg,
    rgba(255, 244, 226, 0) 38%,
    rgba(255, 244, 226, 0.22) 50%,
    rgba(255, 244, 226, 0) 62%);
  transform: translateX(-130%);
  animation: sheen 1.6s var(--ease-in-out) both;
}

.links__item:nth-child(1) .card::after { animation-delay: 1.5s; }
.links__item:nth-child(2) .card::after { animation-delay: 1.68s; }
.links__item:nth-child(3) .card::after { animation-delay: 1.86s; }
.links__item:nth-child(n + 4) .card::after { animation-delay: 2.04s; }

.card__body {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 58%;
  padding: 16px 18px 17px 20px;
}

.card--right .card__body {
  left: auto;
  right: 0;
  align-items: flex-end;
  padding: 16px 20px 17px 18px;
  text-align: right;
}

.card__index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1;
  color: var(--gold-light);
}

.card__index::after {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.card--right .card__index {
  flex-direction: row-reverse;
}

.card__foot {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.card--right .card__foot {
  flex-direction: row-reverse;
}

.card__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 6.3vw, 26px);
  line-height: 1.06;
  letter-spacing: 0.002em;
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(20, 4, 7, 0.35);
}

.card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(251, 246, 239, 0.5);
  background: rgba(251, 246, 239, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.card__icon svg {
  width: 16px;
  height: 16px;
}

.card__chevron,
.card__chevron svg {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease-out);
}

/* ---------- Grupo expansível (dropdown) ---------- */
.group > summary {
  list-style: none;
}

.group > summary::-webkit-details-marker {
  display: none;
}

.group > summary::marker {
  content: '';
}

.group[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.group[open] .card__chevron {
  transform: rotate(180deg);
}

.group__panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
  box-shadow: 0 22px 40px -30px rgba(46, 11, 17, 0.45);
}

.group__list > li + li {
  border-top: 1px solid var(--line);
}

.group[open] .group__list > li {
  animation: rise-sm 0.7s var(--ease-out) both;
}

.group[open] .group__list > li:nth-child(1) { animation-delay: 0.08s; }
.group[open] .group__list > li:nth-child(2) { animation-delay: 0.16s; }
.group[open] .group__list > li:nth-child(3) { animation-delay: 0.24s; }
.group[open] .group__list > li:nth-child(n + 4) { animation-delay: 0.32s; }

.sublink {
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 12px 16px 12px 14px;
  color: var(--ink);
  text-decoration: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  transition: background-color 0.25s ease;
}

.sublink:active {
  background: var(--ivory-2);
}

.sublink__badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px rgba(220, 195, 154, 0.35);
}

.sublink__badge svg {
  width: 17px;
  height: 17px;
}

.badge-letter {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}

.sublink__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 5vw, 20px);
  line-height: 1.15;
}

.sublink__arrow {
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  transition: transform 0.4s var(--ease-out);
}

.sublink:active .sublink__arrow {
  transform: translate(3px, -3px);
}

@media (hover: hover) and (pointer: fine) {
  .sublink:hover {
    background: rgba(235, 226, 214, 0.55);
  }
  .sublink:hover .sublink__arrow {
    transform: translate(3px, -3px);
  }
}

/* Texto do item (título + dica opcional) */
.sublink__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

/* Dica "Toque para abrir no app": só aparece quando o item vem destacado (main.js, D-027) */
.sublink__hint {
  display: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.sublink.is-highlight {
  background: rgba(220, 195, 154, 0.22);
  animation: highlight 2.4s var(--ease-in-out) 0.3s 2;
}

.card.is-highlight {
  box-shadow:
    0 0 0 2px var(--gold-light),
    0 24px 44px -24px rgba(138, 104, 61, 0.8);
}

.sublink.is-highlight .sublink__hint {
  display: block;
}

.card.is-highlight .card__title::after {
  content: 'Toque para abrir no app';
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.sublink.is-highlight .sublink__arrow {
  animation: nudge 1.2s var(--ease-in-out) 0.6s 3;
}

/* ---------- Guia "abra no navegador" (<dialog>, só no navegador do Instagram/Facebook — D-027/D-028) ----------
   A ação acontece FORA da página (nos ••• do Instagram, no canto superior direito). Por isso:
   seta + círculo pulsando apontando para lá, e miniaturas da barra e do menu com o que tocar em destaque. */
.guide {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding:
    calc(env(safe-area-inset-top, 0px) + 78px)
    max(var(--gutter), env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 16px)
    max(var(--gutter), env(safe-area-inset-left, 0px));
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.guide[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide::backdrop {
  background: rgba(30, 7, 11, 0.74);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Seta no canto superior direito, onde ficam os ••• do Instagram (sem círculo: parecia um botão — D-029) */
.guide__pointer {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 6px);
  right: max(10px, env(safe-area-inset-right, 0px));
  width: 110px;
  height: 100px;
  pointer-events: none;
}

.guide__arrow {
  position: absolute;
  top: 2px;
  right: 16px;
  width: 70px;
  height: 80px;
  overflow: visible;
  animation: arrow-nudge 1.4s var(--ease-in-out) infinite;
}

.guide__arrow path {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s var(--ease-out) 0.25s forwards;
}

.guide__arrow path + path {
  animation-delay: 0.95s;
  animation-duration: 0.35s;
}

.guide__card {
  width: 100%;
  max-width: 400px;
  padding: 24px 20px 10px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  animation: guide-in 0.5s var(--ease-out) both;
}

.guide__eyebrow {
  display: block;
  padding-left: 0.28em;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: var(--wine);
}

.guide__title {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 7.4vw, 30px);
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.guide__dots {
  display: inline-block;
  padding: 0 0.28em;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--wine);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.62em;
  line-height: 1.5;
  letter-spacing: 0.06em;
  vertical-align: 0.2em;
}

.guide__lead {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.45;
  text-align: center;
  color: var(--ink-soft);
}

.guide__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.guide__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--on-dark);
  font-size: 12.5px;
  font-weight: 600;
}

.guide__demo {
  flex: 1 1 auto;
  min-width: 0;
}

.guide__caption {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.4;
}


.guide__caption strong {
  font-weight: 600;
  color: var(--wine);
}

/* Miniatura do topo da tela: o "dedo" desliza para baixo (= rolar para cima), a barra do Instagram
   desce para dentro da tela e os ••• pulsam. Loop de 3.6s (D-030). */
.mock-screen {
  position: relative;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%),
    var(--ivory-2);
}

.mock-screen .mock-bar {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  animation: bar-reveal 3.6s var(--ease-out) infinite;
}

.mock-screen__finger {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: rgba(138, 104, 61, 0.55);
  box-shadow: 0 0 0 5px rgba(138, 104, 61, 0.18);
  opacity: 0;
  animation: finger-swipe 3.6s var(--ease-in-out) infinite;
}

/* Miniatura da barra do navegador do Instagram */
.mock-bar {
  display: grid;
  grid-template-columns: 18px 1fr 38px;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  color: var(--ink-soft);
}

.mock-bar__url {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}

.mock-bar__dots {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--wine);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  animation: target-pulse 1.6s var(--ease-out) infinite;
}

/* Miniatura do menu do Instagram */
.mock-menu {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.mock-menu__item {
  padding: 9px 12px;
}

.mock-menu__item + .mock-menu__item {
  border-top: 1px solid var(--line);
}

/* Outras opções do menu: só uma barra cinza (texto real confundia — D-029) */
.mock-menu__item--blank > span {
  display: block;
  width: 42%;
  height: 7px;
  margin: 5px 0;
  border-radius: 4px;
  background: var(--ivory-2);
}

.mock-menu__item--on {
  background: rgba(220, 195, 154, 0.5);
  color: var(--wine);
  font-weight: 600;
  animation: target-pulse-bg 1.6s var(--ease-out) 0.8s infinite;
}

.guide__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.guide__link {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.guide__link:active {
  color: var(--wine);
}



/* ---------- Blocos criados pelo painel (D-042) ---------- */

/* Título de seção: caixa alta dourada entre fios */
.links__item--heading {
  margin-top: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-left: 0.34em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wine);
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(179, 142, 93, 0), var(--gold));
}

.section-title::after {
  background: linear-gradient(90deg, var(--gold), rgba(179, 142, 93, 0));
}

.section-title > span {
  flex: 0 0 auto;
}

/* Botão simples (sem foto): mesma linguagem das opções do dropdown */
.button-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 30px -26px rgba(46, 11, 17, 0.5);
}

/* Destaque: um bloco por vez, brilho dourado sutil (respeita "reduzir movimento") */
.card.is-featured {
  box-shadow:
    0 0 0 1.5px var(--gold-light),
    0 1px 2px rgba(46, 11, 17, 0.12),
    0 24px 44px -24px rgba(138, 104, 61, 0.75);
}

.card.is-featured::after {
  animation: sheen-loop 7s var(--ease-in-out) 2s infinite;
}

.button-link.is-featured {
  border-color: var(--gold-light);
  box-shadow:
    0 0 0 1px var(--gold-light),
    0 16px 34px -22px rgba(138, 104, 61, 0.7);
}

/* Ícones sociais (opcionais, abaixo da assinatura) */
.social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  animation: fade 1.2s ease 1s both;
}

.social__link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(92, 26, 36, 0.22);
  border-radius: 50%;
  color: var(--wine);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social__link:active {
  transform: scale(0.94);
  background: var(--ivory-2);
}

.social__link svg {
  width: 16px;
  height: 16px;
}

/* ---------- Rodapé ---------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  animation: fade 1.2s ease 1.2s both;
}

.footer__mark {
  display: block;
  width: 30px;
  color: var(--wine);
  opacity: 0.75;
}

.footer__text {
  margin: 0;
  padding-left: 0.3em;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 404 ---------- */
.page--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  text-align: center;
}

.notfound__mark {
  width: 56px;
}

.notfound__title {
  margin: 22px 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
}

.notfound__link {
  padding: 14px 26px;
  border: 1px solid var(--wine);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wine);
}

/* ---------- Animações ---------- */
@keyframes arch-reveal {
  from {
    -webkit-clip-path: inset(100% 0 0 0 round 50% 50% 0 0 / 40% 40% 0 0);
    clip-path: inset(100% 0 0 0 round 50% 50% 0 0 / 40% 40% 0 0);
  }
  to {
    -webkit-clip-path: inset(0 round 50% 50% 0 0 / 40% 40% 0 0);
    clip-path: inset(0 round 50% 50% 0 0 / 40% 40% 0 0);
  }
}

@keyframes hero-zoom {
  from { transform: scale(1.16); }
  to { transform: scale(1); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes seal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.7); }
  to { opacity: 1; transform: none; }
}

@keyframes word-rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}

@keyframes role-in {
  from { opacity: 0; letter-spacing: 0.7em; }
  to { opacity: 1; letter-spacing: 0.42em; }
}

@keyframes rule-in {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  35%, 100% { transform: translateX(100%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise-sm {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

@keyframes bar-reveal {
  0%, 34% { transform: translateY(-150%); opacity: 0; }
  46%, 92% { transform: none; opacity: 1; }
  100% { transform: none; opacity: 0; }
}

@keyframes finger-swipe {
  0% { transform: translateY(0); opacity: 0; }
  6% { opacity: 1; }
  30% { transform: translateY(26px); opacity: 1; }
  38%, 100% { transform: translateY(26px); opacity: 0; }
}

@keyframes guide-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes arrow-nudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(7px, -7px); }
}

@keyframes target-pulse {
  0% { box-shadow: 0 0 0 0 rgba(179, 142, 93, 0.7); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(179, 142, 93, 0); }
}

@keyframes target-pulse-bg {
  0%, 100% { background-color: rgba(220, 195, 154, 0.5); }
  50% { background-color: rgba(220, 195, 154, 0.85); }
}

@keyframes highlight {
  0%, 100% { background-color: rgba(220, 195, 154, 0.22); }
  50% { background-color: rgba(220, 195, 154, 0.5); }
}

@keyframes nudge {
  0%, 100% { transform: none; }
  50% { transform: translate(4px, -4px); }
}

@keyframes sheen-loop {
  0% { transform: translateX(-130%); }
  22%, 100% { transform: translateX(130%); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Acessibilidade: quem pede menos movimento vê o estado final direto */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__rule::after,
  .card::after,
  .mock-screen__finger {
    display: none;
  }
  /* Sem animação: a barra da miniatura fica visível (estado útil), não escondida */
  .mock-screen .mock-bar {
    animation: none !important;
  }
}
