/* ===== Tokens ===== */
:root {
  --verde-escuro: #2f5240;
  --verde: #4c7a5e;
  --verde-claro: #a9c9b1;
  --creme: #faf5eb;
  --creme-escuro: #f0e6d2;
  --terracota: #d98b4e;
  --terracota-escuro: #b9673a;
  --castanho: #362a20;
  --branco: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-escuro: #1ea952;
  --sombra: 0 10px 30px rgba(54, 42, 32, 0.1);
  --radius: 18px;
  --font-titulo: "Baloo 2", system-ui, sans-serif;
  --font-corpo: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-corpo);
  color: var(--castanho);
  background: var(--creme);
  line-height: 1.6;
}

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

h1, h2, h3, h4 { font-family: var(--font-titulo); line-height: 1.2; margin: 0 0 .5em; color: var(--verde-escuro); }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--verde-escuro);
  color: var(--branco);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: .8rem;
  color: var(--terracota-escuro);
  margin-bottom: .5em;
}

.section-head { max-width: 620px; margin: 0 auto 3rem; text-align: center; }
.section-text { color: #5a4c3e; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-corpo);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; flex-shrink: 0; }

.btn-whatsapp { background: var(--whatsapp); color: var(--branco); box-shadow: var(--sombra); }
.btn-whatsapp:hover { background: var(--whatsapp-escuro); }

.btn-outline { background: transparent; border-color: var(--verde); color: var(--verde-escuro); }
.btn-outline:hover { background: var(--verde); color: var(--branco); }

.btn-primary { background: var(--terracota); color: var(--branco); }
.btn-primary:hover { background: var(--terracota-escuro); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 245, 235, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--creme-escuro);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .7em; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: var(--sombra); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-titulo); font-size: 1.15rem; color: var(--verde-escuro); }
.brand-text small { color: var(--terracota-escuro); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8em;
}
.site-nav ul { list-style: none; display: flex; gap: 1.6em; margin: 0; padding: 0; }
.site-nav a { font-weight: 700; color: var(--verde-escuro); }
.site-nav ul a:hover { color: var(--terracota-escuro); }

.lang-switch { display: flex; align-items: center; gap: .4em; font-weight: 800; font-size: .85rem; }
.lang-switch a { color: #9a8b78; padding: .2em .3em; }
.lang-switch a.is-active { color: var(--verde-escuro); text-decoration: underline; text-underline-offset: 3px; }

.nav-cta { padding: .6em 1.3em; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--verde-escuro); border-radius: 3px; }

/* ===== Hero ===== */
.hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.hero-subtitle { font-size: 1.08rem; color: #5a4c3e; max-width: 46ch; }
.hero-actions { display: flex; gap: 1em; flex-wrap: wrap; margin: 1.6em 0 1.2em; }
.hero-rating { font-weight: 700; color: var(--terracota-escuro); letter-spacing: .02em; }

.hero-media { position: relative; min-height: 380px; }
.hero-img {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  border: 6px solid var(--branco);
  object-fit: cover;
}
.hero-img-1 { width: 78%; top: 0; right: 0; aspect-ratio: 4/5; }
.hero-img-2 { width: 55%; bottom: 0; left: 0; aspect-ratio: 4/5; z-index: 2; }

/* ===== About ===== */
.about { padding: 5rem 0; background: var(--branco); }
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--sombra); aspect-ratio: 4/5; object-fit: cover; }

.feature-list { list-style: none; margin: 1.6em 0; padding: 0; display: flex; flex-direction: column; gap: 1em; }
.feature-list li { display: flex; flex-direction: column; padding-left: 1.4em; position: relative; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--terracota);
}
.feature-list strong { color: var(--verde-escuro); }
.feature-list span { color: #5a4c3e; font-size: .96rem; }

.note {
  font-size: .9rem;
  color: var(--terracota-escuro);
  background: #fdf1e3;
  border: 1px solid #f2d9b8;
  padding: .8em 1.1em;
  border-radius: 12px;
  display: inline-block;
}

/* ===== Services ===== */
.services { padding: 5rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.service-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--sombra);
  text-align: center;
  transition: transform .2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-icon { font-size: 2.4rem; margin-bottom: .5em; }
.service-card p { color: #5a4c3e; font-size: .96rem; margin: 0; }
.services-cta { text-align: center; margin-top: 3rem; }

/* ===== Gallery ===== */
.gallery { padding: 5rem 0; background: var(--branco); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ===== Location ===== */
.location { padding: 5rem 0; }
.location-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.location-address { display: flex; gap: .8em; align-items: flex-start; margin: 1.4em 0; }
.location-address .pin { font-size: 1.6rem; }
.location-address p { margin: .2em 0 0; color: #5a4c3e; }
.location-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4/3; }
.location-map iframe { width: 100%; height: 100%; }

/* ===== Contact ===== */
.contact { padding: 5rem 0 6rem; background: var(--branco); }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
.contact-list { list-style: none; margin: 1.8em 0 0; padding: 0; display: flex; flex-direction: column; gap: .9em; }
.contact-list a {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--creme);
  padding: 1em 1.3em;
  border-radius: 12px;
  font-weight: 700;
  transition: background .15s ease;
}
.contact-list a:hover { background: var(--creme-escuro); }
.contact-label { color: var(--verde-escuro); }
.contact-value { color: var(--terracota-escuro); }

.contact-form { background: var(--creme); border-radius: var(--radius); padding: 2rem; box-shadow: var(--sombra); }
.form-row { margin-bottom: 1.1em; display: flex; flex-direction: column; gap: .4em; }
.form-row label { font-weight: 700; font-size: .9rem; color: var(--verde-escuro); }
.form-row input, .form-row textarea {
  font-family: var(--font-corpo);
  font-size: 1rem;
  padding: .8em 1em;
  border-radius: 10px;
  border: 1.5px solid var(--creme-escuro);
  background: var(--branco);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--verde-claro); border-color: var(--verde); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-feedback { margin: 1em 0 0; font-weight: 700; min-height: 1.4em; }
.form-feedback.is-success { color: var(--verde); }
.form-feedback.is-error { color: #b3432b; }

/* ===== Footer ===== */
.site-footer { background: var(--verde-escuro); color: #e7ede9; padding: 3.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: .8em; }
.footer-brand p { color: #cdd9d0; font-size: .92rem; }
.site-footer h4 { color: var(--branco); font-size: 1rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6em; }
.site-footer a { color: #cdd9d0; }
.site-footer a:hover { color: var(--branco); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .85rem; color: #a9baad; text-align: center; }

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .6em;
  background: var(--whatsapp);
  color: var(--branco);
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease, padding .2s ease;
  overflow: hidden;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }
.whatsapp-float-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-weight: 800;
  font-size: .95rem;
  transition: max-width .25s ease, opacity .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .55);
}
.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
  max-width: 220px;
  opacity: 1;
  margin-right: .2em;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 24, 18, .92);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(90vw, 900px); max-height: 78vh; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.lightbox p { color: var(--branco); font-weight: 700; }
.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .location-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-media, .hero-media { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--creme);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 24px 2rem;
    gap: 1.4rem;
    border-bottom: 1px solid var(--creme-escuro);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .25s ease, opacity .2s ease;
    box-shadow: var(--sombra);
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; }
  .site-nav ul { flex-direction: column; gap: 1em; }
  .lang-switch { justify-content: center; }
  .nav-cta { justify-content: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .feature-list li { padding-left: 0; }
  .feature-list li::before { display: none; }

  .whatsapp-float-label { display: none; }
}
