/* ============================================================
   Samaúma Park Hotel — Design system
   Tropical sofisticado + paleta floresta amazônica
   ============================================================ */

:root {
  /* Greens (forest) */
  --forest-900: #0d1b14;
  --forest-800: #142a1f;
  --forest-700: #1d3a2c;
  --forest-600: #2a5240;
  --forest-500: #3a6b54;
  --forest-400: #5a8a72;
  --forest-300: #8aae9a;

  /* Earth / wood */
  --wood-900: #3a2a1c;
  --wood-700: #6b4f33;
  --wood-500: #8b6f47;
  --wood-300: #b89c75;

  /* Sand / cream */
  --cream-50:  #faf7f0;
  --cream-100: #f5f1e8;
  --cream-200: #ece5d4;
  --cream-300: #d9cfb6;

  /* Neutrals */
  --ink:       #1a1a1a;
  --ink-soft:  #44463f;
  --line:      rgba(20, 42, 31, 0.14);
  --line-light:rgba(255,255,255,0.18);

  /* Type */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --max:   1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Type scale ===== */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--forest-600);
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(48px, 8vw, 120px);
  color: var(--forest-900);
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--forest-900);
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--forest-900);
}
.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
}
.body { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.body p + p { margin-top: 1.1em; }
.tiny { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  border-radius: 999px;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest-700); color: var(--cream-50);
}
.btn--primary:hover { background: var(--forest-900); transform: translateY(-1px); }
.btn--ghost {
  border: 1px solid var(--forest-700); color: var(--forest-900);
  transition: all .4s;
}
.btn--ghost:hover { background: var(--forest-700); color: var(--cream-50); }

/* Nav ghost button (light variant on transparent bg) */
.nav__cta .btn--ghost {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.nav__cta .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.nav.scrolled .nav__cta .btn--ghost {
  border-color: var(--forest-700);
  color: var(--forest-900);
}
.nav.scrolled .nav__cta .btn--ghost:hover { background: var(--forest-700); color: #fff; }
.btn--light {
  border: 1px solid rgba(255,255,255,0.5); color: #fff;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.06);
}
.btn--light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn .arrow { transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Top utility bar ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px var(--gutter);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-50);
  background: rgba(13, 27, 20, 0.4);
  backdrop-filter: blur(10px);
  transition: background .4s;
}
.topbar.scrolled { background: var(--forest-900); }
.topbar a { opacity: .85; transition: opacity .2s; }
.topbar a:hover { opacity: 1; }
.topbar__group { display: flex; gap: 28px; align-items: center; }
.lang { display: flex; gap: 14px; }
.lang button { font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: .6; }
.lang button.active { opacity: 1; border-bottom: 1px solid var(--cream-100); padding-bottom: 2px; }

/* ===== Utility: hide on small screens ===== */
.hide-sm { display: none !important; }
@media (min-width: 769px) {
  .hide-sm { display: inline !important; }
}

/* ===== Main nav ===== */
.nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 55;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--gutter);
  transition: all .4s;
}
.nav.scrolled {
  background: var(--cream-50); border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter);
}
.nav__menu { display: flex; gap: 32px; align-items: center; }
.nav__menu a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color .4s;
}
.nav.scrolled .nav__menu a { color: var(--forest-900); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width .3s;
}
.nav__menu a:hover::after { width: 100%; }
.nav__logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 1001;
  pointer-events: none;
}
.nav__logo a {
  pointer-events: auto;
}
.nav__logo img {
  height: 80px; width: auto;
  transition: opacity .4s ease, height .4s ease;
  display: block;
}
.nav__logo--white { 
  opacity: 1;
}
.nav__logo--color { 
  opacity: 0;
  position: absolute; 
  left: 0; 
  top: 0;
}
.nav.scrolled .nav__logo img { 
  height: 60px; 
}
.nav.scrolled .nav__logo--white { 
  opacity: 0;
}
.nav.scrolled .nav__logo--color { 
  opacity: 1;
}
.nav__cta { display: flex; gap: 14px; }
/* Mobile navigation styling is handled below under the Mobile menu/Premium drawer section */

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  will-change: transform;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,27,20,0.55) 0%, rgba(13,27,20,0.25) 35%, rgba(13,27,20,0.75) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(140px, 18vh, 180px) var(--gutter) clamp(48px, 7vh, 90px);
  max-width: var(--max); margin: 0 auto;
}
.hero__top { width: 100%; }
.hero__bottom { max-width: 56ch; }
.hero__eyebrow {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before {
  content: ""; width: 36px; height: 1px; background: currentColor;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 1.0; letter-spacing: -0.025em;
  color: #fff;
  max-width: 18ch;
}
.hero__title em {
  font-style: italic; font-weight: 300;
  color: var(--cream-200);
}
.hero__sub {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 1.7vw, 24px);
  max-width: 52ch;
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
}
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Sections ===== */
section { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

/* ===== Intro / Sobre ===== */
.intro {
  background: var(--cream-50);
  position: relative;
}
.intro .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.intro__text { max-width: 52ch; }
.intro__text .eyebrow { margin-bottom: 28px; display: block; }
.intro__text .h2 { margin-bottom: 32px; }
.intro__text .lede { margin-bottom: 28px; }
.intro__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__media::before {
  content: ""; position: absolute; inset: 24px; border: 1px solid var(--cream-200);
  z-index: 2; pointer-events: none;
}
.intro__stats {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat__num {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); font-weight: 300;
  color: var(--forest-700); line-height: 1;
}
.stat__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 8px; color: var(--ink-soft); }

@media (max-width: 880px) {
  .intro .container { grid-template-columns: 1fr; }
  .intro__media { aspect-ratio: 4/4; order: -1; }
}

/* ===== Section heading shared ===== */
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vh, 80px);
}
.section-head__title .eyebrow { display: block; margin-bottom: 20px; }
.section-head__intro { max-width: 56ch; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ===== Acomodações ===== */
.rooms {
  background: var(--forest-900);
  color: var(--cream-50);
}
.rooms .h2 { color: #fff; }
.rooms .eyebrow { color: var(--forest-300); }
.rooms .body { color: rgba(245,241,232,0.7); }

.rooms__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.room {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.room__img {
  aspect-ratio: 4/5; overflow: hidden; position: relative;
}
.room__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.room:hover .room__img img { transform: scale(1.06); }
.room__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,27,20,0.85) 100%);
}
.room__info {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
}
.room__type {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--forest-300); margin-bottom: 10px;
}
.room__name {
  font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); font-weight: 300;
  color: #fff; line-height: 1; margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.room__meta {
  display: flex; gap: 18px;
  font-size: 12px; color: rgba(255,255,255,0.75);
}
.room__meta span { display: flex; align-items: center; gap: 6px; }

@media (max-width: 880px) {
  .rooms__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Editorial split ===== */
.editorial {
  background: var(--cream-100);
  padding: 0;
}
.editorial__row {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.editorial__row--reverse .editorial__media { order: 2; }
.editorial__media {
  background-size: cover; background-position: center;
}
.editorial__text {
  padding: clamp(60px, 10vh, 120px) clamp(40px, 6vw, 100px);
  display: flex; flex-direction: column; justify-content: center;
}
.editorial__text .eyebrow { margin-bottom: 24px; }
.editorial__text .h2 { margin-bottom: 28px; }
.editorial__text .lede { margin-bottom: 24px; max-width: 42ch; }
.editorial__text .body { max-width: 48ch; margin-bottom: 36px; }

@media (max-width: 880px) {
  .editorial__row, .editorial__row--reverse { grid-template-columns: 1fr; }
  .editorial__row--reverse .editorial__media { order: -1; }
  .editorial__media { aspect-ratio: 4/3; }
}

/* ===== Experiences mosaic ===== */
.experiences { background: var(--cream-50); }
.exp__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.exp__card {
  position: relative; overflow: hidden;
  background: var(--forest-700);
}
.exp__card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.exp__card:hover img { transform: scale(1.05); }
.exp__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,27,20,0.8) 100%);
}
.exp__label {
  position: absolute; left: 24px; bottom: 22px; z-index: 2;
  color: #fff;
}
.exp__label .tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: .8; }
.exp__label .name { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-weight: 400; margin-top: 4px; }

.exp__a { grid-column: span 6; grid-row: span 2; }
.exp__b { grid-column: span 3; grid-row: span 2; }
.exp__c { grid-column: span 3; grid-row: span 2; }
.exp__d { grid-column: span 4; grid-row: span 2; }
.exp__e { grid-column: span 4; grid-row: span 2; }
.exp__f { grid-column: span 4; grid-row: span 2; }

@media (max-width: 880px) {
  .exp__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .exp__a, .exp__b, .exp__c, .exp__d, .exp__e, .exp__f { grid-column: span 1; grid-row: span 1; }
  .exp__a, .exp__d { grid-column: span 2; }
}

/* ===== Events ===== */
.events {
  background: var(--forest-800);
  color: var(--cream-50);
}
.events .h2 { color: #fff; }
.events .eyebrow { color: var(--forest-300); }
.events__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.events__text { max-width: 52ch; }
.events__text .body { color: rgba(245,241,232,0.7); }
.events__media {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
}
.events__media img { width: 100%; height: 100%; object-fit: cover; }
.events__features {
  margin-top: 40px;
  display: grid; gap: 14px;
}
.events__features li {
  list-style: none;
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.events__features li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.events__features .cap {
  font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--forest-300);
}
.events__features .desc { font-size: 14px; color: rgba(245,241,232,0.85); }

@media (max-width: 880px) {
  .events__row { grid-template-columns: 1fr; }
}

/* ===== Location ===== */
.location { background: var(--cream-100); }
.location__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
}
.location__info .info-block {
  padding: 24px 0; border-top: 1px solid var(--line);
}
.location__info .info-block:last-child { border-bottom: 1px solid var(--line); }
.location__info .label { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--forest-600); margin-bottom: 8px; }
.location__info .value { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--forest-900); }
.location__info .value small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); display: block; margin-top: 4px; }
.location__map {
  aspect-ratio: 4/5;
  background: var(--forest-700);
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.location__map::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,20,0.4), rgba(13,27,20,0.1));
}
.location__pin {
  position: absolute; z-index: 2;
  top: 50%; left: 50%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff;
}
.location__pin .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream-50); border: 3px solid var(--forest-700);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.location__pin .label-pin {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  background: rgba(13,27,20,0.7); padding: 4px 12px; backdrop-filter: blur(4px);
}

@media (max-width: 880px) {
  .location__row { grid-template-columns: 1fr; }
  .location__map { aspect-ratio: 4/3; }
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--forest-900);
  color: var(--cream-50);
  text-align: center;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.32;
  filter: grayscale(0.3);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band .h2 { color: #fff; max-width: 18ch; margin: 0 auto 32px; }
.cta-band .lede { color: rgba(245,241,232,0.85); max-width: 50ch; margin: 0 auto 48px; }
.cta-band .btns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: var(--forest-900);
  color: rgba(245,241,232,0.7);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 130px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; max-width: 36ch; }
.footer h4 {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--forest-300); font-weight: 600;
  margin-bottom: 20px;
}
.footer ul li { list-style: none; padding: 6px 0; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer__bottom {
  max-width: var(--max); margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.1em;
}
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.footer__social a:hover { background: var(--forest-600); border-color: var(--forest-600); color: #fff; }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 16px; }
}

/* ===== WhatsApp floating ===== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform .3s;
  animation: waPulse 2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1; transform: none;
}
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal--delay-3 { transition-delay: .36s; }

/* ===== Utility ===== */
.divider {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif); font-style: italic;
  color: var(--forest-600); font-size: 18px;
  margin: 24px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.4;
}

/* Tree mark — small ornament */
.ornament {
  display: inline-block;
  width: 32px; height: 32px;
  opacity: 0.6;
}

/* ===== Mobile menu / Premium drawer ===== */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  position: relative;
  z-index: 1002; /* Always above backdrop overlay */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav.scrolled .menu-btn span {
  background: var(--forest-900);
}

/* Transform hamburger into X when menu is open */
.nav.menu-open .menu-btn span {
  background: #fff !important; /* Always white on dark green drawer */
}

.nav.menu-open .menu-btn span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav.menu-open .menu-btn span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen blur overlay behind drawer */
.nav::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 998;
}

.nav.menu-open::before {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll lock when mobile menu is open */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Mobile-only sections inside the drawer */
.nav__mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  /* Hide topbar on mobile — contact info is available inside the drawer */
  .topbar { display: none; }

  /* Nav anchors to top of screen since topbar is gone */
  .nav {
    top: 0;
    padding: 14px var(--gutter);
    background: rgba(13, 27, 20, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav.scrolled {
    background: var(--cream-50);
    backdrop-filter: none;
  }

  /* Ensure CTA stays on top of the backdrop pseudo-element */
  .nav__cta {
    position: relative;
    z-index: 1002;
    align-items: center;
    gap: 12px;
  }

  /* Shrink the Reservar button on mobile */
  .nav__cta .btn--primary {
    padding: 10px 16px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .nav__cta .btn--ghost { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__logo img { height: 48px; }
  .menu-btn { display: flex; }

  /* Redefine .nav__menu as the slide-out drawer */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    background: rgba(13, 27, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 110px 40px 60px;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.menu-open .nav__menu {
    right: 0;
  }

  .nav__menu a {
    font-size: 18px;
    color: #fff !important;
    font-family: var(--serif);
    letter-spacing: 0.08em;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    text-align: left;
    transition: color 0.3s;
  }

  .nav__menu a:hover {
    color: var(--forest-300) !important;
  }

  .nav__menu a::after {
    display: none;
  }

  /* Display mobile quick settings */
  .nav__mobile-only {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: auto; /* Push to bottom of drawer */
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__mobile-only .lang {
    justify-content: flex-start;
    gap: 16px;
  }

  .nav__mobile-only .lang button {
    font-size: 14px;
    color: #fff;
    opacity: 0.6;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: all 0.3s;
  }

  .nav__mobile-only .lang button.active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
  }

  .nav__mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nav__mobile-contact a {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: var(--sans) !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .nav__mobile-contact a:hover {
    color: #fff !important;
  }
}

/* ===== História / Timeline ===== */
.history {
  background: var(--forest-900);
  color: var(--cream-50);
  padding: clamp(80px, 14vh, 140px) var(--gutter);
  position: relative;
  overflow: hidden;
}

/* giant watermark text behind everything */
.history__bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

.history .eyebrow { color: var(--forest-300); }
.history .h2 { color: #fff; }

.history__head {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto clamp(60px, 10vh, 100px);
}

@media (min-width: 768px) {
  .history__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 64px;
  }
}

.history__head-title {
  flex: 1;
}

.history__head-intro {
  flex: 1;
}

.history__intro {
  color: rgba(245,241,232,0.7);
  margin: 0;
}

/* ---- timeline container ---- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* the vertical growing line */
.timeline__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--forest-400) 6%,
    var(--forest-400) 94%,
    transparent
  );
  opacity: 0.4;
}

/* ---- each row ---- */
.timeline__item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 72px;
  position: relative;
}
.timeline__item:last-child { margin-bottom: 0; }

/* node sits in the centre column */
.timeline__node {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  z-index: 2;
}

/* year badge */
.timeline__badge {
  background: var(--forest-600);
  color: var(--cream-50);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.12);
}

/* emoji/symbol icon */
.timeline__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  backdrop-filter: blur(4px);
}

/* card sits on left (col 1) by default */
.timeline__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s;
}
.timeline__card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

/* card on col 1 (left items) */
.timeline__card--left {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

/* card on col 3 (right items) */
.timeline__card--right {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

/* right-side rows: reorder columns so card goes col 3 */
.timeline__item--right { }
.timeline__item--right .timeline__node { grid-column: 2; grid-row: 1; }
.timeline__item--right .timeline__card--right { grid-column: 3; }

/* left-side rows */
.timeline__item:not(.timeline__item--right) .timeline__card--left { grid-column: 1; }
.timeline__item:not(.timeline__item--right) .timeline__node { grid-column: 2; }
.timeline__item:not(.timeline__item--right) .timeline__card--right { display: none; }
.timeline__item--right .timeline__card--left { display: none; }

/* arrow connector from card to node */
.timeline__card--left::after {
  content: "";
  position: absolute;
  right: -10px; top: 36px;
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 10px solid rgba(255,255,255,0.08);
}
.timeline__card--right::before {
  content: "";
  position: absolute;
  left: -10px; top: 36px;
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 10px solid rgba(255,255,255,0.08);
}

/* highlight card — the last (present day) */
.timeline__card--highlight {
  background: rgba(var(--forest-600-rgb, 45, 90, 60), 0.22);
  border-color: var(--forest-400);
}
.timeline__card--highlight::after {
  border-left-color: var(--forest-400);
}

/* era label */
.timeline__era {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--forest-300);
  margin-bottom: 10px;
}

/* card title */
.timeline__title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* card body */
.timeline__body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245,241,232,0.65);
}
.timeline__body em { color: var(--forest-200); font-style: italic; }
.timeline__body strong { color: var(--cream-50); font-weight: 600; }

/* decorative leaf (CSS-only) */
.timeline__leaf {
  position: absolute;
  bottom: 14px; right: 18px;
  width: 26px; height: 26px;
  opacity: 0.08;
  background: radial-gradient(circle at 30% 70%, #4ade80, transparent 70%);
  border-radius: 0 60% 0 60%;
  transform: rotate(45deg);
}
.timeline__card--right .timeline__leaf { right: auto; left: 18px; }

/* ---- Mobile: collapse to single column ---- */
@media (max-width: 720px) {
  .timeline__item,
  .timeline__item--right {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto;
    gap: 0 16px;
    margin-bottom: 40px;
  }

  .timeline__line { left: 15px; }

  .timeline__node {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
    justify-content: center;
  }

  .timeline__card--left,
  .timeline__card--right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
    display: block !important;
  }

  .timeline__card--left::after,
  .timeline__card--right::before {
    display: none;
  }

  .timeline__badge {
    font-size: 12px;
    padding: 4px 6px;
  }

  .timeline__icon {
    width: 32px; height: 32px;
    font-size: 14px;
  }

  .history__bg-text { display: none; }
}

/* ============= PRÊMIOS ============= */
.awards {
  position: relative;
  background: var(--forest-900);
  padding: 120px 0 140px;
  overflow: hidden;
}

.awards__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 300;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
  user-select: none;
}

.awards .section-head {
  margin-bottom: 72px;
}

.awards .eyebrow {
  color: #c9a84c;
}

.awards .h2 {
  color: var(--cream-50);
}

.awards .section-head__intro p {
  color: rgba(255,255,255,0.7);
}

.awards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .awards__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.award-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.award-card--alt {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
}

.award-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(201,168,76,0.3);
}

.award-card__icon {
  font-size: 22px;
  line-height: 1;
}

.award-card__year {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: #c9a84c;
  letter-spacing: 0.08em;
}

.award-card__photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
}

.award-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.award-card:hover .award-card__photo img {
  transform: scale(1.05);
}

.award-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.award-card__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a84c;
  background: rgba(201,168,76,0.12);
  border-radius: 30px;
  padding: 5px 14px;
  width: fit-content;
}

.award-card__title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--cream-50);
  line-height: 1.3;
  margin: 0;
}

.award-card__desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.award-card__desc strong {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
