/* ===========================================================
   Pousada do Larry — folha de estilo do site estático
   Reconstrução do site original (Joomla/YOOtheme) em HTML5/CSS
   =========================================================== */

:root {
  --gold: #8a7b2f;          /* dourado da marca (logo) */
  --gold-dark: #6f6325;
  --text: #4a4a4a;
  --text-soft: #6b6b6b;
  --heading: #2f2f2f;
  --link-blue: #5a6b8c;     /* tom dos parágrafos do original */
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --border: #e6e6e6;
  --max: 1200px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.container-small { max-width: 820px; }

/* ---------- Cabeçalho / navegação ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 20px;
}
.nav__logo img { width: 130px; height: auto; }
.nav__menu {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.nav__menu a:hover,
.nav__menu li.active a { color: var(--heading); }
.nav__menu li.active a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}

/* botão hambúrguer (mobile) */
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--heading);
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Seções ---------- */
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }

/* título com linha (uk-heading-line) */
.heading-line {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--heading);
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 50px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.heading-line::before,
.heading-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

h1, h2, h3 { font-family: var(--serif); color: var(--heading); font-weight: 400; }

.subheading {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  color: var(--heading);
  margin: 0 0 22px;
}

.text-justify p { text-align: justify; color: var(--link-blue); }
.text-justify p { margin: 0 0 1.1em; }

/* ---------- Slideshow (home) ---------- */
.slideshow {
  position: relative;
  width: 100%;
  height: calc(100vh - 92px);
  min-height: 400px;
  overflow: hidden;
  background: #111;
}
.slideshow__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slideshow__item.is-active { opacity: 1; }
.slideshow__item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 0;
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.slideshow__nav:hover { background: rgba(0,0,0,.5); }
.slideshow__nav--prev { left: 14px; }
.slideshow__nav--next { right: 14px; }

/* faixa "Sejam Bem-Vindos" com imagem de fundo */
.welcome {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.welcome h1 {
  position: relative;
  color: #fff;
  font-size: 3rem;
  text-align: center;
  margin: 0;
}

/* ---------- Grade de imagens (quartos) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 40px;
}
.gallery-grid .cell { overflow: hidden; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid .cell:hover img { transform: scale(1.05); }

/* ---------- Colunas (tarifa) ---------- */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.cols-2-divider {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: start;
}
.cols-2-divider .divider { background: var(--border); }
.card-img { margin-bottom: 20px; border-radius: 2px; overflow: hidden; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--link-blue); }
.list-check li::before {
  content: "•";
  position: absolute; left: 4px;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Botão WhatsApp de contato (home) ---------- */
.btn-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px;
  background: var(--bg-soft);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: background .2s, color .2s;
  text-align: center;
}
.btn-wide:hover { background: var(--gold); color: #fff; }
.btn-wide svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Blog ---------- */
.article-meta {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: #b3b3b3;
  margin: 30px 0 20px;
}
.article-title { font-size: 2.2rem; margin: 0 0 30px; }
.article-title a { color: var(--heading); }
.article-img { margin: 24px 0; }
.article-body p { margin: 0 0 1.2em; color: var(--link-blue); }
.article-body blockquote {
  margin: 0 0 1.4em;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  color: var(--text);
}
.article-tags { margin: 22px 0; font-size: .9rem; }
.article-tags a { margin-right: 6px; }
.article-access { color: #b3b3b3; font-size: .85rem; margin-top: 20px; }

/* ---------- Mapa ---------- */
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 46px 0 30px; text-align: center; }
.site-footer__logo img { width: 160px; margin: 0 auto 20px; }
.site-footer__info { font-family: var(--serif); color: var(--text); line-height: 1.9; }
.site-footer__credit {
  margin-top: 18px;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #bdbdbd;
}
.site-footer__credit a { color: #9a9a9a; }
.to-top {
  display: inline-block;
  margin-top: 18px;
  color: #9a9a9a;
  font-size: 1.4rem;
}

/* botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px; right: 25px;
  z-index: 9999;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .cols-3 { grid-template-columns: 1fr; gap: 46px; }
  .cols-2-divider { grid-template-columns: 1fr; }
  .cols-2-divider .divider { display: none; }
  .heading-line { font-size: 1.8rem; gap: 14px; }
  .welcome h1 { font-size: 2rem; }

  .nav__menu {
    position: fixed;
    top: 92px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 20px;
    transform: translateY(-140%);
    transition: transform .35s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { display: block; padding: 12px 0; letter-spacing: .12em; }
  .nav__menu li.active a::after { display: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .slideshow { height: 60vh; }
}
