/* ============================================
   Cabana Brisa do Lago — Identidade Visual
   Navy profundo + dourado envelhecido, tipografia
   serifada para calor humano, ilustração de linha
   inspirada no lago e na mata de Capinzal.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Libre+Franklin:wght@300;400;500;600&display=swap');

:root {
  --navy-deep: #0f1f33;
  --navy-mid: #1c3350;
  --navy-soft: #24405f;
  --navy-line: rgba(228, 201, 122, 0.18);
  --gold: #c9a24b;
  --gold-light: #e4c97a;
  --cream: #f3f0e6;
  --cream-dim: #dde6ea;
  --ink: #16212f;
  --ink-soft: #3d4a56;
  --moss: #2f5266;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Libre Franklin', 'Segoe UI', sans-serif;

  --max-w: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-text em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--gold-light);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a:focus-visible,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 3px;
}

@media (max-width: 760px) {
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 18px 0 24px;
  }
  nav.main-nav a {
    display: block;
    padding: 10px 0;
  }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(228,201,122,0.14), transparent 55%);
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; }
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--navy-line);
  padding: 14px;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  margin: 26px;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.eyebrow-line::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 14ch;
}

.hero .lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.28rem;
  color: var(--gold-light);
  max-width: 34ch;
  margin: 0 0 30px;
  line-height: 1.45;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  border-color: var(--gold);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(228,201,122,0.1); }
.btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* ---------- Hero (vídeo) ---------- */
.hero-video {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,31,51,0.55) 0%,
    rgba(15,31,51,0.35) 40%,
    rgba(15,31,51,0.75) 100%);
  z-index: 1;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(340px, 60vw);
  height: auto;
  margin-bottom: 28px;
}

.hero-video-content h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 18px;
}

.hero-video-content .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  max-width: 40ch;
  margin: 0 0 30px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(244,239,227,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--gold-light), transparent);
}

/* ---------- Ripple divider ---------- */
.ripple-divider {
  display: block;
  width: 100%;
  height: 46px;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }

.section-cream { background: var(--cream); }
.section-dim { background: var(--cream-dim); }
.section-navy { background: var(--navy-deep); color: var(--cream); }

.section-head {
  max-width: 62ch;
  margin-bottom: 48px;
}

.section-head .eyebrow-line { color: var(--moss); }
.section-navy .section-head .eyebrow-line { color: var(--gold-light); }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  line-height: 1.2;
}

.section-head p { color: var(--ink-soft); margin: 0; }
.section-navy .section-head p { color: rgba(244,239,227,0.78); }

/* Two-column feature list (comodidades) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-block h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--gold);
}
.section-cream .feature-block h3,
.section-dim .feature-block h3 { color: var(--moss); }

.feature-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-block li {
  padding: 9px 0;
  border-bottom: 1px solid var(--navy-line);
  font-size: 0.98rem;
}
.section-cream .feature-block li,
.section-dim .feature-block li {
  border-bottom-color: rgba(32,29,22,0.1);
}

.groups-gap { margin-top: 44px; }

/* ---------- Info strip (agendamento/horarios) ---------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .info-strip { grid-template-columns: 1fr; }
}
.info-card {
  border: 1px solid var(--navy-line);
  padding: 26px 24px;
}
.info-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin: 0 0 10px;
}
.info-card p { margin: 0; color: rgba(244,239,227,0.82); font-size: 0.95rem; }
.info-card strong { color: var(--cream); }

/* ---------- Cards (experiencias) ---------- */
.exp-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .exp-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .exp-list { grid-template-columns: 1fr; }
}
.exp-item {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}
.exp-item h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.exp-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Quote / lede block ---------- */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--navy-mid);
  border-left: 2px solid var(--gold);
  padding-left: 26px;
}

.wide-photo {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid rgba(32,29,22,0.12);
}
.wide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .wide-photo { aspect-ratio: 4 / 3; }
}

/* ---------- Two column (sobre) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

.two-col p { color: var(--ink-soft); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(32,29,22,0.12);
  display: flex;
  gap: 16px;
}
.contact-list .label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--moss);
  min-width: 110px;
}

form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; letter-spacing: 0.02em; color: var(--ink-soft); }
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid rgba(32,29,22,0.25);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: -4px; }

/* ---------- Map ---------- */
.map-frame {
  border: 1px solid rgba(32,29,22,0.15);
  width: 100%;
  height: 320px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(244,239,227,0.7);
  padding: 48px 0 32px;
  font-size: 0.9rem;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer .foot-brand {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.05rem;
}
footer .foot-links { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
footer .foot-bottom {
  border-top: 1px solid rgba(228,201,122,0.15);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(20,35,53,0.35);
  z-index: 50;
}
.wa-float:hover { background: var(--gold-light); }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-grid .span-2 { grid-column: span 2; }
@media (max-width: 480px) {
  .gallery-grid .span-2 { grid-column: span 1; }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-dim);
  border: 1px solid rgba(32,29,22,0.1);
}
.gallery-item.tall { aspect-ratio: 4 / 5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: repeating-linear-gradient(
    45deg, rgba(32,29,22,0.04), rgba(32,29,22,0.04) 10px,
    transparent 10px, transparent 20px
  );
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; max-width: 320px; }
}

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--navy-mid);
  border: 1px solid var(--navy-line);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-frame .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: rgba(244,239,227,0.65);
}
.video-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.section-navy .video-caption { color: rgba(244,239,227,0.75); }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Logo centralizada e dimensionada para celulares */
@media (max-width: 760px) {
  .site-header .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 20px;
  }
  .site-header .brand { grid-column: 2; grid-row: 1; justify-content: center; }
  .site-header .brand-logo { height: 64px; width: auto; }
  .site-header .nav-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  .site-header .main-nav { grid-column: 1 / -1; grid-row: 2; }
  .hero-video-content { width: 100%; padding: 36px 24px 72px; }
  .hero-logo { width: min(230px, 60vw); margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
}

/* Exibe a nova foto por inteiro, entre Sobre e Comodidades. */
.wide-photo.overview-photo { aspect-ratio: auto; }
.wide-photo.overview-photo img { height: auto; object-fit: contain; }

/* Galeria com fotos inteiras e proporções originais. */
.gallery-grid.gallery-updated { display: block; columns: 3; column-gap: 18px; }
.gallery-updated .gallery-item { break-inside: avoid; aspect-ratio: auto; margin-bottom: 18px; }
.gallery-updated .gallery-item img { width: 100%; height: auto; object-fit: contain; }
.gallery-updated .gallery-item:hover img { transform: none; }
@media (max-width: 760px) { .gallery-grid.gallery-updated { columns: 2; } }
@media (max-width: 480px) { .gallery-grid.gallery-updated { columns: 1; } }
