/* ==========================================================================
   Pousada Brisa do Cardeiro — estilos
   Paleta tirada da logo (caramelo), da madeira, das paredes areia
   e dos cobogós brancos das fotos.
   ========================================================================== */

:root {
  /* Cores */
  --brand: #8A5416;          /* caramelo da logo */
  --brand-700: #6F4210;
  --brand-300: #C99A62;
  --wood: #B86A2E;           /* madeira das cadeiras e cabeceiras */
  --sand-50: #FBF7F1;        /* off-white (roupa de cama) */
  --sand-100: #F4ECE1;       /* paredes areia */
  --sand-200: #EADCC8;
  --sand-300: #D8C3A5;
  --ink: #2A1E15;            /* texto principal */
  --ink-2: #5E4E40;          /* texto secundário */
  --night: #241912;          /* seções escuras */
  --night-2: #1B130D;
  --cream: #FBF7F1;
  --line: rgba(42, 30, 21, .12);
  --line-light: rgba(251, 247, 241, .18);

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Monsieur La Doulaise", "Brush Script MT", cursive;

  /* Espaços */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 24px 60px -28px rgba(42, 30, 21, .35);

  /* Padrão de cobogó (círculo + losango, como nas paredes da pousada) */
  --cobogo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%238A5416' stroke-opacity='.09'%3E%3Ccircle cx='28' cy='28' r='10'/%3E%3Cpath d='M28 6 50 28 28 50 6 28z'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3Ccircle cx='56' cy='0' r='10'/%3E%3Ccircle cx='0' cy='56' r='10'/%3E%3Ccircle cx='56' cy='56' r='10'/%3E%3C/g%3E%3C/svg%3E");
  --cobogo-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23FBF7F1' stroke-opacity='.06'%3E%3Ccircle cx='28' cy='28' r='10'/%3E%3Cpath d='M28 6 50 28 28 50 6 28z'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3Ccircle cx='56' cy='0' r='10'/%3E%3Ccircle cx='0' cy='56' r='10'/%3E%3Ccircle cx='56' cy='56' r='10'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }

::selection { background: var(--brand); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg use { pointer-events: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .7em 1.2em;
  background: var(--brand);
  color: var(--cream);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
  color: var(--brand);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--sand-200); }

.script {
  margin: 0 0 -.15em;
  color: var(--brand);
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1.1;
}
.script--light { color: var(--brand-300); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

/* Cormorant usa números "antigos" por padrão; aqui ficam alinhados */
.hero-title, .section-title, .stats dd, .distances strong,
.highlights-grid strong, .exp-num, .room-title { font-variant-numeric: lining-nums; }
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--brand-300); }

.section-lead {
  max-width: 640px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.section { position: relative; padding-block: var(--section); }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.pattern { background-color: var(--sand-100); background-image: var(--cobogo); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: .95em 1.9em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .icon { width: 1.35em; height: 1.35em; }
.btn--primary { background: var(--brand); color: var(--cream); }
.btn--primary:hover { background: var(--brand-700); }
.btn--outline { border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--cream); }
.btn--ghost-light { border-color: rgba(251, 247, 241, .6); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn--small { min-height: 42px; padding: .7em 1.4em; font-size: .7rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: 14px;
  color: var(--cream);
  transition: background-color .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease);
}
.site-header.is-solid,
.site-header.menu-open {
  padding-block: 8px;
  background: rgba(251, 247, 241, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* O blur cria um "containing block" e prenderia o menu mobile (position: fixed) dentro do header */
.site-header.menu-open {
  background: var(--sand-50);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1400px;
}

.brand {
  position: relative;
  display: block;
  width: 132px;
  height: 60px;
  flex: none;
  transition: width .45s var(--ease), height .45s var(--ease);
}
.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .45s var(--ease);
}
.brand-logo--dark { opacity: 0; }
.is-solid .brand,
.menu-open .brand { width: 116px; height: 53px; }
.is-solid .brand-logo--light,
.menu-open .brand-logo--light { opacity: 0; }
.is-solid .brand-logo--dark,
.menu-open .brand-logo--dark { opacity: 1; }

.main-nav-list {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
}
.main-nav-list a {
  position: relative;
  padding-block: 6px;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav-list a:hover::after,
.main-nav-list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch { display: flex; align-items: center; }
.lang-switch button {
  min-width: 34px;
  min-height: 34px;
  padding: 4px 6px;
  border: 0;
  background: none;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  opacity: .62;
  cursor: pointer;
  transition: opacity .3s;
}
.lang-switch button + button { border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }

.btn--header { background: transparent; border-color: currentColor; color: inherit; }
.btn--header:hover { background: var(--brand); border-color: var(--brand); color: var(--cream); }
.is-solid .btn--header { background: var(--brand); border-color: var(--brand); color: var(--cream); }
.is-solid .btn--header:hover { background: var(--brand-700); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); }

.hero-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, 100svh);
  padding-block: calc(var(--header-h) + 40px) clamp(150px, 18vh, 200px);
  overflow: hidden;
  color: var(--cream);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.06);
  animation: hero-zoom 14s var(--ease) forwards;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 19, 13, .62) 0%, rgba(27, 19, 13, .12) 26%, rgba(27, 19, 13, .1) 46%, rgba(27, 19, 13, .72) 100%),
    linear-gradient(90deg, rgba(27, 19, 13, .45) 0%, rgba(27, 19, 13, 0) 60%);
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero-content { position: relative; z-index: 1; }

.hero-title {
  max-width: 18ch;
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--sand-200); }

.hero-lead {
  max-width: 540px;
  margin-bottom: 2.2rem;
  color: rgba(251, 247, 241, .88);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 120px;
  z-index: 1;
  display: none;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  color: var(--cream);
  opacity: .75;
  animation: cue 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
@keyframes cue { 50% { transform: translateY(8px); opacity: .4; } }

/* Barra de consulta rápida */
.booking-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1080px;
  margin: -64px auto 0;
  padding: 20px;
  background: var(--sand-50);
  box-shadow: var(--shadow-soft);
}
.booking-bar .btn { grid-column: 1 / -1; }
.booking-bar .form-error { grid-column: 1 / -1; margin: 0; }

/* ---------- Campos de formulário ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  color: var(--ink-2);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--sand-300);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5416' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field input,
.field select { height: 50px; }
.field input[type="date"] { line-height: 1.2; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #9A8B7C; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(138, 84, 22, .14);
}
.field [aria-invalid="true"] { border-color: #A23B2A; }

.form-error {
  padding: 10px 14px;
  border-left: 2px solid #A23B2A;
  background: #F8E9E4;
  color: #7E2A1C;
  font-size: .92rem;
  font-weight: 400;
}

/* ---------- Destaques ---------- */
.highlights { padding-block: clamp(56px, 7vw, 84px) clamp(44px, 6vw, 64px); }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 20px;
}
.highlights-grid li { display: flex; flex-direction: column; gap: 6px; }
.highlights-grid .icon { width: 30px; height: 30px; margin-bottom: 8px; color: var(--brand); stroke-width: 1.2; }
.highlights-grid strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}
.highlights-grid span { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* ---------- A Pousada ---------- */
.about { padding-top: clamp(40px, 6vw, 80px); }
.about-grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-text p { color: var(--ink-2); }
.about-text .signature {
  margin-top: 1.6rem;
  padding-left: 18px;
  border-left: 1px solid var(--brand);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 2.4rem 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd {
  margin: 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
}
.stats dt {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.about-media { position: relative; padding: 0 0 18% 0; }
.about-photo { overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo--main { width: 84%; aspect-ratio: 4 / 4.2; }
.about-photo--detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--sand-50);
  box-shadow: var(--shadow-soft);
}
.about-ornament {
  position: absolute;
  top: -28px;
  right: 4%;
  width: 88px;
  height: 88px;
  fill: none;
  stroke: var(--brand-300);
  stroke-width: 1;
}

/* ---------- Suítes ---------- */
.rooms-grid { display: grid; gap: clamp(28px, 4vw, 44px); }

.room-card {
  display: flex;
  flex-direction: column;
  background: var(--sand-50);
  box-shadow: 0 1px 0 var(--line);
}
.room-body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3.4vw, 40px); }
.room-body > p { color: var(--ink-2); }
.room-body .btn { align-self: flex-start; margin-top: auto; }
.room-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 1rem;
}
.room-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.1; }
.room-cap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.room-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: .6rem 0 2rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.room-features li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.room-features .icon { color: var(--brand); }

/* Carrossel */
.carousel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -3px; }
.carousel-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; cursor: zoom-in; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.carousel-btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 247, 241, .92);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity .35s, background-color .3s, color .3s;
}
.carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }
.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--brand); color: var(--cream); }
.carousel-btn[disabled] { opacity: 0 !important; pointer-events: none; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(27, 19, 13, .38);
  transform: translateX(-50%);
  pointer-events: none;
}
.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(251, 247, 241, .5);
  transition: background-color .3s, transform .3s;
}
.carousel-dots span.is-active { background: var(--cream); transform: scale(1.25); }

/* Comodidades */
.amenities {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(36px, 5vw, 52px);
  border-top: 1px solid var(--line);
}
.amenities-title {
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 18px;
}
.amenities-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: .92rem;
  line-height: 1.4;
}
.amenities-grid .icon {
  width: 54px;
  height: 54px;
  padding: 14px;
  border: 1px solid var(--sand-300);
  border-radius: 50%;
  color: var(--brand);
  stroke-width: 1.3;
}

/* ---------- Rooftop ---------- */
.rooftop {
  background-color: var(--night);
  background-image: var(--cobogo-light);
  color: rgba(251, 247, 241, .82);
}
.rooftop-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
.breakfast {
  display: flex;
  gap: 20px;
  margin-top: 2.2rem;
  padding: 26px 28px;
  border: 1px solid var(--line-light);
}
.breakfast .icon { width: 36px; height: 36px; color: var(--brand-300); stroke-width: 1.2; }
.breakfast h3 {
  margin-bottom: .4rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.breakfast p { margin: 0; }

.rooftop-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.rt { overflow: hidden; }
.rt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rt:hover img { transform: scale(1.04); }
.rt--a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.rt--b, .rt--c { aspect-ratio: 4 / 3.4; }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 24vw, 250px);
  grid-auto-flow: dense;
  gap: 10px;
}
.g-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--sand-200);
  cursor: zoom-in;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 25, 18, 0);
  transition: background-color .5s;
}
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { background: rgba(36, 25, 18, .14); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Experiências ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.exp-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 40px);
  background: var(--sand-50);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.exp-num {
  position: absolute;
  top: 22px;
  right: 26px;
  color: var(--sand-300);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
}
.exp-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.exp-card h3 {
  margin-bottom: .6rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
}
.exp-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }

.exp-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin: clamp(40px, 5vw, 56px) 0 0;
  color: var(--ink-2);
  text-align: center;
}
.exp-note a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.exp-note a:hover { color: var(--brand-700); }

/* ---------- Localização ---------- */
.location-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.location-info > p { color: var(--ink-2); }
.address {
  display: flex;
  gap: 14px;
  margin: 1.8rem 0;
  font-weight: 400;
  line-height: 1.6;
}
.address .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--brand); }
.distances { margin-bottom: 2.2rem; border-top: 1px solid var(--line); }
.distances li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.distances strong {
  flex: none;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.map-wrap {
  position: relative;
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: var(--sand-200);
  box-shadow: var(--shadow-soft);
}
.map-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(251, 247, 241, .7);
  pointer-events: none;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(.18) saturate(.9);
}

/* ---------- Reservas ---------- */
.booking { color: rgba(251, 247, 241, .84); overflow: hidden; background: var(--night); }
.booking-bg { position: absolute; inset: 0; }
.booking-bg img { width: 100%; height: 100%; object-fit: cover; }
.booking-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(27, 19, 13, .94) 0%, rgba(27, 19, 13, .84) 50%, rgba(27, 19, 13, .7) 100%);
}
.booking-grid { position: relative; display: grid; gap: clamp(44px, 6vw, 80px); align-items: start; }

.contact-list { display: grid; gap: 18px; margin: 2.2rem 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list .icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--brand-300);
}
.contact-list div { display: flex; flex-direction: column; }
.contact-list .label {
  color: var(--brand-300);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.contact-list a { color: var(--cream); font-size: 1.08rem; font-weight: 400; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.policies { padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.policies-title {
  margin-bottom: .9rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}
.policies ul { display: grid; gap: 10px; }
.policies li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.policies .icon { color: var(--brand-300); }

.booking-form {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--sand-50);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.booking-form-title {
  margin-bottom: .2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-form .form-error { margin: 0; }
.form-note { margin: 0; color: var(--ink-2); font-size: .84rem; line-height: 1.5; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(64px, 8vw, 96px);
  background-color: var(--night-2);
  background-image: var(--cobogo-light);
  color: rgba(251, 247, 241, .7);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  gap: 44px;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-brand img { width: 210px; height: auto; margin-bottom: 1.4rem; }
.footer-brand p { max-width: 320px; }
.footer-title {
  margin-bottom: 1rem;
  color: var(--cream);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a,
.footer-contact a { text-decoration: none; transition: color .3s; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--cream); }
.footer-contact address { margin-bottom: 1rem; line-height: 1.7; }
.footer-contact ul { display: grid; gap: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--brand-300); }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  font-size: .82rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line-light);
}
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; letter-spacing: .08em; }
.to-top:hover { color: var(--cream); }

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(42, 30, 21, .55);
  transition: transform .4s var(--ease), background-color .3s, opacity .4s, visibility .4s;
}
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:hover { background: var(--brand-700); transform: translateY(-2px); }
.wa-float-label {
  display: none;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 12, 8, .96);
  color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(18, 12, 8, .9); }
.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1200px, 92vw);
  padding: 64px 0 56px;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100dvh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.lb-caption { max-width: 640px; color: rgba(251, 247, 241, .78); font-size: .92rem; text-align: center; }
.lb-count {
  position: absolute;
  top: 22px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-size: .78rem;
  letter-spacing: .2em;
  opacity: .7;
}
.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(251, 247, 241, .3);
  border-radius: 50%;
  background: rgba(18, 12, 8, .4);
  color: var(--cream);
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.lb-btn:hover { background: var(--brand); border-color: var(--brand); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -25px; }
.lb-next { right: 14px; top: 50%; margin-top: -25px; }

/* ---------- Animações de entrada ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .highlights-grid [data-reveal]:nth-child(2),
.js .exp-grid [data-reveal]:nth-child(3n + 2) { transition-delay: .1s; }
.js .highlights-grid [data-reveal]:nth-child(3),
.js .exp-grid [data-reveal]:nth-child(3n) { transition-delay: .2s; }
.js .highlights-grid [data-reveal]:nth-child(4) { transition-delay: .3s; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (min-width: 640px) {
  .booking-bar { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wa-float-label { display: inline; }
  .wa-float { padding: 0 22px 0 18px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .highlights-grid li { padding-left: 24px; border-left: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr 1.05fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .rooftop-grid { grid-template-columns: .9fr 1.1fr; }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .location-grid { grid-template-columns: .95fr 1.05fr; }
  .booking-grid { grid-template-columns: 1fr 1.05fr; }
  .scroll-cue { display: block; }

  .booking-bar {
    position: absolute;
    left: 50%;
    bottom: 0;
    grid-template-columns: 1fr 1fr .8fr auto;
    align-items: end;
    gap: 18px;
    margin: 0;
    padding: 22px 24px;
    transform: translate(-50%, 50%);
  }
  .booking-bar .btn { grid-column: auto; min-height: 50px; }
  .highlights { padding-top: clamp(120px, 12vw, 150px); }
}

@media (min-width: 1100px) {
  .amenities-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* Menu mobile */
@media (max-width: 1099px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: 110px var(--gutter) 48px;
    background: var(--sand-50);
    background-image: var(--cobogo);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav-list { flex-direction: column; gap: 6px; }
  .main-nav-list a {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 2.6rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.3;
  }
  .main-nav-list a::after { display: none; }
  .main-nav-cta { display: inline-flex; align-self: flex-start; }
}

@media (max-width: 639px) {
  .btn--header { display: none; }
  .header-actions { gap: 6px; }
  .brand { width: 112px; height: 51px; }
  .is-solid .brand, .menu-open .brand { width: 100px; height: 46px; }
  .lang-switch button { min-width: 30px; font-size: .68rem; }
  .hero-stage { padding-bottom: 110px; }
  .hero-ctas .btn { width: 100%; }
  .room-features { grid-template-columns: 1fr 1fr; font-size: .9rem; }
  .rooftop-media { gap: 10px; }
  .distances strong { font-size: 1.2rem; }
  .booking-bar .field--guests { grid-column: 1 / -1; }
}

@media (max-width: 379px) {
  .form-row,
  .booking-bar { grid-template-columns: 1fr; }
  .lang-switch button { min-width: 26px; padding-inline: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
}
