/* Espaço Haras Ninizo · site de exemplo (25/11/2026). Ficha do visual: ../DESIGN.md
   Cores do logo dela (escudo azul + ferradura dourada) e do haras (o branco do voal das cerimônias, a noite com o varal de luzes).
   Letras: Besley (títulos: a letra de cartaz de haras, refinada) + Cabin (texto) + Parisienne só no espelho de boas-vindas.
   Prefixos: mn menu · tp topo · nm números · am ambientes · fl filme · ev eventos · gs buffet · cf como marcar · pg perguntas ·
   fs filmes · av avaliações · vs visita · rd rodapé · br barra do celular. */

@font-face { font-family: 'Besley'; src: url('/fontes/besley-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Besley'; src: url('/fontes/besley-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Besley'; src: url('/fontes/besley-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Besley'; src: url('/fontes/besley-500-italico.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('/fontes/cabin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('/fontes/cabin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('/fontes/cabin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('/fontes/cabin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Parisienne'; src: url('/fontes/parisienne-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --voal: #F6F6F1;        /* fundo claro: o branco do voal e das cadeiras das cerimônias */
  --cal: #ECEDE4;         /* claro 2: o branco de cal da cerca */
  --linho: #D9DBCF;       /* linhas finas no claro */
  --cartao: #FCFCF8;      /* cartão no claro (nunca branco puro) */
  --azul: #173569;        /* o azul do escudo: títulos e botões */
  --azul-2: #22488B;
  --tinta: #1E2A40;       /* texto */
  --tinta-2: #4B5569;     /* texto de apoio (7:1 no voal) */
  --noite: #0B1730;       /* o céu depois do pôr do sol */
  --noite-2: #0F1E3A;
  --creme: #F1EEE4;       /* texto no escuro */
  --creme-2: #C9CDD8;     /* texto de apoio no escuro (9:1 na noite) */
  --ouro-esc: #7A4F16; --ouro: #C9932F; --ouro-meio: #E3B65C; --ouro-cla: #F2D795; /* a ferradura do logo */
  --lampada: #FFD89B;     /* a luz do varal */
  --m: clamp(20px, 5vw, 64px);
  --larg: 1240px;
  --borda: max(var(--m), calc((100% - var(--larg)) / 2));
  --sec: 136px;           /* espaço de seção (72 no celular) */
  --cab: 60px;            /* cabeçalho até o conteúdo (36 no celular) */
  --ouro-folha: linear-gradient(135deg, #F3D896 0%, #C9932F 28%, #E9C26F 52%, #A36D22 78%, #7A4F16 100%);
  --sombra: 0 28px 56px -28px rgba(11, 23, 48, .45);
  --trilho: minmax(0, .86fr) minmax(0, 1.14fr); /* o mesmo trilho de 2 colunas em todas as seções (regra 2.4) */
  --vao: clamp(40px, 6vw, 104px);
}
@media (max-width: 899px) { :root { --sec: 72px; --cab: 36px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; -webkit-tap-highlight-color: rgba(242, 215, 149, .22); }
a, button, label, summary, select, input { touch-action: manipulation; }
@media (max-width: 899px) { html { scroll-padding-bottom: 84px; } }
body { margin: 0; background: var(--voal); color: var(--tinta); font: 400 1.0625rem/1.62 'Cabin', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Besley', Georgia, 'Times New Roman', serif; font-weight: 600; color: var(--azul); margin: 0; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.15rem); line-height: 1.08; }
h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.escuro { background: var(--noite); color: var(--creme); }
.escuro h2, .escuro h3 { color: var(--creme); }
.caixa { width: 100%; padding-inline: var(--borda); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--azul); color: #fff; padding: 12px 18px; border-radius: 6px; }
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ouro-meio); outline-offset: 3px; }
.credito { display: block; font-size: .8125rem; line-height: 1.4; color: var(--tinta-2); margin-top: 6px; }
.escuro .credito { color: var(--creme-2); }

/* ---------- botões: o azul do escudo com a moldura fina de ouro (como o logo), ou a folha de ouro no escuro ---------- */
.bt { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font: 600 1rem/1.1 'Cabin', sans-serif; letter-spacing: .01em; text-decoration: none; border-radius: 6px; border: 0; cursor: pointer;
  overflow: hidden; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.bt svg { width: 20px; height: 20px; flex: none; }
.bt::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 244, 214, .5) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s ease; }
.bt:hover::after, .bt:focus-visible::after { transform: translateX(120%); }
.bt:active { transform: translateY(1px); }
.bt-principal { background: linear-gradient(180deg, #1F4483 0%, #142E5C 100%); color: #F7F2E3; box-shadow: 0 8px 18px -10px rgba(11, 23, 48, .7); }
.bt-principal::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(242, 215, 149, .62); border-radius: 4px; pointer-events: none; }
.bt-principal:hover { box-shadow: 0 12px 22px -12px rgba(11, 23, 48, .8); }
.bt-linha { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 1.5px var(--azul); }
.bt-linha:hover { background: rgba(23, 53, 105, .06); }
.bt-ouro { background: var(--ouro-folha); color: #0B1730; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 246, 218, .7); }
.bt-ouro::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(122, 79, 22, .45); border-radius: 4px; pointer-events: none; }
.bt-linha-clara { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1.5px rgba(241, 238, 228, .55); }
.bt-linha-clara:hover { background: rgba(241, 238, 228, .08); }

/* ---------- a cerca branca: dois trilhos finos, a linha que separa os blocos no site todo ---------- */
.cerca { position: relative; height: 9px; border-top: 1.5px solid var(--linho); border-bottom: 1.5px solid var(--linho); }

/* ================= MENU ================= */
.mn { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; height: 76px; padding-inline: var(--borda);
  color: var(--azul); transition: background-color .35s ease, box-shadow .35s ease, color .35s ease, height .35s ease; }
.mn.solido { background: rgba(246, 246, 241, .94); box-shadow: 0 1px 0 var(--linho); height: 68px; }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) { .mn.solido { background: rgba(246, 246, 241, .82); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); } }
/* sobre as seções escuras (a noite do haras), o menu vira vidro azul-noite com letra clara */
.mn.solido.no-escuro { background: rgba(11, 23, 48, .9); box-shadow: 0 1px 0 rgba(242, 215, 149, .22); color: var(--creme); }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) { .mn.solido.no-escuro { background: rgba(11, 23, 48, .72); } }
.mn.no-escuro .mn-acao { background: var(--ouro-folha); color: #0B1730; }
.mn-marca { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-right: auto; }
.mn-escudo { width: auto; height: 46px; filter: drop-shadow(0 2px 3px rgba(11, 23, 48, .25)); }
.mn-nome { font: 700 1.16rem/1 'Besley', serif; letter-spacing: .005em; white-space: nowrap; }
.mn-nome small { display: block; font: 600 .66rem/1 'Cabin', sans-serif; letter-spacing: .32em; margin-bottom: 5px; color: inherit; opacity: .8; }
.mn-links { display: flex; gap: 26px; }
.mn-links a { font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; position: relative; }
.mn-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.mn-links a:hover::after, .mn-links a:focus-visible::after { transform: scaleX(1); }
.mn-acao { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 6px; background: var(--azul); color: #F7F2E3; font-weight: 600; text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.mn.depois-topo .mn-acao { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
.mn-abrir { display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 6px; border: 0; background: none; color: inherit; font: 600 1rem 'Cabin', sans-serif; cursor: pointer; }
.mn-tracos { position: relative; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.mn-tracos::before, .mn-tracos::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease; }
.mn-tracos::before { top: -7px; } .mn-tracos::after { top: 7px; }
.mn-abrir[aria-expanded="true"] .mn-tracos { background: transparent; }
.mn-abrir[aria-expanded="true"] .mn-tracos::before { transform: translateY(7px) rotate(45deg); }
.mn-abrir[aria-expanded="true"] .mn-tracos::after { transform: translateY(-7px) rotate(-45deg); }
.mn-gaveta { overscroll-behavior: contain; position: absolute; top: 100%; left: 0; right: 0; background: var(--voal); box-shadow: 0 18px 30px -18px rgba(11, 23, 48, .45); padding: 8px var(--borda) 22px; display: grid; }
.mn-gaveta a { color: var(--azul); text-decoration: none; font: 600 1.2rem/1 'Besley', serif; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--linho); }
.mn-gaveta .mn-gaveta-acao { margin-top: 14px; border: 0; justify-content: center; background: var(--azul); color: #F7F2E3; border-radius: 6px; font: 600 1.05rem 'Cabin', sans-serif; }
@media (max-width: 1099px) { .mn-links { display: none; } .mn-abrir { display: inline-flex; } .mn-acao { display: none; } }
@media (max-width: 899px) {
  .mn:not(.solido) { color: #F7F2E3; }
  .mn:not(.solido) .mn-escudo { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
  .mn:not(.solido) .mn-nome, .mn:not(.solido) .mn-abrir { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
  .mn-escudo { height: 40px; }
  .mn-nome { font-size: 1.04rem; }
}
@media (max-width: 359px) { .mn-nome small { display: none; } .mn-abrir-txt { display: none; } }

/* ================= TOPO ================= */
.tp { position: relative; }
.tp-quadro { position: relative; overflow: hidden; background: #2b3f2c; }
.tp-poster img, .tp-video { width: 100%; height: 100%; object-fit: cover; }
.tp-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.tp-video.tocando { opacity: 1; }
.pausa { position: absolute; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(11, 23, 48, .55); color: #F7F2E3; box-shadow: inset 0 0 0 1px rgba(242, 215, 149, .5); }
.pausa svg { width: 18px; height: 18px; }
.tp-pausa { left: 16px; bottom: 16px; }
.tp-onde { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; letter-spacing: .01em; }
.tp-onde::before { content: ''; width: 26px; height: 9px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .7; }
.tp h1 { font-size: clamp(2.45rem, 1.3rem + 4vw, 4.5rem); line-height: 1.03; letter-spacing: -.02em; margin-top: 16px; }
.tp-sub { margin-top: 20px; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); max-width: 34em; }
.tp-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tp-passos { list-style: none; margin: 40px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 30px; border-top: 1px solid var(--linho); font-weight: 600; color: var(--tinta-2); }
.tp-passos li { display: flex; align-items: center; gap: 9px; animation: tp-passo 7.5s ease-in-out infinite; }
.tp-passos li:nth-child(2) { animation-delay: 2.5s; } .tp-passos li:nth-child(3) { animation-delay: 5s; }
.tp-passos svg { width: 18px; height: 18px; flex: none; }
@keyframes tp-passo { 0%, 40%, 100% { color: var(--tinta-2); } 8%, 30% { color: var(--azul); } }
.tp-roseta { --rs: 104px; position: absolute; z-index: 4; }
.tp-casal { margin: 0; }

@media (min-width: 900px) {
  .tp { --ph: min(76vh, 700px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: clamp(32px, 4vw, 72px);
    min-height: min(100vh, 920px); padding: 112px var(--borda) 64px; }
  .tp-texto { grid-column: 1; grid-row: 1; max-width: 600px; }
  .tp-midia { grid-column: 2; grid-row: 1; position: relative; height: var(--ph); }
  .tp-quadro { height: 100%; width: calc(var(--ph) * .5625); border-radius: 4px; box-shadow: var(--sombra); }
  .tp-quadro::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(242, 215, 149, .75); border-radius: 2px; pointer-events: none; z-index: 2; }
  .tp-poster, .tp-poster img { height: 100%; }
  .tp-casal { position: absolute; z-index: 3; left: calc(var(--ph) * .5625 - 48px); bottom: 7%; width: min(36%, 250px); background: var(--cartao); padding: 9px 9px 0; box-shadow: var(--sombra); border-radius: 2px; }
  .tp-casal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .tp-casal figcaption { font-size: .78rem; color: var(--tinta-2); padding: 7px 2px 9px; }
  .tp-roseta { top: 9%; left: calc(var(--ph) * .5625 - 58px); }
}
/* notebook baixo (1280 x 720, 1366 x 768): tudo da 1ª tela cabe, inclusive os 3 passos */
@media (min-width: 900px) and (max-height: 800px) {
  .tp { padding-top: 92px; padding-bottom: 28px; }
  .tp h1 { font-size: clamp(2.4rem, .9rem + 3.4vw, 3.7rem); margin-top: 12px; }
  .tp-sub { margin-top: 16px; font-size: 1.05rem; }
  .tp-botoes { margin-top: 24px; }
  .tp-passos { margin-top: 24px; padding-top: 16px; }
}
@media (max-width: 899px) {
  .tp { min-height: 100vh; min-height: 100svh; display: grid; color: #F7F2E3; background: var(--noite); }
  .tp-midia { position: absolute; inset: 0; }
  .tp-quadro { position: absolute; inset: 0; }
  .tp-poster { position: absolute; inset: 0; }
  .tp-quadro::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(8, 16, 34, .92) 0%, rgba(8, 16, 34, .74) 30%, rgba(8, 16, 34, .2) 56%, rgba(8, 16, 34, 0) 66%),
                linear-gradient(to bottom, rgba(8, 16, 34, .5) 0%, rgba(8, 16, 34, 0) 20%); }
  .tp-casal, .tp-passos { display: none; }
  .tp-roseta { --rs: 84px; right: 18px; top: 96px; }
  .tp-texto { position: relative; z-index: 3; align-self: end; padding: 120px var(--borda) calc(96px + env(safe-area-inset-bottom)); }
  .tp h1, .tp-onde { color: #FFF8EA; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
  .tp-sub { color: #E8E4D8; font-size: 1.02rem; }
  .tp-botoes { margin-top: 26px; }
  .tp .bt-linha { color: #F7F2E3; box-shadow: inset 0 0 0 1.5px rgba(247, 242, 227, .7); }
  .tp-pausa { top: 92px; right: auto; left: 16px; bottom: auto; }
}
@media (max-width: 899px) and (max-height: 640px) { .tp-sub { display: none; } }

/* ---------- roseta de premiação (de haras): fitas, plissado de cetim azul e o centro de ouro ---------- */
.roseta { width: var(--rs, 96px); height: var(--rs, 96px); display: grid; place-items: center; text-decoration: none; isolation: isolate; }
.roseta-plissado { position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 46%),
              repeating-conic-gradient(from 0deg, #234A8C 0deg 5deg, #132C5C 5deg 10deg);
  clip-path: polygon(50% 0%, 55.2% 4.4%, 61% 1%, 65.2% 6.3%, 71.6% 4%, 74.6% 10.1%, 81.3% 9%, 82.9% 15.6%, 89.6% 15.8%, 89.7% 22.6%, 96% 24.4%, 94.4% 31%, 99.9% 34.3%, 96.9% 40.4%, 101.4% 44.9%, 97.1% 50%, 101.4% 55.1%, 96.9% 59.6%, 99.9% 65.7%, 94.4% 69%, 96% 75.6%, 89.7% 77.4%, 89.6% 84.2%, 82.9% 84.4%, 81.3% 91%, 74.6% 89.9%, 71.6% 96%, 65.2% 93.7%, 61% 99%, 55.2% 95.6%, 50% 100%, 44.8% 95.6%, 39% 99%, 34.8% 93.7%, 28.4% 96%, 25.4% 89.9%, 18.7% 91%, 17.1% 84.4%, 10.4% 84.2%, 10.3% 77.4%, 4% 75.6%, 5.6% 69%, .1% 65.7%, 3.1% 59.6%, -1.4% 55.1%, 2.9% 50%, -1.4% 44.9%, 3.1% 40.4%, .1% 34.3%, 5.6% 31%, 4% 24.4%, 10.3% 22.6%, 10.4% 15.8%, 17.1% 15.6%, 18.7% 9%, 25.4% 10.1%, 28.4% 4%, 34.8% 6.3%, 39% 1%, 44.8% 4.4%);
  filter: drop-shadow(0 6px 10px rgba(11, 23, 48, .35)); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.roseta-plissado::after { content: ''; position: absolute; inset: 15%; border-radius: 50%; background: var(--ouro-folha); }
.roseta-centro { position: relative; z-index: 2; width: 62%; height: 62%; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #0B1730;
  background: radial-gradient(circle at 36% 30%, #FFF4D2 0%, #EBC676 30%, #C9932F 62%, #8C5E1E 100%); box-shadow: inset 0 0 0 2px rgba(122, 79, 22, .55), inset 0 -3px 6px rgba(122, 79, 22, .45); }
.roseta-centro b { font: 700 calc(var(--rs, 96px) * .25)/1 'Besley', serif; letter-spacing: -.02em; }
.roseta-centro small { font: 700 max(11px, calc(var(--rs, 96px) * .08))/1.1 'Cabin', sans-serif; margin: 3px auto 0; letter-spacing: .01em; max-width: calc(var(--rs, 96px) * .44); text-wrap: balance; }
.roseta-fitas { position: absolute; z-index: 0; left: 50%; top: 52%; width: 0; height: 0; }
.roseta-fitas i { position: absolute; top: 0; width: calc(var(--rs, 96px) * .3); height: calc(var(--rs, 96px) * .78); transform-origin: 50% 0;
  background: linear-gradient(90deg, #C9932F 0 7%, #1D3F7C 7% 93%, #C9932F 93%), linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(0, 0, 0, .18));
  background-blend-mode: normal, soft-light; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.roseta-fitas i:first-child { right: -2px; transform: rotate(14deg); }
.roseta-fitas i:last-child { left: -2px; transform: rotate(-14deg); }
.roseta:hover .roseta-fitas i:first-child, .roseta:focus-visible .roseta-fitas i:first-child { transform: rotate(15.2deg); }
.roseta:hover .roseta-fitas i:last-child, .roseta:focus-visible .roseta-fitas i:last-child { transform: rotate(-15.2deg); }
.roseta:hover .roseta-plissado, .roseta:focus-visible .roseta-plissado { transform: rotate(4deg); }

/* ================= NÚMEROS + AMBIENTES ================= */
.am { padding: 0 0 var(--sec); }
.nm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 56px; padding-bottom: 56px; position: relative; }
.nm::before { content: ''; position: absolute; left: var(--borda); right: var(--borda); top: 0; height: 9px; border-top: 1.5px solid var(--linho); border-bottom: 1.5px solid var(--linho); }
.nm-item { display: grid; gap: 6px; padding-right: 24px; position: relative; }
.nm-item + .nm-item { padding-left: 28px; }
.nm-item + .nm-item::before { content: ''; position: absolute; left: 0; top: -56px; width: 6px; height: calc(100% + 56px); background: linear-gradient(90deg, var(--linho), #E9EAE1); border-radius: 0 0 2px 2px; }
.nm-item strong { font: 600 clamp(2.1rem, 1.5rem + 1.6vw, 2.9rem)/1 'Besley', serif; color: var(--azul); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.nm-item span { color: var(--tinta-2); font-size: 1rem; max-width: 22ch; }
@media (max-width: 699px) {
  .nm { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; padding-bottom: 8px; }
  .nm-item { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--linho); }
  .nm-item + .nm-item { padding-left: 0; }
  .nm-item + .nm-item::before { display: none; }
  .nm-item strong { min-width: 4.3ch; }
}
.am-cab { display: grid; grid-template-columns: var(--trilho); gap: 32px var(--vao); align-items: end; margin-top: 64px; }
.am-cab h2 { max-width: 13ch; }
.am-intro { display: grid; gap: 24px; }
.am-cita { margin: 0; padding-left: 20px; border-left: 3px solid var(--ouro); }
.am-cita p { font: 500 italic 1.16rem/1.5 'Besley', serif; color: var(--azul); }
.am-cita cite { display: block; margin-top: 8px; font-style: normal; font-size: .9rem; color: var(--tinta-2); }
/* 3 colunas desencontradas, como um caminho pelo jardim (a do meio desce mais) */
.am-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: var(--cab); }
.am-col { display: grid; gap: 52px; align-content: start; }
.am-col-b { padding-top: 150px; }
.am-col-c { padding-top: 64px; }
@media (min-width: 900px) and (max-width: 1199px) {
  .am-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-col-c { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); padding-top: 52px; }
}
.am-item { margin: 0; }
.am-foto { overflow: hidden; border-radius: 3px; background: var(--cal); }
.am-foto img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.am-largo .am-foto img { aspect-ratio: 4 / 3; }
.am-item:hover .am-foto img { transform: scale(1.035); }
.am-item figcaption { display: grid; gap: 6px; padding-top: 18px; position: relative; }
.am-item figcaption::before { content: ''; display: block; width: 54px; height: 7px; border-top: 1.5px solid var(--ouro); border-bottom: 1.5px solid var(--ouro); margin-bottom: 8px; }
.am-nome { font: 600 1.42rem/1.2 'Besley', serif; color: var(--azul); }
.am-txt { max-width: 38ch; }
@media (max-width: 899px) {
  .am-cab { grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: 48px; }
  .am-grade { grid-template-columns: minmax(0, 1fr); }
  .am-col { gap: 44px; }
  .am-col-b, .am-col-c { padding-top: 44px; }
}

/* ================= O FILME QUE ANDA COM A ROLAGEM (momento principal) ================= */
.fl { position: relative; }
.fl-cab { padding-top: var(--sec); display: grid; gap: 20px; max-width: calc(var(--larg) + 2 * var(--borda)); }
.fl-cab h2 { color: var(--ouro-cla); max-width: 16ch; }
.fl-cab p { color: var(--creme-2); max-width: 46ch; }
.fl-trilho { position: relative; margin-top: var(--cab); }
.js .fl-trilho { height: calc(var(--cenas, 6) * 92vh + 100vh); }
.fl-palco { position: relative; }
.js .fl-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fl-quadro { position: relative; overflow: hidden; background: #111a12; }
.fl-primeiro img, .fl-tela { width: 100%; height: 100%; object-fit: cover; }
.fl-tela { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.fl-tela.pronta { opacity: 1; }
.fl-barra { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(241, 238, 228, .18); }
.fl-barra span { display: block; height: 100%; width: 100%; background: var(--ouro-folha); transform: scaleX(0); transform-origin: left; }
.fl-frases { list-style: none; margin: 0; padding: 0; }
.fl-frases li { font: 600 clamp(1.7rem, 1rem + 2.4vw, 3rem)/1.14 'Besley', serif; color: var(--creme); letter-spacing: -.01em; text-wrap: balance; }
.js .fl-frases li { position: absolute; opacity: 0; }
.fl-fim { padding-top: 40px; padding-bottom: var(--sec); display: grid; justify-items: start; gap: 22px; }
.fl-sempre { font: 600 clamp(1.9rem, 1.1rem + 2.6vw, 3.2rem)/1.15 'Besley', serif; max-width: 20ch; }
.fl-passam { display: inline-block; color: var(--creme-2); }
.fl-ficam { display: inline; color: var(--ouro-cla); padding-bottom: 3px; background: linear-gradient(var(--ouro-meio), var(--ouro-meio)) 0 100% / 0% 2px no-repeat; }
.sem-js .fl-ficam { background-size: 100% 2px; }
.fl-credito { color: var(--creme-2); font-size: .9rem; max-width: 52ch; }
@media (min-width: 900px) {
  .js .fl-palco { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .38fr); align-items: center; gap: clamp(32px, 5vw, 88px); padding: 68px var(--borda) 0; }
  .fl-quadro { grid-column: 2; height: min(calc(100vh - 120px), 800px); aspect-ratio: 9 / 16; border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
  .fl-quadro::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(242, 215, 149, .7); border-radius: 2px; pointer-events: none; z-index: 2; }
  .js .fl-frases { grid-column: 1; grid-row: 1; position: relative; align-self: stretch; }
  .js .fl-frases li { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: right; }
  .sem-js .fl-palco { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-inline: var(--borda); }
  .sem-js .fl-quadro { height: 640px; }
  .sem-js .fl-frases { display: grid; gap: 12px; align-content: center; }
}
@media (max-width: 899px) {
  .fl-quadro { height: 100%; }
  .js .fl-quadro { position: absolute; inset: 0; }
  .js .fl-quadro::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(8, 16, 34, .92) 0%, rgba(8, 16, 34, .6) 30%, rgba(8, 16, 34, 0) 52%); }
  .js .fl-frases li { z-index: 4; left: var(--m); right: var(--m); bottom: calc(92px + env(safe-area-inset-bottom)); font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.2rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
  .sem-js .fl-quadro { aspect-ratio: 9 / 16; max-height: 80vh; margin-inline: auto; }
  .sem-js .fl-frases { display: grid; gap: 10px; padding: 28px var(--m) 0; }
  .fl-barra { bottom: calc(76px + env(safe-area-inset-bottom)); left: var(--m); right: var(--m); z-index: 4; }
}

/* ================= EVENTOS ================= */
.ev { padding: var(--sec) 0; }
.ev-cab { display: grid; gap: 20px; }
.ev-cab p { max-width: 52ch; color: var(--tinta-2); }
.ev-lista { margin-top: var(--cab); }
.ev-item { margin: 0; }
.ev-txt { position: relative; padding: 30px 0 30px; display: grid; gap: 10px; justify-items: start; border-top: 1px solid var(--linho); }
.ev-txt h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); transition: color .3s ease; }
.ev-txt p { max-width: 44ch; }
.ev-acao { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 4px; font-weight: 600; color: var(--azul); text-decoration: none; border-bottom: 1.5px solid rgba(23, 53, 105, .28); transition: border-color .3s ease; }
.ev-acao svg { width: 20px; height: 20px; }
.ev-acao:hover, .ev-acao:focus-visible { border-color: var(--azul); }
.ev-foto { display: block; overflow: hidden; border-radius: 3px; background: var(--cal); }
.ev-foto img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .ev-lista { display: grid; grid-template-columns: var(--trilho); grid-auto-rows: auto; column-gap: var(--vao); align-items: start; }
  .ev-item { display: contents; }
  .ev-txt { grid-column: 1; padding-left: 40px; }
  .ev-txt::before { content: ''; position: absolute; left: 0; top: 41px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9932F' fill-rule='evenodd' d='M3.4 2.6h4.7c-.4 6.4.8 10.6 3.9 10.6s4.3-4.2 3.9-10.6h4.7c.6 9.4-2.6 17.2-8.6 17.2S2.8 12 3.4 2.6zM5.2 5.8h1.5v2.3H5.2zm.4 4.5h1.5v2.3H5.6zm11.7-4.5h1.5v2.3h-1.5zm-.4 4.5h1.5v2.3h-1.5z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .25; transition: opacity .3s ease, transform .3s ease; }
  .ev-item.ativo .ev-txt::before { opacity: 1; transform: translateY(2px); }
  .ev-item:not(.ativo) .ev-txt h3 { color: var(--tinta-2); }
  .ev-foto { grid-column: 2; grid-row: 1 / span 5; position: sticky; top: 110px; aspect-ratio: 4 / 5; height: min(calc(100vh - 150px), 720px); width: auto; max-width: 100%; justify-self: end; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
  .ev-item.ativo .ev-foto { opacity: 1; }
  .ev-foto img { transform: scale(1.03); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
  .ev-item.ativo .ev-foto img { transform: none; }
}
@media (max-width: 899px) {
  .ev-item + .ev-item { margin-top: 40px; }
  .ev-foto { aspect-ratio: 16 / 11; }
  .ev-txt { border-top: 0; padding: 18px 0 0; }
}

/* ================= BUFFET ================= */
.gs { padding: var(--sec) 0; background: linear-gradient(180deg, var(--noite) 0%, #101C35 100%); }
.gs-grade { display: grid; grid-template-columns: var(--trilho); gap: var(--vao); align-items: center; }
.gs-fotos { position: relative; padding-bottom: 18%; }
.gs-fotos figure { margin: 0; overflow: hidden; border-radius: 3px; }
.gs-mesa { width: 90%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.gs-mesa img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gs-buffet { position: absolute; right: 0; bottom: 0; width: 42%; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), 0 0 0 6px var(--noite); }
.gs-buffet img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* a plaquinha do buffet: como as plaquinhas pretas que aparecem nos réchauds do vídeo do haras */
.gs-plaquinha { position: absolute; z-index: 3; left: 4%; bottom: 2%; perspective: 600px; }
.gs-pq-frente { display: grid; gap: 4px; min-width: 190px; padding: 16px 20px 14px; text-align: center; border-radius: 3px; transform: rotateX(10deg); transform-origin: 50% 100%;
  background: linear-gradient(180deg, #1b1b1d 0%, #0d0d0f 100%); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(242, 215, 149, .35), inset 0 0 0 5px #121214, inset 0 0 0 6px rgba(242, 215, 149, .5);
  font: 600 1.12rem/1.15 'Besley', serif; color: var(--ouro-cla); }
.gs-pq-frente small { font: 600 .74rem/1 'Cabin', sans-serif; letter-spacing: .22em; color: #D9C08A; }
.gs-pq-frente::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -10px; height: 10px; background: linear-gradient(180deg, #050506, #1a1a1c); transform: rotateX(-60deg); transform-origin: top; border-radius: 0 0 3px 3px; }
.gs-texto { display: grid; gap: 20px; justify-items: start; }
.gs-texto h2 { color: var(--ouro-cla); }
.gs-texto p { color: var(--creme); max-width: 44ch; }
.gs-texto .bt { margin-top: 12px; }
.gs-cred { font-size: .85rem; color: var(--creme-2) !important; }
@media (max-width: 899px) {
  .gs-grade { grid-template-columns: minmax(0, 1fr); }
  .gs-fotos { padding-bottom: 30%; }
  .gs-buffet { width: 46%; }
  .gs-pq-frente { min-width: 158px; padding: 12px 14px 11px; font-size: 1rem; }
}

/* ================= COMO MARCAR (a ferradura com os cravos) ================= */
.cf { padding: var(--sec) 0; }
.cf-grade { display: grid; grid-template-columns: var(--trilho); gap: var(--vao); align-items: start; }
.cf-ferradura { position: sticky; top: 120px; display: grid; justify-items: center; gap: 18px; }
.cf-svg { width: min(100%, 330px); height: auto; overflow: visible; }
.cf-furos rect { fill: #4A2F0B; opacity: .85; }
.cf-cravos > g { opacity: 0; transition: opacity .25s ease; }
.cf-cravos > g.cravado, .sem-js .cf-cravos > g { opacity: 1; }
.cf-cravos rect { fill: url(#cf-cabeca); stroke: #5C3B0F; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.cf-luz { fill: #FFF6DA; opacity: .75; }
.cf-cravos > g.cravado rect { animation: cf-crava .5s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes cf-crava { from { transform: scale(1.7); } to { transform: none; } }
.cf-brilho { fill: #FFF6DA; opacity: 0; transform-box: fill-box; transform-origin: center; }
.cf-cravos > g.cravado .cf-brilho { animation: cf-brilha 1.1s ease-out .3s both; }
@keyframes cf-brilha { 0% { opacity: 0; transform: scale(.3) rotate(0deg); } 35% { opacity: 1; transform: scale(1.1) rotate(25deg); } 100% { opacity: 0; transform: scale(.6) rotate(60deg); } }
.cf-sorte { font-size: .9rem; color: var(--tinta-2); text-align: center; max-width: 26ch; }
.cf-texto h2 { max-width: 14ch; }
.cf-passos { list-style: none; margin: var(--cab) 0 0; padding: 0; display: grid; }
.cf-passo { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; row-gap: 6px; padding: 30px 0; border-top: 1px solid var(--linho); }
.cf-passo:last-child { border-bottom: 1px solid var(--linho); }
.cf-num { grid-row: 1 / span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font: 700 1.2rem/1 'Besley', serif; color: var(--tinta-2);
  background: var(--cal); box-shadow: inset 0 0 0 1.5px var(--linho); transition: background .5s ease, color .5s ease, box-shadow .5s ease; }
.cf-passo.aceso .cf-num { background: radial-gradient(circle at 36% 30%, #FFF4D2 0%, #E7BE69 32%, #C9932F 62%, #8C5E1E 100%); color: #0B1730; box-shadow: inset 0 0 0 1.5px rgba(92, 59, 15, .6), 0 4px 10px -4px rgba(92, 59, 15, .6); }
.cf-passo h3 { transition: color .4s ease; }
.cf-passo:not(.aceso) h3 { color: var(--tinta-2); }
.cf-passo p { max-width: 46ch; }
@media (max-width: 899px) {
  .cf-grade { grid-template-columns: minmax(0, 1fr); }
  .cf-ferradura { position: static; order: 2; margin-top: 12px; }
  .cf-svg { width: 200px; }
}

/* perguntas */
.pg { margin-top: var(--sec); display: grid; grid-template-columns: var(--trilho); gap: 32px var(--vao); }
.pg-titulo { max-width: 12ch; }
.pg-lista details { border-top: 1px solid var(--linho); }
.pg-lista details:last-child { border-bottom: 1px solid var(--linho); }
.pg-lista summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; align-items: center; min-height: 64px; padding: 14px 0;
  font: 600 1.16rem/1.3 'Besley', serif; color: var(--azul); }
.pg-lista summary::-webkit-details-marker { display: none; }
.pg-lista summary::after { content: ''; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9932F' fill-rule='evenodd' d='M3.4 2.6h4.7c-.4 6.4.8 10.6 3.9 10.6s4.3-4.2 3.9-10.6h4.7c.6 9.4-2.6 17.2-8.6 17.2S2.8 12 3.4 2.6zM5.2 5.8h1.5v2.3H5.2zm.4 4.5h1.5v2.3H5.6zm11.7-4.5h1.5v2.3h-1.5zm-.4 4.5h1.5v2.3h-1.5z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .35s ease; }
.pg-lista details[open] summary::after { transform: rotate(180deg); }
.pg-lista details p { padding: 0 34px 22px 0; max-width: 56ch; }
@media (max-width: 899px) { .pg { grid-template-columns: minmax(0, 1fr); } }

/* ================= FILMES ================= */
.fs { padding: var(--sec) 0; background: var(--noite-2); }
.fs-cab { display: grid; gap: 16px; }
.fs-cab h2 { color: var(--ouro-cla); }
.fs-cab p { color: var(--creme-2); }
.fs-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin-top: var(--cab); }
.fs-item { margin: 0; }
.fs-tela { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; border-radius: 4px; overflow: hidden; aspect-ratio: 9 / 16; }
.fs-tela img, .fs-tela video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-tela video { opacity: 0; transition: opacity .6s ease; }
.fs-tela.tocando video { opacity: 1; }
.fs-tela::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(242, 215, 149, .55); border-radius: 2px; pointer-events: none; }
.fs-sinal { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(11, 23, 48, .55); box-shadow: inset 0 0 0 1.5px rgba(242, 215, 149, .8); color: var(--ouro-cla); transition: opacity .4s ease, transform .4s ease; }
.fs-sinal svg { width: 24px; height: 24px; margin-left: 3px; }
.fs-tela.tocando .fs-sinal { opacity: 0; transform: scale(.85); }
.fs-tela:hover .fs-sinal { transform: scale(1.06); }
.fs-item figcaption { display: grid; gap: 2px; padding-top: 14px; }
.fs-nome { font: 600 1.2rem/1.2 'Besley', serif; color: var(--creme); }
@media (max-width: 899px) {
  .fs-grade { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .fs-item { scroll-snap-align: start; }
}

/* ================= AVALIAÇÕES ================= */
.av { padding: var(--sec) 0; }
.av-grade { display: grid; grid-template-columns: var(--trilho); gap: 40px var(--vao); align-items: start; }
.av-cab { position: sticky; top: 120px; display: grid; gap: 20px; justify-items: start; }
.av-cab p { color: var(--tinta-2); max-width: 34ch; }
.roseta-grande { --rs: 170px; position: relative; margin-bottom: 56px; }
.roseta-grande .roseta-centro b { font-size: calc(var(--rs) * .2); } /* o 4,7 cabe no alto do círculo de ouro, com folga (conferência de perto, 25/11) */
.av-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.av-item { position: relative; padding: 26px 28px 24px 92px; background: var(--cartao); border: 1px solid var(--linho); border-radius: 4px; }
.av-item blockquote { margin: 0; }
.av-item p { font-size: 1.03rem; }
.av-item footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 14px; }
.av-item cite { font: 600 1.05rem/1.2 'Besley', serif; font-style: normal; color: var(--azul); }
.av-item footer span { font-size: .88rem; color: var(--tinta-2); }
/* medalha: a roseta pequena com 2 fitas, presa no canto do cartão */
.av-medalha { position: absolute; left: 22px; top: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #FFF4D2 0%, #EBC676 24%, #C9932F 46%, transparent 47%), repeating-conic-gradient(#234A8C 0 9deg, #132C5C 9deg 18deg);
  box-shadow: 0 4px 8px rgba(11, 23, 48, .25); }
.av-medalha::before, .av-medalha::after { content: ''; position: absolute; top: 34px; width: 13px; height: 30px; z-index: -1; transform-origin: 50% 0; transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  background: linear-gradient(90deg, #C9932F 0 10%, #1D3F7C 10% 90%, #C9932F 90%); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.av-medalha::before { left: 10px; transform: rotate(12deg); }
.av-medalha::after { right: 10px; transform: rotate(-12deg); }
.av-item:hover .av-medalha::before { transform: rotate(13deg); }
.av-item:hover .av-medalha::after { transform: rotate(-13deg); }
.av-item:nth-child(even) .av-medalha { background: radial-gradient(circle at 36% 30%, #FFF4D2 0%, #EBC676 24%, #C9932F 46%, transparent 47%), repeating-conic-gradient(#2F5338 0 9deg, #1F3B27 9deg 18deg); }
.av-item:nth-child(even) .av-medalha::before, .av-item:nth-child(even) .av-medalha::after { background: linear-gradient(90deg, #C9932F 0 10%, #2C5034 10% 90%, #C9932F 90%); }
.av-todas { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--azul); text-decoration: none; border-bottom: 1.5px solid rgba(23, 53, 105, .3); }
.av-todas:hover { border-color: var(--azul); }
@media (max-width: 899px) {
  .av-grade { grid-template-columns: minmax(0, 1fr); }
  .av-cab { position: static; }
  .roseta-grande { --rs: 132px; margin-bottom: 44px; }
  .av-item { padding: 22px 20px 20px 80px; }
  .av-medalha { left: 18px; width: 42px; height: 42px; }
  .av-todas { grid-column: 1; }
}

/* ================= AGENDAR A VISITA (o espelho de boas-vindas) ================= */
.vs { position: relative; padding: var(--sec) 0; overflow: clip; background: radial-gradient(120% 80% at 20% 0%, #13274B 0%, var(--noite) 60%); }
.vs-luzes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s ease;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, .3) 54%, rgba(0, 0, 0, .3) 100%); mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, .3) 54%, rgba(0, 0, 0, .3) 100%); }
@media (max-width: 899px) { .vs-luzes { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 36%, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .3) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 36%, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .3) 100%); } }
.vs-luzes.acesas { opacity: 1; }
.vs-pausa { right: var(--borda); top: 24px; }
.vs-grade { position: relative; z-index: 1; display: grid; grid-template-columns: var(--trilho); gap: var(--vao); align-items: center; }
.vs-espelho { position: relative; display: grid; justify-items: center; padding-bottom: 46px; }
.vs-moldura { position: relative; width: min(100%, 360px); aspect-ratio: 3 / 5; padding: 12px; border-radius: 180px 180px 8px 8px / 150px 150px 8px 8px;
  background: var(--ouro-folha); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 246, 218, .6), inset 0 0 0 5px rgba(122, 79, 22, .35); }
.vs-vidro { position: relative; height: 100%; overflow: hidden; border-radius: 170px 170px 3px 3px / 140px 140px 3px 3px; background: #6f7d73; isolation: isolate; }
.vs-reflexo { position: absolute; inset: 0; background-image: url('/img/espelho-reflexo.webp'); background-image: image-set(url('/img/espelho-reflexo.avif') type('image/avif'), url('/img/espelho-reflexo.webp') type('image/webp'));
  background-size: cover; background-position: center; opacity: .9; }
.vs-vidro::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, .02) 60%, rgba(255, 255, 255, .2) 100%), rgba(16, 28, 48, .28); }
.vs-brilho { position: absolute; z-index: 2; inset: -20% -60%; background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%); transform: translateX(-60%); animation: vs-brilho 9s ease-in-out infinite; }
.vs.quieto .vs-brilho { animation-play-state: paused; }
@keyframes vs-brilho { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.vs-escrita { position: absolute; z-index: 3; inset: 18% 10% 12%; margin: 0; display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; color: #FFFDF6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 18px rgba(0, 0, 0, .25); }
.vs-bem { font: 400 clamp(2.4rem, 1.6rem + 2.2vw, 3.3rem)/1.1 'Parisienne', cursive; }
.vs-ao { font: 600 .98rem/1.3 'Cabin', sans-serif; letter-spacing: .04em; margin-top: 6px; }
.vs-nomes { font: 400 clamp(1.9rem, 1.3rem + 1.6vw, 2.5rem)/1.15 'Parisienne', cursive; max-width: 100%; overflow-wrap: anywhere; }
.vs-data { font: 500 .95rem/1.3 'Cabin', sans-serif; letter-spacing: .05em; min-height: 1.3em; }
.vs-escrita .escrevendo { animation: vs-escrever 1s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes vs-escrever { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
/* cavalete de latão: 2 pés na frente, 1 atrás e a travessa onde o espelho apoia */
.vs-cavalete { position: absolute; left: 50%; bottom: 0; width: min(78%, 280px); height: 96px; transform: translateX(-50%); z-index: -1; }
.vs-cavalete i { position: absolute; bottom: 0; width: 9px; height: 112px; border-radius: 4px; transform-origin: 50% 100%;
  background: linear-gradient(90deg, #6E4510 0%, #E9C26F 42%, #F6DFA2 55%, #9A6620 100%); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .6); }
.vs-cavalete i:nth-child(1) { left: 18%; transform: rotate(12deg); }
.vs-cavalete i:nth-child(2) { right: 18%; transform: rotate(-12deg); }
.vs-cavalete i:nth-child(3) { left: 50%; margin-left: -4px; height: 86px; filter: brightness(.6); z-index: -1; }
.vs-espelho::after { content: ''; position: absolute; left: 50%; bottom: 40px; width: min(62%, 230px); height: 12px; transform: translateX(-50%); border-radius: 3px; z-index: 2;
  background: linear-gradient(180deg, #F6DFA2 0%, #C9932F 45%, #7A4F16 100%); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .7); }
.vs-texto { display: grid; gap: 20px; }
.vs-texto h2 { color: var(--ouro-cla); }
.vs-intro { color: var(--creme-2); max-width: 46ch; }
.vs-form { display: grid; gap: 22px; margin-top: 8px; }
.vs-etapa { display: grid; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--creme-2); letter-spacing: .02em; }
.vs-trilho { height: 3px; background: rgba(241, 238, 228, .16); border-radius: 2px; overflow: hidden; }
.vs-trilho i { display: block; height: 100%; width: 25%; background: var(--ouro-folha); transition: width .5s ease; }
.vs-passo { border: 0; margin: 0; padding: 0; min-width: 0; }
.vs-passo legend { padding: 0; font: 600 clamp(1.35rem, 1.1rem + .8vw, 1.65rem)/1.25 'Besley', serif; color: var(--creme); margin-bottom: 18px; }
.vs-opcoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vs-opcoes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-opcoes label { position: relative; display: block; cursor: pointer; }
.vs-opcoes input, .vs-marca input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vs-opcoes span { display: flex; align-items: center; min-height: 54px; padding: 10px 14px 10px 38px; border-radius: 5px; font-weight: 600; line-height: 1.2; color: var(--creme);
  background: rgba(241, 238, 228, .05); box-shadow: inset 0 0 0 1px rgba(242, 215, 149, .3); transition: background .25s ease, box-shadow .25s ease; position: relative; }
.vs-opcoes span::before { content: ''; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; opacity: .35; transition: opacity .25s ease, transform .25s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F2D795' fill-rule='evenodd' d='M3.4 2.6h4.7c-.4 6.4.8 10.6 3.9 10.6s4.3-4.2 3.9-10.6h4.7c.6 9.4-2.6 17.2-8.6 17.2S2.8 12 3.4 2.6zM5.2 5.8h1.5v2.3H5.2zm.4 4.5h1.5v2.3H5.6zm11.7-4.5h1.5v2.3h-1.5zm-.4 4.5h1.5v2.3h-1.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vs-opcoes label:hover span { background: rgba(241, 238, 228, .09); }
.vs-opcoes input:checked + span { background: rgba(242, 215, 149, .14); box-shadow: inset 0 0 0 1.5px var(--ouro-meio); }
.vs-opcoes input:checked + span::before { opacity: 1; transform: translateY(1px); }
.vs-opcoes input:focus-visible + span { outline: 3px solid var(--ouro-meio); outline-offset: 2px; }
.vs-campos { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.vs-campo { display: grid; gap: 8px; font-weight: 600; color: var(--creme-2); font-size: .95rem; }
.vs-campo + .vs-campo { margin-top: 14px; }
.vs-campos .vs-campo + .vs-campo { margin-top: 0; }
.vs-campo input, .vs-campo select { width: 100%; min-height: 52px; padding: 12px 14px; font: 500 1rem 'Cabin', sans-serif; color: var(--creme); border-radius: 5px; border: 0;
  background: rgba(241, 238, 228, .07); box-shadow: inset 0 0 0 1px rgba(242, 215, 149, .3), inset 0 -2px 0 rgba(242, 215, 149, .55); appearance: none; -webkit-appearance: none; }
.vs-campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2D795' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 36px; }
.vs-campo select option { color: #0B1730; background: #F6F6F1; }
.vs-campo input::placeholder { color: rgba(201, 205, 216, .7); }
.vs-campo input:focus-visible, .vs-campo select:focus-visible { outline: 3px solid var(--ouro-meio); outline-offset: 2px; }
.vs-marca { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 12px; cursor: pointer; font-weight: 600; color: var(--creme); }
.vs-marca span::before { content: ''; display: inline-block; vertical-align: -4px; width: 20px; height: 20px; margin-right: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ouro-meio); }
.vs-marca input:checked + span::before { background: var(--ouro-folha); box-shadow: inset 0 0 0 1.5px var(--ouro-esc); }
.vs-marca input:focus-visible + span { outline: 3px solid var(--ouro-meio); outline-offset: 2px; }
.vs-dia { margin-top: 18px; }
.vs-dia p { font-weight: 600; color: var(--creme-2); font-size: .95rem; margin-bottom: 8px; }
.vs-erro { color: #FFC9A8; font-weight: 600; }
/* sem programa: as 4 perguntas aparecem juntas e o botão envia; com programa, uma etapa por vez (antes de ele chegar, só a 1ª) */
.sem-js .vs-etapa, .sem-js .vs-seguir, .sem-js .vs-voltar { display: none; }
.sem-js .vs-passo + .vs-passo { margin-top: 28px; }
.js .vs-form:not(.pronto) .vs-passo:not([data-passo="1"]), .js .vs-form:not(.pronto) .vs-enviar, .js .vs-form:not(.pronto) .vs-voltar { display: none; }
.vs-botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.vs-aviso { font-size: .85rem; color: var(--creme-2); }
@media (max-width: 1099px) { .vs-opcoes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vs-opcoes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .vs-grade { grid-template-columns: minmax(0, 1fr); }
  .vs-espelho { order: 0; }
  .vs-moldura { width: min(70vw, 280px); }
  .vs-pausa { top: 12px; }
}
@media (max-width: 380px) { .vs-opcoes-3 { grid-template-columns: minmax(0, 1fr); } .vs-campos { grid-template-columns: minmax(0, 1fr); } }

/* ================= RODAPÉ (como chegar) ================= */
.rd { background: var(--cal); padding: var(--sec) 0 calc(28px + env(safe-area-inset-bottom)); }
.rd-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(28px, 4vw, 64px); align-items: start; }
.rd-porteira { margin: 0; }
.rd-porteira img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.rd-porteira figcaption { font-size: .82rem; color: var(--tinta-2); margin-top: 10px; }
.rd-info { display: grid; gap: 20px; justify-items: start; }
.rd-end { font-size: 1.08rem; }
.rd-contatos { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; width: 100%; }
.rd-contatos li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.rd-contatos li > div { display: grid; gap: 2px; padding-top: 11px; }
.rd-contatos b { font-weight: 700; color: var(--azul); line-height: 1.4; }
.rd-contatos a { font-weight: 600; color: var(--tinta); text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.rd-agora { font-weight: 600; color: var(--palmeira, #2F5338); }
/* plaquinhas de latão com o desenho gravado: as 4 iguais em tamanho, material e posição (regra da harmonia dos balões) */
.placa { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; background: var(--ouro-folha); color: #0B1730;
  box-shadow: inset 0 1px 0 rgba(255, 246, 218, .8), inset 0 0 0 1px rgba(122, 79, 22, .45), 0 4px 10px -4px rgba(11, 23, 48, .45); }
.placa svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 0 rgba(255, 246, 218, .55)); }
.rd-rota { margin-top: 4px; }
.rd-mapa { position: relative; min-height: 380px; height: 100%; border-radius: 3px; overflow: hidden; background: #DADCCF; box-shadow: inset 0 0 0 1px var(--linho); display: grid; place-items: center; }
.rd-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rd-mapa-aviso { padding: 24px; text-align: center; color: var(--tinta-2); font-size: .92rem; max-width: 30ch; }
.rd-creditos { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--linho); }
.rd-creditos p { font-size: .86rem; color: var(--tinta-2); max-width: 110ch; }
.rd-final { margin-top: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 40px; align-items: end; }
.rd-logo img { width: 170px; height: auto; }
.rd-linha { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; font-size: .9rem; color: var(--tinta-2); }
.rd-linha a { color: var(--tinta); }
/* "Site feito pela" + logo da Nolmo na mesma linha de base (REGRA do John, 25/11/2026) */
.rd-nolmo { display: inline-flex; flex-wrap: wrap; align-content: center; align-items: baseline; gap: 8px; min-height: 44px; text-decoration: none; color: var(--tinta-2) !important; }
.rd-nolmo img { height: 17px; width: auto; }
@media (max-width: 1099px) { .rd-grade { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); } .rd-mapa { grid-column: 1 / -1; min-height: 320px; } }
@media (max-width: 699px) {
  .rd-grade { grid-template-columns: minmax(0, 1fr); }
  .rd-porteira img { aspect-ratio: 4 / 3; }
  .rd-final { grid-template-columns: minmax(0, 1fr); }
  .rd-linha { justify-content: flex-start; }
}
@media (max-width: 899px) { .rd { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ================= BARRA DO CELULAR ================= */
.br { display: none; }
@media (max-width: 899px) {
  .br { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(11, 23, 48, .96); box-shadow: 0 -1px 0 rgba(242, 215, 149, .35); }
  .br a { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 52px; color: #F7F2E3; text-decoration: none; font: 600 .74rem/1 'Cabin', sans-serif; border-radius: 6px; }
  .br a:active { background: rgba(242, 215, 149, .12); }
  .br svg { width: 22px; height: 22px; color: var(--ouro-cla); }
}

/* ================= ENTRADAS (só com o programa; sem ele, tudo já aparece) ================= */
@keyframes tp-entra { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .tp-texto > * { animation: tp-entra .9s cubic-bezier(.215, .61, .355, 1) both; }
.js .tp-texto > :nth-child(2) { animation-delay: .08s; } .js .tp-texto > :nth-child(3) { animation-delay: .16s; }
.js .tp-texto > :nth-child(4) { animation-delay: .24s; } .js .tp-texto > :nth-child(5) { animation-delay: .32s; }
@media (min-width: 900px) {
  @keyframes tp-sobe { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
  .js .tp-quadro { animation: tp-sobe 1.1s cubic-bezier(.215, .61, .355, 1) .1s both; }
  .js .tp-casal { animation: tp-sobe 1.1s cubic-bezier(.215, .61, .355, 1) .35s both; }
  .js .tp-roseta { animation: tp-sobe 1.1s cubic-bezier(.215, .61, .355, 1) .5s both; }
}

/* menos movimento: nada para, só fica mais calmo (regra do John, 05/11) */
@media (prefers-reduced-motion: reduce) {
  .tp-passos li { animation-duration: 12s; }
  .tp-passos li:nth-child(2) { animation-delay: 4s; } .tp-passos li:nth-child(3) { animation-delay: 8s; }
  .vs-brilho { animation-duration: 16s; }
  .js .tp-texto > *, .js .tp-quadro, .js .tp-casal, .js .tp-roseta { animation-duration: 1.4s; }
  .am-foto img, .ev-foto img { transition-duration: 2.4s; }
}
