.gastronomy-page {
  background: #f5fbff;
  color: #163456;
}

.gastronomy-page h1,
.gastronomy-page h2,
.gastronomy-page h3 {
  font-family: "Montserrat", sans-serif;
}

.gastronomy-container {
  max-width: 1480px;
  padding-inline: clamp(18px, 4vw, 62px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #1472b5;
  font: 800 .78rem/1.2 "Montserrat", sans-serif;
  letter-spacing: .16em;
}

.eyebrow--light {
  color: #69c5f1;
}

/* HERO */
.gastronomy-hero {
  position: relative;
  isolation: isolate;
  background: var(--gastronomy-hero-image, url("../../img/geral/hero/rio_mira.JPG")) center 52% / cover no-repeat;
}

.gastronomy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 46, 75, .9), rgba(4, 46, 75, .53) 55%, rgba(4, 46, 75, .12));
}

.gastronomy-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 335px;
  padding-top: 28px;
  padding-bottom: 88px;
}

.gastronomy-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
}

.gastronomy-hero p {
  max-width: 610px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
}

.gastronomy-waves {
  position: absolute;
  z-index: 3;
  inset: auto 0 -1px;
  height: clamp(70px, 8vw, 110px);
  pointer-events: none;
}

.gastronomy-waves svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gastronomy-wave-blue { fill: rgba(58, 171, 221, .86); }
.gastronomy-wave-green { fill: rgba(35, 151, 73, .91); }
.gastronomy-wave-white { fill: #f5fbff; }

/* SECTION HEADINGS */
.section-heading {
  max-width: 830px;
  margin-bottom: 26px;
}

.section-heading--intro {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 10px;
  color: #142d50;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
}

.section-heading p {
  margin: 0;
  color: #58708f;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

/* TRADITIONAL GASTRONOMY */
.traditional-section {
  position: relative;
  padding: 32px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 26%, rgba(209, 235, 252, .8), transparent 31%),
    #f5fbff;
}

.dish-list {
  display: grid;
  gap: clamp(24px, 3.6vw, 54px);
}

.dish-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(34, 110, 166, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(8, 47, 74, .08);
}

.dish-row--reverse .dish-copy { order: 2; }
.dish-row--reverse .dish-media { order: 1; }

.dish-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 56px);
}

.dish-number {
  position: absolute;
  top: 20px;
  right: 26px;
  color: rgba(20, 73, 131, .11);
  font: 800 clamp(2.5rem, 5vw, 5.5rem)/1 "Montserrat", sans-serif;
}

.dish-copy h3 {
  position: relative;
  margin: 0 0 15px;
  max-width: 620px;
  color: #142d50;
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.dish-copy p {
  position: relative;
  max-width: 700px;
  margin: 0 0 12px;
  color: #506a89;
  font-size: clamp(.97rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

.dish-copy p:last-child { margin-bottom: 0; }

.dish-media {
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: #d9e9f3;
}

.dish-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform .45s ease;
}

.dish-row:hover .dish-media img { transform: scale(1.025); }

/* PLACES */
.places-section {
  position: relative;
  padding: 76px 0 90px;
  background:
    radial-gradient(circle at 94% 15%, rgba(215, 241, 255, .8), transparent 26%),
    #fff;
}

.places-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #f5fbff;
  clip-path: polygon(0 0, 100% 30%, 100% 0, 0 0);
  pointer-events: none;
}

.places-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 8px 0 16px;
  padding: 10px;
  border: 1px solid #d4e8f6;
  border-radius: 18px;
  background: #eef8ff;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #d3e4f0;
  border-radius: 12px;
  background: #fff;
}

.search-icon {
  color: #155b93;
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(-15deg);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #173858;
  font-size: 1rem;
}

.search-field input::placeholder { color: #7690aa; }

.places-search button {
  min-width: 138px;
  border: 0;
  border-radius: 12px;
  background: #114983;
  color: #fff;
  font: 700 .95rem "Montserrat", sans-serif;
  transition: background .2s ease, transform .2s ease;
}

.places-search button:hover {
  background: #0d3d6d;
  transform: translateY(-1px);
}

.places-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.place-filter {
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid #cfe7f7;
  border-radius: 999px;
  background: #e9f6ff;
  color: #174a74;
  font: 700 .88rem "Montserrat", sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.place-filter:hover { transform: translateY(-1px); }

.place-filter[aria-pressed="true"] {
  border-color: #114983;
  background: #114983;
  color: #fff;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.place-card {
  overflow: hidden;
  border: 1px solid rgba(16, 79, 126, .12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 47, 74, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.place-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 47, 74, .12);
}

.place-card[hidden] { display: none !important; }

.place-card > img {
  width: 100%;
  aspect-ratio: 4 / 2.65;
  object-fit: cover;
}

.place-card-body { padding: 18px; }

.place-type {
  display: block;
  margin-bottom: 5px;
  color: #1380bf;
  font: 800 .72rem "Montserrat", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.place-card h3 {
  margin: 0 0 8px;
  color: #142d50;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.place-card p {
  min-height: 52px;
  margin: 0;
  color: #647b96;
  font-size: .92rem;
  line-height: 1.48;
}

.place-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf3f7;
  color: #174a74;
  font-size: .86rem;
  font-weight: 700;
}

.place-card-footer a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #2e8ec7;
  border-radius: 50%;
  color: #176da8;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.place-card-footer a:hover {
  background: #176da8;
  color: #fff;
}

.places-empty {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #eef8ff;
  color: #496987;
  text-align: center;
  font-weight: 700;
}

.place-filter:focus-visible,
.places-search button:focus-visible,
.search-field input:focus-visible,
.place-card-footer a:focus-visible {
  outline: 3px solid #176da8;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .dish-row { grid-template-columns: 1fr 1fr; }
  .places-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .gastronomy-hero-inner {
    min-height: 295px;
    padding-bottom: 76px;
  }

  .traditional-section { padding-bottom: 62px; }

  .dish-row,
  .dish-row--reverse {
    grid-template-columns: 1fr;
  }

  .dish-row--reverse .dish-copy,
  .dish-row--reverse .dish-media {
    order: initial;
  }

  .dish-copy { padding: 28px 24px 30px; }
  .dish-media,
  .dish-media img { min-height: 300px; }

  .places-section { padding-top: 62px; }
  .places-search { grid-template-columns: 1fr; }
  .places-search button { min-height: 48px; }
}

@media (max-width: 560px) {
  .gastronomy-container { padding-inline: 16px; }

  .gastronomy-hero h1 { font-size: 2.75rem; }
  .gastronomy-hero p { font-size: 1rem; }

  .section-heading h2 { font-size: 2rem; }
  .section-heading p { line-height: 1.6; }

  .dish-copy h3 { padding-right: 54px; }
  .dish-number { top: 22px; right: 20px; }
  .dish-media,
  .dish-media img { min-height: 230px; }

  .places-grid { grid-template-columns: 1fr; }
  .place-filter { min-height: 38px; padding: 7px 13px; font-size: .8rem; }
}
