/* Section 5 - section#noivas.secao.escuro-sec.noivas (verbatim from references/source/index.html lines 155-160, 247-272, 366-380).
   Requires build/styles/tokens.css + base.css (vars, .cont, .rot, .btn, em.s).
   Shared rules (.secao, .cab, .escuro-sec, .rv) are repeated here so the section renders standalone; dedupe at assembly. */

/* shared section scaffolding */
.secao { padding: clamp(84px, 11vw, 150px) 0; }
.cab { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); padding: 0 20px; }
.cab h2, .h2 { margin: 0; font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.cab p { margin: 18px auto 0; color: var(--suave); max-width: 560px; font-size: 17px; }
.escuro-sec { background: var(--tinta); color: var(--marfim); }
.escuro-sec .cab p { color: rgba(247, 241, 238, .72); }

/* noivas */
.noivas .cab { max-width: 900px; }
.noivas blockquote { margin: 26px auto 0; max-width: 680px; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.35; color: rgba(247, 241, 238, .9); }
.noivas blockquote cite { display: block; margin-top: 14px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--blush); }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.passo .m { aspect-ratio: 3 / 4; border-radius: var(--borda); overflow: hidden; }
.passo img { width: 100%; height: 100%; object-fit: cover; }
.passo .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blush); }
.passo h3 { margin: 18px 0 8px; display: flex; gap: 12px; align-items: baseline; font-weight: 400; font-size: 24px; letter-spacing: -.02em; }
.passo p { margin: 0; color: rgba(247, 241, 238, .72); font-size: 15.5px; }
@media (max-width: 820px) { .passos { grid-template-columns: 1fr; gap: 40px; } .passo .m { aspect-ratio: 4 / 3; } }

/* esteira: duplicated list loops by sliding -50% (minus half the 16px gap); pauses on hover */
.galeria { margin-top: clamp(70px, 9vw, 120px); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.esteira { display: flex; gap: 16px; width: max-content; animation: corre 70s linear infinite; }
.galeria:hover .esteira { animation-play-state: paused; }
@keyframes corre { to { transform: translateX(calc(-50% - 8px)); } }
.esteira figure { margin: 0; width: clamp(200px, 19vw, 280px); }
.esteira .m { aspect-ratio: 3 / 4; border-radius: var(--borda); overflow: hidden; background: var(--tinta-2); }
.esteira img { width: 100%; height: 100%; object-fit: cover; }
.esteira figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: rgba(247, 241, 238, .7); }
.esteira figcaption b { font-weight: 500; color: var(--marfim); }

/* aprovado */
.aprovado { margin-top: clamp(64px, 8vw, 100px); display: grid; justify-items: center; text-align: center; gap: 22px; }
.rostos { display: flex; }
.rostos img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid var(--tinta); }
.rostos img + img { margin-left: -14px; }
.aprovado h3 { margin: 0; font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1.1; max-width: 760px; }
.aprovado small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); }

/* revelar ao rolar (shared) */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.visto { opacity: 1; transform: none; }
.rv-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.3s var(--ease); }
.rv-img.visto { clip-path: inset(0 0 0 0); }

@keyframes surge { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; }
  .rv-img { clip-path: none; }
  .esteira { animation: none; }
  .galeria { overflow-x: auto; }
}
