/* ==========================================================================
   Rancho do Pombo — estilos do site
   Cores e fonte replicadas do site original (Hostinger Website Builder)
   ========================================================================== */

:root {
  --bege: #e8e2d1;
  --bege-claro: #f3efe4;
  --marrom: #6a5e4f;
  --marrom-escuro: #4f4639;
  --rodape: #3b2f2f;
  --texto: #0d141a;
  --texto-suave: #56585e;
  --branco: #ffffff;
  --whatsapp: #25d366;
  --raio: 16px;
  --largura: 1140px;
  --header-h: 96px;
  --fonte: "Roboto Slab", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--largura)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--branco);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo img { height: 80px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  text-decoration: none; font-size: 15px; padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav__link:hover,
.nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.nav__icon { display: inline-flex; }
.nav__icon svg { width: 20px; height: 20px; }

.menu-btn {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--texto);
}
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .header__logo img { height: 60px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--branco); padding: 8px 20px 20px;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #eee; }
  .nav__link[aria-current="page"] { font-weight: 600; border-bottom-color: #eee; }
  .nav__icon { padding: 14px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(420px, 72vh, 740px);
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center; color: var(--branco);
  padding: clamp(48px, 7vh, 80px) 20px;
  overflow: hidden; background: #1d1e20;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.05) 100%);
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px); font-weight: 600;
  max-width: 13em; margin: 0 auto 16px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero p {
  max-width: 40ch; margin: 0 auto; font-size: 16px; font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.hero--page { min-height: clamp(300px, 46vh, 420px); align-items: center; }
.hero--page h1 { max-width: none; }
.hero--page p { max-width: 46ch; }

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--bege { background: var(--bege); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head h2 { font-size: clamp(30px, 3.6vw, 40px); }
.section__head p { color: var(--texto); font-size: 15px; margin: 0; }

/* Sobre */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.about h2 { font-size: clamp(30px, 3.6vw, 42px); max-width: 12ch; margin-bottom: 28px; }
.about p { font-size: 15px; color: var(--texto); max-width: 46ch; }
.about__img {
  width: 100%; aspect-ratio: 562 / 480; object-fit: cover; border-radius: var(--raio);
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* Cartões de experiência (home) */
.exp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exp-card { display: flex; flex-direction: column; background: var(--bege); }
.exp-card__text { padding: 28px 32px 22px; }
.exp-card__text h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.exp-card__text p { font-size: 14px; color: var(--texto-suave); margin: 0; max-width: 44ch; }
.exp-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.center-cta { text-align: center; margin-top: 40px; }
@media (max-width: 700px) {
  .exp-cards { grid-template-columns: 1fr; gap: 24px; }
}

/* Galeria */
.gallery {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px;
  max-width: 1020px; margin-inline: auto;
}
.gallery button {
  padding: 0; border: 0; background: #d9d2bf; cursor: zoom-in;
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.gallery button:hover img,
.gallery button:focus-visible img { transform: scale(1.06); filter: brightness(1.05); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 6px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 10, 10, .92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; }
}

/* Contato / formulário */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  max-width: 920px; margin-inline: auto;
}
.form-card {
  background: var(--bege); border-radius: var(--raio);
  padding: 32px 32px 36px; position: relative; z-index: 1;
}
.form-card h3 { font-size: 22px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; }
.field input,
.field textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--texto);
  background: var(--branco); border: 1px solid #d6cfbd; border-radius: 8px;
  padding: 11px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--marrom); box-shadow: 0 0 0 3px rgba(106, 94, 79, .18); }
.field input::placeholder,
.field textarea::placeholder { color: #9a9a9a; }
.form-note { font-size: 12px; color: var(--texto-suave); margin: 14px 0 0; }
.contact__img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 0 var(--raio) var(--raio) 0;
}
@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
  .contact__img { border-radius: 0 0 var(--raio) var(--raio); margin-top: -12px; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none;
  background: var(--marrom); color: var(--branco);
  border: 0; border-radius: 999px; padding: 13px 30px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--marrom-escuro); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }
.btn--outline { background: transparent; color: var(--marrom); box-shadow: inset 0 0 0 1.5px var(--marrom); }
.btn--outline:hover { background: var(--marrom); color: var(--branco); }

/* Página Experiências */
.exp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 60px) clamp(32px, 6vw, 120px);
  max-width: 1140px; margin-inline: auto;
}
.exp-item img {
  width: 100%; aspect-ratio: 564 / 400; object-fit: cover; border-radius: var(--raio);
  margin-bottom: 20px;
}
.exp-item h2 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.exp-item p { font-size: 14px; color: var(--texto-suave); max-width: 44ch; margin: 0; }
@media (max-width: 700px) { .exp-grid { grid-template-columns: 1fr; } }

/* Avaliações */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin-inline: auto; }
.review {
  background: var(--branco); border-radius: var(--raio); padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.review__stars { color: #c9932b; letter-spacing: 3px; font-size: 18px; }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.65; }
.review__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review__author strong { display: block; font-weight: 600; }
.review__author span { font-size: 13px; color: var(--texto-suave); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--rodape); color: var(--branco); padding: 56px 0 28px; }
.footer__grid {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 40px; align-items: start;
}
.footer h2 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.footer p { font-size: 13px; margin-bottom: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__social { display: inline-flex; }
.footer__social svg { width: 22px; height: 22px; }
.footer__map {
  width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 4px; background: #2c2323;
}
.footer__contacts { font-size: 14px; display: grid; gap: 6px; }
.footer__logo { width: 120px; margin-top: 22px; }
.footer__bottom { margin-top: 36px; font-size: 12px; opacity: .85; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
