:root {
  --gold: #c9a76a;
  --bg: #101613;
  --panel: #1b241e;
  --panel-2: #203026;
  --line: #39483b;
  --text: #f6f1e7;
  --muted: #c2c5b9;
  --cream: #eae3d4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, sans-serif; }
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 6%; border-bottom: 1px solid #66583c; background: var(--bg); position: sticky; top: 0; z-index: 10; }
.brand { font-family: Georgia, serif; letter-spacing: 2px; font-size: 21px; color: var(--gold); text-decoration: none; }
.brand small { display: block; color: #ddd; font: 10px Arial, sans-serif; letter-spacing: 3px; margin-top: 7px; }
.site-nav a { color: #eee; text-decoration: none; margin-left: 20px; font-size: 13px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

/* Typography */
.eyebrow { letter-spacing: 4px; color: var(--gold); font-size: 12px; text-transform: uppercase; }
h1 { font: normal clamp(42px, 6vw, 78px)/1.08 Georgia, serif; margin: 20px 0; }
h2 { font: normal 42px Georgia, serif; margin: 12px 0; }
p { line-height: 1.7; color: var(--muted); }
.sub { max-width: 740px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 22px; background: var(--gold); color: #111b14; text-decoration: none; border: 0; border-radius: 3px; font-weight: bold; font-size: 14px; cursor: pointer; }
.btn.alt { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn.small { padding: 9px 14px; font-size: 13px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Layout */
.container { max-width: 1260px; margin: auto; padding: 65px 28px; }

/* Hero */
.hero { min-height: 450px; display: flex; align-items: center; padding: 70px 8%; background: linear-gradient(90deg, rgba(7,17,12,.96) 10%, rgba(7,17,12,.65) 65%, rgba(7,17,12,.25)), url('https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?auto=format&fit=crop&w=1800&q=85') center/cover; }
.hero > div { max-width: 730px; }
.hero p { font-size: 19px; }
.partner { font-size: 13px; color: #e5d5b7; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.thumb { height: 180px; background-size: cover; background-position: center; display: flex; align-items: end; padding: 18px; }
.number { background: #0b1511dd; padding: 8px 12px; color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.card-content { padding: 24px; }
.card h3 { font: normal 25px Georgia, serif; margin: 0; }
.card p { min-height: 66px; font-size: 14px; }
.card .more { color: var(--gold); font-weight: bold; font-size: 14px; }

/* Features */
.features { background: var(--cream); color: #1a281e; }
.features p { color: #526056; }
.features .btn.alt { color: #8a6630; border-color: #8a6630; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { padding: 20px; border-left: 2px solid #b38a4c; }
.feature h3 { font: normal 25px Georgia, serif; }

.bottom { background: #17231b; text-align: center; padding: 60px 20px; }
.site-footer { padding: 24px; text-align: center; color: #aaa; font-size: 12px; border-top: 1px solid #3b4a3e; }

/* Dialog */
dialog { background: #17231b; color: white; border: 1px solid var(--gold); border-radius: 8px; max-width: 550px; width: 90%; padding: 30px; }
dialog::backdrop { background: #000b; }
input[type="text"], input[type="password"], input:not([type]) { width: 100%; padding: 13px; margin: 7px 0 16px; background: #f7f4eb; border: 0; border-radius: 3px; font-size: 15px; }
label { font-size: 13px; }
.close { float: right; background: none; color: white; border: 0; font-size: 24px; cursor: pointer; }
.notice { font-size: 12px; color: #c7bfae; }

/* Video page */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.player { background: #000; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: contain; }
.temp-note { font-size: 12px; color: #c7bfae; border-left: 2px solid var(--gold); padding: 6px 12px; margin: 14px 0 0; }
.video-meta h1 { font-size: clamp(34px, 4.5vw, 54px); margin: 14px 0 6px; }
.assunto-title { font-size: clamp(34px, 4.5vw, 54px); margin: 12px 0 4px; }
.watch { margin-top: 26px; }
.watch.has-playlist { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 26px; align-items: start; }
.video-meta h2 { font-size: 30px; margin: 10px 0 4px; }
.playlist { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.playlist ol { list-style: none; margin: 12px 0 0; padding: 0; }
.playlist a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 10px; border-radius: 6px; text-decoration: none; color: var(--text); }
.playlist a:hover { background: #24302a; }
.playlist a[aria-current] { background: #2b3a2f; box-shadow: inset 3px 0 0 var(--gold); }
.playlist strong { display: block; font-weight: normal; font-size: 15px; line-height: 1.4; }
.playlist small { color: var(--muted); font-size: 12px; }
.pl-num { color: var(--gold); font-size: 13px; letter-spacing: 1px; padding-top: 2px; }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 30px 0 10px; }
.pager .placeholder { flex: 1; }

/* Hotel page */
.panel { background: var(--panel-2); padding: 28px; border: 1px solid #58634c; border-radius: 8px; max-width: 850px; margin: 25px 0; }
.panel h2 { color: var(--gold); font-size: 30px; }
.panel input { max-width: 420px; display: block; }
.warning { border-left: 3px solid var(--gold); padding: 15px; background: #302e1d; color: #e5d5b7; max-width: 850px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-grid > div { background: var(--panel-2); padding: 18px; border-radius: 6px; }
.info-grid h2 { color: var(--gold); font-size: 28px; }
#link a { overflow-wrap: anywhere; }
#qr { width: 210px; height: 210px; background: white; padding: 10px; display: none; }

/* Entry page */
.entry { min-height: 100vh; display: flex; flex-direction: column; }
.entry-main { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 60px 8%; background: linear-gradient(90deg, rgba(7,17,12,.96) 20%, rgba(7,17,12,.75)), url('https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?auto=format&fit=crop&w=1800&q=85') center/cover; }
.entry-intro h1 { font-size: clamp(36px, 4.8vw, 62px); }
.entry-intro p { font-size: 18px; max-width: 560px; }
.entry-panel { margin: 0; background: rgba(23,35,27,.95); border-color: #66583c; }
.entry-panel form { margin-top: 10px; }
.hotel-name { color: #e5d5b7; font-size: 15px; margin: 0 0 6px; }
.hotel-name:empty { display: none; }
.known-guest { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #1f2d24; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin: 8px 0 16px; }
.known-guest p { margin: 0; color: var(--text); line-height: 1.4; }
.known-guest small { display: block; color: var(--muted); font-size: 13px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font-size: 13px; white-space: nowrap; }
.entry-panel input[type="email"] { width: 100%; padding: 13px; margin: 7px 0 16px; background: #f7f4eb; border: 0; border-radius: 3px; font-size: 15px; }
.entry-panel input { max-width: none; }
.entry-panel input[aria-invalid="true"] { outline: 2px solid #e07a5f; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.form-error { color: #f2a38f; background: #3a1f1a; border-left: 3px solid #e07a5f; padding: 10px 14px; font-size: 14px; }

/* Tasklist */
.progress { height: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.task-group { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; margin-top: 20px; }
.task-group h2 { font-size: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.task-group h2 small { font: 13px Arial, sans-serif; color: var(--muted); }
.task { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #2a372d; }
.task input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.task label { font-size: 15px; line-height: 1.5; cursor: pointer; }
.task label small { display: block; color: var(--muted); font-size: 13px; }
.task.done label { color: #8f978c; text-decoration: line-through; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 850px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .info-grid, .entry-main { grid-template-columns: 1fr; }
  .entry-main { gap: 20px; }
  .watch.has-playlist { grid-template-columns: 1fr; }
  .site-nav a { margin-left: 10px; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .site-header { display: block; position: static; padding: 16px; }
  .site-nav { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .site-nav a { margin-left: 0; }
  .hero { min-height: 400px; padding: 50px 16px; }
  .container { padding: 45px 16px; }
  .entry-main { padding: 36px 16px; }
  .panel { padding: 22px 18px; }
  h2 { font-size: 34px; }
}
