/* =========================================================
   Pousada Vento Azul — Landing Premium (Jericoacoara)
   Paleta: turquesa, areia clara, coral, branco, marrom madeira
========================================================= */
:root {
  --bg: #fdfaf4;
  --bg-alt: #f4ece0;
  --sand: #ead9be;
  --ink: #11283a;
  --ink-soft: #2f4a5c;
  --muted: #6b7d8a;
  --turq: #0aa6b8;
  --turq-dark: #057684;
  --coral: #ec6a5a;
  --wood: #6b4a30;
  --gold: #d8a657;
  --gold-soft: #efd7a4;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(17, 40, 58, 0.07);
  --shadow-md: 0 12px 40px rgba(17, 40, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(17, 40, 58, 0.2);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", 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; }

.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.01em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--turq); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--turq-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); backdrop-filter: blur(8px); background: rgba(255,255,255,0.08); }
.btn-outline:hover { background: rgba(255,255,255,0.18); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--sand); }
.btn-ghost:hover { background: var(--sand); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(253, 250, 244, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--white); transition: color 0.3s; }
.site-header.scrolled .logo { color: var(--ink); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.92); font-size: 0.92rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-soft); }
.site-header.scrolled .nav-links a { color: var(--ink-soft); }
.site-header.scrolled .nav-links a:hover { color: var(--turq); }
.site-header .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.site-header.scrolled .btn-ghost { color: var(--ink); border-color: var(--sand); }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.site-header.scrolled .nav-toggle { color: var(--ink); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,45,0.55) 0%, rgba(10,30,45,0.25) 40%, rgba(10,30,45,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 24px 80px; max-width: 880px; }
.hero-content .eyebrow { color: var(--gold-soft); }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.92); margin-bottom: 36px; max-width: 600px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.82); }

.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.diferenciais { padding: 80px 0; background: var(--white); }
.grid-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.feat { text-align: center; }
.ic-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-alt); color: var(--turq);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
}
.feat h4 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; margin-bottom: 4px; }
.feat p { font-size: 0.85rem; color: var(--muted); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.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 0.6s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 6px; }
.card-cap { font-size: 0.85rem; color: var(--coral); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.card-desc { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.card-amen { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.78rem; padding: 5px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); }

.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.exp-grid.reverse .exp-image { order: -1; }
.exp-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.exp-text h2 { margin-bottom: 18px; }
.exp-text p { color: var(--ink-soft); margin-bottom: 28px; font-size: 1.05rem; }

.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.gallery-tabs button {
  border: 1px solid var(--sand); background: transparent;
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s; color: var(--ink-soft);
  font-family: var(--sans);
}
.gallery-tabs button.active, .gallery-tabs button:hover { background: var(--turq); color: var(--white); border-color: var(--turq); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: 240px; }
.gallery-item { overflow: hidden; border-radius: var(--radius); cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }

.atracoes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.atracoes-list { display: flex; flex-direction: column; gap: 12px; }
.atracao {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.atracao:hover { transform: translateX(4px); }
.atracao-info h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.atracao-info p { font-size: 0.85rem; color: var(--muted); }
.atracao-dist { font-family: var(--serif); font-size: 1.4rem; color: var(--turq); font-weight: 600; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.depo {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.depo-text { font-style: italic; color: var(--ink-soft); margin-bottom: 18px; font-family: var(--serif); font-size: 1.1rem; }
.depo-author { font-weight: 600; font-size: 0.92rem; }
.depo-loc { font-size: 0.82rem; color: var(--muted); }

.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 0; background: transparent; border: 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem; font-weight: 500; color: var(--ink); cursor: pointer;
  font-family: var(--sans);
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--turq); transition: transform 0.3s; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

.cta-final {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(5,118,132,0.78), rgba(10,30,45,0.6)), url('../images/piscina.jpg') center/cover;
  color: var(--white); text-align: center;
}
.cta-final h2 { color: var(--white); margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.9); margin-bottom: 32px; font-size: 1.1rem; }

.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.78); transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-soft); }
.copy { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.float-whats {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  background: #25d366; color: white;
  padding: 14px 22px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  font-weight: 500; font-size: 0.95rem;
  transition: transform 0.2s;
}
.float-whats:hover { transform: scale(1.05); }
.float-whats span:first-child { font-size: 1.3rem; }

.lightbox {
  position: fixed; inset: 0; background: rgba(8, 18, 26, 0.95);
  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,0.1);
  border: 1px solid rgba(255,255,255,0.2); color: white;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem;
  cursor: pointer; transition: background 0.2s;
}
.lightbox button:hover { background: rgba(255,255,255,0.2); }
.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 { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--white); padding: 24px; gap: 18px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--ink); }
  .nav-toggle { display: block; }
  .site-header .btn-ghost { display: none; }
  .exp-grid, .atracoes-grid { grid-template-columns: 1fr; gap: 32px; }
  .exp-grid.reverse .exp-image { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 70px 0; }
  .fw-text { display: none; }
  .float-whats { padding: 14px; border-radius: 50%; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.tall { grid-row: span 1; }
  .hero-content { padding-top: 110px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
