:root {
  --bg: #100805;
  --bg-2: #1a0f0a;
  --bg-3: #24130d;

  --cream: #f4ede5;
  --muted: #cdb9a9;
  --white: #ffffff;

  --copper: #a5725b;
  --copper-light: #cc9475;
  --brown: #3a2117;

  --border: rgba(204, 148, 117, 0.32);
  --border-light: rgba(204, 148, 117, 0.18);

  --shadow-dark: 0 35px 100px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 24px 70px rgba(58, 33, 23, 0.16);
}

/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;

  color: var(--cream);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

/* =========================================================
   ESTRUTURA GERAL
========================================================= */

main {
  width: 100%;
}

.section {
  padding: 90px 20px;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;
  padding: 18px 24px;

  background:
    linear-gradient(
      to bottom,
      rgba(16, 8, 5, 0.92),
      rgba(16, 8, 5, 0)
    );
}

.topbar-inner {
  width: min(1180px, 100%);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: auto;
  max-height: 58px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 10px 18px;

  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(16, 8, 5, 0.52);
  backdrop-filter: blur(8px);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: rgba(165, 114, 91, 0.2);
  border-color: var(--copper-light);
}

.language-switcher select {
  min-height: 42px;
  padding: 8px 34px 8px 14px;

  color: var(--cream);
  font-weight: 800;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(16, 8, 5, 0.52);
  backdrop-filter: blur(8px);

  cursor: pointer;
}

.language-switcher select:focus {
  outline: none;
  border-color: var(--copper-light);
}

/* =========================================================
   TIPOGRAFIA
========================================================= */

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--copper);
}

h1 {
  margin-bottom: 28px;

  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.hero-title-main {
  display: block;

  color: var(--cream);

  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 800;

  text-transform: uppercase;
}

.hero-title-accent {
  display: block;

  color: var(--copper-light);

  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;

  text-transform: none;
}

h2 {
  margin-bottom: 20px;

  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 14px;

  font-size: 1.45rem;
  line-height: 1.2;
}

/* =========================================================
   BOTÕES
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 58px;
  padding: 15px 28px;

  border: none;
  border-radius: 999px;

  text-decoration: none;
  text-align: center;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(165, 114, 91, 0.28);
}

.btn-primary {
  color: var(--bg);

  background:
    linear-gradient(
      135deg,
      var(--copper),
      var(--copper-light)
    );
}

.btn-secondary {
  color: var(--cream);

  background: transparent;
  border: 1px solid var(--copper);
}

.btn-secondary:hover {
  background: rgba(165, 114, 91, 0.12);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.full {
  width: 100%;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;
  padding: 120px 20px 70px;

  display: grid;
  place-items: center;

  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(16, 8, 5, 0.32),
      rgba(16, 8, 5, 0.92)
    ),
    url("../img/hero.jpg") center / cover no-repeat;

  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(165, 114, 91, 0.18),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(16, 8, 5, 0.04),
      rgba(16, 8, 5, 0.92)
    );
}

.hero-card {
  position: relative;
  z-index: 2;

  width: min(920px, 100%);
  padding: 54px 44px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: 28px;

  background: rgba(18, 10, 6, 0.74);
  backdrop-filter: blur(16px);

  box-shadow: var(--shadow-dark);
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 34px;

  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 26px;
}

.price-box {
  min-width: 280px;
  padding: 24px 32px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: rgba(165, 114, 91, 0.11);
}

.price-box strong {
  display: block;

  color: var(--copper-light);

  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
}

.price-box span {
  display: block;

  color: var(--cream);
  font-size: 1rem;
}

.price-box small {
  display: block;

  margin-top: 8px;

  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
}

/* =========================================================
   INTRODUÇÃO
========================================================= */

.intro {
  padding-bottom: 48px;

  background: var(--bg-2);
}

.intro p {
  max-width: 820px;
  margin: 0 auto;

  color: var(--muted);
  font-size: 1.1rem;
}

/* =========================================================
   GALERIA
========================================================= */

.gallery-section {
  padding-top: 36px;
  padding-bottom: 52px;

  background:
    linear-gradient(
      180deg,
      var(--bg-2),
      var(--bg)
    );
}

.gallery-section .container {
  width: min(1380px, 100%);
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.16fr)
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 20px;
  align-items: stretch;
}

.gallery-item {
  position: relative;

  margin: 0;
  overflow: hidden;

  min-height: 430px;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: var(--bg-3);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.28);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 430px;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
  filter: brightness(1.04);
}

/* Telha */
.gallery-item:nth-child(1) {
  min-height: 440px;
}

.gallery-item:nth-child(1) img {
  min-height: 440px;
  object-position: center center;
}

/* Braseiro */
.gallery-item:nth-child(2) {
  min-height: 470px;
}

.gallery-item:nth-child(2) img {
  min-height: 470px;
  object-position: 52% center;
}

/* Batatas + salada */
.gallery-item:nth-child(3) {
  min-height: 440px;
}

.gallery-item:nth-child(3) img {
  min-height: 440px;
  object-position: center center;
}

/* =========================================================
   OFERTA
========================================================= */

.includes {
  padding-top: 46px;

  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  min-height: 260px;
  padding: 34px;

  border: 1px solid var(--border);
  border-radius: 26px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.03)
    );

  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.16);
}

.card-number {
  display: inline-block;
  margin-bottom: 24px;

  color: var(--copper-light);
  font-size: 0.85rem;
  letter-spacing: 3px;
}

.info-card h3 {
  color: var(--cream);
}

.info-card p {
  color: var(--muted);
}

/* =========================================================
   SECÇÃO DO VOUCHER
========================================================= */

.voucher-section {
  color: var(--bg);
  background: var(--cream);
}

.voucher-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;

  gap: 42px;
  align-items: start;
}

.voucher-copy h2 {
  color: var(--bg);
}

.voucher-copy p {
  color: #5d493e;
  font-size: 1.04rem;
}

.checklist {
  margin-top: 24px;
  list-style: none;
}

.checklist li {
  position: relative;

  padding: 10px 0 10px 28px;

  color: #49372f;

  border-bottom: 1px solid rgba(58, 33, 23, 0.12);
}

.checklist li::before {
  content: "•";

  position: absolute;
  left: 4px;

  color: var(--copper);
  font-weight: 900;
}

/* =========================================================
   FORMULÁRIO
========================================================= */

.form {
  display: flex;
  flex-direction: column;

  padding: 32px;

  border-radius: 26px;

  background: var(--white);
  box-shadow: var(--shadow-card);
}

.form label {
  display: block;
  margin-bottom: 7px;

  color: var(--brown);
  font-weight: 800;
  font-size: 0.92rem;
}

.form input,
.form select {
  width: 100%;
  margin-bottom: 16px;
  padding: 15px;

  color: var(--bg);
  font-size: 1rem;

  border: 1px solid rgba(58, 33, 23, 0.18);
  border-radius: 12px;

  background: #fbf7f2;
}

.form select {
  cursor: pointer;
}

.form input:focus,
.form select:focus {
  outline: none;

  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(165, 114, 91, 0.14);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;

  gap: 10px;
  margin: 4px 0 18px;

  cursor: pointer;
}

.consent input {
  flex: 0 0 auto;

  width: auto;
  margin: 4px 0 0;
}

.consent span {
  color: #5d493e;
  font-weight: 400;
  line-height: 1.45;
}

.form-message {
  min-height: 24px;
  margin-top: 12px;

  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-message.error {
  color: #a63124;
}

.form-message.success {
  color: #3e7652;
}

.form-note {
  margin-top: 14px;

  color: #6b554a;
  font-size: 0.82rem;
  text-align: center;
}

/* =========================================================
   VOUCHER GERADO
========================================================= */

.voucher-result {
  display: none;
  margin-top: 42px;
}

.voucher-result.active {
  display: block;
}

.voucher-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 36px;

  color: var(--cream);
  text-align: center;

  border: 1px solid var(--border);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top,
      rgba(165, 114, 91, 0.28),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #160c08,
      #2b160f
    );
}

.voucher-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  margin-bottom: 24px;
}

.voucher-logo {
  width: auto;
  max-height: 54px;
}

.voucher-label {
  display: inline-block;

  color: var(--copper-light);

  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 800;
}

.voucher-card h3 {
  margin-bottom: 10px;

  font-size: clamp(2rem, 6vw, 2.8rem);
  text-transform: uppercase;
}

.voucher-price {
  color: var(--copper-light);
  font-size: 1.5rem;
  font-weight: 900;
}

.voucher-subtitle {
  color: var(--muted);
}

.voucher-code-box {
  width: min(420px, 100%);
  margin: 24px auto;
  padding: 18px;

  border: 1px dashed var(--copper);
  border-radius: 14px;
}

.voucher-code-box span,
.voucher-code-box strong {
  display: block;
}

.voucher-code-box span {
  margin-bottom: 5px;

  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
}

.voucher-code-box strong {
  color: var(--cream);
  font-size: 1.45rem;
  letter-spacing: 2px;
}

.voucher-details {
  width: min(560px, 100%);
  margin: 26px auto;

  text-align: left;
}

.voucher-details div {
  display: grid;
  grid-template-columns: 180px 1fr;

  gap: 20px;
  padding: 10px 0;

  border-bottom: 1px solid var(--border-light);
}

.voucher-details dt {
  color: var(--muted);
}

.voucher-details dd {
  margin: 0;

  color: var(--cream);
  font-weight: 800;
  text-align: right;

  overflow-wrap: anywhere;
}

.voucher-warning {
  max-width: 560px;
  margin: 0 auto;

  color: var(--muted);
  font-size: 0.88rem;
}

.voucher-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 14px;
  margin-top: 24px;
}

/* =========================================================
   RESERVAS
========================================================= */

.booking-section {
  background:
    radial-gradient(
      circle at center top,
      rgba(165, 114, 91, 0.12),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      var(--bg),
      var(--bg-2)
    );
}

.booking-container {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
}

.booking-heading {
  max-width: 850px;
  margin: 0 auto 44px;
}

.booking-heading p {
  max-width: 760px;
  margin: 0 auto;

  color: var(--muted);
  font-size: 1.1rem;
}

/* =========================================================
   WIDGET THEFORK
========================================================= */

.fork-widget {
  width: 100%;
  max-width: 1200px;
  min-height: 900px;
  margin: 0 auto;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 26px;

  background: var(--white);

  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.fork-widget iframe {
  display: block;

  width: 100%;
  height: 950px;
  min-height: 950px;

  margin: 0;
  padding: 0;

  border: 0;

  background: var(--white);
}

/* =========================================================
   CONDIÇÕES
========================================================= */

.conditions {
  background: #080403;
}

.conditions h2 {
  font-size: 2rem;
}

.conditions p {
  max-width: 920px;
  margin-bottom: 14px;

  color: var(--muted);
}

/* =========================================================
   RODAPÉ
========================================================= */

.footer {
  padding: 28px 20px;

  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;

  background: #050302;
}

/* =========================================================
   RESPONSIVO — TABLET GRANDE
========================================================= */

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    min-height: 500px;
  }

  .gallery-item:nth-child(1) img {
    min-height: 500px;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    min-height: 420px;
  }

  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img {
    min-height: 420px;
  }

  .booking-container {
    width: min(100% - 28px, 1000px);
  }

  .fork-widget {
    min-height: 850px;
    border-radius: 20px;
  }

  .fork-widget iframe {
    height: 900px;
    min-height: 900px;
  }
}

/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 900px) {
  .topbar {
    padding: 14px 18px;
  }

  .logo {
    max-height: 46px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero-card {
    padding: 38px 24px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .price-box,
  .hero-actions .btn-primary {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    grid-column: auto;

    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-item img,
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img {
    width: 100%;
    height: 100%;
    min-height: 0;

    object-fit: cover;
  }

  .cards-grid,
  .voucher-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 18px;
  }

  .gallery-section {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .includes {
    padding-top: 36px;
  }
}

/* =========================================================
   RESPONSIVO — MOBILE
========================================================= */

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .voucher-top {
    flex-direction: column;
  }

  .voucher-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .voucher-details dd {
    text-align: left;
  }

  .voucher-actions {
    flex-direction: column;
  }

  .voucher-actions .btn {
    width: 100%;
  }

  .gallery-grid {
    gap: 16px;
  }

  .gallery-item {
    border-radius: 20px;
  }
}

@media (max-width: 600px) {
  .topbar-actions {
    gap: 8px;
  }

  .language-switcher select {
    min-height: 38px;
    padding: 7px 28px 7px 10px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-card {
    border-radius: 20px;
  }

  .price-box {
    min-width: 0;
  }

  .gallery-section .container {
    width: 100%;
  }

  .gallery-grid {
    width: 92%;
    margin: 0 auto;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .gallery-item img {
    object-position: center;
  }

  .booking-section {
    padding-left: 0;
    padding-right: 0;
  }

  .booking-heading {
    padding-left: 20px;
    padding-right: 20px;
  }

  .booking-container {
    width: 100%;
  }

  .fork-widget {
    width: 100%;
    max-width: none;
    min-height: 900px;

    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .fork-widget iframe {
    width: 100%;
    height: 950px;
    min-height: 950px;
  }
}

/* =========================================================
   IMPRESSÃO DO VOUCHER
========================================================= */

@media print {
  body {
    background: #ffffff;
  }

  body * {
    visibility: hidden;
  }

  .voucher-card,
  .voucher-card * {
    visibility: visible;
  }

  .voucher-card {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    max-width: none;

    color: #000000;

    border: 2px solid #000000;
    border-radius: 0;

    background: #ffffff;
    box-shadow: none;
  }

  .voucher-card h3,
  .voucher-price,
  .voucher-subtitle,
  .voucher-code-box span,
  .voucher-code-box strong,
  .voucher-details dt,
  .voucher-details dd,
  .voucher-warning,
  .voucher-label {
    color: #000000;
  }

  .voucher-logo {
    filter: grayscale(1);
  }

  .voucher-actions {
    display: none;
  }
}