/* =========================================================
   Restaurante Costa do Sol — Maputo
   ========================================================= */

:root {
  /* Cores do logótipo oficial */
  --navy: #041c38;
  --navy-2: #03152b;
  --gold: #ffab01;
  --coral: #de5429;

  /* Tons de apoio */
  --gold-text: #8f560c;   /* dourado legível sobre creme */
  --cream: #f5efe4;
  --cream-2: #ece3d3;
  --paper: #faf7f1;
  --text: #1d2733;
  --muted: #5c6670;
  --line: rgba(4, 28, 56, .13);
  --line-gold: rgba(143, 86, 12, .45);

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Lexend", "Avenir Next", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 1.1875rem/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}
h2 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); color: var(--navy); letter-spacing: -.005em; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--navy);
  padding: 12px 18px; font: 500 .8rem/1 var(--sans); text-decoration: none;
}
.skip:focus { top: 12px; }

/* Idioma: só mostra a língua ativa */
html[lang="pt"] body [lang="en"],
html[lang="en"] body [lang="pt"] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Etiquetas e ornamentos ---------- */
.eyebrow {
  display: block; margin: 0 0 18px;
  font: 400 .72rem/1.4 var(--sans);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: rgba(255, 255, 255, .86); }


/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.25em 2.2em;
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffc14a; }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-line { border-color: var(--gold-text); color: var(--gold-text); }
.btn-line:hover { background: var(--gold-text); color: var(--cream); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0b2c52; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color .4s, box-shadow .4s, color .4s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(245, 239, 228, .97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex; align-items: center; gap: 32px;
  max-width: 1360px; height: var(--header-h); margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height .4s;
}
.is-scrolled .nav { height: 72px; }

.brand { position: relative; display: block; flex: none; line-height: 0; transition: opacity .4s, visibility .4s; }
.js .site-header:not(.is-scrolled):not(.is-open) .brand { opacity: 0; visibility: hidden; }
.brand img { height: 46px; width: auto; transition: opacity .4s, height .4s; }
.brand-dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.is-scrolled .brand-light, .is-open .brand-light { opacity: 0; }
.is-scrolled .brand-dark, .is-open .brand-dark { opacity: 1; }
.is-scrolled .brand img { height: 40px; }

.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  position: relative; display: block; padding: 8px 0;
  font: 400 .72rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .35s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links-book { display: none; }

.nav-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  background: none; border: 0; color: inherit; cursor: pointer; opacity: .6;
  padding: 6px 6px; font: 400 .7rem/1 var(--sans); letter-spacing: .14em;
  border-bottom: 1px solid transparent;
}
.lang-switch button[aria-pressed="true"] { opacity: 1; border-bottom-color: var(--gold); }
.btn-book { padding: 1.05em 1.7em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: inherit; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .3s, opacity .3s; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav { justify-content: space-between; }
  .nav-menu { flex: 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--cream); color: var(--navy);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(4, 28, 56, .35);
    max-height: calc(100svh - 72px); overflow-y: auto;
  }
  .is-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 20px 0 18px; font-size: .82rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links-book { display: block; margin-top: 24px; }
  .nav-links-book .btn { width: 100%; }
}
@media (max-width: 560px) {
  .btn-book { display: none; }
  .brand img, .is-scrolled .brand img { height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 640px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  animation: drift 20s ease-out both;
}
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
/* Sombra só onde há texto: topo (menu) e canto inferior esquerdo (título); o céu fica limpo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 21, 43, .5) 0%, rgba(3, 21, 43, 0) 20%),
    linear-gradient(0deg, rgba(3, 21, 43, .88) 0%, rgba(3, 21, 43, .45) 34%, rgba(3, 21, 43, 0) 62%),
    linear-gradient(90deg, rgba(3, 21, 43, .35) 0%, rgba(3, 21, 43, 0) 50%);
}

/* Logótipo no canto superior direito, num selo creme */
.hero-badge {
  position: absolute; z-index: 1; margin: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(8px, 2.5vw, 28px));
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  width: clamp(132px, 17vw, 236px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(250, 247, 241, .95);
  box-shadow: 0 0 0 6px rgba(250, 247, 241, .35), 0 24px 50px -20px rgba(3, 21, 43, .6);
  animation: rise 1.2s .3s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-badge img { width: 74%; height: auto; transform: translateY(2%); }

.hero-inner {
  width: 100%; max-width: 1360px; margin-inline: auto;
  padding: 0 var(--gutter) clamp(64px, 9vh, 104px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-inner > * { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .12s; }
.hero-inner > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.hero .eyebrow { margin-bottom: 16px; }
.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(3, 21, 43, .45);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); translate: -50% 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  color: rgba(255, 255, 255, .75);
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 26px; height: 26px; }
@keyframes bob { 50% { transform: translateY(6px); } }

@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-self: stretch; }
  .eyebrow { letter-spacing: .24em; }
  .scroll-cue { display: none; }
  /* espaço para o botão flutuante do WhatsApp */
  .hero-inner { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Secções ---------- */
.section { padding-block: clamp(88px, 11vw, 150px); }
.section-head {
  max-width: 680px; margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.lede { margin: 22px auto 0; max-width: 36em; font-size: 1.25rem; color: var(--muted); }

/* Colagem de fotos (estilo Marble) com moldura deslocada (estilo Mila) */
.collage { position: relative; padding: 0 16% 20% 0; }
.collage-main { position: relative; }
.collage-main::before {
  content: ""; position: absolute; z-index: 0;
  left: -18px; top: -18px; width: 62%; height: 72%;
  border: 1px solid var(--line-gold);
}
.collage-main img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
}
.collage-side {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 44%;
  border: 8px solid var(--cream); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 30px 60px -30px rgba(4, 28, 56, .5);
}
.collage-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.collage--dark .collage-side { border-color: var(--navy); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.collage--dark .collage-main::before { border-color: rgba(255, 171, 1, .45); }
.collage--dark .collage-side img { aspect-ratio: 1; }

/* ---------- História ---------- */
.story { padding-bottom: clamp(64px, 8vw, 110px); }
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px); align-items: center;
}
.story-text h2 { margin-bottom: 30px; }
.story-text p { color: var(--muted); }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 34px 0 38px; padding: 22px 0;
  border-block: 1px solid var(--line);
}
.facts div { margin: 0; }
.facts dt { font-size: 2rem; line-height: 1; color: var(--navy); }
.facts dd {
  margin: 8px 0 0;
  font: 400 .64rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cartões ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  max-width: 1440px; margin: 0 auto; padding: 0 16px clamp(88px, 11vw, 150px);
}
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: block; height: clamp(340px, 36vw, 520px);
  border-radius: var(--radius);
  color: #fff; text-decoration: none;
}
.card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3, 21, 43, 0) 35%, rgba(3, 21, 43, .85) 100%);
}
.card:hover img { transform: scale(1.06); }
.card-body { position: absolute; left: clamp(22px, 3vw, 36px); right: 22px; bottom: clamp(22px, 3vw, 34px); }
.card .eyebrow { margin-bottom: 10px; }
.card-title { display: block; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; }
.card-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  font: 400 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.card-link svg { width: 18px; height: 18px; transition: transform .35s; }
.card:hover .card-link svg { transform: translateX(5px); }

/* ---------- Menu ---------- */
.menu { background: var(--paper); }
.menu-photos {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  max-width: 1120px; margin: 0 auto clamp(56px, 7vw, 96px);
}
.menu-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

.tablist {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 30px;
  margin: 0 auto clamp(48px, 6vw, 72px); max-width: 980px;
  border-bottom: 1px solid var(--line);
}
html:not(.js) .tablist { display: none; }
.tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 18px 2px 16px;
  font: 400 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  transition: color .25s;
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--navy); }
.tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
}
.tabpanel { max-width: 720px; margin-inline: auto; animation: fade .5s ease both; }
.tabpanel:focus-visible { outline-offset: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

.menu-group + .menu-group { margin-top: 64px; }
.menu-group + .menu-group::before {
  content: "◈"; display: block; margin-bottom: 56px;
  text-align: center; color: var(--gold-text); font-size: .9rem; line-height: 1;
  background:
    linear-gradient(var(--line-gold), var(--line-gold)) calc(50% - 82px) 50% / 120px 1px no-repeat,
    linear-gradient(var(--line-gold), var(--line-gold)) calc(50% + 82px) 50% / 120px 1px no-repeat;
}
.menu-group h3 { text-align: center; font-size: clamp(1.9rem, 3.4vw, 2.3rem); color: var(--navy); }
.menu-group-sub {
  display: block; margin-top: 10px;
  font: 400 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text);
}
.menu-group-note { margin: 14px 0 0; text-align: center; font-style: italic; color: var(--muted); }
.menu-group-note--end { margin-top: 56px; }

.dish-list { list-style: none; margin: 30px 0 0; padding: 0; }
.dish { padding: 18px 0 17px; border-bottom: 1px solid var(--line); }
.dish-line { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.dish h4 { font-size: 1.24rem; font-weight: 500; line-height: 1.3; color: var(--navy); }
.qty {
  margin-left: 6px; white-space: nowrap;
  font: 400 .66rem/1 var(--sans); letter-spacing: .08em; color: var(--muted);
}
.price {
  flex: none; font-size: 1.16rem; font-weight: 500; color: var(--gold-text);
  font-variant-numeric: lining-nums tabular-nums;
}
.price small { font-size: .7em; margin-left: 2px; }
.dish-sub {
  margin: 6px 0 0;
  font: 300 .66rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.dish-desc { margin: 4px 0 0; font-style: italic; font-size: 1.02rem; line-height: 1.45; color: var(--muted); }

.dish-list--compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.dish-list--compact .dish { padding: 13px 0 12px; }
.dish-list--compact h4 { font-size: 1.1rem; }
.dish-list--compact .price { font-size: 1.05rem; }

.menu-note {
  margin: 64px 0 0; text-align: center;
  font: 400 .66rem/1.7 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Elementos ---------- */
.elements { background: var(--cream-2); }
.elements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.element { text-align: center; }
.element-icon { width: 52px; height: 52px; margin: 0 auto 22px; color: var(--gold-text); }
.element h3 { margin-bottom: 14px; font-size: 2rem; color: var(--navy); }
.element p { max-width: 30ch; margin-inline: auto; color: var(--muted); }

/* ---------- Espaço (fundo escuro texturado, estilo Marble) ---------- */
.space, .site-footer {
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(255, 255, 255, .05), transparent 70%),
    radial-gradient(50% 60% at 85% 75%, rgba(255, 255, 255, .04), transparent 70%),
    radial-gradient(40% 40% at 60% 10%, rgba(255, 171, 1, .05), transparent 70%),
    var(--navy);
}
.space { color: rgba(255, 255, 255, .78); }
.space h2 { color: #fff; margin-bottom: 28px; }
.space-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px); align-items: center;
}
.space-list {
  display: flex; flex-wrap: wrap; row-gap: 10px;
  list-style: none; margin: 28px 0 36px; padding: 0;
  font: 400 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.space-list li + li::before { content: "✶"; margin: 0 18px; opacity: .7; letter-spacing: 0; }

/* ---------- Eventos ---------- */
.events-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(48px, 7vw, 110px); align-items: center;
}
.events h2 { margin-bottom: 28px; }
.events-text > p { color: var(--muted); }
.star-list { list-style: none; margin: 26px 0 38px; padding: 0; }
.star-list li { position: relative; padding: 8px 0 8px 30px; color: var(--text); }
.star-list li::before { content: "✶"; position: absolute; left: 0; top: 9px; color: var(--gold-text); font-size: .85rem; }

.framed { position: relative; max-width: 440px; margin-left: auto; }
.framed::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-gold); border-radius: var(--radius);
}
.framed img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------- Visite ---------- */
.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 100px); }
.visit-title { margin-bottom: 20px; font-size: 1.8rem; color: var(--navy); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 15px 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: lining-nums tabular-nums; color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--gold-text); font-weight: 600; }

.status {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 14px; padding: .6em 1em; border-radius: 999px;
  font: 400 .76rem/1.3 var(--sans); letter-spacing: .02em;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-open { background: #e1efe6; color: #1c6544; }
.status.is-open::before { animation: pulse 2s ease-in-out infinite; }
.status.is-closed { background: #f6e1d8; color: #9a3b22; }
@keyframes pulse { 50% { opacity: .3; } }

.find-us { margin: 0 0 28px; }
.find-us div { margin-bottom: 22px; }
.find-us dt {
  font: 400 .64rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text);
}
.find-us dd { margin: 8px 0 0; font-size: 1.15rem; }
.find-us a { text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.find-us a:hover { color: var(--gold-text); }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; aspect-ratio: 16 / 10; height: auto; border: 0; filter: saturate(.75) sepia(.1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font: 400 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Reservas ---------- */
.reserve { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.reserve-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.reserve::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(3, 21, 43, .86); }
.section-head--light h2 { color: #fff; }
.section-head--light .lede { color: rgba(255, 255, 255, .8); }

.form-card {
  max-width: 820px; margin-inline: auto;
  padding: clamp(28px, 4.5vw, 56px);
  background: var(--paper); color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font: 400 .64rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text);
}
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px;
  padding: 10px 2px;
  font: inherit; font-size: 1.15rem; color: var(--navy);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(4, 28, 56, .3); border-radius: 0;
  transition: border-color .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 32px;
  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' fill='none' stroke='%238f560c' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-text); background-color: rgba(255, 171, 1, .06); }
.field .is-invalid { border-bottom-color: var(--coral); background-color: rgba(222, 84, 41, .06); }

.form-error { margin: 20px 0 0; color: #b23d17; font-size: 1rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; }
.form-call { margin: 0; color: var(--muted); }
.form-call a { margin-left: 6px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-gold); }

.result { text-align: center; padding: 8px 0; }
.result:focus { outline: none; }
.result-icon {
  width: 60px; height: 60px; margin: 0 auto 20px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold-text); color: var(--gold-text); font-size: 1.6rem;
}
.result h3 { margin-bottom: 10px; font-size: 2.1rem; color: var(--navy); }
.result p { color: var(--muted); }
.result pre {
  margin: 20px auto; max-width: 30em; padding: 18px 20px;
  text-align: left; white-space: pre-wrap; word-break: break-word;
  font: 400 1rem/1.6 var(--serif);
  background: var(--cream); border: 1px dashed var(--line-gold);
}
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Rodapé ---------- */
.site-footer { color: rgba(255, 255, 255, .72); padding: 84px 0 34px; font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 170px; height: auto; }
.site-footer h4 {
  margin-bottom: 18px;
  font: 400 .66rem/1.2 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.site-footer p { margin-bottom: .8em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font: 400 .66rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- WhatsApp flutuante (só com número configurado) ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

/* ---------- Revelar ao rolar ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.is-instant { transition: none; }
.card.reveal:nth-child(2), .element.reveal:nth-child(2) { transition-delay: .12s; }
.card.reveal:nth-child(3), .element.reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .story-grid, .space-grid, .events-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .space-text { order: 2; }
  .framed { margin: 0 auto; max-width: 380px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { height: 300px; }
  .elements-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .tablist {
    flex-wrap: nowrap; justify-content: flex-start; gap: 0 24px;
    overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }
  .tablist::-webkit-scrollbar { display: none; }
  .dish-list--compact { grid-template-columns: minmax(0, 1fr); }
  .menu-photos {
    display: flex; gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .menu-photos::-webkit-scrollbar { display: none; }
  .menu-photos img { flex: 0 0 64%; width: 64%; min-width: 0; scroll-snap-align: start; }
}

@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } /* espaço para o botão do WhatsApp */
  .collage { padding: 0 10% 22% 0; }
  .collage-main::before { left: -10px; top: -10px; }
  .facts dt { font-size: 1.6rem; }
  .framed::before { inset: 14px -12px -14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
