: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; }
section[id] { scroll-margin-top: 80px; }
[hidden] { display: none !important; }
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: 900px; }
.hero h1, .hero p { max-width: 730px; }
.hero p { font-size: 19px; }
.partner { font-size: 13px; color: #e5d5b7; }
.host-badge { display: inline-flex; align-items: center; gap: 16px; margin-top: 6px; padding: 12px 18px; background: rgba(10, 18, 13, .72); border: 1px solid rgba(201, 167, 106, .55); border-radius: 8px; font-size: 15px; line-height: 1.5; max-width: 640px; }
.host-badge img { width: 150px; height: auto; flex: none; filter: brightness(1.8) contrast(1.1); }
.host-badge strong { color: var(--gold); font-weight: normal; }
.cobrand { display: flex; align-items: center; gap: 10px; margin-right: auto; margin-left: 22px; padding-left: 22px; border-left: 1px solid #66583c; text-decoration: none; color: var(--muted); }
.cobrand small { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.cobrand img { height: 50px; width: auto; filter: brightness(1.8) contrast(1.1); }
.cobrand strong { font: normal 16px Georgia, serif; color: var(--gold); }
@media (max-width: 1150px) and (min-width: 601px) {
  .cobrand { margin-left: 16px; padding-left: 16px; }
  .cobrand small { display: none; }
  .site-nav a { margin-left: 14px; }
  .brand { white-space: nowrap; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .site-header { padding: 16px 4%; }
  .cobrand img { height: 38px; }
  .site-nav a { margin-left: 12px; }
}

/* 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; }

/* Experiences */
.exp { background: var(--bg); }
.exp-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.exp-intro h2 { font-size: clamp(32px, 3.6vw, 44px); }
.exp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 0; }
.exp-stats div { border-top: 1px solid var(--gold); padding-top: 10px; }
.exp-stats dt { font: normal 28px Georgia, serif; color: var(--gold); }
.exp-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.exp-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exp-collage img { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; }
.exp-collage img:first-child { grid-column: 1 / -1; height: 280px; }
.exp-list { padding-top: 10px; }
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.exp-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.exp-photo { position: relative; display: block; padding: 0; border: 0; background: #000; cursor: zoom-in; }
.exp-photo img { width: 100%; height: 260px; object-fit: cover; transition: opacity .2s; }
.exp-photo:hover img { opacity: .85; }
.exp-count { position: absolute; right: 12px; bottom: 12px; background: #0b1511dd; color: var(--gold); font-size: 12px; letter-spacing: 1px; padding: 6px 10px; border-radius: 3px; }
.exp-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.exp-body h3 { font: normal 28px Georgia, serif; margin: 10px 0 6px; }
.exp-body h3 span { color: var(--muted); font-size: 20px; }
.exp-body p { font-size: 15px; margin: 8px 0; }
.exp-body .btn { align-self: flex-start; margin-top: auto; }
.exp-body p:last-of-type { margin-bottom: 20px; }
.exp-closing { background: linear-gradient(0deg, rgba(10,18,13,.92), rgba(10,18,13,.82)), url('../img/experiencias/fechamento-1.jpg') center/cover; text-align: center; }
.exp-closing .container { max-width: 860px; }
.exp-closing p { color: #d6d8cf; }
.exp-closing h3 { font: normal 28px Georgia, serif; color: var(--gold); margin: 34px 0 4px; }
.exp-closing .actions { justify-content: center; }
.exp-quote { font: italic 22px/1.5 Georgia, serif; color: #e5d5b7 !important; margin: 0 0 18px; }

/* Hotel page */
.hotel-hero { background: linear-gradient(120deg, #1c2b25 20%, #4a3a33); }
.hotel-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 45px; align-items: center; }
.hotel-split.solo { grid-template-columns: 1fr; }
.hotel-split img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 460px; }
.hotel-hero { min-height: 520px; }
.hotel-logo { display: block; width: 260px; max-width: 70%; height: auto; margin-bottom: 26px; filter: brightness(1.35) drop-shadow(0 2px 6px rgba(0,0,0,.8)); }
.hotel-split.invertido img { order: 2; }
.hotel-split h2 { font-size: clamp(30px, 3.4vw, 40px); }
.hotel-marcos { padding-top: 10px; }
.timeline { list-style: none; margin: 34px 0 0; padding: 0 0 0 30px; max-width: 820px; border-left: 2px solid #5c5038; }
.timeline li { position: relative; margin: 0 0 34px; }
.timeline li::before { content: ''; position: absolute; left: -39px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); }
.timeline-ano { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.timeline h3 { font: normal 24px Georgia, serif; margin: 4px 0; }
.timeline p { margin: 0; }
.hotel-quote { background: #1f3a30; }
.hotel-quote blockquote { margin: 0 auto; max-width: 880px; text-align: center; font: italic clamp(24px, 3vw, 36px)/1.4 Georgia, serif; color: #f1ead9; }
.hotel-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.hotel-gallery figure { margin: 0; }
.hotel-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.hotel-gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.hotel-videos { background: #17231b; }

/* Gallery */
dialog.gallery { max-width: 1000px; width: 94%; padding: 22px; }
.gallery figure { margin: 12px 0 0; }
.gallery img { width: 100%; max-height: 72vh; object-fit: contain; background: #000; border-radius: 4px; }
.gallery figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 8px; }
.gallery-nav { display: flex; justify-content: space-between; margin-top: 10px; }

/* 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; }
  .exp-intro, .exp-grid, .hotel-split { grid-template-columns: 1fr; }
  .hotel-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel-split.invertido img { order: 0; }
  .exp-intro { gap: 26px; }
  .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; }
  .cobrand { margin: 12px 0 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid #66583c; }
  .host-badge { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero { min-height: 400px; padding: 50px 16px; }
  .container { padding: 45px 16px; }
  .entry-main { padding: 36px 16px; }
  .exp-stats { grid-template-columns: repeat(2, 1fr); }
  .exp-collage img { height: 130px; }
  .exp-collage img:first-child { height: 200px; }
  .exp-photo img { height: 210px; }
  .exp-body { padding: 20px 18px; }
  .exp-closing .btn { width: 100%; text-align: center; }
  .panel { padding: 22px 18px; }
  h2 { font-size: 34px; }
}
