/* =========================================================
   PRESTIGE TRIO — wedding music
   Tokens: nave (sombra de igreja à luz de velas), vela (marfim),
   talha (dourado da talha barroca), lacre (selo bordeaux), papel/tinta (programa impresso)
   ========================================================= */

:root {
  --nave: #120e0a;
  --nave-2: #1a140f;
  --nave-3: #241c15;
  --vela: #f0e5d1;
  --vela-dim: rgba(240, 229, 209, .68);
  --vela-faint: rgba(240, 229, 209, .4);
  --talha: #c5a15a;
  --talha-2: #e0c48c;
  --talha-line: rgba(197, 161, 90, .32);
  --talha-hair: rgba(197, 161, 90, .16);
  --lacre: #7a2231;
  --papel: #f4ecdc;
  --tinta: #2a2018;
  --tinta-dim: #6e5c49;

  --f-display: 'Libre Bodoni', 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-body: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --f-mark: 'Cinzel', 'Trajan Pro', Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 12vw, 168px);
  --head-h: 76px;
  --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--bar-h)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nave);
  color: var(--vela);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* grão de película, muito subtil */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--talha-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--talha); color: var(--nave); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--talha); color: var(--nave); padding: 10px 16px; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0 0 22px;
  font: 500 .72rem/1 var(--f-body);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--talha);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); opacity: .8;
}
.h2 {
  margin: 0;
  font: 400 clamp(2.5rem, 5.4vw, 4.75rem)/1.02 var(--f-display);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.h2 em, .h3 em { color: var(--talha-2); }
.h3 { margin: 0 0 18px; font: 400 clamp(1.7rem, 2.6vw, 2.25rem)/1.1 var(--f-display); }
.lede {
  margin: 26px auto 0;
  max-width: 34em;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--vela-dim);
  text-wrap: pretty;
}
.amp { font-family: var(--f-display); font-style: italic; color: var(--talha); font-weight: 400; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font: 500 .8rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase;
  border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-sm { min-height: 40px; padding: 0 20px; font-size: .7rem; }
.btn-gilt { background: var(--talha); color: var(--nave); }
.btn-gilt:hover { background: var(--talha-2); }
.btn-ghost { border: 1px solid var(--talha-line); color: var(--vela); }
.btn-ghost:hover { border-color: var(--talha); color: var(--talha-2); }
.btn .ico { width: 18px; height: 18px; fill: currentColor; }
.btn-text {
  font: 400 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--vela-dim);
  padding: 10px 0; border-bottom: 1px solid var(--talha-line);
}
.btn-text:hover { color: var(--talha-2); border-color: var(--talha); }

.play-ring {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--talha-line);
  display: grid; place-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.play-ring svg { width: 18px; height: 18px; fill: var(--talha-2); margin-left: 2px; }

/* ---------- Layout base ---------- */
.section { padding: var(--section) var(--gutter); position: relative; }
.section > * { max-width: var(--wrap); margin-inline: auto; }
.section-head { text-align: center; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head-left { text-align: left; }
.section-head-left .lede { margin-left: 0; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-word { font: 500 1.45rem/1 var(--f-mark); letter-spacing: .08em; color: var(--vela); }
.brand-i { position: relative; display: inline-block; }
.brand-i .gem { position: absolute; left: 50%; top: -.48em; width: .5em; transform: translateX(-50%); fill: var(--talha); stroke: var(--nave); stroke-width: .7; }
.brand-sub { margin-top: 6px; font: 400 .56rem/1 var(--f-body); letter-spacing: .5em; color: var(--talha); padding-left: .5em; }
.brand-lg .brand-word { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.brand-lg .brand-sub { font-size: .78rem; margin-top: 12px; }

/* ---------- Cabeçalho ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: rgba(18, 14, 10, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--talha-hair);
}
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  font: 400 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--vela-dim);
  padding: 8px 0; position: relative; transition: color .3s;
}
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--talha); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-current { color: var(--vela); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.head-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid var(--talha-hair); border-radius: 999px; padding: 3px; }
.lang a { font: 500 .66rem/1 var(--f-body); letter-spacing: .14em; padding: 7px 10px; border-radius: 999px; color: var(--vela-faint); transition: color .3s; }
.lang a:hover { color: var(--vela); }
.lang a[aria-current="true"] { background: var(--talha-hair); color: var(--talha-2); }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--vela); transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Arco (moldura de retábulo) ---------- */
.arch { position: relative; }
.arch::before {
  content: ''; position: absolute; inset: -11px -11px 0 -11px;
  border: 1px solid var(--talha-line); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch-frame { position: relative; height: 100%; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--nave-2); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Two portraits sharing one arch (the violinists), divided by a gold hairline. */
.arch-duo { display: flex; }
.arch-duo img { flex: 1 1 50%; width: 50%; min-width: 0; object-position: 55% 30%; }
.arch-duo img + img { border-left: 2px solid var(--talha); object-position: 32% 30%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--head-h) + 28px) var(--gutter) 56px; display: grid; place-items: center; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: 46%; width: min(1100px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(214, 150, 70, .2), rgba(214, 150, 70, .06) 55%, transparent 75%);
  pointer-events: none;
}
.hero-stage {
  --arch-w: clamp(260px, 29vw, 430px);
  --arch-h: min(58svh, calc(var(--arch-w) * 1.55));
  position: relative; width: 100%; max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr var(--arch-w) 1fr;
  grid-template-rows: auto var(--arch-h) auto;
  justify-items: center;
}
.hero-eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: 30px; }
.hero-arch { grid-column: 2; grid-row: 2; width: 100%; height: 100%; }
.hero-arch .arch-frame img { position: absolute; inset: 0; opacity: 0; transform: scale(1.1); transition: opacity 2.2s ease; }
.hero-arch .arch-frame img.is-on { opacity: 1; animation: drift 11s linear forwards; }
.hero-arch .arch-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18,14,10,0) 45%, rgba(18,14,10,.55) 78%, rgba(18,14,10,.92));
}
@keyframes drift { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero-title {
  grid-column: 1 / -1; grid-row: 2;
  width: 100%; height: 100%; margin: 0;
  display: grid; grid-template-columns: 1fr var(--arch-w) 1fr; grid-template-rows: 1fr auto;
  font: 400 clamp(3.1rem, 7.6vw, 8.4rem)/.94 var(--f-display);
  letter-spacing: -.025em;
  position: relative; z-index: 2; pointer-events: none;
}
.hw { display: block; white-space: nowrap; }
.hw-1 { grid-column: 1; grid-row: 1; align-self: center; justify-self: end; padding-right: .32em; }
.hw-2 { grid-column: 3; grid-row: 1; align-self: center; justify-self: start; padding-left: .32em; }
.hw-3 { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-bottom: -.3em; }
.hw-3 em { color: var(--talha-2); padding-right: .04em; }

.hero-foot { grid-column: 1 / -1; grid-row: 3; text-align: center; margin-top: clamp(44px, 6vh, 72px); }
.hero-lede { margin: 0 auto; max-width: 31em; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--vela-dim); text-wrap: balance; }
.hero-ctas { margin-top: 30px; display: flex; gap: 18px 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-listen { display: inline-flex; align-items: center; gap: 14px; font: 400 .8rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--vela); }
.btn-listen:hover .play-ring { background: var(--talha-hair); border-color: var(--talha); }
.hero-base { margin: 30px 0 0; font: 400 .7rem/1.4 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--vela-faint); }

/* sequência de entrada */
.js .hero-eyebrow, .js .hw, .js .hero-foot { opacity: 0; transform: translateY(18px); }
.js .hero-arch { clip-path: inset(100% 0 0 0); }
.is-loaded .hero-arch { clip-path: inset(0 0 0 0); transition: clip-path 1.8s var(--ease); }
.is-loaded .hero-eyebrow, .is-loaded .hw, .is-loaded .hero-foot { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero-eyebrow { transition-delay: .2s; }
.is-loaded .hw-1 { transition-delay: .7s; }
.is-loaded .hw-2 { transition-delay: .9s; }
.is-loaded .hw-3 { transition-delay: 1.15s; }
.is-loaded .hero-foot { transition-delay: 1.5s; }

/* ---------- Faixa de lugares ---------- */
.venues { border-block: 1px solid var(--talha-hair); padding: 22px 0; display: flex; align-items: center; gap: 28px; overflow: hidden; }
.venues-label { flex: none; margin: 0; padding-left: var(--gutter); font: 500 .66rem/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--talha); }
.venues-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.venues-list { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: marquee 70s linear infinite; }
.venues-list li { font: italic 400 1.3rem/1 var(--f-display); color: var(--vela-dim); white-space: nowrap; display: flex; align-items: center; }
.venues-list li::after { content: ''; width: 5px; height: 5px; margin: 0 30px; background: var(--talha); transform: rotate(45deg); opacity: .7; }
.venues:hover .venues-list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Trio ---------- */
.musicians {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, auto);
  column-gap: clamp(28px, 4vw, 64px);
}
.musician { text-align: center; display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.musician .arch-portrait { align-self: end; }
.musician:nth-child(1) { order: 2; }
.musician:nth-child(2) { order: 1; }
.musician:nth-child(3) { order: 3; }
.arch-portrait { aspect-ratio: 3 / 4.15; margin: 0 auto 34px; width: 100%; }
.musician:nth-child(1) .arch-portrait { aspect-ratio: 3 / 4.6; }
.musician:nth-child(2) .arch-portrait, .musician:nth-child(3) .arch-portrait { width: 88%; }
.arch-portrait img { transition: transform 1.4s var(--ease); }
.musician:hover .arch-portrait img { transform: scale(1.04); }
.m-role { margin: 0 0 10px; font: 500 .7rem/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--talha); }
.m-name { margin: 0 0 14px; font: 400 clamp(1.5rem, 2.1vw, 1.95rem)/1.1 var(--f-display); }
.m-bio { margin: 0 auto; max-width: 25em; font-size: .98rem; color: var(--vela-dim); text-wrap: pretty; }
.m-bio p { margin: 0 0 .8em; }
.m-bio p:last-child { margin-bottom: 0; }

.forms {
  margin-top: clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.forms-photo { margin: 0; position: relative; }
.forms-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.forms-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(240,229,209,.28); pointer-events: none; }
.forms-list { list-style: none; margin: 0; padding: 0; }
.forms-list li { padding: 24px 0; border-top: 1px solid var(--talha-hair); color: var(--vela-dim); display: grid; grid-template-columns: 9.5rem 1fr; gap: 20px; align-items: baseline; }
.forms-list li:last-child { border-bottom: 1px solid var(--talha-hair); }
.forms-list strong { font: italic 400 1.6rem/1 var(--f-display); color: var(--vela); }

/* ---------- Ouvir ---------- */
.listen { background: linear-gradient(to bottom, var(--nave), var(--nave-2) 30%, var(--nave-2) 70%, var(--nave)); }
.feature {
  display: block; width: 100%; position: relative; aspect-ratio: 16 / 7.2; overflow: hidden; text-align: left;
  border-radius: 2px;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.6s var(--ease); }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,14,10,.92) 0%, rgba(18,14,10,.5) 45%, rgba(18,14,10,.05) 75%); }
.feature:hover img { transform: scale(1.03); }
.feature-copy { position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(24px, 5vw, 64px); z-index: 1; display: flex; flex-direction: column; gap: 14px; max-width: 60%; }
.feature-where { font: 500 .7rem/1.3 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--talha); }
.feature-title { font: italic 400 clamp(2.6rem, 6vw, 5.5rem)/1 var(--f-display); }
.feature-play { display: inline-flex; align-items: center; gap: 14px; font: 400 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.feature:hover .play-ring { background: var(--talha); border-color: var(--talha); }
.feature:hover .play-ring svg { fill: var(--nave); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(48px, 6vw, 72px) auto 36px; }
.filters button, .chip span {
  font: 400 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid var(--talha-hair); border-radius: 999px; color: var(--vela-dim);
  transition: all .3s var(--ease);
}
.filters button:hover { border-color: var(--talha-line); color: var(--vela); }
.filters button[aria-pressed="true"] { background: var(--talha); border-color: var(--talha); color: var(--nave); }

.recs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
.rec button { display: block; width: 100%; text-align: left; }
.rec-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nave-3); }
.rec-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .86; }
.rec-thumb .play-ring { position: absolute; left: 12px; bottom: 12px; width: 38px; height: 38px; background: rgba(18,14,10,.55); border-color: rgba(240,229,209,.35); }
.rec-thumb .play-ring svg { width: 14px; height: 14px; }
.rec button:hover .rec-thumb img { transform: scale(1.05); opacity: 1; }
.rec button:hover .play-ring { background: var(--talha); border-color: var(--talha); }
.rec button:hover .play-ring svg { fill: var(--nave); }
.rec-t { display: block; margin-top: 14px; font: 400 1.14rem/1.25 var(--f-display); }
.rec-c { display: block; margin-top: 4px; font-size: .86rem; color: var(--vela-faint); }
.rec[hidden] { display: none; }
.recs-more { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Programa (assinatura) ---------- */
.programme { padding-bottom: calc(var(--section) * .8); }
.prog-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 96px); align-items: start; }

.seg { display: inline-flex; padding: 4px; border: 1px solid var(--talha-hair); border-radius: 999px; margin-bottom: 36px; }
.seg button { font: 400 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; color: var(--vela-dim); transition: all .3s var(--ease); }
.seg button[aria-checked="true"] { background: var(--talha); color: var(--nave); }

.label { display: block; margin-bottom: 10px; font: 500 .66rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--talha); }
.field { display: block; min-width: 0; }
.field input, .field textarea {
  width: 100%; padding: 10px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--talha-line);
  font: 300 1.08rem/1.4 var(--f-body); color: var(--vela); border-radius: 0; color-scheme: dark;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--vela-faint); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--talha-2); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--talha-2); }
.field.is-invalid input { border-bottom-color: #d9826f; }

.prog-fields { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px 28px; margin-bottom: 44px; }
.field-names { grid-column: 1 / -1; }
.field-wide { grid-column: 1 / -1; }
.names-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; }
.names-row .amp { font-size: 1.6rem; padding-bottom: 6px; }

.moments { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--talha-hair); }
.moment { border-top: 1px solid var(--talha-hair); }
.moment-head { width: 100%; display: grid; grid-template-columns: 11.5rem 1fr 22px; gap: 18px; align-items: center; padding: 18px 0; text-align: left; }
.moment-name { font: 500 .68rem/1.3 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--talha); }
.moment-pick { font: 400 1.18rem/1.25 var(--f-display); min-width: 0; }
.moment-pick i { display: block; font-family: var(--f-body); font-style: normal; font-weight: 300; font-size: .82rem; color: var(--vela-faint); margin-top: 2px; }
.moment-pick.is-none { color: var(--vela-faint); font-style: italic; }
.chev { width: 9px; height: 9px; margin: -5px 4px 0 0; border-right: 1px solid var(--talha); border-bottom: 1px solid var(--talha); transform: rotate(45deg); transition: transform .4s var(--ease), margin .4s var(--ease); justify-self: end; }
.moment-head[aria-expanded="true"] .chev { transform: rotate(-135deg); margin-top: 5px; }
.moment-head:hover .moment-pick { color: var(--talha-2); }

.moment-opts { padding: 0 0 18px 0; margin-left: calc(11.5rem + 18px); }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 9px 0; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--talha-line); display: grid; place-items: center; transition: border-color .3s; }
.opt-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--talha); transform: scale(0); transition: transform .3s var(--ease); }
.opt input:checked + .opt-dot { border-color: var(--talha); }
.opt input:checked + .opt-dot::after { transform: scale(1); }
.opt input:focus-visible + .opt-dot { outline: 2px solid var(--talha-2); outline-offset: 3px; }
.opt-txt { font-size: .98rem; color: var(--vela-dim); cursor: pointer; }
.opt-txt b { font-weight: 400; color: var(--vela); }
.opt input:checked ~ .opt-txt b { color: var(--talha-2); }
.opt-play { display: inline-flex; align-items: center; gap: 8px; font: 400 .68rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--talha); padding: 8px 12px; border: 1px solid var(--talha-hair); border-radius: 999px; }
.opt-play svg { width: 10px; height: 10px; fill: currentColor; }
.opt-play:hover, .opt-play.is-playing { background: var(--talha); color: var(--nave); border-color: var(--talha); }
.opt-tag { font: italic 400 .86rem/1 var(--f-display); color: var(--vela-faint); padding-right: 12px; }
.extras-head { margin: 48px 0 0; padding-bottom: 6px; font: italic 400 1.35rem/1 var(--f-display); }
.extras-head .hint { font: 400 .68rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--vela-faint); margin-left: 10px; font-style: normal; }

/* cartão-programa impresso */
.prog-side { position: relative; }
@media (min-width: 1001px) and (min-height: 860px) {
  .prog-side { position: sticky; top: calc(var(--head-h) + var(--bar-h) + 24px); }
}
.prog-card {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    radial-gradient(140% 120% at 50% 100%, rgba(150,110,60,.16), rgba(150,110,60,0) 55%),
    var(--papel);
  color: var(--tinta);
  padding: clamp(36px, 4vw, 52px) clamp(26px, 3.6vw, 48px) 34px;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.2), 0 0 120px -20px rgba(214,150,70,.25);
  transform: rotate(-.6deg);
}
.prog-card::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(160,122,58,.55); pointer-events: none; }
.prog-card::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(160,122,58,.25); pointer-events: none; }
.pc-gem { width: 22px; margin: 0 auto 14px; fill: #b08a45; stroke: var(--papel); stroke-width: .6; }
.pc-kicker { margin: 0; font: 500 .62rem/1 var(--f-body); letter-spacing: .38em; text-transform: uppercase; color: #9a7638; }
.pc-names { margin: 16px 0 8px; font: italic 400 clamp(2rem, 3.4vw, 2.75rem)/1.05 var(--f-display); color: var(--tinta); overflow-wrap: anywhere; }
.pc-names .amp { color: #a8833f; }
.pc-meta { margin: 0; min-height: 1.4em; font-size: .86rem; letter-spacing: .04em; color: var(--tinta-dim); }
.pc-meta.is-empty { opacity: .55; }
.pc-rule { position: relative; height: 1px; width: 60%; margin: 22px auto 20px; background: linear-gradient(90deg, transparent, rgba(160,122,58,.7), transparent); }
.pc-rule::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: #b08a45; transform: translate(-50%, -50%) rotate(45deg); }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pc-list li { display: grid; gap: 1px; }
.pc-list li.is-new { animation: ink .9s var(--ease); }
@keyframes ink { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.pc-m { font: 500 .58rem/1.3 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: #9a7638; }
.pc-p { font: 400 1.04rem/1.25 var(--f-display); }
.pc-p i { font-style: italic; color: var(--tinta-dim); font-size: .92em; }
.pc-sep { margin: 8px auto 2px; font: italic 400 .9rem/1 var(--f-display); color: #9a7638; }
.pc-foot { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pc-by { margin: 0; font-size: .74rem; letter-spacing: .06em; color: var(--tinta-dim); }
.seal {
  width: 62px; height: 62px; display: grid; place-items: center; position: relative;
  border-radius: 47% 53% 49% 51% / 52% 47% 53% 48%;
  background: radial-gradient(circle at 35% 30%, #a4384a, var(--lacre) 55%, #4d1520);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.35), inset 0 3px 5px rgba(255,255,255,.18), 0 3px 6px rgba(60,20,20,.35);
  transform: rotate(-8deg);
}
.seal::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(0,0,0,.28); box-shadow: 0 1px 0 rgba(255,255,255,.12); }
.seal span { font: 500 1.35rem/1 var(--f-mark); color: #5a1620; text-shadow: 0 1px 0 rgba(255,255,255,.22), 0 -1px 0 rgba(0,0,0,.35); }
.prog-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }

/* ---------- O dia ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.timeline li { position: relative; }
.timeline figure { margin: 0 0 54px; aspect-ratio: 4 / 5; overflow: hidden; }
.timeline figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.timeline li:hover figure img { transform: scale(1.04); }
.timeline h3 { position: relative; margin: 0 0 10px; font: 400 1.6rem/1.1 var(--f-display); }
.timeline h3::before { content: ''; position: absolute; left: 0; top: -36px; width: 7px; height: 7px; background: var(--talha); transform: rotate(45deg); }
.timeline h3::after { content: ''; position: absolute; left: 14px; right: -40px; top: -33px; height: 1px; background: var(--talha-hair); }
.timeline li:last-child h3::after { right: 0; }
.timeline p { margin: 0; font-size: .97rem; color: var(--vela-dim); }
.day-also { margin-top: 60px !important; text-align: center; font: italic 400 1.25rem/1.5 var(--f-display); color: var(--vela-dim); }

/* ---------- Noivos ---------- */
.couples { background: var(--nave-2); overflow: hidden; }
.quotes { position: relative; text-align: center; }

.quote { margin: 0 auto; max-width: 900px; min-height: clamp(300px, 30vw, 360px); display: flex; flex-direction: column; align-items: center; }
.q-stars { margin: 0 0 18px; letter-spacing: .4em; color: var(--talha); font-size: .8rem; }
.q-head { margin: 0 0 22px; font: 500 .74rem/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--talha-2); }
.q-text { margin: 0; font: italic 400 clamp(1.45rem, 2.5vw, 2.2rem)/1.42 var(--f-display); text-wrap: pretty; }
.q-by { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.q-by #q-name { font: 500 .8rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; }
.q-date { font-size: .82rem; color: var(--vela-faint); }
.quote.is-swapping > * { opacity: 0; transform: translateY(8px); }
.quote > * { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.q-names { margin-top: 52px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.q-names button { font: 400 1.02rem/1 var(--f-display); color: var(--vela-faint); padding: 10px 12px; position: relative; transition: color .3s; }
.q-names button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--talha); transform: scaleX(0); transition: transform .4s var(--ease); }
.q-names button:hover { color: var(--vela); }
.q-names button[aria-selected="true"] { color: var(--talha-2); }
.q-names button[aria-selected="true"]::after { transform: scaleX(1); }
.q-note { margin-top: 18px !important; font-size: .82rem; color: var(--vela-faint); }

/* ---------- Lugares ---------- */
.places-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.places .section-head { margin-bottom: 44px; }
.place-groups { columns: 2; column-gap: 44px; }
.pg { margin-bottom: 30px; }
.pg h3 { break-after: avoid; margin: 0 0 8px; font: 500 .66rem/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--talha); }
.pg ul { list-style: none; margin: 0; padding: 0; }
.pg li { break-inside: avoid; }
.pg li button { display: block; width: 100%; text-align: left; padding: 7px 0 8px; border-bottom: 1px solid var(--talha-hair); }
.pg li button b { display: block; font: 400 1.08rem/1.25 var(--f-display); transition: color .3s; }
.pg li button span { display: block; font-size: .8rem; color: var(--vela-faint); }
.pg li button:hover b, .pg li button.is-active b { color: var(--talha-2); }
.map-wrap { position: relative; display: grid; place-items: center; }
.map { width: 100%; max-width: 420px; height: auto; max-height: 80vh; overflow: visible; }
.map-land { fill: rgba(197,161,90,.08); stroke: rgba(197,161,90,.5); stroke-width: .6; stroke-linejoin: round; }
.pin { cursor: pointer; }
.pin circle { fill: var(--talha); transition: r .3s var(--ease), fill .3s; }
.pin .halo { fill: none; stroke: var(--talha); stroke-width: .6; opacity: 0; }
.pin.is-home .halo { opacity: .7; animation: halo 2.8s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.pin.is-active circle.dot, .pin:hover circle.dot { fill: var(--talha-2); r: 4.6; }
@keyframes halo { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.map-tip {
  position: absolute; z-index: 2; margin: 0; padding: 10px 14px; pointer-events: none;
  background: var(--nave-3); border: 1px solid var(--talha-line);
  font: 400 1rem/1.2 var(--f-display); white-space: nowrap;
  transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .25s;
}
.map-tip small { display: block; font: 300 .76rem/1.3 var(--f-body); color: var(--vela-dim); margin-top: 3px; white-space: normal; max-width: 260px; }
.map-tip.is-on { opacity: 1; }

/* ---------- Galeria ---------- */
.masonry { columns: 3; column-gap: 16px; }
@media (min-width: 1200px) { .masonry { columns: 4; } }
.g-item { display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; overflow: hidden; position: relative; }
.g-item img { width: 100%; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.g-item:hover img { transform: scale(1.03); filter: saturate(1.05); }

/* ---------- Perguntas ---------- */
.faq-list { max-width: 860px !important; }
.faq details { border-top: 1px solid var(--talha-hair); }
.faq details:last-child { border-bottom: 1px solid var(--talha-hair); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--f-display); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--talha); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--talha-2); }
.faq details p { margin: -6px 0 28px; max-width: 42em; color: var(--vela-dim); }
.faq details p + p { margin-top: -14px; }

/* ---------- Disponibilidade ---------- */
.book { overflow: hidden; isolation: isolate; }
.book-bg { position: absolute; inset: 0; z-index: -1; max-width: none !important; }
.book-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: blur(2px) saturate(.8); }
.book-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--nave), rgba(18,14,10,.75) 30%, rgba(18,14,10,.85) 70%, var(--nave)); }
.book-inner { max-width: 980px !important; }
.book-form {
  display: grid; gap: 34px;
  padding: clamp(28px, 5vw, 64px);
  background: rgba(26,20,15,.72);
  border: 1px solid var(--talha-hair);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.f-row { display: grid; gap: 28px; }
.f-3 { grid-template-columns: repeat(3, 1fr); }
.f-4 { grid-template-columns: 1.1fr .9fr 1fr 1fr; }
/* Horário, with "Ainda não sei". */
.f-unknown { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .84rem; color: var(--vela-dim); cursor: pointer; }
.field .f-unknown input { width: 16px; height: 16px; padding: 0; margin: 0; border: 0; accent-color: var(--talha); flex: none; }
.field input:disabled { opacity: .45; }
.f-2 { grid-template-columns: repeat(2, 1fr); }
.f-chips { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-chips legend { width: 100%; margin-bottom: 12px; padding: 0; float: left; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; font-size: .7rem; padding: 11px 16px; }
.chip input:checked + span { background: var(--talha); border-color: var(--talha); color: var(--nave); }
.chip input:focus-visible + span { outline: 2px solid var(--talha-2); outline-offset: 3px; }
.chip:hover span { border-color: var(--talha-line); color: var(--vela); }
.chip input:checked:hover + span { color: var(--nave); }
.f-prog { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 22px; border: 1px dashed var(--talha-line); }
.f-prog p { margin: 0; font-size: .9rem; color: var(--vela-dim); white-space: pre-line; }
.f-msg { margin: 0; min-height: 1.2em; font-size: .92rem; color: var(--talha-2); }
.f-msg.is-error { color: #e19a87; }
.f-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.f-or { margin: 0; font-size: .92rem; color: var(--vela-faint); }
.f-or a { color: var(--vela); border-bottom: 1px solid var(--talha-line); }
.f-or a:hover { color: var(--talha-2); }

/* ---------- Rodapé ---------- */
.site-foot { border-top: 1px solid var(--talha-hair); padding: clamp(72px, 9vw, 120px) var(--gutter) 40px; text-align: center; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; display: grid; justify-items: center; gap: 26px; }
.foot-tag { margin: 4px 0 0; font: italic 400 1.2rem/1.4 var(--f-display); color: var(--vela-dim); }
.foot-contacts, .foot-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.foot-contacts { font-size: 1rem; }
.foot-social a, .foot-contacts a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.foot-social a { font: 400 .74rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--talha); }
.foot-social a:hover, .foot-contacts a:hover { color: var(--talha-2); border-color: var(--talha-line); }
.foot-credits { margin: 18px auto 0; max-width: 46em; font-size: .74rem; line-height: 1.7; color: var(--vela-faint); }
.foot-legal { margin: 0; font-size: .76rem; color: var(--vela-faint); letter-spacing: .04em; }
.foot-legal a { color: var(--vela-dim); }

/* ---------- Barra em telemóvel ---------- */
.mobile-bar { display: none; }

/* ---------- Modal / leitor ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 64px var(--gutter); background: rgba(8,6,4,.94); }
.modal[hidden] { display: none; }
.modal-body { width: min(1180px, 100%); display: grid; place-items: center; }
.modal-body .video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.modal-body iframe { width: 100%; height: 100%; border: 0; }
.modal-body img { max-height: calc(100svh - 128px); width: auto; max-width: 100%; }
.modal-body .lightbox { margin: 0; }
.modal-body .lightbox img { max-height: calc(100svh - 260px); }
.gallery-controls { display: flex; align-items: center; gap: 24px; margin-top: 16px; color: var(--vela); }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid var(--talha-line); border-radius: 50%; font-size: 1.3rem; }
.modal-body .cap { margin: 16px 0 0; font: italic 400 1.05rem/1.4 var(--f-display); color: var(--vela-dim); text-align: center; }
.modal-close, .dock-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid var(--talha-line); border-radius: 50%; }
.modal-close span, .dock-close span { position: absolute; left: 13px; right: 13px; top: 50%; height: 1px; background: var(--vela); }
.modal-close span:first-child, .dock-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child, .dock-close span:last-child { transform: rotate(-45deg); }
.modal-close:hover, .dock-close:hover { border-color: var(--talha); }
.modal.is-open { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }

.dock { position: fixed; right: 20px; bottom: 20px; z-index: 150; width: min(360px, calc(100vw - 40px)); background: var(--nave-3); border: 1px solid var(--talha-line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); animation: rise .45s var(--ease); }
.dock[hidden] { display: none; }
.dock-video { aspect-ratio: 16 / 9; background: #000; }
.dock-video iframe { width: 100%; height: 100%; border: 0; }
.dock-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.dock-meta p { margin: 0; font: 400 .98rem/1.25 var(--f-display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-close { position: relative; top: auto; right: auto; flex: none; width: 34px; height: 34px; }
.dock-close span { left: 9px; right: 9px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Revelações ao scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .musician.reveal:nth-child(2) { transition-delay: .12s; }
.js .musician.reveal:nth-child(3) { transition-delay: .24s; }
.js .timeline .reveal:nth-child(2) { transition-delay: .1s; }
.js .timeline .reveal:nth-child(3) { transition-delay: .2s; }
.js .timeline .reveal:nth-child(4) { transition-delay: .3s; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: .7rem; letter-spacing: .12em; }
  .recs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: calc(var(--head-h) + var(--bar-h)) 0 auto; flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 28px; background: rgba(18,14,10,.97); border-bottom: 1px solid var(--talha-hair);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font: 400 1.6rem/1 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--vela); padding: 16px 0; border-bottom: 1px solid var(--talha-hair); }
  .nav a::after { display: none; }
  .site-head.menu-open { background: rgba(18,14,10,.97); }
}

@media (max-width: 1000px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog-side { max-width: 520px; margin: 0 auto; width: 100%; }
  .places-grid { grid-template-columns: 1fr; }
  .places-grid { display: flex; flex-direction: column; gap: 0; }
  .places-copy { display: contents; }
  .places .section-head { order: 1; }
  .map-wrap { order: 2; margin-bottom: 48px; }
  .place-groups { order: 3; width: 100%; }
  .map { max-width: 300px; max-height: 60vh; }
  .timeline { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .timeline h3::after { display: none; }
  .forms { grid-template-columns: 1fr; }
  .forms-photo { max-width: 460px; }
  .f-3 { grid-template-columns: 1fr 1fr; }
  .f-3 > :first-child { grid-column: 1 / -1; }
  .f-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --head-h: 64px; }
  body { font-size: 1rem; }
  .head-tools .btn { display: none; }
  .brand-word { font-size: 1.22rem; }

  .hero { padding-top: calc(var(--head-h) + 20px); padding-bottom: 40px; min-height: auto; }
  .hero-stage { --arch-w: min(80vw, 380px); --arch-h: calc(var(--arch-w) * 1.32); grid-template-columns: 1fr; }
  .hero-eyebrow { margin-bottom: 26px; }
  .hero-arch { grid-column: 1; }
  .hero-title {
    grid-column: 1; display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-end; column-gap: .24em;
    font-size: clamp(2.7rem, 12.5vw, 4.4rem); text-align: center; padding: 0 4px;
  }
  .hw-1, .hw-2 { padding: 0; }
  .hw-3 { flex-basis: 100%; margin-bottom: -.22em; }
  .hero-foot { margin-top: 44px; }
  .hero-ctas { flex-direction: column; gap: 22px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }

  .venues { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 0; }
  .venues-label { padding: 0; text-align: center; }
  .venues-list li { font-size: 1.1rem; }

  .musicians { grid-template-columns: 1fr; grid-template-rows: none; gap: 72px; }
  .musician { display: block; grid-row: auto; }
  .musician:nth-child(n) { order: 0; }
  .musician:nth-child(n) .arch-portrait { width: 82%; aspect-ratio: 3 / 4; }
  .forms-list li { grid-template-columns: 1fr; gap: 8px; }

  .feature { aspect-ratio: 4 / 5; }
  .feature img { object-position: 66% 50%; }
  .feature::after { background: linear-gradient(to top, rgba(18,14,10,.95) 10%, rgba(18,14,10,.3) 60%, rgba(18,14,10,.05)); }
  .feature-copy { max-width: none; right: 24px; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .recs { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .rec-t { font-size: 1rem; }

  .moment-head { grid-template-columns: 1fr 22px; gap: 6px 12px; }
  .moment-name { grid-column: 1; }
  .moment-pick { grid-column: 1; grid-row: 2; }
  .chev { grid-column: 2; grid-row: 1 / 3; }
  .moment-opts { margin-left: 0; }
  .opt { grid-template-columns: 22px 1fr; }
  .opt-play, .opt-tag { grid-column: 2; justify-self: start; }
  .prog-fields { grid-template-columns: 1fr; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg button { padding: 13px 8px; font-size: .68rem; letter-spacing: .1em; }
  .prog-card { transform: none; }

  .timeline { grid-auto-flow: row; grid-template-columns: 1fr; }
  .timeline figure { aspect-ratio: 16 / 11; margin-bottom: 44px; }

  .place-groups { columns: 1; }

  .masonry { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }

  .f-3, .f-2, .f-4 { grid-template-columns: 1fr; }
  .f-actions .btn { width: 100%; }

  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 8px; background: rgba(26,20,15,.92); border: 1px solid var(--talha-line); border-radius: 999px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mobile-bar.is-on { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 46px; }
  .mobile-wa { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--talha-line); }
  .mobile-wa svg { width: 20px; height: 20px; fill: var(--talha-2); }
  .site-foot { padding-bottom: 110px; }
  .dock { right: 12px; left: 12px; width: auto; bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .venues-list { animation: none; }
  .venues-list[aria-hidden="true"] { display: none; }
  .venues-track { overflow-x: auto; }
}

/* ---------- Programa: guardar e partilhar ---------- */
.prog-shared { margin-top: 26px; padding: 22px 24px; border: 1px solid var(--talha-line); background: rgba(26,20,15,.6); text-align: center; animation: rise .45s var(--ease); }
.ps-title { margin: 0 0 6px; font: italic 400 1.35rem/1.2 var(--f-display); }
.ps-text { margin: 0 0 16px; font-size: .92rem; color: var(--vela-dim); }
.ps-link { display: flex; gap: 10px; margin-bottom: 14px; }
.ps-link input { flex: 1; min-width: 0; padding: 10px 14px; background: transparent; border: 1px solid var(--talha-hair); border-radius: 999px; color: var(--vela); font: 300 .9rem/1 var(--f-body); }

/* ---------- Pedido: disponibilidade, consentimento, enviado ---------- */
.f-avail { margin: 10px 0 0; min-height: 0; font-size: .86rem; line-height: 1.45; color: var(--vela-faint); }
.f-avail:empty { display: none; }
.f-avail.is-livre { color: #b9cf95; }
.f-avail.is-livre::before { content: '✓ '; }
.f-avail.is-ocupado { color: #e7b08f; }
.f-avail.is-passado { color: #e19a87; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #d9826f; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: .92rem; color: var(--vela-dim); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--talha-line); border-radius: 4px; display: grid; place-items: center; cursor: pointer; }
.consent input::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--nave); border-bottom: 2px solid var(--nave); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
.consent input:checked { background: var(--talha); border-color: var(--talha); }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent input:focus-visible { outline: 2px solid var(--talha-2); outline-offset: 3px; }
.consent a { color: var(--vela); border-bottom: 1px solid var(--talha-line); }
.consent.is-invalid input { border-color: #e19a87; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions .btn:disabled { opacity: .55; cursor: progress; }
.book-done { display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); background: rgba(26,20,15,.78); border: 1px solid var(--talha-line); outline: none; animation: rise .5s var(--ease); }
.book-done .h3 { margin: 6px 0 0; }
.book-done p { margin: 0; max-width: 34em; color: var(--vela-dim); }
.book-done .f-actions { justify-content: center; align-items: center; }

/* ---------- Rodapé: ligações legais ---------- */
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: .78rem; }
.foot-links a { color: var(--vela-dim); border-bottom: 1px solid var(--talha-hair); }
.foot-links a:hover { color: var(--talha-2); }

/* ---------- Páginas interiores ---------- */
.page-programa main, .page-legal main, .page-error main { padding-top: var(--head-h); }
.programme-page .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.programme-page .h2 { font-style: italic; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; max-width: 1080px !important; }
.pp-card .prog-card { max-width: 520px; margin: 0 auto; }
.pp-side .h3 { margin-bottom: 20px; }
.pp-listen { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--talha-hair); }
.pp-listen li { border-bottom: 1px solid var(--talha-hair); }
.pp-listen button { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 14px 0; text-align: left; }
.pp-listen small { display: block; font: 500 .62rem/1.3 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--talha); }
.pp-listen b { display: block; font: 400 1.15rem/1.25 var(--f-display); }
.pp-listen i { display: block; font-style: normal; font-size: .84rem; color: var(--vela-faint); }
.pp-listen button:hover .play-ring { background: var(--talha); border-color: var(--talha); }
.pp-listen button:hover .play-ring svg { fill: var(--nave); }
.pp-cta { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.pp-note { margin: 26px 0 0; font-size: .84rem; color: var(--vela-faint); }
.legal-body { max-width: 760px !important; }
.legal-body h2 { margin: 48px 0 12px; font: 400 1.6rem/1.2 var(--f-display); color: var(--vela); }
.legal-body p { margin: 0 0 14px; color: var(--vela-dim); }
.legal-body a { color: var(--vela); border-bottom: 1px solid var(--talha-line); }
.error-page { min-height: 70vh; display: grid; place-items: center; }
.error-cta { margin-top: 34px; }

/* ---------- Site em manutenção, visto por quem entrou no painel ---------- */
.has-maint-bar { --bar-h: 34px; }
.has-maint-bar body { padding-top: var(--bar-h); }
.has-maint-bar .site-head { top: var(--bar-h); }
.maint-bar { position: fixed; inset: 0 0 auto; z-index: 400; height: var(--bar-h); padding: 0 var(--gutter); background: var(--talha); color: var(--nave); font: 400 .8rem/var(--bar-h) var(--f-body); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maint-bar b { font-weight: 600; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.maint-bar a { margin-left: 16px; color: var(--nave); font-weight: 600; border-bottom: 1px solid currentColor; }
.maint-bar .mb-short { display: none; }
@media (max-width: 1100px) {
  .maint-bar .mb-long { display: none; }
  .maint-bar .mb-short { display: inline; }
}
@media (max-width: 480px) {
  .maint-bar { padding: 0 12px; font-size: .76rem; }
  .maint-bar b { letter-spacing: .12em; }
  .maint-bar a { margin-left: 10px; }
}

/* ---------- Pré-visualização do painel ---------- */
.preview-ribbon { position: fixed; inset: 0 0 auto; z-index: 400; background: var(--talha); color: var(--nave); font: 600 .7rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-align: center; padding: 10px; }
.is-preview .site-head { top: 31px; }
.is-preview .hero { padding-top: calc(var(--head-h) + 60px); }
.is-changed { position: relative; outline: 1.5px solid var(--talha-2); outline-offset: 10px; box-shadow: 0 0 0 16px rgba(224,196,140,.07); border-radius: 2px; }
.is-changed::before { content: attr(data-badge); position: absolute; z-index: 5; top: -22px; left: 50%; transform: translateX(-50%); background: var(--talha-2); color: var(--nave); font: 600 .6rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.is-changed:not([data-badge])::before, .is-changed[data-badge=""]::before { display: none; }
.venues.is-changed { outline-offset: -2px; }
.moment.is-changed, .pg li.is-changed { outline-offset: 4px; box-shadow: none; }
.faq details.is-changed { outline-offset: 6px; }
@media (max-width: 760px) {
  .pp-grid { grid-template-columns: 1fr; }
  .ps-link { flex-direction: column; }
  .is-preview .hero { padding-top: calc(var(--head-h) + 50px); }
}

/* ---------- Impressão: só o cartão do programa, numa folha A4 ----------
   display:none (e não visibility:hidden) para o resto da página não ocupar
   espaço — senão a impressão sai com dezenas de folhas em branco. */
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  body::after { display: none !important; }
  body { padding-top: 0 !important; }
  body > *:not(main) { display: none !important; }
  main > *:not(#programa):not(.programme-page) { display: none !important; }
  #programa > .section-head, .prog-controls, .prog-actions, .prog-shared,
  .programme-page > .section-head, .pp-side { display: none !important; }
  .section { padding: 0 !important; background: none !important; }
  .page-programa main { padding: 0 !important; }
  .prog-grid, .pp-grid { display: block !important; max-width: none !important; }
  .prog-side { position: static !important; max-width: none !important; }
  #prog-card {
    width: 160mm; max-width: none; margin: 22mm auto 0; transform: none !important; box-shadow: none !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; page-break-inside: avoid;
  }
  #prog-card .pc-list li { animation: none !important; }
}
