/* =========================================================
   Azores Retail Park — vr3
   Sistema de design: identidade real (Ponta Delgada, São Miguel,
   Açores) + cores oficiais do Manual de Branding (castanho-chocolate
   Pantone 19-1524 TC #4A3728 + dourado Pantone 871).
   ========================================================= */

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

:root {
  --brown:      #4a3728;   /* cor primária oficial */
  --brown-deep: #2b1f16;   /* castanho quase-preto, para secções escuras */
  --brown-soft: #6a5440;
  --gold:       #b8934b;   /* aprox. Pantone 871 */
  --gold-light: #dcc491;
  --teal:       #1f4c46;   /* verde-atlântico, acento sazonal (uso pontual) */
  --cream:      #f6f2e9;   /* fundo quente, não branco puro */
  --paper:      #fffdf9;
  --ink:        #211811;
  --ink-dim:    #6b5f52;
  --line:       #e3d9c4;
  --sans: "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: min(90vw, 1640px);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ===== Marca de água / motivo decorativo (inspirado na calçada portuguesa) ===== */
.dot-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.dot-rule::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.dot-rule span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}
.section-dark .dot-rule span { color: var(--gold-light); }

/* ===== Header ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 38px 0 22px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  color: #fff;
}
#site-header.scrolled,
#site-header.scrolled-static {
  background: rgba(246,242,233,0.96);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  height: 45px;
  width: auto;
  color: #fff;
  transition: color 0.3s ease;
}
#site-header.scrolled .brand-mark,
#site-header.scrolled-static .brand-mark { color: var(--brown); }

#main-nav {
  display: flex;
  gap: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#main-nav a { opacity: 0.85; position: relative; padding-bottom: 4px; }
#main-nav a:hover, #main-nav a.active { opacity: 1; color: var(--gold); }

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: inherit;
}
#nav-toggle span { width: 22px; height: 2px; background: currentColor; display: block; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--brown-deep); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }

/* ===== Hero (home) ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--brown-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,14,9,0.4) 0%, rgba(20,14,9,0.05) 24%, rgba(20,14,9,0.05) 70%, rgba(20,14,9,0.35) 100%);
}

/* ===== Contagem decrescente (home) ===== */
.hero-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 34px 44px 30px;
  background: rgba(20,14,9,0.48);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(220,196,145,0.45);
  max-width: calc(100% - 32px);
}
.hero-countdown[hidden] { display: none; }
.hero-countdown-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-countdown-eyebrow small {
  display: block;
  margin-top: 6px;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  opacity: 0.9;
}
.hero-countdown-grid { display: flex; justify-content: center; gap: clamp(18px, 3.5vw, 44px); }
.cd-item { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-item[hidden] { display: none; }
.cd-num {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.cd-label {
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 620px) {
  .hero-countdown { padding: 24px 20px 22px; }
  .hero-countdown-eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; margin-bottom: 16px; }
  .cd-item { min-width: 48px; }
}

/* ===== Intro (informação, a seguir à imagem de ecrã inteiro) ===== */
.hero-info {
  background: var(--cream);
  padding: 100px 0 76px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-info h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  max-width: 32ch;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 56px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  width: fit-content;
}
.stat-block { display: flex; flex-direction: column; }
.odometer {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  writing-mode: vertical-rl;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.5);
}

/* ===== Page hero (subpáginas) ===== */
.page-hero {
  height: 510px;
  box-sizing: border-box;
  padding: 190px 0 0;
  display: flex;
  align-items: flex-start;
  background: var(--brown-deep);
  color: #fff;
  position: relative;
}
.page-hero.has-image {
  background-size: cover;
  background-position: center;
}
.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43,31,22,0.78);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  margin: 6px 0 20px;
  max-width: 40ch;
}
.page-hero .lead { color: rgba(255,255,255,0.75); max-width: 62ch; font-size: 1.05rem; }

/* ===== Secções genéricas ===== */
.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--brown-deep); color: #fff; }
.section h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
  max-width: 18ch;
}
.section h2.nowrap { max-width: none; white-space: nowrap; }
.section p { color: var(--ink-dim); }
.section-dark p { color: rgba(255,255,255,0.72); }
.lead { font-size: 1.05rem; max-width: 62ch; margin-bottom: 34px; }

/* ===== Grelha assimétrica: texto + imagem ===== */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.split-top { align-items: start; }
.horarios-destaque { display: flex; flex-direction: column; gap: 64px; align-self: start; }
.horarios-destaque-item h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 22px; }
#temporario .split, #permanente .split { align-items: start; }
.split.reverse .split-media { order: -1; }
.split-media img { width: 100%; border-radius: 2px; }
.split-media.framed {
  position: relative;
  padding: 22px 22px 22px 0;
}
.split-media.framed::before {
  content: "";
  position: absolute;
  inset: 0 22px 0 0;
  border: 1px solid var(--gold);
  z-index: -1;
  transform: translate(22px, 22px);
}

.fact-row { display: flex; gap: 48px; margin-top: 36px; flex-wrap: wrap; }
.fact-row .stat-label { color: var(--ink-dim); }
.fact-row .odometer { color: var(--brown); }
.section-dark .fact-row .odometer { color: var(--gold-light); }
.section-dark .fact-row .stat-label { color: rgba(255,255,255,0.6); }

/* ===== Teasers (home) ===== */
.teaser-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.teaser-card {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--brown-deep);
}
.teaser-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.75;
}
.teaser-card:hover img { transform: scale(1.06); opacity: 0.6; }
.teaser-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  color: #fff;
}
.teaser-card-num { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 10px; }
.teaser-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.teaser-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ===== Lojas: grelha de cartões + detalhe ===== */
.lojas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 2px;
}
.loja-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.loja-card-logo { width: 100%; background: #fff; display: flex; align-items: center; }
.loja-card-logo img { width: 100%; height: auto; display: block; }
.loja-card:hover { border-color: var(--gold); }
.loja-card.active { border-color: var(--brown-deep); box-shadow: inset 0 0 0 1px var(--brown-deep); }
.loja-detail {
  background: var(--paper);
  min-height: 380px;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  grid-column: 1 / -1;
  margin: 4px 0;
}
.loja-detail:empty { display: none; margin: 0; border: 0; min-height: 0; }
.loja-detail:not(:empty) { display: grid; }
/* O texto tem o padding; a foto fica sem padding, a tocar a margem direita
   (alinhada com o resto do conteúdo, ex: o "Contactos" do menu). */
.loja-detail-text { padding: 56px 48px 56px 56px; }
.loja-detail-media { width: 100%; height: 100%; min-height: 320px; overflow: hidden; }
.loja-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loja-detail-media--logo {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.loja-detail-media--logo img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 980px) {
  .loja-detail { grid-template-columns: 1fr; }
  .loja-detail-text { padding: 40px; }
  .loja-detail-media { order: -1; aspect-ratio: 4/3; min-height: 0; }
}
.loja-detail-status {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.loja-detail h3 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.loja-detail-category { color: var(--gold); font-weight: 700; margin-bottom: 20px; letter-spacing: 0.03em; }
.loja-detail-desc { color: var(--ink-dim); margin-bottom: 30px; max-width: 60ch; font-size: 1.02rem; }
.loja-detail-info { border-top: 1px solid var(--line); width: 100%; max-width: 60ch; }
.loja-detail-info li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  text-align: right;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}
.loja-detail-info li span { color: var(--ink); font-weight: 700; text-align: left; }
.fine-print { margin-top: 22px; font-size: 0.78rem; color: var(--ink-dim); opacity: 0.75; max-width: 70ch; }

/* ===== Mapa do parque ===== */
.siteplan-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 44px; align-items: start; margin-top: 20px; }
.siteplan-media img { width: 100%; }
.siteplan-legend { border-top: 1px solid rgba(255,255,255,0.15); }
.siteplan-legend li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); font-size: 0.92rem;
}
.siteplan-legend li span { color: var(--gold-light); font-weight: 700; }
.siteplan-legend li small { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.siteplan-floor { color: var(--gold-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 34px 0 12px; }
.siteplan-info .siteplan-floor:first-child { margin-top: 0; }

/* ===== Galeria ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery-full { grid-template-columns: repeat(4, 1fr); }
.gallery-item { overflow: hidden; aspect-ratio: 4/3; }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== Media ===== */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 20px; }
.media-card { position: relative; overflow: hidden; }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: #fff; font-size: 0.88rem;
}
.media-card figcaption span { display: block; color: var(--gold-light); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 30px 0 34px; }
.insta-post { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insta-post:hover img { transform: scale(1.08); }
.insta-icon {
  position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: #fff; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.social-links { display: flex; gap: 14px; }

/* ===== Serviços ===== */
.services-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; margin-bottom: 40px; }
.service-filter-btn {
  font-family: inherit; cursor: pointer; border-radius: 6px;
  border: 1.5px solid var(--brown); background: var(--paper); color: var(--brown);
  font-size: 0.78rem; font-weight: 600; padding: 9px 16px;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-filter-btn strong { font-weight: 800; }
.service-filter-btn:hover { background: var(--cream); }
.service-filter-btn.active { background: var(--brown-deep); border-color: var(--brown-deep); color: #fff; }
.services-empty { display: none; padding: 48px 0; color: var(--ink-dim); font-style: italic; }
.services-empty.visible { display: block; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; background: var(--paper); }
.services-grid.hidden { display: none; }
.service-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card.edge-right { border-right-color: transparent; }
.service-card.filtered-out { display: none; }
.service-card-filler { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card-filler.edge-right { border-right-color: transparent; }
.service-card { background: var(--paper); padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.service-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; }
.service-card h3 { font-size: 1.02rem; font-weight: 700; }
.service-card p { font-size: 0.88rem; }
.service-status {
  margin-top: auto; align-self: flex-start;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
  color: var(--teal); background: #e7efee; border-radius: 20px; padding: 4px 12px;
}
.service-status-pending { color: var(--gold); background: #f5ecd3; }

/* ===== Empregos ===== */
.jobs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); margin-top: 40px; }
.job-card { background: var(--paper); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.job-card-head { display: flex; justify-content: space-between; align-items: center; }
.job-brand { font-weight: 800; color: var(--ink); }
.job-tag { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); border: 1px solid var(--gold); border-radius: 20px; padding: 3px 10px; }
.job-role { font-weight: 600; color: var(--ink); }
.job-role small { color: var(--ink-dim); font-weight: 400; }
.job-desc { font-size: 0.88rem; color: var(--ink-dim); }
.job-apply { font-size: 0.82rem; color: var(--ink-dim); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.job-apply span { display: block; color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }

/* ===== FAQ ===== */
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none;
  position: relative; padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 0; font-size: 1.3rem; color: var(--gold);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 16px; color: var(--ink-dim); }
.faq-item p a { color: var(--gold); text-decoration: underline; }

/* ===== Contacto ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-list li { margin-bottom: 24px; }
.contact-list span { display: block; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; font-weight: 700; }
.contact-list a:hover { color: var(--gold); }
.map-embed { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-map-large iframe { min-height: 580px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--cream); padding: 44px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; color: var(--ink-dim); font-weight: 600; }
.contact-form .req { color: var(--gold); }
.contact-form input[readonly] { color: var(--ink-dim); background: var(--line); cursor: default; }
.contact-form .form-check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 0.8rem; color: var(--ink-dim); margin: -8px 0; }
.contact-form .form-check input { width: auto; margin-top: 3px; }
.contact-form .form-check a { color: var(--ink-dim); text-decoration: underline; }
.contact-form .form-check a:hover { color: var(--gold); }
.contact-form .form-required-note { font-size: 0.76rem; color: var(--ink-dim); margin-top: -6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 14px; color: var(--ink); font-family: inherit; font-size: 0.95rem;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold); }
.contact-form button { align-self: flex-start; }

/* ===== Ficha de loja / genéricos reutilizados ===== */
.legal-content p, .legal-content ul { max-width: 780px; margin-bottom: 16px; }
.legal-content a { color: var(--gold); text-decoration: underline; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; max-width: none; margin: 34px 0 10px; }
.legal-content h2:first-of-type { margin-top: 12px; }
.legal-content .fine-print { color: var(--ink-dim); font-size: 0.85rem; }
.legal-content ul { margin: 0 0 16px; padding: 0; }
.legal-content li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.legal-content li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: var(--brown) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%3E%3Cfilter%20id='n'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20color-interpolation-filters='sRGB'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.7'%20numOctaves='3'%20seed='7'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.16%20%200%200%200%200%200.09%20%200%200%200%200%200.05%20%200.2%200%200%200%20-0.04'/%3E%3C/filter%3E%3Crect%20width='300'%20height='300'%20filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 300px 300px; color: rgba(255,255,255,0.72); font-size: 0.86rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-top: 70px; padding-bottom: 44px; border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-logo { height: 42px; width: auto; color: #fff; margin-bottom: 20px; }
.footer-partners {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 320px;
}
.footer-links + .footer-partners { margin-top: 34px; }
.footer-partners-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}
.footer-partners-logo { width: 100%; height: auto; }
.footer-partners-logo--sapore { max-width: 110px; }
.footer-partners-logo--rm { max-width: 78px; }
.footer-address { color: rgba(255,255,255,0.72); line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul + h4 { margin-top: 48px; }
.footer-links li { margin-bottom: 11px; line-height: 1.5; }
.footer-links a:hover { color: var(--gold-light); }
.footer-newsletter-title { font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-newsletter-text { font-size: 0.85rem; color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.newsletter-form { display: flex; border: 1px solid rgba(255,255,255,0.3); border-radius: 2px; overflow: hidden; margin-bottom: 12px; max-width: 320px; }
.newsletter-form input { flex: 1; border: 0; padding: 12px 14px; font-family: inherit; font-size: 0.88rem; color: var(--ink); min-width: 0; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { border: 0; background: var(--gold); color: var(--brown-deep); padding: 0 18px; cursor: pointer; font-size: 1rem; }
.newsletter-form button:hover { background: var(--gold-light); }
.newsletter-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.72); max-width: 320px; }
.newsletter-check a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.footer-legal { padding: 22px 0; }
.footer-legal-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 30px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.78rem; }
.footer-legal-links a { color: rgba(255,255,255,0.65); opacity: 1; }
.footer-legal-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  #main-nav {
    display: flex; position: fixed; inset: 0; top: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    font-size: 1.1rem; background: rgba(43,31,22,0.98); color: #fff;
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
  }
  #main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  #nav-toggle { display: flex; z-index: 101; color: inherit; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media.framed { padding: 0; }
  .split-media.framed::before { display: none; }
  .teaser-row { grid-template-columns: 1fr 1fr; }
  .lojas-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .siteplan-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery, .gallery-full, .media-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  #site-header.scrolled, #site-header.scrolled-static { padding: 16px 0 12px; }
  .container { padding: 0 20px; }
  .hero-info { padding-top: 64px; padding-bottom: 56px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .teaser-row { grid-template-columns: 1fr; }
  .gallery, .gallery-full, .media-grid { grid-template-columns: 1fr; }
  .gallery-item.span-2 { grid-column: span 1; }
  .lojas-grid { grid-template-columns: 1fr; }
  .services-grid, .jobs-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
}


/* ===== Ondas em camadas (identidade do convite) =====
   Cabeçalho: a barra creme termina em ondas (terracota e areia) por baixo.
   Rodapé: onda terracota e depois onda castanha, da cor do rodapé.
   O grão e a sombra do papel estão dentro dos próprios desenhos das ondas. */
#site-header.scrolled,
#site-header.scrolled-static {
  background: var(--cream) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%3E%3Cfilter%20id='n'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20color-interpolation-filters='sRGB'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.7'%20numOctaves='3'%20seed='7'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.16%20%200%200%200%200%200.09%20%200%200%200%200%200.05%20%200.2%200%200%200%20-0.04'/%3E%3C/filter%3E%3Crect%20width='300'%20height='300'%20filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 300px 300px;
  box-shadow: none;
}
#site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(100% - 1px);
  height: clamp(60px, 7.2vw, 104px);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20104'%20preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter%20id='p'%20x='-2%25'%20y='-10%25'%20width='104%25'%20height='140%25'%20color-interpolation-filters='sRGB'%3E%3CfeDropShadow%20in='SourceGraphic'%20dx='0'%20dy='4'%20stdDeviation='4'%20flood-color='%231a0f08'%20flood-opacity='0.42'/%3E%3C/filter%3E%3C/defs%3E%3Cpath%20fill='%23b1a491'%20filter='url(%23p)'%20d='M0,80%20C200,54%20380,64%20540,86%20C700,106%20860,100%201000,80%20C1140,60%201290,58%201440,84%20L1440,0%20L0,0%20Z'/%3E%3Cpath%20fill='%23ad6a49'%20filter='url(%23p)'%20d='M0,52%20C170,24%20340,30%20480,58%20C620,86%20760,90%20900,60%20C1040,32%201200,26%201330,52%20C1390,64%201420,62%201440,54%20L1440,0%20L0,0%20Z'/%3E%3Cpath%20fill='%23f6f2e9'%20filter='url(%23p)'%20d='M0,22%20C150,6%20300,8%20430,28%20C560,48%20700,54%20860,30%20C1000,8%201150,4%201280,22%20C1360,34%201410,32%201440,24%20L1440,0%20L0,0%20Z'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
#site-header.scrolled::after,
#site-header.scrolled-static::after { opacity: 1; }

.site-footer { position: relative; }
.footer-grid { border-top: 0; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: calc(100% - 1px);
  height: clamp(80px, 10.5vw, 150px);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20140'%20preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter%20id='p'%20x='-2%25'%20y='-10%25'%20width='104%25'%20height='140%25'%20color-interpolation-filters='sRGB'%3E%3CfeDropShadow%20in='SourceGraphic'%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='%231a0f08'%20flood-opacity='0.34'/%3E%3C/filter%3E%3C/defs%3E%3Cpath%20fill='%23ad6a49'%20filter='url(%23p)'%20d='M0,74%20C140,48%20260,50%20360,82%20C460,114%20600,114%20720,82%20C820,54%20960,44%201100,54%20C1240,64%201340,58%201440,46%20L1440,140%20L0,140%20Z'/%3E%3Cpath%20fill='%234a3728'%20filter='url(%23p)'%20d='M0,118%20C160,96%20340,92%20520,112%20C700,132%20860,134%201040,114%20C1200,98%201330,94%201440,108%20L1440,140%20L0,140%20Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

/* Grão das ondas: camada à parte (o mesmo mosaico do fundo), recortada pela forma das
   ondas. Assim não é esticado com o desenho e fica igual ao resto do cabeçalho/rodapé. */
#site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(100% - 1px);
  height: clamp(60px, 7.2vw, 104px);
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%3E%3Cfilter%20id='n'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20color-interpolation-filters='sRGB'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.7'%20numOctaves='3'%20seed='7'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.16%20%200%200%200%200%200.09%20%200%200%200%200%200.05%20%200.2%200%200%200%20-0.04'/%3E%3C/filter%3E%3Crect%20width='300'%20height='300'%20filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 300px 300px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20104'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0,80%20C200,54%20380,64%20540,86%20C700,106%20860,100%201000,80%20C1140,60%201290,58%201440,84%20L1440,0%20L0,0%20Z'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20104'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0,80%20C200,54%20380,64%20540,86%20C700,106%20860,100%201000,80%20C1140,60%201290,58%201440,84%20L1440,0%20L0,0%20Z'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
#site-header.scrolled::before,
#site-header.scrolled-static::before { opacity: 1; }
#site-header::after { z-index: 0; }

.site-footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: calc(100% - 1px);
  height: clamp(80px, 10.5vw, 150px);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%3E%3Cfilter%20id='n'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20color-interpolation-filters='sRGB'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.7'%20numOctaves='3'%20seed='7'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.16%20%200%200%200%200%200.09%20%200%200%200%200%200.05%20%200.2%200%200%200%20-0.04'/%3E%3C/filter%3E%3Crect%20width='300'%20height='300'%20filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 300px 300px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20140'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0,74%20C140,48%20260,50%20360,82%20C460,114%20600,114%20720,82%20C820,54%20960,44%201100,54%20C1240,64%201340,58%201440,46%20L1440,140%20L0,140%20Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20140'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0,74%20C140,48%20260,50%20360,82%20C460,114%20600,114%20720,82%20C820,54%20960,44%201100,54%20C1240,64%201340,58%201440,46%20L1440,140%20L0,140%20Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

/* O topo cresce se o texto for maior que os 510px, e o texto começa sempre por baixo
   do cabeçalho (112px) + as ondas dele + uma folga. */
.page-hero {
  height: auto;
  min-height: 510px;
  padding-bottom: 24px;
}
@media (min-width: 621px) {
  .page-hero { padding-top: calc(112px + clamp(60px, 7.2vw, 104px) + 20px); }
}

/* Folga entre o fim do conteúdo e a onda do rodapé: a onda sobe por cima do fim da última
   secção, por isso essa secção ganha espaço extra por baixo (acompanha a altura da onda). */
body > section:last-of-type {
  padding-bottom: calc(clamp(80px, 10.5vw, 150px) * 0.69 + 56px);
}
