/* =========================================================
   Pousada Vento Azul - Variação "Coastal Luxe"
   Paleta: marinho profundo, areia, terracota e dourado
========================================================= */
:root {
  --bg: #fbf7f0;
  --bg-soft: #f3ead9;
  --bg-dark: #0d1f2d;
  --bg-dark-2: #102a3d;
  --ink: #0d1f2d;
  --ink-2: #2c3e50;
  --muted: #6f7b86;
  --line: #e6dcc7;
  --primary: #c1573b;        /* terracota */
  --primary-dark: #a4452d;
  --accent: #d6a85a;          /* dourado areia */
  --teal: #2d7a7e;
  --white: #ffffff;
  --shadow-xs: 0 2px 8px rgba(13,31,45,.06);
  --shadow-sm: 0 8px 22px rgba(13,31,45,.08);
  --shadow-md: 0 18px 40px rgba(13,31,45,.14);
  --shadow-lg: 0 30px 70px rgba(13,31,45,.22);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --container: 1200px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 500; }
h1 em { font-style: italic; color: var(--primary); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow.gold { color: var(--accent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(193,87,59,.32); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ========== RIBBON ========== */
.ribbon {
  background: var(--ink);
  color: #f0e7d2;
  font-size: 0.82rem;
  position: relative; z-index: 60;
}
.ribbon-row {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  padding: 9px 24px;
  flex-wrap: wrap;
}
.ribbon-cta { color: var(--accent); font-weight: 600; }
.ribbon-cta:hover { color: #fff; }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 247, 240, 0.96);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.logo-text { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink-2); font-size: 0.92rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: .3s; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 92svh;
  padding: 60px 0 90px;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,31,45,.72) 0%, rgba(13,31,45,.45) 50%, rgba(13,31,45,.78) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px;
  align-items: center; min-height: calc(92svh - 150px);
}
.hero-text .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.9); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap; list-style: none;
  font-size: 0.88rem; color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 22px;
}
.hero-trust strong { color: var(--accent); margin-right: 4px; }

.hero-card {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.hc-title { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 4px; }
.hc-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.hc-form { display: grid; gap: 14px; }
.hc-form label { display: grid; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; }
.hc-form input, .hc-form select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s;
}
.hc-form input:focus, .hc-form select:focus { outline: 0; border-color: var(--primary); }
.hc-form small { text-align: center; color: var(--muted); font-size: 0.78rem; }

/* ========== TRUST STRIP ========== */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.trust article {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  align-items: flex-start;
}
.trust article:last-child { border-right: 0; }
.trust article span { font-size: 1.6rem; }
.trust article h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.trust article p { font-size: 0.88rem; color: var(--muted); }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section-head.light p { color: rgba(255,255,255,.75); }

/* ========== CARDS ========== */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: #fff; border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-cap { font-size: 0.78rem; color: var(--primary); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.card h3 { margin-bottom: 8px; }
.card-desc { color: var(--ink-2); font-size: 0.94rem; margin-bottom: 18px; flex: 1; }
.card-amen { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.76rem; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }

/* ========== SPLIT ========== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-grid.reverse .split-image { order: -1; }
.split-image { position: relative; }
.split-image img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.split-image figcaption {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(13,31,45,.78); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.82rem; backdrop-filter: blur(8px);
}
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 24px; }
.check-list { list-style: none; margin-bottom: 30px; }
.check-list li {
  position: relative; padding: 8px 0 8px 32px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* ========== GALLERY ========== */
.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px;
}
.gallery-tabs button {
  border: 1px solid rgba(255,255,255,.25); background: transparent;
  padding: 9px 20px; border-radius: 999px; font-size: 0.85rem;
  cursor: pointer; transition: all .25s;
  color: rgba(255,255,255,.85);
  font-family: var(--sans); font-weight: 500;
}
.gallery-tabs button.active, .gallery-tabs button:hover {
  background: var(--accent); color: var(--ink); border-color: var(--accent);
}
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  grid-auto-rows: 220px;
}
.gallery-item {
  overflow: hidden; border-radius: var(--r); cursor: pointer; position: relative;
  background: var(--bg-dark-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ========== PASSEIOS ========== */
.passeios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.passeios-list { list-style: none; counter-reset: p; display: flex; flex-direction: column; gap: 12px; }
.passeio {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 20px 24px; border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow-xs); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.passeio:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.passeio-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-soft); color: var(--primary);
  display: grid; place-items: center; font-weight: 700;
  font-family: var(--serif);
}
.passeio-info h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.passeio-info p { font-size: 0.86rem; color: var(--muted); }
.passeio-dist {
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--teal); font-weight: 600;
  background: rgba(45,122,126,.08); padding: 6px 14px; border-radius: 999px;
}
.map-wrap { border-radius: var(--r-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ========== DEPOIMENTOS ========== */
.depos { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.depo {
  background: #fff; border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  position: relative;
}
.depo::before {
  content: "“"; position: absolute; top: -18px; left: 22px;
  font-family: var(--serif); font-size: 4rem; color: var(--primary);
  line-height: 1;
}
.stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 3px; font-size: 1.05rem; }
.depo-text { font-style: italic; color: var(--ink-2); margin-bottom: 18px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.depo-author { font-weight: 700; font-size: 0.92rem; }
.depo-loc { font-size: 0.82rem; color: var(--muted); }

/* ========== FAQ ========== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 8px; background: transparent; border: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1.05rem; font-weight: 600; color: var(--ink); cursor: pointer;
  font-family: var(--sans);
}
.faq-q::after {
  content: ""; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c1573b'><path d='M12 5v14M5 12h14' stroke='%23c1573b' stroke-width='2' stroke-linecap='round'/></svg>") center/14px no-repeat;
  transition: transform .3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--ink-2); padding: 0 8px; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* ========== CTA FINAL ========== */
.cta-final {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(135deg, rgba(13,31,45,.85), rgba(193,87,59,.55)), url('../images/piscina.jpg') center/cover;
  color: #fff; text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-final h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.92); margin-bottom: 32px; font-size: 1.1rem; }

/* ========== FOOTER ========== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.78); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; font-family: var(--serif); }
.site-footer h4 { color: var(--accent); font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.78); transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 0.82rem; color: rgba(255,255,255,.55); text-align: center; }
.copy .container { padding: 0 24px; }

/* ========== FLOAT WHATS ========== */
.float-whats {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  background: #25d366; color: #fff;
  padding: 14px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  font-weight: 600; font-size: 0.92rem;
  transition: transform .2s;
}
.float-whats:hover { transform: scale(1.05); }

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,18,26,.96);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem;
  cursor: pointer; transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 460px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust article:nth-child(2) { border-right: 0; }
  .trust article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-grid, .passeios-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid.reverse .split-image { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 70px 0; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; padding: 12px 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.tall { grid-row: span 1; }
  .hero-ctas .btn { width: 100%; }
  .ribbon-row { font-size: 0.75rem; gap: 10px; }
  .float-whats .fw-text { display: none; }
  .float-whats { padding: 14px; }
  .passeio { grid-template-columns: auto 1fr; }
  .passeio-dist { grid-column: 1 / -1; justify-self: start; }
}
