/* ==========================================================================
   UNÂNIMES 2026 · Folha de estilo
   Para mudar as cores do site, edite apenas as variáveis em :root.
   ========================================================================== */

:root {
  /* Roxo imperial (identidade) */
  --purple-950: #1d0524;
  --purple-900: #2a0a33;
  --purple-800: #380c42;
  --purple-700: #4d1a59;

  /* Complementares */
  --lilac: #b78bc8;
  --lilac-soft: #e3d2ec;
  --ivory: #f5eadb;      /* off-white, base do site */
  --ivory-50: #fbf6ee;
  --sand: #eadcc6;       /* bege suave */
  --champagne: #d3b47c;  /* detalhes (uso moderado) */

  --ink: #27122e;
  --ink-soft: #5f4a66;
  --line: rgba(56, 12, 66, 0.16);

  --font-display: "Instrument Serif", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1320px;
  /* Margem lateral que acompanha a grade central em telas largas.
     Até ~1464px de largura é igual a --gutter; acima disso mantém o cabeçalho e o rodapé alinhados ao conteúdo. */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
em { font-style: italic; }

::selection { background: var(--purple-800); color: var(--ivory); }

/* Anel de foco do teclado: roxo sobre fundos claros, champagne sobre fundos escuros */
:focus-visible {
  outline: 2px solid var(--focus, var(--purple-700));
  outline-offset: 4px;
  border-radius: 4px;
}
.hero, .mensagem, .closing, .site-footer,
.site-header:not(.is-scrolled), .menu-open .site-header { --focus: var(--champagne); }

/* Alvos de foco por script (ex.: pular para o conteúdo) não precisam de anel */
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ivory); color: var(--purple-800);
  padding: .7rem 1rem; border-radius: 6px; text-decoration: none;
  transition: top .3s var(--ease);
}
.skip:focus { top: 1rem; }
/* Anel duplo: aparece tanto sobre o topo escuro quanto sobre o cabeçalho claro */
.skip:focus-visible { outline: 2px solid var(--ivory); outline-offset: 0; box-shadow: 0 0 0 4px var(--purple-800); }

/* ---------- Tipografia compartilhada ---------- */
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .9rem; max-width: 100%;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .55;
}

.display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  line-height: 1; letter-spacing: -0.012em;
  margin: 1.3rem 0 1.8rem;
  text-wrap: balance;
}
.display em { color: var(--purple-700); }

/* Texto muito ampliado numa tela estreita: a palavra quebra em vez de gerar rolagem lateral */
.eyebrow, .display, .lead, .btn, .hero__title, .hero__theme, .hero__quote { overflow-wrap: anywhere; }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .85rem; max-width: 100%;
  padding: 1rem 1.7rem; border-radius: 999px;
  font-family: inherit; font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--ivory); color: var(--purple-800); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn:focus-visible { outline-color: var(--champagne); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.15rem;
  padding-inline: var(--edge);
  color: var(--ivory);
  transition: color .4s, padding .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 234, 219, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled { color: var(--purple-800); padding-block: .8rem; }
.site-header.is-scrolled::before { opacity: 1; }

.brand {
  /* Logotipo: não cresce com o tamanho de texto do usuário, para o cabeçalho nunca estourar a tela */
  font-family: var(--font-display); font-size: min(1.55rem, 6.4vw); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.brand span {
  font-family: var(--font-body); font-size: .44em; letter-spacing: .24em;
  margin-left: .45em; opacity: .75; vertical-align: .25em;
}

.nav { display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem); font-size: .88rem; letter-spacing: .04em; }
.nav a { position: relative; padding-block: .35rem; text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.header-cta {
  font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-decoration: none;
  padding: .6rem 1.2rem; border: 1px solid currentColor; border-radius: 999px;
  transition: background-color .3s, color .3s;
}
.header-cta:hover { background: var(--ivory); color: var(--purple-800); border-color: var(--ivory); }
.site-header.is-scrolled .header-cta:hover { background: var(--purple-800); color: var(--ivory); border-color: var(--purple-800); }

.menu-toggle { display: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(5rem, 11vw, 10rem) var(--gutter); }
.section__inner { max-width: var(--max); margin-inline: auto; }

/* ---------- Fotografia ---------- */
.photo {
  position: relative; margin: 0; overflow: hidden; background: var(--purple-900); border-radius: 3px;
}
/* Margem extra só do tamanho que a paralaxe usa (até 4,5% da altura para cada lado):
   quanto menor a sobra, menos a foto é ampliada e mais nítida ela fica. */
.photo img {
  position: absolute; top: -5%; left: 0; width: 100%; height: 110%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  background: var(--purple-950); color: var(--ivory); overflow: hidden;
  container-type: inline-size; /* permite alinhar o texto do topo à grade central em telas largas (unidade cqw) */
  --hero-edge: max(var(--gutter), calc((100cqw - var(--max)) / 2));
}
.hero__text {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: clamp(1.1rem, 2.4vh, 1.9rem);
  padding: clamp(7rem, 16vh, 11rem) 0 clamp(2.5rem, 7vh, 4.5rem) var(--gutter);
  padding-left: max(var(--gutter), calc((100cqw - var(--max)) / 2));
}
.hero__eyebrow { color: var(--champagne); }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 9.2vw, 9.6rem);
  line-height: .86; letter-spacing: .012em; text-transform: uppercase; white-space: nowrap;
}
.hero__year {
  display: inline-block; font-family: var(--font-body); font-size: clamp(.85rem, 1.3vw, 1.15rem);
  letter-spacing: .32em; color: var(--champagne); margin-left: .5rem;
  vertical-align: top; position: relative; top: .5em;
}

.hero__theme {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 3.3rem); line-height: 1.05;
}
.hero__theme em { color: var(--champagne); }

.hero__quote {
  max-width: 28rem; padding-left: 1.2rem; border-left: 1px solid rgba(211, 180, 124, .6);
  font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.6; color: rgba(245, 234, 219, .8);
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: .6rem; }
.hero__date { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }

/* Retrato da Bispa Olga em moldura: a foto não tem sobra acima da cabeça,
   então ela fica emoldurada (e não sangrando até o topo, sob o cabeçalho).
   Um fio champagne deslocado dá profundidade sem pesar. */
.hero__media {
  z-index: 1; align-self: end; justify-self: end;
  width: min(calc(100% - var(--hero-edge)), calc((100vh - 10.5rem) * .8));
  width: min(calc(100% - var(--hero-edge)), calc((100svh - 10.5rem) * .8));
  aspect-ratio: 4 / 5;
  margin: 0 var(--hero-edge) clamp(2.5rem, 7vh, 4.5rem) 0;
  background: var(--purple-900);
  box-shadow: 14px 14px 0 -1px var(--purple-950), 14px 14px 0 0 rgba(211, 180, 124, .5);
}
/* A cabeça fica sempre inteira: a imagem parte do topo e a paralaxe só a move para cima */
.hero__media img {
  top: 0; height: 105%; object-position: 50% 0;
  transform: translate3d(0, min(0px, calc(var(--py, 0px) * -1)), 0);
}

/* ---------- 2. Sobre ---------- */
.sobre { background: var(--ivory); overflow-x: clip; } /* o ornamento em círculos nunca cria rolagem lateral */
.sobre__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: min(clamp(1rem, 3vw, 3rem), 4.5vw); align-items: start; /* 11 vãos nunca passam da tela, mesmo com texto ampliado */
}
.sobre__copy { grid-column: 1 / span 5; padding-top: clamp(0rem, 3vw, 3rem); }
.sobre__copy p + p { margin-top: 1.1rem; }
.sobre__copy p:not(.lead):not(.eyebrow) { color: var(--ink-soft); }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem;
  margin-top: 2.6rem; padding-top: 1.7rem; border-top: 1px solid var(--line);
}
.facts dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin-top: .3rem; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; color: var(--purple-800); }

/* Painel em formato largo no alto (sem sobreposição, para não cobrir nenhuma participante);
   abaixo, duas fotos em alturas desencontradas */
.collage {
  grid-column: 7 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem); align-items: start;
}
.collage__main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.collage__main img { object-position: 50% 50%; }
.collage__a { grid-column: 1 / span 7; aspect-ratio: 4 / 3; margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.collage__a img { object-position: 50% 35%; }
.collage__b { grid-column: 8 / -1; aspect-ratio: 3 / 4; }
.collage__b img { object-position: 55% 20%; }

/* ---------- 3. Mensagem ---------- */
.mensagem {
  background: var(--purple-800); color: var(--ivory); text-align: center; overflow: hidden; overflow: clip; /* clip: mantém o título da história fixo ao rolar */
  padding-block: clamp(6rem, 14vw, 13rem);
}
.mensagem .section__inner { position: relative; z-index: 1; }
.mensagem .eyebrow { color: var(--champagne); }

.mensagem__rings {
  position: absolute; right: -14vw; top: 50%; width: min(64vw, 780px); aspect-ratio: 1;
  transform: translateY(-50%); color: var(--lilac); opacity: .2; pointer-events: none;
}

.quote {
  max-width: 17em; margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1.04; letter-spacing: -.012em;
  text-wrap: balance;
}
.quote em { color: var(--champagne); }
/* Palavras ainda não "acesas": ficam legíveis (contraste mínimo 3:1 para texto grande) */
.js .quote .w { opacity: var(--dim, .4); transition: opacity .6s var(--ease); }
.js .quote em .w { --dim: .52; } /* champagne é mais escuro que o marfim, precisa de um pouco mais */
.js .quote .w.on { opacity: 1; }

.verse {
  max-width: 34rem; margin: clamp(3rem, 6vw, 5rem) auto 0; padding-top: 2rem;
  border-top: 1px solid rgba(211, 180, 124, .35);
}
.verse__text {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.4; color: var(--lilac-soft);
}
.verse__ref { margin-top: 1rem; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }

/* Como nasceu a Unânimes: título fixo à esquerda, relato em coluna de leitura à direita */
.historia__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: start; text-align: left;
}
.historia__head { position: sticky; top: 7rem; }
.historia__title {
  margin-top: 1.4rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.012em;
  text-wrap: balance; overflow-wrap: anywhere;
}
.historia__title em { color: var(--champagne); }
.historia__year {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--font-display); font-size: clamp(5.5rem, 13vw, 12rem); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(211, 180, 124, .5);
}

.historia__text { max-width: 38rem; }
.historia__text p { font-size: 1.125rem; line-height: 1.8; color: rgba(245, 234, 219, .84); }
.historia__text p + p { margin-top: 1.35rem; }
.historia__text .historia__lead {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.32; color: var(--ivory);
}
.historia__text .historia__lead + p { margin-top: 2rem; }
.historia__word { font-weight: 500; font-size: .92em; letter-spacing: .14em; color: var(--champagne); }

.historia__text .historia__identity {
  margin-block: 2.6rem; padding-block: 1.8rem 1.9rem;
  border-block: 1px solid rgba(211, 180, 124, .35);
  font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.3; color: var(--ivory);
}
.historia__identity span {
  display: block; margin-top: .55rem;
  font-size: clamp(1.75rem, 3.1vw, 2.7rem); line-height: 1.1; letter-spacing: .05em; color: var(--champagne);
}

.historia__close { max-width: 18em; margin-top: clamp(4.5rem, 10vw, 9rem); font-size: clamp(2rem, 4.8vw, 4.5rem); }

/* ---------- 4. Bispa Olga ---------- */
.olga { background: var(--sand); }
.olga__top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 7vw, 7rem); align-items: center;
}
/* Limitado ao tamanho real do arquivo (500 px) para a foto não ser esticada */
.olga__portrait { width: 100%; max-width: 500px; aspect-ratio: 4 / 5; }
.olga__portrait img { object-position: 50% 22%; }
.olga__name {
  margin: 1.2rem 0 1.5rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 8rem); line-height: .9; letter-spacing: -.02em; color: var(--purple-800);
}
.olga__name em { display: block; color: var(--purple-700); }
.olga__info .lead { max-width: 32rem; color: var(--ink); }

.olga__gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: min(clamp(1rem, 2vw, 1.75rem), 4.5vw); align-items: start;
  margin-top: clamp(3.5rem, 9vw, 8rem);
}
.olga__g1 { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.olga__g2 { grid-column: 8 / -1; aspect-ratio: 1 / 1; margin-top: clamp(2rem, 7vw, 6rem); }
.olga__g1 img { object-position: 50% 30%; }
/* Recorte quadrado que mantém os dois rostos e o gesto das mãos */
.olga__g2 img { object-position: 78% 40%; }

/* ---------- 5. Detalhes ---------- */
.detalhes { background: var(--ivory-50); overflow-x: clip; } /* a leve rotação do ingresso nunca cria rolagem lateral */

.det__label, .det__meta dt, .det__extra dt {
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}

/* Linha 1: data e horário em destaque, ingresso de inscrição ao lado */
.det__top {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line);
}
.det__date { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem clamp(1rem, 2.4vw, 2rem); font-weight: 400; }
.det__day {
  font-family: var(--font-display); font-size: clamp(8rem, 19vw, 16.5rem);
  line-height: .74; letter-spacing: -.045em; color: var(--purple-800);
}
.det__month {
  padding-bottom: .1em;
  font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1; color: var(--ink);
}
.det__month span { display: block; font-style: italic; color: var(--purple-700); }

.det__meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem clamp(2.5rem, 6vw, 5rem);
  margin-top: clamp(2rem, 3.5vw, 2.75rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.det__meta dd {
  margin-top: .45rem; font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.8vw, 3.4rem); line-height: 1; color: var(--purple-800);
}

/* Ingresso: duas partes com picote e recortes laterais. Uma cartela bege atrás dá a profundidade. */
.ticket-wrap { position: relative; justify-self: end; width: min(100%, 27rem); }
.ticket-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: var(--sand); box-shadow: inset 0 0 0 1px rgba(211, 180, 124, .6);
  transform: translate(12px, 8px) rotate(3deg);
}
.ticket {
  position: relative; transform: rotate(-2deg);
  filter: drop-shadow(0 26px 24px rgba(42, 10, 51, .2)) drop-shadow(0 6px 8px rgba(42, 10, 51, .14));
}
.ticket__part { --r: 14px; position: relative; padding: 1.5rem clamp(1.4rem, 3vw, 2rem); color: var(--ivory); }
.ticket__part--top {
  padding-top: 1.7rem; border-radius: 18px 18px 0 0;
  background: radial-gradient(120% 90% at 0 0, rgba(183, 139, 200, .2), transparent 60%), var(--purple-800);
  -webkit-mask:
    radial-gradient(circle at 0 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 0 / 51% 100% no-repeat;
          mask:
    radial-gradient(circle at 0 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 0 / 51% 100% no-repeat;
}
.ticket__part--top::after { /* picote */
  content: ""; position: absolute; bottom: 0; left: calc(var(--r) + 10px); right: calc(var(--r) + 10px);
  border-bottom: 1.5px dashed rgba(211, 180, 124, .5);
}
.ticket__part--bottom {
  padding-bottom: 1.7rem; border-radius: 0 0 18px 18px; background: var(--purple-900);
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 0 / 51% 100% no-repeat;
          mask:
    radial-gradient(circle at 0 0, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--r), #000 calc(var(--r) + .5px)) 100% 0 / 51% 100% no-repeat;
}
.ticket__title {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne);
}
.ticket__title::after { content: ""; flex: 1; height: 1px; background: rgba(211, 180, 124, .4); }

.price {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "tag value";
  align-items: center; column-gap: 1rem;
}
.price__label {
  grid-area: label; align-self: end;
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 234, 219, .78);
}
.price__value {
  grid-area: value; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(3.9rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.02em;
}
.price__value small { font-size: .32em; letter-spacing: .02em; margin-right: .14em; vertical-align: .95em; color: var(--champagne); }
.price__tag {
  grid-area: tag; align-self: start; justify-self: start; display: none; margin-top: .6rem;
  padding: .32rem .75rem; border-radius: 999px;
  font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.price.is-current .price__tag, .price.is-past .price__tag { display: inline-block; }
.price.is-current .price__tag { background: var(--champagne); color: var(--purple-950); }
/* Valor encerrado: mais discreto, ainda legível */
.price.is-past .price__value { position: relative; color: rgba(245, 234, 219, .55); }
.price.is-past .price__value::after { /* um único risco atravessando "R$ 40" */
  content: ""; position: absolute; left: -.04em; right: -.04em; top: 50%; height: 2px; background: currentColor;
}
.price.is-past .price__value small { color: inherit; }
.price.is-past .price__tag { box-shadow: inset 0 0 0 1px rgba(245, 234, 219, .45); color: rgba(245, 234, 219, .8); }

/* Linha 2: fotos do coffee break em composição + local */
.det__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: min(clamp(1rem, 3vw, 3rem), 4.5vw); align-items: start;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.det__photos { grid-column: 1 / span 7; position: relative; padding-bottom: 16%; }
.det__photo-a { width: 84%; aspect-ratio: 4 / 3; }
.det__photo-a img { object-position: 40% 60%; }
.det__photo-b {
  position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5;
  box-shadow: 0 0 0 clamp(.5rem, 1vw, .85rem) var(--ivory-50);
}
.det__photo-b img { object-position: 62% 60%; }
.det__exp {
  position: absolute; left: clamp(1rem, 3vw, 2.5rem); bottom: 2rem; z-index: 1;
  width: min(48%, 21rem); padding: 1.4rem 1.7rem 1.6rem;
  background: var(--ivory-50); border-top: 1px solid var(--champagne);
  box-shadow: 0 22px 40px -28px rgba(42, 10, 51, .45);
}
.det__exp-text {
  margin-top: .55rem; font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.02; color: var(--purple-800);
}
.det__exp-text em { display: block; color: var(--purple-700); }

.det__place { grid-column: 9 / -1; padding-top: clamp(0rem, 2vw, 1.5rem); }
.det__venue {
  margin-top: .7rem; font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: .95; letter-spacing: -.01em; color: var(--purple-800);
}
.det__address { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.3; color: var(--ink); }

.det__extra { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.det__extra > div { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.det__extra dd { margin-top: .4rem; font-family: var(--font-display); font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.25; color: var(--purple-800); }
.det__extra dd small { display: block; margin-top: .35rem; font-family: var(--font-body); font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  color: var(--purple-800); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

.phone { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.phone:hover { border-color: var(--purple-800); }

/* ---------- 6. Vestimenta ---------- */
.vestimenta { background: var(--sand); text-align: center; }
.vestimenta .display { margin-inline: auto; }
.vestimenta__sub { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

.swatches {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.7rem, 1.8vw, 1.6rem);
  max-width: 1000px; margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.swatch__chip {
  display: block; aspect-ratio: 3 / 4.4; background: var(--c);
  border-radius: 999px 999px 8px 8px;
  box-shadow: inset 0 0 0 1px rgba(56, 12, 66, .12);
}
.swatch__name { display: block; overflow-wrap: anywhere; margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.1; }

/* ---------- 7. Encerramento ---------- */
.closing {
  position: relative; overflow: hidden; text-align: center;
  background: var(--purple-900); color: var(--ivory);
  padding: clamp(6rem, 13vw, 12rem) var(--gutter) 0;
}
.closing .eyebrow { color: var(--champagne); }
.closing__quote {
  max-width: 15em; margin: 1.6rem auto 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -.012em; text-wrap: balance;
}
.closing__quote em { color: var(--champagne); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.1rem 2rem; margin-top: 3rem; }
.closing__phone {
  font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; color: var(--lilac-soft);
  border-bottom: 1px solid rgba(227, 210, 236, .35); transition: border-color .3s;
}
.closing__phone:hover { border-color: var(--lilac-soft); }
.closing__meta { margin-top: 2.4rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 234, 219, .6); }

/* Assinatura em contorno: a palavra inteira, com a largura da grade do site,
   apoiada sobre o fio do rodapé. A largura da palavra é ~3,9× o tamanho da fonte,
   então o divisor 4,05 garante folga mesmo com a barra de rolagem do Windows. */
.wordmark {
  --wm-size: min(calc((100vw - 2 * var(--gutter)) / 4.05), calc(var(--max) / 4.05));
  max-width: var(--max); margin: clamp(4rem, 9vw, 8rem) auto 0;
  padding-bottom: clamp(.75rem, 1vw, 1rem);
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap;
  font-size: var(--wm-size); line-height: .95; letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 1px rgba(211, 180, 124, .42);
  user-select: none;
}

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.4rem; padding-inline: var(--edge); background: var(--purple-900);
  font-size: .82rem; color: rgba(245, 234, 219, .6);
  position: relative;
}
/* Fio dourado que serve de "chão" para a palavra acima, alinhado à grade */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: var(--edge); right: var(--edge);
  height: 1px; background: rgba(211, 180, 124, .28);
}

/* ---------- Animações de entrada ---------- */
/* Topo da página: a entrada é só CSS e começa no primeiro desenho da tela,
   sem depender do JavaScript (o resto da página é revelado ao rolar, via main.js). */
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes clip-in { from { clip-path: inset(12% -20px -20px -20px); } }

.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js .photo[data-reveal] {
  transform: none;
  clip-path: inset(12% -20px -20px -20px);
  transition: opacity 1.1s var(--ease) var(--d, 0s), clip-path 1.3s var(--ease) var(--d, 0s);
}
.js .photo[data-reveal].is-visible { clip-path: inset(-20px); }

.js .hero [data-reveal] {
  opacity: 1; transform: none; transition: none;
  animation: rise-in 1s var(--ease) var(--d, 0s) both;
}
.js .hero .photo[data-reveal] {
  clip-path: inset(-20px);
  animation: fade-in 1.1s var(--ease) var(--d, 0s) both, clip-in 1.3s var(--ease) var(--d, 0s) both;
}

/* ---------- Tablet e celular ---------- */
/* Pontos de quebra em em (980px / 640px com a fonte padrão): acompanham quem aumenta o tamanho do texto no navegador */
@media (max-width: 61.25em) {
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem;
    padding: 5rem var(--gutter) 3rem; background: var(--purple-900); color: var(--ivory);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a {
    font-family: var(--font-display); font-size: clamp(1.9rem, 9vw, 3.4rem); line-height: 1.15; letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .header-cta { display: none; }

  .brand, .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before {
    display: block; width: 1.6rem; height: 1.5px; background: currentColor; transition: transform .4s var(--ease);
  }
  .menu-toggle__bars { position: relative; transform: translateY(-4px); }
  .menu-toggle__bars::before { content: ""; position: absolute; top: 8px; left: 0; }
  .menu-open .menu-toggle__bars { transform: rotate(45deg); }
  .menu-open .menu-toggle__bars::before { top: 0; transform: rotate(-90deg); }
  .menu-open .site-header { color: var(--ivory); }
  .menu-open .site-header::before { opacity: 0; }

  /* Hero empilhado */
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__media {
    order: -1; justify-self: start;
    width: min(calc(100% - 2 * var(--gutter) - 14px), 28rem);
    margin: 5.5rem 0 0 var(--gutter);
  }
  .hero__text { padding: 0 var(--gutter) 3.5rem; margin-top: 2.6rem; justify-content: flex-start; }
  .hero__title { font-size: clamp(3rem, 15vw, 6.4rem); white-space: normal; }
  .hero__year { display: block; margin: .9rem 0 0; top: 0; }

  .sobre__copy, .collage { grid-column: 1 / -1; }
  .collage { margin-top: 3rem; }

  .olga__top { grid-template-columns: 1fr; }
  .olga__portrait { max-width: 460px; }

  .historia__grid { grid-template-columns: minmax(0, 1fr); }
  .historia__head { position: static; }

  .det__top { grid-template-columns: minmax(0, 1fr); }
  .ticket-wrap { justify-self: start; width: min(calc(100% - 16px), 26rem); }
  .det__body { grid-template-columns: minmax(0, 1fr); }
  .det__photos, .det__place { grid-column: 1 / -1; }
  .det__place { margin-top: 3.5rem; padding-top: 0; }
}

/* Celular deitado: o menu precisa caber na altura da tela */
@media (max-width: 61.25em) and (max-height: 30em) {
  .nav { justify-content: flex-start; gap: .1rem; padding-block: 4.5rem 1.5rem; }
  .nav a { font-size: clamp(1.5rem, 8vh, 2.2rem); line-height: 1.2; }
}

@media (max-width: 40em) {
  .det__day { font-size: clamp(7rem, 34vw, 10rem); }
  .det__photo-a { width: 88%; }
  .det__photo-b { width: 46%; }
  .det__photos { padding-bottom: 36%; }
  .det__exp { position: relative; left: auto; bottom: auto; width: auto; margin-top: 1.75rem; padding: 0; background: none; border: 0; box-shadow: none; }
  .ticket__part { --r: 11px; }
  .olga__g1, .olga__g2 { grid-column: 1 / -1; }
  .olga__g2 { margin-top: 0; aspect-ratio: 4 / 3; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .photo[data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .quote .w { opacity: 1; transition: none; }
  .js .hero [data-reveal], .js .hero .photo[data-reveal] { animation: none; clip-path: none; }
  .photo img { transform: none; }
}

/* ---------- Modo de alto contraste do sistema ---------- */
@media (forced-colors: active) {
  .swatch__chip { forced-color-adjust: none; box-shadow: none; border: 1px solid CanvasText; }
}
