/* Página Réserver une table (20/11/2026) — só carregada nesta página */

/* ---------- topo ---------- */
.rv-hero { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px); }
.rv-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; opacity: .38; filter: saturate(1.1); }
.rv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,20,15,.94) 0%, rgba(23,20,15,.72) 45%, rgba(23,20,15,.2) 100%), var(--grain); pointer-events: none; }
.rv-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.rv-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
.rv-hero h1 .spray { font-style: italic; color: var(--glow); display: block; }
.rv-big { font-size: 1.05rem; padding-left: 1.8em; padding-right: 1.8em; }

/* estado ao vivo */
.rv-status { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: .55em 1em; border: 1px solid rgba(244,238,227,.3); border-radius: 999px; font-size: .95rem; background: rgba(0,0,0,.3); }
.rv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--glow); flex: none; }
.rv-status.is-open .rv-dot { background: #5fd36b; box-shadow: 0 0 0 0 rgba(95,211,107,.6); animation: rv-pulse 1.8s infinite; }
@keyframes rv-pulse { 70% { box-shadow: 0 0 0 10px rgba(95,211,107,0); } 100% { box-shadow: 0 0 0 0 rgba(95,211,107,0); } }

/* polaroides */
.rv-polas { position: relative; height: 460px; }
.rv-pola { position: absolute; width: 58%; background: #fbf7ef; padding: 10px 10px 40px; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .4s ease; }
.rv-pola > div { aspect-ratio: 4/3.4; background-size: cover; background-position: center; background-color: var(--night-2); }
.rv-pola span { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-family: "Permanent Marker", cursive; color: var(--ink); font-size: 1.05rem; }
.rv-p1 { left: 0; top: 30px; transform: rotate(-7deg); z-index: 2; }
.rv-p2 { right: 0; top: 0; transform: rotate(5deg); }
.rv-p3 { left: 24%; bottom: 0; transform: rotate(2deg); z-index: 3; }
.rv-polas:hover .rv-p1 { transform: rotate(-10deg) translate(-8px, -6px); }
.rv-polas:hover .rv-p2 { transform: rotate(8deg) translate(8px, -6px); }

/* ---------- momentos ---------- */
.rv-moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.rv-moment { background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); border-top: 6px solid var(--terra); }
.rv-moment:nth-child(2) { border-top-color: #ffd21f; }
.rv-moment:nth-child(3) { border-top-color: #1fb5d8; }
.rv-m-img { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--cream-2); }
.rv-m-num { position: absolute; left: 14px; bottom: -22px; font-family: Anton, var(--sans); font-size: 3.4rem; line-height: 1; color: var(--ink); -webkit-text-stroke: 0; text-shadow: 3px 3px 0 #fff; }
.rv-m-txt { padding: 30px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.rv-m-txt h3 { margin-bottom: .2em; }
.rv-when { font-weight: 600; color: var(--terra-dark); margin: 0 0 .8em; font-size: .95rem; }
.rv-m-txt p { margin: 0 0 .8em; }
.rv-price { font-family: var(--serif); font-size: 1.3rem; margin-top: auto !important; padding-top: .4em; }
.rv-m-txt .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- módulo ---------- */
.rv-mod-wall:focus { outline: none; }
.rv-mod { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.rv-frame { position: relative; margin-top: 26px; background: #fff; color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 6px var(--terra), 0 30px 60px rgba(0,0,0,.5); }
.rv-frame-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--cream-2); font-size: .88rem; border-bottom: 1px solid var(--line); }
.rv-frame-bar b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-frame-bar a { color: #7f3512; font-weight: 600; text-decoration: none; white-space: nowrap; }
.rv-frame-bar a:hover { text-decoration: underline; }
.rv-dots { display: flex; gap: 6px; }
.rv-dots i { width: 11px; height: 11px; border-radius: 50%; background: #e5157a; }
.rv-dots i:nth-child(2) { background: #ffd21f; }
.rv-dots i:nth-child(3) { background: #1fb5d8; }
.rv-frame iframe { display: block; width: 100%; height: 820px; border: 0; background: #fff; }
.rv-load { position: absolute; inset: 46px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); background: #fff; transition: opacity .4s; pointer-events: none; }
.rv-frame.is-ready .rv-load { opacity: 0; }
.rv-spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--cream-2); border-top-color: var(--terra); animation: rv-spin 1s linear infinite; }
@keyframes rv-spin { to { transform: rotate(360deg); } }
.rv-nf { font-size: .92rem; opacity: .85; margin-top: 18px; }
.rv-nf a { color: var(--glow); font-weight: 600; }
.rv-ticket { margin-top: 26px; background: var(--cream); color: var(--ink); padding: 40px 32px; text-align: center; border-radius: 10px; box-shadow: 0 0 0 6px var(--terra); }
.rv-ticket-k { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; margin: 0; }
.rv-ticket-h { font-family: var(--serif); font-size: 2.4rem; margin: .2em 0 .6em; }

.rv-side { position: sticky; top: 110px; margin-top: 64px; background: rgba(244,238,227,.06); border: 1px solid rgba(244,238,227,.16); padding: 26px 24px; }
.rv-side h3 { font-family: "Permanent Marker", cursive; color: var(--glow); font-weight: 400; }
.rv-side dl { margin: 0; }
.rv-side dt { font-weight: 600; margin-top: 16px; }
.rv-side dt:first-child { margin-top: 0; }
.rv-side dd { margin: 4px 0 0; opacity: .85; font-size: .95rem; }
.rv-side a:not(.btn) { color: var(--glow); }
.rv-menu { margin-top: 24px; width: 100%; text-align: center; }

/* ---------- faixa de fotos ---------- */
.rv-ribbon { background: var(--night); overflow: hidden; padding: 0; border-top: 6px solid var(--terra); border-bottom: 6px solid var(--terra); }
.rv-track { display: flex; width: max-content; animation: rv-slide 60s linear infinite; }
.rv-r { width: 300px; height: 220px; flex: none; background-size: cover; background-position: center; border-right: 6px solid var(--night); }
@keyframes rv-slide { to { transform: translateX(-50%); } }
.rv-ribbon:hover .rv-track { animation-play-state: paused; }
html.rm .rv-track, html.rm .rv-status.is-open .rv-dot, html.rm .rv-spin { animation: none; }
@media (prefers-reduced-motion: reduce) { .rv-track, .rv-status.is-open .rv-dot, .rv-spin { animation: none; } }

.rv-info .hours { background: rgba(255,255,255,.35); }

/* ---------- telemóvel / tablet ---------- */
@media (max-width: 980px) {
  .rv-hero-in { grid-template-columns: 1fr; }
  .rv-polas { height: 320px; max-width: 520px; }
  .rv-moments { grid-template-columns: 1fr; max-width: 560px; }
  .rv-mod { grid-template-columns: minmax(0, 1fr); }
  .rv-side { position: static; margin-top: 0; }
}
@media (max-width: 600px) {
  .rv-polas { height: 250px; }
  .rv-pola { padding: 7px 7px 30px; }
  .rv-pola span { font-size: .85rem; bottom: 6px; }
  .rv-frame { border-radius: 6px; box-shadow: 0 0 0 4px var(--terra), 0 20px 40px rgba(0,0,0,.5); }
  .rv-frame iframe { height: 900px; }
  .rv-frame-bar .rv-dots { display: none; }
  .rv-frame-bar { flex-wrap: wrap; gap: 4px 12px; }
  .rv-r { width: 200px; height: 150px; }
  .rv-status { font-size: .88rem; }
}

/* busca rápida (data / pessoas → parâmetros do módulo Barestho) */
.rv-quick { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 26px; padding: 18px; background: rgba(244,238,227,.07); border: 1px solid rgba(244,238,227,.18); }
.rv-quick label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rv-quick input, .rv-quick select { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; padding: .62em .7em; border: 2px solid transparent; background: var(--cream); color: var(--ink); border-radius: 4px; min-width: 0; color-scheme: light; }
.rv-quick input:focus-visible, .rv-quick select:focus-visible { outline: 3px solid #ffd21f; outline-offset: 2px; }
.rv-quick .btn { white-space: nowrap; }
.rv-thanks { margin-top: 20px; padding: 18px 22px; background: #ffd21f; color: var(--ink); font-weight: 600; font-size: 1.05rem; border-left: 8px solid var(--terra); }
@media (max-width: 760px) {
  .rv-quick { grid-template-columns: 1fr 1fr; }
  .rv-quick label:first-child, .rv-quick .btn { grid-column: 1 / -1; }
}

/* serviços fechados por agora (20/11: almoço de sábado só no verão, Family Day em pausa) */
.rv-off .rv-m-img { filter: grayscale(.85) brightness(.85); }
.rv-off-tag { position: absolute; top: 14px; right: 14px; background: var(--ink); color: #ffd21f; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .4em .85em; }
.rv-off .rv-when { color: var(--muted); }
.rv-off-note { margin-top: auto !important; font-size: .95rem; }
.rv-off-note a { color: var(--terra-dark); font-weight: 600; }

/* módulo fechado até a pessoa procurar (20/11) */
.rv-open { scroll-margin-top: 110px; animation: rv-open .45s ease both; }
.rv-open[hidden] { display: none; }
@keyframes rv-open { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.rm .rv-open { animation: none; }
@media (prefers-reduced-motion: reduce) { .rv-open { animation: none; } }
