/* =========================================================
   Pousada Vó Iraci — estilos
   Paleta inspirada no material de divulgação (azul-marinho,
   dourado e areia).
   ========================================================= */

:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --gold: #f5b62b;
  --gold-dark: #d99a10;
  --sand: #f7eedc;
  --sand-2: #efe1c4;
  --teal: #1f7a7a;
  --text: #1d2733;
  --muted: #5b6673;
  --white: #fff;
  --wa: #25d366;
  --wa-dark: #1da851;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 42, 68, .12);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pacifico", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.script { font-family: var(--script); font-weight: 400; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: .55em 1.1em; font-size: .95rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.08rem; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 42, 68, .96);
  backdrop-filter: blur(6px);
  color: #fff;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo__small { font-size: .7rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.logo__name { font-family: var(--script); font-size: 1.6rem; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-weight: 700; opacity: .9; }
.nav a:hover { color: var(--gold); }
@media (min-width: 820px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 760px);
  display: grid; align-items: end;
  color: #fff; padding: 120px 0 72px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,42,68,.15) 0%, rgba(15,42,68,.55) 45%, rgba(15,42,68,.92) 100%);
}
.hero__kicker { text-transform: uppercase; letter-spacing: .2em; font-weight: 800; color: var(--gold); font-size: .85rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 800; margin-bottom: .1em; }
.hero h1 .script { color: var(--gold); display: inline-block; }
.hero__slogan { font-family: var(--script); font-size: clamp(1.3rem, 3.5vw, 1.9rem); }
.hero__offer { font-size: 1.15rem; opacity: .95; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Diferenciais ---------- */
.features {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: -40px; position: relative; z-index: 2;
}
.feature {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; border-top: 4px solid var(--gold);
}
@media (max-width: 559px) {
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { padding: 16px; }
  .feature p { font-size: .9rem; }
}
.feature__ico { width: 40px; height: 40px; color: var(--teal); margin-bottom: 8px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section--sand { background: var(--sand); margin-top: 72px; }
.section--navy { background: var(--navy); color: #e8eef5; }
.section--navy h2 { color: #fff; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head p:last-child { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .8rem; color: var(--teal); margin-bottom: .5em; }
.eyebrow--gold { color: var(--gold); }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan {
  position: relative; background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan h3 { font-size: 1.6rem; }
.plan p { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan--highlight { background: var(--navy); color: #e8eef5; transform: translateY(-8px); }
.plan--highlight h3 { color: var(--gold); }
.plan--highlight p { color: #c9d5e2; }
.plan__badge {
  position: absolute; top: -12px; right: 20px; background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px;
}
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding-left: 1.6em; position: relative; margin-bottom: .45em; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.plan--highlight .checks li::before { color: var(--gold); }

.amenities {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.amenities li { background: #fff; border: 1px solid var(--sand-2); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; }

/* ---------- Galeria ---------- */
.gallery {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px; grid-auto-flow: dense;
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.gallery__item { border-radius: 12px; overflow: hidden; display: block; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.2fr 1fr; } }
.about__img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.about h2 .script { color: var(--gold); }

/* ---------- Contato ---------- */
.contact { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; } }
.contact__addr { display: flex; gap: 12px; font-style: normal; font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.contact__addr .ico { color: var(--gold-dark); width: 28px; height: 28px; }
.contact__phones { display: grid; gap: 12px; margin-bottom: 24px; }
.phone {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--sand); padding: 14px 18px; border-radius: 12px; font-size: 1.25rem; font-weight: 800; color: var(--navy);
  transition: background-color .15s ease;
}
.phone:hover { background: var(--sand-2); }
.phone .ico { color: var(--wa); width: 32px; height: 32px; }
.phone small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact__links { display: grid; gap: 8px; }
.contact__links a { color: var(--teal); font-weight: 800; text-decoration: none; }
.contact__links a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9c6d4; padding: 28px 0 100px; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer p { margin: 0; }
.footer strong { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.wa-float__btn {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  animation: pulse 2.4s infinite;
}
.wa-float__btn svg { width: 34px; height: 34px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 8px 24px rgba(0,0,0,.25); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.25); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.25); }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(5, 15, 25, .92); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox__close, .lightbox__nav {
  position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; line-height: 1;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
