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

:root {
  --green: #076b21;
  --green-dark: #034d17;
  --beige: #f5f2eb;
  --white: #ffffff;
  --ink: #1a1a1a;
  --ink-light: rgba(26,26,26,0.6);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 20, 8, 0.82) 0%,
    rgba(3, 20, 8, 0.35) 55%,
    rgba(3, 20, 8, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 100px; /* espaço para o scroll hint no mobile */
  width: 100%;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.desktop-br { display: none; }

/* ── SCROLL HINT (só mobile) ─────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  padding: 10px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s;
}
.scroll-hint:hover { background: rgba(255,255,255,0.1); }
.scroll-hint svg {
  width: 14px;
  height: 14px;
  animation: bounce-arrow 1.8s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

@media (min-width: 768px) {
  .desktop-br { display: inline; }
  .hero-content { padding: 0 48px 56px; }
  .scroll-hint { display: none; }
}

@media (min-width: 1024px) {
  .hero {
    max-height: 820px;
    justify-content: center; /* centraliza horizontalmente */
    align-items: flex-end;
  }
  .hero-img {
    object-position: center 62%; /* mostra cama + casal, não o teto */
  }
  .hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 64px 80px;
  }
}

/* ── FORM ─────────────────────────────────────────────── */
.form-section {
  position: relative;
  z-index: 10;
  margin-top: -1px;
  background: var(--white);
  padding: 32px 20px 40px;
}

@media (min-width: 768px) {
  .form-section {
    background: transparent;
    margin-top: -80px;
    padding: 0 20px 60px;
  }
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
  max-width: 860px;
  margin: 0 auto;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-field--full {
  grid-column: span 2;
}

.field-note {
  font-size: 11px;
  color: var(--ink-light);
  margin-top: 2px;
}

.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-light);
}

.form-field input,
.form-field select {
  border: 1.5px solid #e0ddd6;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--green);
}

/* ícone de calendário nos campos de data */
.form-field input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* seta customizada nos selects */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field input.error {
  border-color: #dc2626;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 16px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
}

.btn-primary:hover { background: var(--green-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-note {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-light);
}

/* ── FEATURES ─────────────────────────────────────────── */
.features {
  padding: 56px 0;
  background: var(--beige);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature {
  text-align: center;
  padding: 0 8px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: var(--green);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.feature p {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.5;
}

/* ── GALLERY ──────────────────────────────────────────── */
.gallery {
  padding: 0 0 64px;
  background: var(--beige);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 28px;
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
  .gallery-grid > :nth-child(1) { grid-column: 1 / 3; }
  .gallery-grid > :nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .gallery-grid > :nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gallery-grid > :nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 14px 13px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* ── QUOTE ────────────────────────────────────────────── */
.quote-section {
  background: var(--green-dark);
  padding: 56px 20px;
  text-align: center;
}

.quote-section blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 4vw, 28px);
  font-style: italic;
  color: var(--white);
  font-weight: 400;
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto 16px;
}

.quote-section cite {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}

/* ── CTA FINAL ────────────────────────────────────────── */
.cta-section {
  background: var(--beige);
  padding: 64px 20px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 400;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--ink-light);
  font-size: 15px;
  margin-bottom: 28px;
}

.btn-large {
  max-width: 360px;
  margin: 0 auto;
  padding: 18px 36px;
  font-size: 16px;
}

.cta-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  font-size: 13px;
  color: var(--ink-light);
}

.cta-location svg { flex-shrink: 0; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 20px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── ERROR MESSAGE ────────────────────────────────────── */
.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 8px;
  display: none;
}
.form-error.visible { display: block; }
