:root {
  --green-900: #244d32;
  --green-700: #2f6f3e;
  --green-500: #7f9b6d;
  --cream: #f7f3ea;
  --paper: #fffaf0;
  --brown: #8a6a3d;
  --text: #242820;
  --muted: #66705e;
  --line: rgba(36, 77, 50, 0.12);
  --shadow: 0 12px 36px rgba(36, 40, 32, 0.06);
  --shadow-hover: 0 20px 48px rgba(36, 40, 32, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  padding: 17px clamp(18px, 3.5vw, 44px);
  background: rgba(247, 243, 234, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-spacer {
  width: 90px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 36px);
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--green-900);
  line-height: 1.2;
}

.site-nav a,
.contact-links a {
  text-decoration: none;
}

.site-nav a {
  padding: 6px 10px;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.contact-links a:hover {
  color: var(--brown);
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
}

.language-switch button {
  min-width: 36px;
  border: 0;
  padding: 5px 8px;
  font-size: 0.82rem;
  color: var(--green-900);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  border-radius: 3px;
  line-height: 1.2;
}

.language-switch .is-active {
  color: white;
  background: var(--green-900);
}

/* Hero Section */
.hero-banner-section {
  position: relative;
  width: 100%;
  background: #f7f3ea;
  border-bottom: 1px solid var(--line);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-banner-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-main-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-text-overlay {
  position: absolute;
  left: 5.5%;
  top: 51.5%;
  max-width: min(470px, 42%);
  padding: 0;
  text-align: center;
  color: var(--green-900);
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(247, 243, 234, 0.9);
}

.hero-text-overlay h1 {
  font-size: clamp(1.08rem, 1.75vw, 1.45rem);
  font-weight: 700;
  color: var(--green-900);
  margin: 0 0 8px;
  line-height: 1.15;
}

.hero-text-overlay p {
  font-size: clamp(0.76rem, 1.02vw, 0.94rem);
  color: #384b39;
  font-weight: 500;
  line-height: 1.42;
  margin: 0;
}

.hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px;
  background: #f7f3ea;
}

.hero-banner-actions .button {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.92rem;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--brown);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--green-900);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 700;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
}

.section:not(.split) > h2,
.gallery-header h2 {
  max-width: none;
  width: 100%;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  border: 1px solid var(--green-900);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.button.primary {
  color: white;
  background: var(--green-900);
  box-shadow: 0 4px 14px rgba(36, 77, 50, 0.15);
}

.button.primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 6px 20px rgba(36, 77, 50, 0.25);
}

.button.secondary {
  color: var(--green-900);
  background: transparent;
}

.button.secondary:hover {
  background: rgba(36, 77, 50, 0.05);
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green-900);
}

.quick-facts article {
  min-height: 140px;
  padding: 30px;
  color: white;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  font-size: 1.35rem;
}

.quick-facts span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 92px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
}

.text-block {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-block p:first-child {
  margin-top: 0;
}

.floor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.floor-card {
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.floor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.floor-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  flex-grow: 1;
}

.floor-card li + li {
  margin-top: 8px;
}

.floor-capacity {
  margin-top: 28px;
  padding: 16px;
  background: rgba(36, 77, 50, 0.04);
  border-left: 3px solid var(--green-900);
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.floor-capacity .capacity-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

.floor-capacity strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  color: var(--green-900);
  font-weight: 700;
}

.amenities {
  background: #eef1e6;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.amenity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(36, 40, 32, 0.02);
  transition: var(--transition);
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-500);
}

.amenity-icon {
  width: 32px;
  height: 32px;
  color: var(--brown);
  margin-bottom: 14px;
  stroke-width: 1.5;
}

.amenity-card span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-900);
}

/* Galeria */
.gallery-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-header {
  margin-bottom: 40px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: var(--cream);
  transition: var(--transition);
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-card figcaption {
  padding: 16px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--green-900);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

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

/* Atrações de Arouca */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.attraction-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(36, 40, 32, 0.02);
  transition: var(--transition);
}

.attraction-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--green-900);
}

.attraction-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.attraction-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  background: var(--paper);
}

.contact-copy p {
  color: var(--muted);
}

.contact-links {
  flex-direction: column;
}

.contact-links a {
  color: var(--green-900);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 800;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(36, 77, 50, 0.28);
  padding: 12px 13px;
  color: var(--text);
  background: var(--cream);
  font: inherit;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-900) 50%), linear-gradient(135deg, var(--green-900) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-fields,
.date-fields,
.guest-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-900);
  border-radius: 6px;
  color: var(--green-900);
  background: rgba(36, 77, 50, 0.06);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-left-color: var(--brown);
  color: #6f3f16;
  background: rgba(138, 106, 61, 0.08);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 14px 18px;
  color: white;
  background: #1f7a3b;
  box-shadow: 0 14px 34px rgba(31, 122, 59, 0.28);
  text-decoration: none;
  font-weight: 900;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 22px 42px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer img,
.footer-logo {
  width: 76px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(36, 40, 32, 0.08);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 13px 16px;
  }

  .header-spacer {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 6px;
    gap: 14px;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quick-facts,
  .amenity-grid,
  .gallery-grid,
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-text-overlay {
    left: 4.5%;
    top: 50%;
    max-width: 47%;
  }

  .hero-text-overlay h1 {
    font-size: clamp(0.92rem, 2.7vw, 1.18rem);
  }

  .hero-text-overlay p {
    font-size: clamp(0.64rem, 1.75vw, 0.82rem);
  }

  .hero-banner-actions {
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand-link img,
  .header-logo {
    height: 44px;
    width: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-text-overlay {
    left: 4%;
    top: 49%;
    max-width: 49%;
  }

  .hero-text-overlay h1 {
    margin-bottom: 5px;
    font-size: clamp(0.72rem, 3.1vw, 0.98rem);
  }

  .hero-text-overlay p {
    font-size: clamp(0.51rem, 2.05vw, 0.7rem);
    line-height: 1.3;
  }

  .hero-banner-actions .button {
    flex: 1 1 180px;
    text-align: center;
  }

  .quick-facts,
  .floor-grid,
  .amenity-grid,
  .gallery-grid,
  .attractions-grid,
  .contact-fields,
  .date-fields,
  .guest-fields {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 20px;
  }

  .quick-facts article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .floor-card,
  .contact-form {
    padding: 22px;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}
