/* ============================================================
   PORCOS ABAYOMI — Redesign 2026
   Paleta: verde-floresta profundo + creme + barro quente
   Tipografia: Fraunces (display) + Manrope (texto)
   ============================================================ */

:root {
  --cream: #f2eee3;
  --cream-2: #e9e3d1;
  --cream-3: #ddd5bf;
  --white: #ffffff;
  --ink: #171c14;
  --ink-soft: #4a5245;
  --green-950: #10241a;
  --green-900: #16311f;
  --green-800: #1d422a;
  --green-700: #2c5637;
  --green-100: #d9e4d2;
  --sage: #a9c197;
  --clay: #c2703e;
  --clay-soft: #e9c9ae;
  --rose: #e8b4a0;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(4rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

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

/* ---------- Tipografia ---------- */
.display-xl,
.display-lg,
.display-md {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display-xl { font-size: clamp(2.9rem, 8.2vw, 7.2rem); }
.display-lg { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.display-md { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--clay);
}
.on-dark .eyebrow { color: var(--sage); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.on-dark .lead { color: #c8d3c0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }

.btn-dark { background: var(--green-950); color: var(--cream); }
.btn-dark:hover { background: var(--green-700); transform: translateY(-2px); }

.btn-light { background: var(--cream); color: var(--green-950); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover { background: #a95c30; transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid rgba(23, 28, 20, .35);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  padding-bottom: .35rem;
  border-bottom: 1.5px solid currentColor;
  transition: gap .3s var(--ease), opacity .3s;
}
.link-underline:hover { gap: 1rem; opacity: .75; }

/* ---------- Chips angulares (estilo Freshfield) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .95rem;
}
.chip::before {
  content: "";
  width: 26px; height: 26px;
  background: var(--cream);
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 28% 100%, 0 72%);
}
.chip.chip-dark::before { background: var(--green-950); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { height: 46px; width: auto; transition: opacity .3s; }
.brand .logo-light { display: none; }

.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  padding: .55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .3s, color .3s;
}
.main-nav a:hover { background: rgba(23, 28, 20, .08); }
.main-nav a.active { background: rgba(23, 28, 20, .1); }

.header-actions { display: flex; align-items: center; gap: .8rem; }

/* Header sobre imagem (home) */
.header-on-hero:not(.scrolled) { color: var(--cream); }
.header-on-hero:not(.scrolled) .brand .logo-dark { display: none; }
.header-on-hero:not(.scrolled) .brand .logo-light { display: block; }
.header-on-hero:not(.scrolled) .main-nav a:hover,
.header-on-hero:not(.scrolled) .main-nav a.active { background: rgba(255, 255, 255, .14); }
.header-on-hero:not(.scrolled) .btn-dark { background: var(--cream); color: var(--green-950); }
.header-on-hero:not(.scrolled) .cart-fab { color: var(--cream); border-color: rgba(255,255,255,.4); }

.site-header.scrolled {
  background: rgba(242, 238, 227, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(23, 28, 20, .08);
}

/* Carrinho no header */
.cart-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 28, 20, .25);
  color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.cart-fab:hover { background: var(--green-950); color: var(--cream); border-color: var(--green-950); }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 20px; height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count:empty, .cart-count[data-zero="true"] { display: none; }

/* Menu mobile */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: inherit;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    height: 100svh;
    background: var(--green-950);
    color: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: .8rem;
    font-size: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
    z-index: -1;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav a { font-size: clamp(1.6rem, 6vw, 2.2rem); font-family: var(--font-display); font-weight: 480; }
  .main-nav a:hover, .main-nav a.active { background: rgba(255, 255, 255, .1); }
  .nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .nav-open .site-header { color: var(--cream); }
  /* Crítico: backdrop-filter/blur num antepassado torna-o bloco de contenção dos
     descendentes `position: fixed` — o menu passaria a medir a altura do header em
     vez do ecrã inteiro. Enquanto o menu está aberto, o header não filtra nada. */
  .nav-open .site-header.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .nav-open .brand .logo-dark { display: none; }
  .nav-open .brand .logo-light { display: block; }
  .header-cta { display: none; }

  /* Scroll da página bloqueado com o menu aberto (posição reposta pelo main.js) */
  body.nav-open {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    overflow: hidden;
  }
}

/* ============================================================
   HERO (home) — imagem full-bleed estilo Freshfield
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 36, 26, .42) 0%, rgba(16, 36, 26, 0) 34%, rgba(16, 36, 26, .62) 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  align-items: end;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.hero-intro { display: grid; gap: 1.6rem; justify-items: start; }
.hero-intro p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55; font-weight: 500; }
.hero-headline {
  text-align: right;
  text-wrap: balance;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  writing-mode: vertical-rl;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .7;
}
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-headline { text-align: left; }
  .hero-scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--green-950);
  color: var(--cream);
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "✦";
  color: var(--clay);
  font-size: .8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECÇÕES GENÉRICAS
   ============================================================ */
section { padding-block: var(--section); }
section.tight { padding-block: calc(var(--section) * .55); }

.section-head {
  display: grid;
  gap: 1.2rem;
  max-width: 900px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
}
@media (max-width: 760px) {
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
}

.on-dark { background: var(--green-950); color: var(--cream); }
.on-green { background: var(--green-900); color: var(--cream); }

/* ---------- Intro / statement ---------- */
.statement {
  max-width: 1000px;
}
.statement em {
  font-style: italic;
  color: var(--clay);
}
.on-dark .statement em { color: var(--rose); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro-copy { display: grid; gap: 1.8rem; justify-items: start; }
.intro-media {
  position: relative;
}
.intro-media .main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.intro-media .main img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .float {
  position: absolute;
  left: -18%;
  bottom: -10%;
  width: 52%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 24px 60px rgba(16, 36, 26, .25);
  aspect-ratio: 1 / 1;
}
.intro-media .float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media .float { left: auto; right: -4%; }
}

/* ---------- Cards de produtos (home) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(16, 36, 26, .22);
}
.product-card .thumb {
  border-radius: var(--radius-md);
  background: var(--cream-2);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1.2rem;
}
.product-card .thumb img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 520;
  font-size: 1.35rem;
  line-height: 1.15;
}
.product-card .meta { font-size: .9rem; color: var(--ink-soft); }
.product-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}
.product-card .price { font-weight: 800; font-size: 1.02rem; }
.product-card .price small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .78rem; }

/* ---------- Pilares / serviços ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  display: grid;
  gap: 1rem;
  align-content: start;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.pillar:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.pillar .num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sage);
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
}
.pillar p { color: #c2cdb9; font-size: .98rem; }

.light .pillar { background: var(--white); border-color: transparent; }
.light .pillar .num { color: var(--clay); }
.light .pillar p { color: var(--ink-soft); }

/* ---------- Split biossegurança ---------- */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; } }
.split-feature .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  position: relative;
}
.split-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.split-feature .media .badge-float {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(242, 238, 227, .9);
  backdrop-filter: blur(8px);
  color: var(--green-950);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.split-feature .copy { display: grid; gap: 1.6rem; justify-items: start; }

.feature-list { display: grid; gap: 1.1rem; width: 100%; }
.feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .09);
  align-items: flex-start;
}
.feature-list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-950);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 900;
  margin-top: .15rem;
}
.feature-list strong { display: block; font-size: 1.05rem; }
.feature-list span { color: #c2cdb9; font-size: .93rem; }

/* ---------- Stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-band { grid-template-columns: 1fr; } }
.stat {
  border-top: 2px solid rgba(23, 28, 20, .15);
  padding-top: 1.4rem;
  display: grid;
  gap: .5rem;
}
.on-dark .stat, .on-green .stat { border-color: rgba(255, 255, 255, .18); }
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 480;
  line-height: 1;
}
.stat .value sup { font-size: .45em; color: var(--clay); }
.on-dark .stat .value sup { color: var(--rose); }
.stat p { color: var(--ink-soft); font-size: .95rem; max-width: 30ch; }
.on-dark .stat p { color: #c2cdb9; }

/* ---------- Banner entrega (ref. vaca no céu) ---------- */
.delivery-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(380px, 52vw, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  isolation: isolate;
}
.delivery-banner .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.delivery-banner .bg img { width: 100%; height: 100%; object-fit: cover; }
.delivery-banner .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(16, 36, 26, 0) 40%, rgba(16, 36, 26, .38) 100%);
}
.delivery-card {
  margin-left: auto;
  max-width: 440px;
  background: rgba(242, 238, 227, .82);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  color: var(--green-950);
}
.delivery-card p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 800px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  position: relative;
}
.gallery-grid figure:nth-child(2) { aspect-ratio: 4 / 5.6; margin-top: -2rem; }
@media (max-width: 800px) {
  .gallery-grid figure, .gallery-grid figure:nth-child(2) { aspect-ratio: 4 / 3; margin-top: 0; }
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(16, 36, 26, .55);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem .9rem;
  border-radius: 999px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  border-radius: var(--radius-lg);
  background: var(--green-900);
  color: var(--cream);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 193, 151, .35), transparent 70%);
}
/* minmax(0, 1fr) e não 1fr: o `min-width: auto` implícito do 1fr fazia a coluna
   crescer até ao min-content do título, empurrando o formulário para fora do
   cartão (que tem overflow: hidden) e cortando o botão em ecrãs estreitos. */
@media (max-width: 800px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }
.newsletter h2 { overflow-wrap: break-word; }
.newsletter-form {
  display: flex;
  gap: .6rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .45rem;
}
/* Em ecrãs muito estreitos o par input+botão não cabe lado a lado */
@media (max-width: 460px) {
  .newsletter { padding: 1.75rem 1.25rem; }
  .newsletter-form { flex-wrap: wrap; border-radius: 22px; }
  .newsletter-form input { flex: 1 1 100%; padding: .55rem 1rem; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}
.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--cream);
  padding-inline: 1.1rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(242, 238, 227, .55); }

/* ============================================================
   PÁGINAS INTERIORES
   ============================================================ */
.page-hero {
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: 1.5rem;
}
.page-hero .crumbs {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.page-hero .crumbs a:hover { color: var(--clay); }

.banner-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 540px;
  aspect-ratio: 21 / 9;
}
.banner-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .banner-photo { aspect-ratio: 4 / 3; } }

/* ---------- Equipa ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
}
.team-card .photo {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--cream-2);
}
.team-card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .6s var(--ease);
}
.team-card:hover .photo img { transform: scale(1.04); }
.team-card .info { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .3rem; }
.team-card h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.3rem; line-height: 1.2; }
.team-card .role { color: var(--clay); font-weight: 700; font-size: .88rem; }
.team-card .bio { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Valores ---------- */
.values-list { display: grid; gap: 0; }
.value-row {
  display: grid;
  grid-template-columns: auto 1fr 1.2fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: baseline;
  padding-block: 2rem;
  border-top: 1px solid rgba(23, 28, 20, .14);
}
.value-row:last-child { border-bottom: 1px solid rgba(23, 28, 20, .14); }
@media (max-width: 760px) { .value-row { grid-template-columns: 1fr; gap: .6rem; } }
.value-row .idx { font-family: var(--font-display); color: var(--clay); font-size: 1.1rem; }
.value-row h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.value-row p { color: var(--ink-soft); }

/* ============================================================
   LOJA (produtos.html)
   ============================================================ */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  margin-bottom: 2.4rem;
}
.filter-chip {
  padding: .55rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid rgba(23, 28, 20, .2);
  font-weight: 700;
  font-size: .9rem;
  transition: all .3s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--green-950); color: var(--cream); border-color: var(--green-950); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .shop-grid { grid-template-columns: 1fr; } }

.shop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.shop-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -20px rgba(16, 36, 26, .2); }
.shop-card .thumb {
  border-radius: var(--radius-md);
  background: var(--cream-2);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  overflow: hidden;
  position: relative;
}
.shop-card .thumb img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.shop-card:hover .thumb img { transform: scale(1.05); }
.shop-card .tag {
  position: absolute;
  top: .9rem; left: .9rem;
  background: var(--green-950);
  color: var(--cream);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.shop-card h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.4rem; line-height: 1.15; }
.shop-card .desc { color: var(--ink-soft); font-size: .93rem; }
.shop-card .price-line { font-weight: 800; font-size: 1.08rem; }
.shop-card .price-line small { color: var(--ink-soft); font-weight: 600; }
.shop-card .per-kg {
  margin-top: -.45rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.variant-row { display: grid; gap: .45rem; }
.variant-row label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.variant-row select,
.qty-stepper {
  border: 1.5px solid rgba(23, 28, 20, .18);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  background: var(--white);
  width: 100%;
}
.card-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  align-items: stretch;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: auto;
  padding: 0 .4rem;
}
.qty-stepper button {
  width: 34px; height: 100%;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}
.qty-stepper .qty { min-width: 22px; text-align: center; font-weight: 800; }

/* ---------- Carrinho (drawer) ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 36, 26, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: 200;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--cream);
  z-index: 201;
  transform: translateX(105%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(16, 36, 26, .25);
}
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
body.cart-open .cart-drawer { transform: translateX(0); }
body.cart-open { overflow: hidden; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid rgba(23, 28, 20, .12);
}
.cart-head h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.5rem; }
.cart-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 28, 20, .2);
  font-size: 1rem;
  transition: all .3s;
}
.cart-close:hover { background: var(--green-950); color: var(--cream); border-color: var(--green-950); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: grid; gap: 1rem; align-content: start; }
.cart-empty { text-align: center; color: var(--ink-soft); padding-block: 3rem; display: grid; gap: .8rem; justify-items: center; }
.cart-empty .big { font-size: 2.4rem; }

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: .9rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .8rem;
  align-items: center;
}
.cart-item img {
  width: 74px; height: 74px;
  object-fit: contain;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: .4rem;
  mix-blend-mode: multiply;
}
.cart-item .ci-name { font-weight: 800; font-size: .95rem; line-height: 1.25; }
.cart-item .ci-variant { font-size: .8rem; color: var(--ink-soft); }
.cart-item .ci-price { font-size: .88rem; font-weight: 700; color: var(--green-700); }
.cart-item .ci-controls { display: grid; gap: .4rem; justify-items: end; }
.cart-item .mini-qty {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(23, 28, 20, .15);
  border-radius: 999px;
  padding: .15rem .4rem;
}
.cart-item .mini-qty button { width: 22px; height: 22px; font-weight: 800; }
.cart-item .ci-remove { font-size: .75rem; color: #a33; font-weight: 700; }
.cart-item .ci-remove:hover { text-decoration: underline; }

.cart-foot {
  padding: 1.3rem 1.6rem 1.6rem;
  border-top: 1px solid rgba(23, 28, 20, .12);
  display: grid;
  gap: .9rem;
}
.cart-sum { display: grid; gap: .35rem; }
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.15rem;
  padding-top: .6rem;
  border-top: 1px solid rgba(23, 28, 20, .12);
}
.cart-note { font-size: .8rem; color: var(--ink-soft); }
.btn-whatsapp {
  background: #1fa855;
  color: #fff;
  justify-content: center;
}
.btn-whatsapp:hover { background: #178a45; transform: translateY(-2px); }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 120%);
  background: var(--green-950);
  color: var(--cream);
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  z-index: 300;
  transition: transform .45s var(--ease);
  box-shadow: 0 18px 40px rgba(16, 36, 26, .35);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Mapa do porco ---------- */
.cuts-section .split-feature .media { aspect-ratio: 1 / 1; }

/* Tabela de preços por corte (secção escura) */
.cuts-table {
  margin: .4rem 0 1.6rem;
  border: 1px solid rgba(242, 238, 227, .2);
  border-radius: var(--radius-md, 18px);
  overflow: hidden;
}
.cuts-head,
.cut-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: .55rem .95rem;
}
.cuts-head {
  background: rgba(242, 238, 227, .12);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cuts-body { max-height: 21rem; overflow-y: auto; overscroll-behavior: contain; }
.cut-row + .cut-row { border-top: 1px solid rgba(242, 238, 227, .12); }
.cut-name { font-weight: 600; }
.cut-price { font-weight: 800; white-space: nowrap; }
.cuts-note {
  padding: .7rem .95rem;
  margin: 0;
  border-top: 1px solid rgba(242, 238, 227, .15);
  font-size: .78rem;
  opacity: .8;
}
@media (max-width: 460px) {
  .cuts-head, .cut-row { padding-inline: .7rem; font-size: .92rem; }
  .cuts-body { max-height: 17rem; }
}

/* ============================================================
   CONTACTOS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: grid;
  gap: .7rem;
  align-content: start;
}
.contact-card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: .4rem;
}
.contact-card h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.3rem; }
.contact-card p, .contact-card a { color: var(--ink-soft); }
.contact-card a:hover { color: var(--clay); }
.contact-card .strong-link { font-weight: 800; color: var(--ink); font-size: 1.05rem; }

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-form-wrap { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.1rem;
}
.form-field { display: grid; gap: .4rem; }
.form-field label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid rgba(23, 28, 20, .16);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  background: var(--cream);
  outline: none;
  transition: border-color .3s;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--green-700); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-950);
  color: var(--cream);
  padding-top: var(--section);
  margin-top: 0;
}
.footer-cta {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
  padding-bottom: var(--section);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.footer-brand img { height: 54px; }
.footer-brand p { color: #b8c4af; max-width: 34ch; font-size: .95rem; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: grid;
  place-items: center;
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--cream); color: var(--green-950); border-color: var(--cream); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-col h4 {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a, .footer-col li { color: #cdd7c4; font-size: .95rem; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
  color: #9fac96;
}
.footer-bottom .legal { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(31, 168, 85, .45);
  z-index: 90;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .marquee-track { animation-duration: 80s; }
}
