/* =========================================================
   Miranda Turismo — landing page
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a2736;
  --ink-2: #113044;
  --ink-3: #17465a;
  --sand: #f6ecda;
  --sand-2: #fbf5e9;
  --sand-3: #efe1c7;
  --dune: #dbc3a1;
  --lagoon: #1f9aa0;
  --lagoon-deep: #0c6f75;
  --aqua: #8fd4d3;
  --sun: #e2ae5e;
  --sun-soft: #f0c987;
  --rust: #c0653f;
  --text: #0c2a2e;
  --muted: rgba(12, 42, 46, 0.66);
  --line: rgba(12, 42, 46, 0.13);
  --line-light: rgba(246, 236, 218, 0.14);
  --wrap: 1200px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --shadow: 0 34px 70px -34px rgba(7, 30, 34, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--sun); color: #1a1205; }

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--wrap), 100% - 56px);
  margin-inline: auto;
}

section[id],
main[id] { scroll-margin-top: 88px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--sun);
  color: #1a1205;
  font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 0; }

/* ---------- typography ---------- */

.hero__title,
.section__title,
.final__title,
.booking__card-title,
.route h3,
.tour h3,
.pillar h3,
.night .section__title {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-optical-sizing: auto;
}

em { font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--lagoon);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(227, 166, 63, 0.16);
}
.eyebrow--light { color: var(--aqua); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sun {
  background: var(--sun);
  color: #1c1305;
  box-shadow: 0 12px 30px -14px rgba(227, 166, 63, 0.8);
}
.btn--sun:hover { background: #efb455; box-shadow: 0 18px 36px -14px rgba(227, 166, 63, 0.9); }

.btn--ink { background: var(--ink); color: var(--sand); }
.btn--ink:hover { background: var(--ink-3); }

.btn--ghost {
  border-color: rgba(246, 236, 218, 0.28);
  color: var(--sand);
}
.btn--ghost:hover { border-color: rgba(246, 236, 218, 0.55); background: rgba(246, 236, 218, 0.06); }

.btn--ghost-dark {
  border-color: rgba(246, 236, 218, 0.32);
  color: var(--sand);
}

.btn--sm { padding: 0.72rem 1.15rem; font-size: 0.83rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
}
.header.is-stuck {
  padding: 12px 0;
  background: rgba(7, 30, 34, 0.9);
  border-color: rgba(246, 236, 218, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header__inner { display: flex; align-items: center; gap: 30px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sand); }
.brand__mark { width: 66px; height: 44px; object-fit: contain; border-radius: 0; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}
.brand__text span {
  margin-top: 5px;
  color: rgba(246, 236, 218, 0.62);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative;
  color: rgba(246, 236, 218, 0.72);
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--sun);
  transition: right 0.35s var(--ease);
}
.nav a:hover { color: var(--sand); }
.nav a:hover::after { right: 0; }

.header__cta { margin-left: 6px; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(246, 236, 218, 0.3);
  border-radius: 50%;
  background: transparent;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.6px;
  background: var(--sand);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 10px 28px 26px;
  background: var(--ink);
  border-top: 1px solid rgba(246, 236, 218, 0.1);
  box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.6);
}
.menu-mobile nav { display: grid; }
.menu-mobile nav a {
  padding: 13px 0;
  color: rgba(246, 236, 218, 0.8);
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(246, 236, 218, 0.08);
}
.menu-mobile .btn { margin-top: 20px; width: 100%; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: 148px 0 92px;
  background:
    radial-gradient(120% 105% at 84% 0%, #17514e 0%, #0b2e31 44%, #071e22 100%);
  color: var(--sand);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../brand/linhas-duna.svg") center / cover no-repeat;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}
.hero__copy { max-width: 620px; }
.hero__title {
  margin: 0 0 26px;
  font-size: clamp(3.3rem, 6.6vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--sand);
}
.hero__title em { color: var(--sun); }
.hero__lead {
  max-width: 46ch;
  color: rgba(246, 236, 218, 0.72);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 236, 218, 0.12);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 236, 218, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.hero__facts .icon { width: 15px; height: 15px; color: var(--aqua); }

.hero__media { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.hero__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 300px 300px 26px 26px;
  border: 1px solid rgba(246, 236, 218, 0.18);
  box-shadow: 0 60px 110px -50px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.hero__photo picture { display: block; height: 100%; }
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(246, 236, 218, 0.18);
  border-radius: 18px;
  background: rgba(7, 30, 34, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__caption .pill {
  justify-self: start;
  margin-bottom: 2px;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(227, 166, 63, 0.4);
  border-radius: 999px;
  background: rgba(227, 166, 63, 0.15);
  color: var(--sun-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__caption strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--sand);
}
.hero__caption > span:last-child { color: rgba(246, 236, 218, 0.62); font-size: 0.8rem; }

.stamp {
  position: absolute;
  top: 18px;
  left: -38px;
  width: 114px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
  animation: spin 32s linear infinite;
}
.stamp svg { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(246, 236, 218, 0.45);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero__scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, rgba(246, 236, 218, 0.55));
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 3;
  padding: 17px 0;
  background: var(--sand);
  border-block: 1px solid rgba(12, 42, 46, 0.12);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.02rem, 1.7vw, 1.32rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee__track .icon { width: 13px; height: 13px; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { padding: clamp(76px, 9vw, 132px) 0; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--sand-2); }

.section__head {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  align-items: end;
  gap: 44px;
  margin-bottom: clamp(38px, 5vw, 62px);
}
.section__head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.section__title {
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.032em;
  color: var(--ink);
}
.section__title em { color: var(--lagoon); }
.section__title--light { color: var(--sand); }
.section__title--light em { color: var(--sun); }
.section__aside { padding-bottom: 4px; }
.section__aside p { max-width: 46ch; color: var(--muted); font-size: 0.95rem; }
.section__aside--text { max-width: 44ch; }
.section__lead { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 1rem; }
.section__lead--light { color: rgba(246, 236, 218, 0.62); }

/* ---------- filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter {
  padding: 0.52rem 1rem;
  border: 1px solid rgba(12, 42, 46, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter:hover { background: rgba(12, 42, 46, 0.05); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--sand); }

/* ---------- tours ---------- */

.tours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tour {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: var(--radius);
  background: #fffbf2;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s;
}
.tour:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour.is-hidden { display: none; }

.tour__media {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: var(--sand-3);
}
.tour__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tour:hover .tour__media img { transform: scale(1.045); }
.tour__num {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(246, 236, 218, 0.86);
  backdrop-filter: blur(6px);
  color: var(--ink-2);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
.tour__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.tour__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.74rem;
}
.chip {
  padding: 0.24rem 0.62rem;
  border: 1px solid rgba(15, 138, 140, 0.35);
  border-radius: 999px;
  background: rgba(15, 138, 140, 0.07);
  color: var(--lagoon-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.chip--sun {
  border-color: rgba(227, 166, 63, 0.45);
  background: rgba(227, 166, 63, 0.14);
  color: #87580f;
}
.tour h3 { margin: 14px 0 8px; font-size: 1.62rem; line-height: 1.1; letter-spacing: -0.02em; }
.tour__text { margin-bottom: 16px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.tour__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tour__tags li {
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(12, 42, 46, 0.05);
  color: rgba(12, 42, 46, 0.68);
  font-size: 0.71rem;
}
.tour__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(12, 42, 46, 0.1);
  color: var(--lagoon-deep);
  font-size: 0.84rem;
  font-weight: 600;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.tour__cta .icon { width: 16px; height: 16px; }
.tour__cta:hover { gap: 13px; color: var(--ink); }
.tour--noite { background: #fdf6e7; }

.tours__note { margin-top: 28px; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* ---------- noite ---------- */

.night {
  position: relative;
  padding: clamp(84px, 9vw, 140px) 0;
  border-radius: clamp(26px, 4vw, 46px) clamp(26px, 4vw, 46px) 0 0;
  background: var(--ink);
  color: var(--sand);
  overflow: hidden;
}
.night__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(75% 60% at 18% 20%, rgba(15, 138, 140, 0.28) 0%, transparent 62%),
    radial-gradient(60% 50% at 88% 88%, rgba(227, 166, 63, 0.16) 0%, transparent 65%),
    url("../brand/linhas-duna.svg") center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
.night__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}
.night__media {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1 / 1.04;
}
.night__photo { overflow: hidden; margin: 0; border-radius: 16px; background: #0f3336; min-height: 0; }
.night__photo picture { display: block; height: 100%; }
.night__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.night__photo:hover img { transform: scale(1.04); }
.night__photo--tall { grid-row: span 2; }
.night__photo--tall img { object-position: center 45%; }

.night__lead { max-width: 44ch; margin-top: 22px; color: rgba(246, 236, 218, 0.68); font-size: 0.98rem; line-height: 1.7; }
.checks { display: grid; gap: 13px; margin: 28px 0 34px; }
.checks li { display: flex; align-items: center; gap: 12px; color: rgba(246, 236, 218, 0.86); font-size: 0.92rem; }
.checks .icon { width: 17px; height: 17px; color: var(--sun); }
.night__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.night__note { color: rgba(246, 236, 218, 0.45); font-size: 0.72rem; letter-spacing: 0.02em; }

/* ---------- roteiros ---------- */

.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.route {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: var(--radius);
  background: #fffbf2;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.route:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.route--feature { background: var(--ink); border-color: var(--ink); color: var(--sand); }
.route__days {
  margin-bottom: 14px;
  color: var(--lagoon-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.route--feature .route__days { color: var(--sun); }
.route h3 { margin-bottom: 10px; font-size: 1.78rem; line-height: 1.1; letter-spacing: -0.02em; }
.route__desc { margin-bottom: 24px; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.route--feature .route__desc { color: rgba(246, 236, 218, 0.62); }
.route__list { display: grid; gap: 15px; margin-bottom: 28px; }
.route__list li { color: rgba(12, 42, 46, 0.82); font-size: 0.86rem; line-height: 1.45; }
.route__list span {
  display: block;
  margin-bottom: 3px;
  color: var(--lagoon-deep);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.route--feature .route__list li { color: rgba(246, 236, 218, 0.86); }
.route--feature .route__list span { color: var(--aqua); }
.route__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 42, 46, 0.1);
  color: var(--lagoon-deep);
  font-size: 0.84rem;
  font-weight: 600;
  transition: gap 0.3s var(--ease);
}
.route--feature .route__cta { border-color: rgba(246, 236, 218, 0.16); color: var(--sun); }
.route__cta .icon { width: 16px; height: 16px; }
.route__cta:hover { gap: 13px; }

/* ---------- reserva ---------- */

.booking {
  background:
    radial-gradient(70% 60% at 12% 0%, rgba(219, 195, 161, 0.5) 0%, transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-3) 100%);
}
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 72px); }
.booking__lead { max-width: 44ch; margin-top: 20px; color: var(--muted); font-size: 0.97rem; }
.steps { display: grid; gap: 22px; margin: 36px 0; }
.steps li { display: flex; gap: 16px; }
.steps__num {
  flex: none;
  color: var(--sun);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.steps strong { display: block; font-size: 0.95rem; }
.steps p { margin-top: 3px; color: var(--muted); font-size: 0.85rem; }
.booking__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(12, 42, 46, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  transition: background 0.3s, border-color 0.3s;
}
.booking__phone:hover { background: rgba(255, 255, 255, 0.7); border-color: rgba(12, 42, 46, 0.22); }
.booking__phone-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand);
}
.booking__phone small { display: block; color: var(--muted); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.booking__phone strong { font-size: 1.04rem; }

.booking__card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: 26px;
  background: var(--ink);
  color: var(--sand);
  box-shadow: 0 50px 90px -45px rgba(7, 30, 34, 0.8);
}
.booking__card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 138, 140, 0.45) 0%, transparent 68%);
  pointer-events: none;
}
.booking__card-title { position: relative; font-size: 1.72rem; letter-spacing: -0.02em; }
.booking__card-sub { position: relative; margin-top: 4px; color: rgba(246, 236, 218, 0.55); font-size: 0.82rem; }
.booking__card form { position: relative; margin-top: 24px; }

.field { margin-bottom: 15px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(246, 236, 218, 0.6);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field label span { color: rgba(246, 236, 218, 0.35); letter-spacing: 0.02em; text-transform: none; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(246, 236, 218, 0.18);
  border-radius: 12px;
  background: rgba(246, 236, 218, 0.06);
  color: var(--sand);
  font-size: 0.9rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(246, 236, 218, 0.32); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun);
  background: rgba(246, 236, 218, 0.09);
  box-shadow: 0 0 0 3px rgba(227, 166, 63, 0.16);
}
.field input[type="date"] { color-scheme: dark; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23F6ECDA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.field select option { background: var(--sand); color: var(--ink-2); }
.field textarea { resize: vertical; min-height: 64px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form__note { margin-top: 12px; color: rgba(246, 236, 218, 0.38); font-size: 0.68rem; line-height: 1.5; text-align: center; }
.form__error { margin-top: 10px; color: #f4a892; font-size: 0.78rem; text-align: center; }

/* ---------- galeria ---------- */

.gallery-section {
  position: relative;
  background: var(--ink);
  color: var(--sand);
  border-radius: clamp(26px, 4vw, 46px) clamp(26px, 4vw, 46px) 0 0;
  overflow: hidden;
}
.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 0%, rgba(15, 138, 140, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.gallery-section .wrap { position: relative; z-index: 1; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 3 / 1.55; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.95);
}
.gallery__item:hover img { transform: scale(1.035); filter: saturate(1.05); }

/* ---------- why ---------- */

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.pillar { padding-top: 22px; border-top: 1px solid rgba(12, 42, 46, 0.16); }
.pillar__num {
  display: block;
  margin-bottom: 26px;
  color: var(--lagoon);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
}
.pillar h3 { margin-bottom: 9px; font-size: 1.3rem; letter-spacing: -0.015em; }
.pillar p { color: var(--muted); font-size: 0.87rem; line-height: 1.62; }

/* ---------- faq ---------- */

.faq { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__help { max-width: 34ch; margin-top: 24px; color: var(--muted); font-size: 0.88rem; }
.faq__help a { color: var(--lagoon-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__list details { border-top: 1px solid rgba(12, 42, 46, 0.14); }
.faq__list details:last-child { border-bottom: 1px solid rgba(12, 42, 46, 0.14); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--lagoon-deep); }
.faq__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(12, 42, 46, 0.22);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.4px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--sand); }
details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq__body { padding-bottom: 24px; }
.faq__body p { max-width: 58ch; color: var(--muted); font-size: 0.91rem; line-height: 1.72; }

/* ---------- final ---------- */

.final {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 86vh;
  padding: clamp(90px, 12vw, 150px) 0;
  overflow: hidden;
  text-align: center;
  color: var(--sand);
  background: var(--ink);
}
.final > picture,
.final > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final > picture img { object-fit: cover; object-position: center 40%; }
.final__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(75% 65% at 50% 58%, rgba(7, 30, 34, 0.12) 0%, rgba(7, 30, 34, 0.66) 100%),
    linear-gradient(180deg, rgba(7, 30, 34, 0.5) 0%, rgba(7, 30, 34, 0.24) 38%, rgba(7, 30, 34, 0.8) 100%);
}
.final__inner { position: relative; z-index: 1; }
.final__title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.final__title em { color: var(--sun); }
.final__lead { margin: 20px 0 30px; color: rgba(246, 236, 218, 0.72); font-size: 1.02rem; }
.final__phone { margin-top: 18px; color: rgba(246, 236, 218, 0.48); font-size: 0.8rem; }
.final__phone a { color: rgba(246, 236, 218, 0.8); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */

.footer { padding: 68px 0 26px; background: #05171a; color: rgba(246, 236, 218, 0.6); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: 42px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(246, 236, 218, 0.1);
}
.brand--footer .brand__text strong { font-size: 1.5rem; }
.footer__brand p { max-width: 34ch; margin-top: 18px; font-size: 0.84rem; line-height: 1.65; }
.footer__col h4 {
  margin-bottom: 14px;
  color: rgba(246, 236, 218, 0.42);
  font-family: "Archivo", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer__col a { display: block; padding: 5px 0; color: rgba(246, 236, 218, 0.7); font-size: 0.87rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--sand); }
.footer__contact p { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 0.85rem; }
.footer__contact .icon { width: 14px; height: 14px; color: var(--aqua); }
.footer__wa { display: flex !important; align-items: center; gap: 8px; color: var(--sand) !important; font-weight: 600; }
.footer__wa .icon { width: 16px; height: 16px; color: var(--sun); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  color: rgba(246, 236, 218, 0.35);
  font-size: 0.72rem;
}

/* ---------- mobile bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  z-index: 70;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 30, 34, 0.94);
  border-top: 1px solid rgba(246, 236, 218, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mobile-bar .btn { flex: 1; padding-inline: 0.8rem; font-size: 0.86rem; }

/* ---------- lightbox ---------- */

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 14, 16, 0.92);
  color: var(--sand);
  backdrop-filter: blur(8px);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(3, 14, 16, 0.9); }
.lightbox figure { max-width: min(92vw, 880px); max-height: 88vh; margin: 0; text-align: center; }
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox figcaption { margin-top: 14px; color: rgba(246, 236, 218, 0.65); font-size: 0.84rem; }
.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(246, 236, 218, 0.22);
  border-radius: 50%;
  background: rgba(246, 236, 218, 0.08);
  color: var(--sand);
  transition: background 0.25s, border-color 0.25s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(246, 236, 218, 0.16); border-color: rgba(246, 236, 218, 0.4); }
.lightbox__close { top: 20px; right: 22px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.tours .reveal:nth-child(2),
.routes .reveal:nth-child(2),
.pillars .reveal:nth-child(2) { transition-delay: 0.08s; }
.tours .reveal:nth-child(3),
.routes .reveal:nth-child(3),
.pillars .reveal:nth-child(3) { transition-delay: 0.16s; }
.tours .reveal:nth-child(4),
.pillars .reveal:nth-child(4) { transition-delay: 0.24s; }
.tours .reveal:nth-child(5) { transition-delay: 0.32s; }
.tours .reveal:nth-child(6) { transition-delay: 0.4s; }

/* =========================================================
   responsive
   ========================================================= */

@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding: 112px 0 54px; }
  .hero__media { max-width: 400px; }
  .hero__title { font-size: clamp(2.9rem, 5.4vw, 4.4rem); }
  .hero__scroll { display: none; }
}

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.8rem; }
  .hero__title { font-size: clamp(3rem, 6.2vw, 5.2rem); }
  .tours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
}

@media (max-width: 900px) {
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; }

  .hero { padding: 128px 0 84px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { justify-self: center; max-width: 430px; }
  .hero__title { font-size: clamp(3rem, 9.4vw, 4.6rem); }
  .hero__scroll { display: none; }
  .stamp { width: 98px; left: -14px; top: 14px; }

  .marquee__track { animation-duration: 38s; }

  .section__head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .section__head--center { gap: 14px; }
  .section__aside { max-width: 560px; }

  .night { border-radius: 34px 34px 0 0; }
  .night__grid { grid-template-columns: 1fr; gap: 46px; }
  .night__media { max-width: 520px; aspect-ratio: 1 / 0.95; }

  .routes { grid-template-columns: 1fr; }
  .route { padding: 28px 26px; }

  .booking__grid { grid-template-columns: 1fr; }
  .booking__card { max-width: 560px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--wide { grid-column: span 2; }

  .faq { grid-template-columns: 1fr; gap: 34px; }
  .faq__head { position: static; }

  .final { min-height: 72vh; }

  .footer__grid { grid-template-columns: 1.4fr 1fr; gap: 34px; }
}

@media (max-width: 700px) {
  .hero { padding: 112px 0 64px; }
  .hero__quick,
  .hero__actions { display: none; }
  .hero-search { margin-top: 22px; }
  .header { padding: 14px 0; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .brand__mark { width: 58px; height: 38px; }
  .brand__text strong { font-size: 1.24rem; }
  .brand__text span { font-size: 0.5rem; letter-spacing: 0.3em; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { display: grid; gap: 10px; }

  .tours { grid-template-columns: 1fr; }
  .tour__body { padding: 20px 20px 22px; }

  .night__media { max-width: 100%; aspect-ratio: 1 / 1; }
  .night__actions { align-items: flex-start; }
  .night__note { width: 100%; }

  .pillars { grid-template-columns: 1fr; gap: 26px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .gallery { gap: 10px; }
  .gallery__item { border-radius: 12px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }

  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .hero__title { font-size: clamp(2.6rem, 12.4vw, 3.4rem); }
  .stamp { width: 82px; left: -8px; }
  .hero__caption { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
  .hero__caption strong { font-size: 1.05rem; }
  .section__title { font-size: clamp(2.05rem, 9vw, 2.7rem); }
  .booking__card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- print ---------- */

@media print {
  .header, .mobile-bar, .hero__scroll, .stamp, .marquee, .filters, .lightbox { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   Vitrine — catálogo, detalhe, reserva, admin
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.load-error {
  margin: 100px auto 0;
  max-width: 720px;
  padding: 14px 18px;
  border: 1px solid rgba(155, 59, 47, 0.35);
  border-radius: 12px;
  background: #fff1ec;
  color: #7d2a1f;
  font-size: 0.86rem;
  text-align: center;
}

.detail-loading { display: grid; gap: 16px; padding: 40px 0; }
.detail-loading span {
  display: block;
  height: 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(12, 42, 46, 0.07), rgba(12, 42, 46, 0.14), rgba(12, 42, 46, 0.07));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.detail-loading span:first-child { height: 48px; width: 60%; }
.detail-loading span:last-child { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- header additions ---------- */

.header__inner { gap: 22px; }

.nav-fav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--sand);
  border: 1px solid rgba(246, 236, 218, 0.22);
  transition: background 0.25s, border-color 0.25s;
}
.nav-fav:hover { background: rgba(246, 236, 218, 0.08); border-color: rgba(246, 236, 218, 0.4); }
.nav-fav .icon { width: 18px; height: 18px; }
.nav-fav span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--sun);
  color: #1c1305;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.bookings-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(246, 236, 218, 0.18);
  border-radius: 999px;
  color: rgba(246, 236, 218, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}
.bookings-link:hover { color: var(--sand); border-color: rgba(246, 236, 218, 0.4); }
.bookings-link__count {
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

/* ---------- hero search ---------- */

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 540px;
  margin-top: 28px;
  padding: 7px 7px 7px 6px;
  border: 1px solid rgba(246, 236, 218, 0.35);
  border-radius: 999px;
  background: rgba(246, 236, 218, 0.97);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}
.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.92rem;
  outline: none;
}
.hero-search input::placeholder { color: rgba(12, 42, 46, 0.48); }
.hero-search .btn {
  padding: 0.75rem 1.3rem;
  border: 0;
  background: var(--ink);
  color: var(--sand);
  box-shadow: none;
  font-size: 0.84rem;
}
.hero-search .btn:hover { background: var(--ink-3); color: var(--sand); }

.hero__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(246, 236, 218, 0.42);
  font-size: 0.72rem;
}
.hero__quick span { letter-spacing: 0.04em; }
.hero__quick a {
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(227, 166, 63, 0.4);
  color: rgba(246, 236, 218, 0.82);
  transition: color 0.2s, border-color 0.2s;
}
.hero__quick a:hover { color: var(--sun); border-color: var(--sun); }

/* páginas de fundo claro: header sempre sólido */
body[data-page="detail"] .header,
body[data-page="booking"] .header,
body[data-page="bookings"] .header,
body[data-page="auth"] .header {
  background: rgba(7, 30, 34, 0.92);
  border-bottom-color: rgba(246, 236, 218, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* hero com busca fica mais alto: reduz respiro em telas baixas */
@media (min-width: 901px) and (min-height: 821px) {
  .hero { padding-top: 138px; }
}

/* ---------- sub-hero / páginas internas ---------- */

.page-hero {
  position: relative;
  padding: 148px 0 72px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 85% 0%, #17514e 0%, #0b2e31 45%, #071e22 100%);
  color: var(--sand);
}
.page-hero--short { padding-bottom: 56px; }
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../brand/linhas-duna.svg") center / cover no-repeat;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__title {
  margin: 0 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.page-hero__lead { max-width: 58ch; color: rgba(246, 236, 218, 0.7); font-size: 0.98rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.72rem;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lagoon-deep); }
.breadcrumb span { opacity: 0.6; }
.breadcrumb--light { color: rgba(246, 236, 218, 0.5); }
.breadcrumb--light a { color: rgba(246, 236, 218, 0.72); }
.breadcrumb--light a:hover { color: var(--sand); }

/* ---------- catálogo ---------- */

.catalog { padding-top: 42px; }

.catalog-toolbar {
  position: sticky;
  top: 76px;
  z-index: 30;
  margin-bottom: 28px;
  padding: 14px 0 16px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 540px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(12, 42, 46, 0.16);
  border-radius: 999px;
  background: #fffbf2;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.searchbox:focus-within { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(15, 138, 140, 0.12); }
.searchbox__icon { width: 19px; height: 19px; color: var(--lagoon); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 0.94rem; }

.catalog-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.results-count { color: var(--muted); font-size: 0.74rem; }

.filter { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.filter--fav .icon { width: 14px; height: 14px; }
.filter--fav.is-active { background: var(--lagoon); border-color: var(--lagoon); color: #fff; }

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.52rem 2rem 0.52rem 0.95rem;
  border: 1px solid rgba(12, 42, 46, 0.18);
  border-radius: 999px;
  background: #fffbf2;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.85rem;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* ---------- cards de passeio ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* catálogo editorial: primeiro card em destaque */
.cards--feature .tour-card:first-child .tour-card__media { aspect-ratio: 16 / 8.4; }
.cards--feature .tour-card:first-child h3 { font-size: 2.15rem; }
.cards--feature .tour-card:first-child .tour-card__text { -webkit-line-clamp: 3; }
@media (min-width: 941px) {
  .cards--feature .tour-card:first-child { grid-column: span 2; }
}

.cards__cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 260px;
  padding: 26px;
  border-radius: 18px;
  background:
    radial-gradient(80% 70% at 90% 10%, rgba(31, 154, 160, 0.35) 0%, transparent 65%),
    var(--ink);
  color: var(--sand);
  transition: transform 0.4s var(--ease);
}
.cards__cta:hover { transform: translateY(-4px); }
.cards__cta .icon { width: 26px; height: 26px; color: var(--sun); }
.cards__cta strong { margin-top: auto; font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.cards__cta span { color: rgba(246, 236, 218, 0.55); font-size: 0.76rem; }
.cards__cta small { color: var(--sun-soft); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }

.chapter {
  margin-right: 4px;
  color: var(--rust);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: 22px;
  background: #fffbf2;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tour-card__media {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: var(--sand-3);
}
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tour-card:hover .tour-card__media img { transform: scale(1.04); }
.tour-card__meta img { width: 100%; height: 100%; object-fit: cover; }
.tour-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(246, 236, 218, 0.22);
  border-radius: 999px;
  background: rgba(7, 30, 34, 0.58);
  backdrop-filter: blur(8px);
  color: var(--sand);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fav {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(246, 236, 218, 0.28);
  border-radius: 50%;
  background: rgba(7, 30, 34, 0.5);
  backdrop-filter: blur(8px);
  color: var(--sand);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.fav .icon { width: 18px; height: 18px; opacity: 0.85; }
.fav:hover { transform: scale(1.06); background: rgba(7, 30, 34, 0.75); }
.fav.is-on { color: var(--sun); border-color: rgba(227, 166, 63, 0.5); }
.fav.is-on .icon { opacity: 1; }

.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tour-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
}
.chip--lagoas { border-color: rgba(15, 138, 140, 0.35); background: rgba(15, 138, 140, 0.07); color: var(--lagoon-deep); }
.chip--rio { border-color: rgba(12, 42, 46, 0.22); background: rgba(12, 42, 46, 0.05); color: var(--ink-2); }
.chip--aventura { border-color: rgba(227, 166, 63, 0.45); background: rgba(227, 166, 63, 0.12); color: #87580f; }
.chip--noite { border-color: rgba(246, 236, 218, 0.25); background: var(--ink); color: var(--sun-soft); }

.tour-card h3 {
  margin: 12px 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tour-card h3 a { color: var(--ink); }
.tour-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}
.tour-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(12, 42, 46, 0.1);
}
.price strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; font-weight: 600; line-height: 1.1; }
.price small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.price--consult small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tour-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lagoon-deep);
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
  transition: gap 0.3s var(--ease);
}
.tour-card__cta .icon { width: 14px; height: 14px; }
.tour-card__cta:hover { gap: 11px; }

.section__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}
.section__foot p { color: var(--muted); font-size: 0.75rem; }

.empty-state { max-width: 560px; margin: 30px auto; padding: 46px 22px; text-align: center; }
.empty-state h1,
.empty-state h3 { margin-bottom: 10px; font-family: "Fraunces", Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; }
.empty-state p { margin-bottom: 22px; color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */

.cta-band {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--ink);
  color: var(--sand);
  border-radius: clamp(26px, 4vw, 44px) clamp(26px, 4vw, 44px) 0 0;
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cta-band__actions { max-width: 360px; }
.cta-band__actions p { margin-bottom: 18px; color: rgba(246, 236, 218, 0.62); font-size: 0.9rem; }

/* ---------- detalhe ---------- */

.detail-head { padding: 130px 0 40px; background: var(--sand-2); }
.detail-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.detail-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}
.detail-head__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.detail-head__meta .icon { width: 14px; height: 14px; }
.detail-head h1 {
  margin: 14px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.detail-head__summary { max-width: 58ch; color: var(--muted); font-size: 0.98rem; }
.detail-head__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.detail-head .fav {
  position: static;
  width: 44px;
  height: 44px;
  background: #fffbf2;
  border-color: rgba(12, 42, 46, 0.18);
  color: var(--ink-2);
  backdrop-filter: none;
}
.detail-head .fav.is-on { color: #b8791e; border-color: rgba(227, 166, 63, 0.6); background: rgba(227, 166, 63, 0.12); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(12, 42, 46, 0.18);
  border-radius: 999px;
  background: #fffbf2;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
}
.share-btn:hover { border-color: rgba(12, 42, 46, 0.35); }

.detail-body { padding-bottom: clamp(48px, 6vw, 84px); background: var(--sand-2); }
.detail-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 28px; align-items: start; }
.detail-gallery__main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--sand-3);
  cursor: zoom-in;
}
.detail-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.detail-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand-3);
  aspect-ratio: 3 / 2;
  opacity: 0.7;
  transition: opacity 0.25s, border-color 0.25s;
}
.detail-gallery__thumb picture,
.detail-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery__thumb:hover { opacity: 1; }
.detail-gallery__thumb.is-active { border-color: var(--ink); opacity: 1; }

.booking-panel {
  position: sticky;
  top: 100px;
  padding: 26px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--sand);
  box-shadow: 0 40px 80px -40px rgba(7, 30, 34, 0.8);
}
.booking-panel__label {
  margin-bottom: 10px;
  color: rgba(246, 236, 218, 0.55);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.booking-panel .price strong { font-size: 1.8rem; color: var(--sand); }
.booking-panel .price small { color: rgba(246, 236, 218, 0.55); }
.booking-panel .price--consult small { color: var(--sun-soft); font-size: 0.9rem; }
.booking-panel__hint { margin-top: 6px; color: rgba(246, 236, 218, 0.5); font-size: 0.72rem; }
.booking-panel form { margin-top: 20px; }
.booking-panel__estimate { margin: 2px 0 4px; color: var(--sun-soft); font-size: 0.76rem; }
.booking-panel__avail { margin: 0 0 12px; color: var(--aqua); font-size: 0.7rem; }
.booking-panel__avail.is-full { color: #f3a48f; }
.booking-panel__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: rgba(246, 236, 218, 0.45);
  font-size: 0.68rem;
  line-height: 1.5;
}
.booking-panel__note .icon { width: 13px; height: 13px; margin-top: 2px; color: var(--aqua); }
.booking-panel__wa {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 236, 218, 0.12);
  color: rgba(246, 236, 218, 0.65);
  font-size: 0.74rem;
  text-align: center;
}
.booking-panel__wa:hover { color: var(--sand); }
.booking-panel__wa .icon { width: 14px; height: 14px; vertical-align: -2px; }

.detail-info { background: var(--sand); padding-top: clamp(56px, 7vw, 90px); }
.detail-info__grid { display: grid; grid-template-columns: 1.5fr 0.55fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.detail-title {
  margin: 34px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.detail-info__main > .detail-title:first-child { margin-top: 0; }
.detail-p { max-width: 66ch; margin-bottom: 12px; color: var(--muted); font-size: 0.94rem; line-height: 1.7; }

.timeline { margin: 10px 0 34px; padding-left: 24px; border-left: 1px solid rgba(12, 42, 46, 0.16); }
.timeline li { position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(227, 166, 63, 0.18);
}
.timeline__time {
  display: block;
  margin-bottom: 3px;
  color: var(--lagoon-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.timeline strong { display: block; font-size: 0.94rem; }
.timeline p { margin-top: 2px; color: var(--muted); font-size: 0.85rem; }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 12px 0 34px;
  padding: 24px;
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: 18px;
  background: #fffbf2;
}
.spec h3 {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: "Archivo", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.spec__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(12, 42, 46, 0.82);
  font-size: 0.85rem;
  line-height: 1.5;
}
.spec__list .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--lagoon-deep); }
.spec__list:not(.spec__list--yes) .dot { flex: none; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: rgba(12, 42, 46, 0.35); }

.bring { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.bring li {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(12, 42, 46, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

.note-box { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--ink); color: var(--sand); }
.note-box h3 { margin-bottom: 8px; font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.note-box p { color: rgba(246, 236, 218, 0.66); font-size: 0.86rem; line-height: 1.6; }
.note-box__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 236, 218, 0.12);
  font-size: 0.72rem !important;
}
.note-box__meta .icon { width: 13px; height: 13px; vertical-align: -2px; color: var(--aqua); }

.detail-info__side { display: grid; gap: 12px; }
.mini-card { padding: 18px; border: 1px solid rgba(12, 42, 46, 0.1); border-radius: 16px; background: #fffbf2; }
.mini-card__label { margin-bottom: 4px; color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.mini-card__value { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; line-height: 1.1; }
.mini-card__text { margin-top: 4px; color: var(--muted); font-size: 0.76rem; }
.mini-card--cta { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--sand); }
.mini-card--cta .icon { width: 22px; height: 22px; color: var(--sun); }
.mini-card--cta strong { display: block; font-size: 0.9rem; }
.mini-card--cta small { color: rgba(246, 236, 218, 0.55); font-size: 0.72rem; }

.detail-sticky {
  display: none;
  position: fixed;
  z-index: 65;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 30, 34, 0.96);
  border-top: 1px solid rgba(246, 236, 218, 0.12);
  backdrop-filter: blur(14px);
}
.detail-sticky small { display: block; color: rgba(246, 236, 218, 0.5); font-size: 0.62rem; }
.detail-sticky strong { color: var(--sand); font-size: 0.9rem; }

/* ---------- checkout ---------- */

.checkout { padding: 130px 0 80px; background: linear-gradient(180deg, var(--sand-2) 0%, var(--sand-3) 100%); }
.checkout__title {
  margin-bottom: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.checkout__lead { max-width: 58ch; color: var(--muted); font-size: 0.95rem; }
.checkout__grid { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 30px; align-items: start; margin-top: 36px; }
.checkout__form { padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(12, 42, 46, 0.1); border-radius: 24px; background: #fffbf2; }
.checkout__block h2 { margin-bottom: 16px; font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.01em; }
.checkout__block + .checkout__block { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(12, 42, 46, 0.1); }

.field--on-cream label { color: rgba(12, 42, 46, 0.62); }
.field--on-cream input,
.field--on-cream select,
.field--on-cream textarea {
  border-color: rgba(12, 42, 46, 0.16);
  background: #fffdf7;
  color: var(--ink);
}
.field--on-cream input::placeholder,
.field--on-cream textarea::placeholder { color: rgba(12, 42, 46, 0.34); }
.field--on-cream input:focus,
.field--on-cream select:focus,
.field--on-cream textarea:focus {
  border-color: var(--lagoon);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 138, 140, 0.12);
}
.field--on-cream input[type="date"] { color-scheme: light; }
.field--on-cream select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230C2A2E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.field--on-cream select option { background: #fffdf7; color: var(--ink); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sun); }
.checkout__note { margin-top: 10px; color: rgba(12, 42, 46, 0.5); font-size: 0.7rem; text-align: center; }

.summary {
  position: sticky;
  top: 100px;
  padding: 24px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--sand);
  box-shadow: 0 40px 80px -44px rgba(7, 30, 34, 0.8);
}
.summary__label { color: rgba(246, 236, 218, 0.5); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.summary__tour { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; }
.summary__tour picture { flex: none; width: 88px; border-radius: 12px; overflow: hidden; }
.summary__tour img { width: 88px; height: 66px; object-fit: cover; }
.summary__tour strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 500; line-height: 1.15; }
.summary__tour small { color: rgba(246, 236, 218, 0.5); font-size: 0.72rem; }
.summary__list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(246, 236, 218, 0.12); }
.summary__list dt { color: rgba(246, 236, 218, 0.55); font-size: 0.74rem; }
.summary__list dd { font-size: 0.84rem; font-weight: 600; text-align: right; }
.summary__hint { margin-top: 14px; color: rgba(246, 236, 218, 0.45); font-size: 0.7rem; line-height: 1.5; }
.summary__edit { display: inline-block; margin-top: 14px; color: var(--sun-soft); font-size: 0.76rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sucesso ---------- */

.success { padding: 140px 0 90px; background: var(--sand-2); }
.success__box {
  max-width: 660px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: 28px;
  background: #fffbf2;
  text-align: center;
  box-shadow: var(--shadow);
}
.success__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sun);
  color: #1c1305;
}
.success__icon .icon { width: 26px; height: 26px; }
.success h1 { margin-bottom: 12px; font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.success__lead { max-width: 50ch; margin: 0 auto; color: var(--muted); font-size: 0.94rem; }
.success__summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0;
  padding: 18px 0;
  border-block: 1px solid rgba(12, 42, 46, 0.1);
}
.success__summary small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.success__summary strong { font-size: 0.86rem; }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.success__actions .btn--ghost-dark { border-color: rgba(12, 42, 46, 0.2); color: var(--ink-2); }
.success__actions .btn--ghost-dark:hover { background: rgba(12, 42, 46, 0.05); }
.success__note { margin-top: 18px; color: rgba(12, 42, 46, 0.45); font-size: 0.7rem; }

/* ---------- minhas reservas ---------- */

.bookings-page { padding: 130px 0 80px; background: var(--sand-2); min-height: 86vh; }
.bookings-page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.bookings-page__count {
  flex: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(12, 42, 46, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
}
.bookings-list { display: grid; gap: 14px; }
.booking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: 18px;
  background: #fffbf2;
}
.booking-item h2 { margin: 8px 0 6px; font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.015em; }
.booking-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8rem; }
.booking-item__meta .icon { width: 14px; height: 14px; }
.booking-item__code { margin-top: 6px; color: var(--muted); font-size: 0.7rem; }
.booking-item__code strong { color: var(--ink-2); letter-spacing: 0.04em; }
.booking-item__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; flex: none; }
.booking-item__actions .btn { padding: 0.62rem 0.95rem; font-size: 0.78rem; }
.status {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status--pendente { border-color: rgba(227, 166, 63, 0.4); background: rgba(227, 166, 63, 0.12); color: #87580f; }
.status--confirmada { border-color: rgba(15, 138, 140, 0.35); background: rgba(15, 138, 140, 0.1); color: var(--lagoon-deep); }
.status--cancelada { border-color: rgba(155, 59, 47, 0.3); background: rgba(155, 59, 47, 0.08); color: #9b3b2f; }
.status--concluida { border-color: rgba(12, 42, 46, 0.15); background: rgba(12, 42, 46, 0.05); color: var(--ink-2); }
.link-danger { padding: 0; border: 0; background: none; color: #9b3b2f; font-size: 0.72rem; text-decoration: underline; text-underline-offset: 3px; }
.bookings-page__note { margin-top: 22px; color: rgba(12, 42, 46, 0.48); font-size: 0.72rem; }

/* ---------- créditos ---------- */

.credits { max-width: 860px; display: grid; gap: 34px; }
.credits__group h2 { margin-bottom: 10px; padding-top: 18px; border-top: 1px solid rgba(12, 42, 46, 0.14); font-family: "Fraunces", Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.credits__group p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.credits__list li { padding: 14px 0; border-top: 1px solid rgba(12, 42, 46, 0.1); color: var(--muted); font-size: 0.86rem; line-height: 1.65; }
.credits__list strong { color: var(--ink); }
.credits__list a { color: var(--lagoon-deep); text-decoration: underline; text-underline-offset: 2px; }
.credits__note { margin-top: 14px; font-size: 0.78rem !important; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 120;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(246, 236, 218, 0.18);
  border-radius: 999px;
  background: rgba(7, 30, 34, 0.95);
  color: var(--sand);
  font-size: 0.82rem;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   responsivo
   ========================================================= */

@media (max-width: 1180px) {
  .bookings-link span:first-child { display: none; }
  .bookings-link { padding: 0.5rem; }
  .bookings-link__count { min-width: 18px; }
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header__inner { gap: 16px; }
  .nav { gap: 18px; }
}

@media (max-width: 940px) {
  .detail-grid { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .detail-info__grid { grid-template-columns: 1fr; }
  .detail-info__side { display: none; }
  .detail-sticky { display: flex; }
  body[data-page="detail"] { padding-bottom: 76px; }
  .detail-head { padding-top: 118px; }
  .checkout__grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .bookings-page { padding-top: 112px; }
  .catalog-toolbar { top: 70px; }
}

@media (max-width: 900px) {
  .page-hero { padding: 124px 0 58px; }
  .page-hero--short { padding-bottom: 48px; }
  .detail-head__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .detail-head__actions { width: 100%; }
  .share-btn { flex: 1; justify-content: center; }
  .booking-item { flex-direction: column; align-items: flex-start; }
  .booking-item__actions { width: 100%; justify-content: flex-start; }
  .success { padding-top: 120px; }
}

@media (max-width: 760px) {
  .header__inner { gap: 12px; }
  .nav-fav { width: 36px; height: 36px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .catalog-toolbar { position: static; padding: 4px 0 16px; }
  .searchbox { max-width: none; height: 50px; }
  .catalog-toolbar__row { gap: 12px; }
  .toolbar-actions { width: 100%; justify-content: space-between; margin-left: 0; }
  .results-count { order: 3; }
  .select-wrap select { font-size: 0.74rem; }
  .hero-search { flex-direction: column; align-items: stretch; padding: 10px; border-radius: 18px; }
  .hero-search input { padding: 0.7rem 0.6rem; }
  .hero-search .btn { width: 100%; }
  .hero__quick { gap: 6px 10px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .detail-head { padding-top: 104px; }
  .detail-gallery__thumbs { gap: 7px; }
  .detail-gallery__thumb { border-radius: 9px; }
  .detail-title { font-size: 1.55rem; }
  .spec-grid { grid-template-columns: 1fr; padding: 20px; }
  .detail-info { padding-top: 44px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { max-width: none; }
  .checkout { padding-top: 108px; }
  .checkout__form { padding: 20px; border-radius: 20px; }
  .summary { padding: 20px; }
  .success__summary { grid-template-columns: 1fr 1fr; }
  .bookings-page { padding-top: 104px; }
  .bookings-page__head { flex-direction: column; align-items: flex-start; }
  .booking-item { padding: 18px; }
  .booking-item__actions .btn { flex: 1; justify-content: center; }
  .booking-item__actions .link-danger { width: 100%; text-align: center; }
  .page-hero__lead { font-size: 0.92rem; }
}

@media (max-width: 420px) {
  .cards { gap: 14px; }
  .tour-card__body { padding: 18px; }
  .tour-card h3 { font-size: 1.4rem; }
  .tour-card__meta { font-size: 0.68rem; }
  .chip { font-size: 0.6rem; }
  .toolbar-actions { gap: 8px; }
  .filter { padding: 0.46rem 0.8rem; font-size: 0.74rem; }
  .booking-panel { padding: 20px; }
  .detail-sticky strong { font-size: 0.84rem; }
  .success__box { padding: 24px 18px; }
}

/* =========================================================
   Conta do cliente / login simples
   ========================================================= */

.auth-page {
  padding: 132px 0 90px;
  background:
    radial-gradient(70% 60% at 10% 0%, rgba(219, 195, 161, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--sand-2) 0%, var(--sand-3) 100%);
  min-height: 88vh;
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  max-width: 980px;
}
.auth-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(12, 42, 46, 0.1);
  border-radius: 26px;
  background: #fffbf2;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  margin: 4px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.auth-lead { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.auth-card form { margin-top: 22px; }
.auth-note { margin-top: 12px; color: rgba(12, 42, 46, 0.45); font-size: 0.7rem; line-height: 1.55; }
.auth-back { display: inline-block; margin-top: 16px; color: var(--lagoon-deep); font-size: 0.78rem; text-decoration: underline; text-underline-offset: 3px; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.auth-actions .btn--ghost-dark { border-color: rgba(12, 42, 46, 0.2); color: var(--ink-2); }
.auth-logout { margin-top: 18px; }
.auth-benefits { display: grid; gap: 20px; padding-left: 6px; }
.auth-benefits li { padding-left: 18px; border-left: 2px solid rgba(192, 101, 63, 0.45); }
.auth-benefits strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 500; }
.auth-benefits span { color: var(--muted); font-size: 0.84rem; }

.account-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(12, 42, 46, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 0.8rem;
}
.account-bar a { color: var(--lagoon-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.account-bar strong { color: var(--ink); }

.checkout__account { margin-top: 14px; color: var(--muted); font-size: 0.8rem; }
.checkout__account a { color: var(--lagoon-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.checkout__avail { margin-top: 2px; color: var(--lagoon-deep); font-size: 0.76rem; font-weight: 600; }
.checkout__avail.is-full { color: #9b3b2f; }

@media (max-width: 1180px) {
  .bookings-link__label { display: none; }
  .bookings-link {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 820px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-benefits { grid-template-columns: 1fr; gap: 14px; padding-left: 0; }
  .auth-card { padding: 24px 20px; }
}

/* garante o hero mobile enxuto, mesmo com regras posteriores */
@media (max-width: 700px) {
  .hero__quick,
  .hero__actions { display: none !important; }
  .hero { padding-top: 110px; }
}

.bookings-page .btn--ghost-dark,
.bookings-page .btn--ghost-dark:hover {
  border-color: rgba(12, 42, 46, 0.2);
  background: #fff;
  color: var(--ink-2);
}
.bookings-page .btn--ghost-dark:hover { background: rgba(12, 42, 46, 0.05); }
