:root {
  --forest-950: #061f15;
  --forest-900: #0b3b29;
  --forest-800: #0f563b;
  --forest-700: #146a49;
  --forest-600: #23845c;
  --moss-500: #5f9d63;
  --moss-300: #a8d19b;
  --moss-100: #dcefd8;
  --grain-500: #c8923d;
  --grain-100: #f4e2bd;
  --sand-100: #f7f4eb;
  --sand-200: #eeeadf;
  --white: #fffdf8;
  --text-900: #0c2b1f;
  --text-700: #28543f;
  --line: rgba(11, 59, 41, 0.14);
  --shadow-soft: 0 22px 54px rgba(6, 31, 21, 0.16);
  --shadow-card: 0 14px 30px rgba(6, 31, 21, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --page-width: 1380px;
  --font-display: "Rockwell", "Bookman Old Style", "Iowan Old Style", Georgia, serif;
  --font-brand: "Ela Sans Plain Regular", "Ela Sans Plain", "Avenir Next", "Trebuchet MS", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text-900);
  background:
    linear-gradient(180deg, rgba(6, 31, 21, 0.2), rgba(6, 31, 21, 0.08)),
    linear-gradient(180deg, #0b3b29 0%, #146a49 38%, #dcefd8 72%, #eef7eb 100%);
  background-size: auto, auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at center, rgba(220, 239, 216, 0.92), rgba(244, 251, 241, 0.98) 54%),
    var(--white);
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  display: grid;
  justify-content: center;
  justify-items: center;
  width: min(720px, calc(100vw - 42px));
}

.loader-identity {
  display: grid;
  justify-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.loader-logo {
  width: min(150px, 32vw);
  height: auto;
}

.loader-name {
  width: min(310px, 54vw);
  height: auto;
}

@media (max-width: 640px) {
  .loader-brand {
    gap: 18px;
  }

  .loader-name {
    width: min(290px, 74vw);
  }
}

.page-shell {
  width: min(calc(100% - 32px), var(--page-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  margin-left: 1px;
  margin-bottom: 0;
  border: 1px solid rgba(11, 59, 41, 0.12);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: rgb(244, 251, 241);
  box-shadow: none;
  transition:
    margin-bottom 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-radius 180ms ease;
}

.header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  color: var(--forest-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-eyebrow::before {
  content: "";
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: var(--grain-500);
}

.site-header.is-scrolled {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(11, 59, 41, 0.12);
  border-radius: 26px;
  background: rgb(244, 251, 241);
  box-shadow: 0 18px 36px rgba(6, 31, 21, 0.2);
}

.site-header.is-scrolled .site-nav a {
  color: var(--forest-900);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  color: var(--forest-950);
  background: rgba(11, 59, 41, 0.12);
}

.hero h1,
.section-heading h2,
.panel-card h2,
.contact-copy h2,
.space-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--text-700);
  border-radius: 14px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--forest-900);
  background: rgba(20, 106, 73, 0.14);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-950));
  box-shadow: 0 10px 18px rgba(17, 40, 29, 0.14);
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 11px 16px;
  border-radius: 14px;
  color: var(--white);
  background: var(--forest-900);
}

.mobile-quick-actions {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 64px 58px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  border: 1px solid rgba(42, 91, 66, 0.16);
  border-top: 0;
  background:
    linear-gradient(90deg, rgba(244, 251, 241, 0.96) 0%, rgba(244, 251, 241, 0.82) 38%, rgba(244, 251, 241, 0.18) 67%),
    linear-gradient(180deg, rgba(6, 31, 21, 0.12), rgba(6, 31, 21, 0.2)),
    url("./images/hero-sheep.png") center right / cover no-repeat;
  box-shadow: none;
}

.site-header.is-scrolled + main .hero {
  border-radius: 28px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -24px;
  left: 18px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 22px 44px rgba(6, 31, 21, 0.12);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(244, 251, 241, 0), rgba(244, 251, 241, 0.92));
  opacity: 1;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--forest-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: var(--grain-500);
}

.hero-brand-lockup {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: min(560px, 100%);
  margin: 2px 0 22px;
}

.hero-brand-logo {
  width: clamp(112px, 12vw, 168px);
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(6, 31, 21, 0.16));
}

.hero-brand-name {
  width: min(100%, clamp(280px, 34vw, 470px));
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(6, 31, 21, 0.12));
}

.hero h1 {
  margin: 0;
  max-width: 34ch;
  color: var(--forest-900);
  font-size: clamp(1.55rem, 2.15vw, 2.3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.lead {
  max-width: 72ch;
  margin: 22px 0 0;
  color: var(--text-700);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero h1 + .hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.link-button:hover,
.link-button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--forest-700), var(--forest-950));
  box-shadow: 0 16px 30px rgba(17, 40, 29, 0.16);
}

.button-secondary {
  border-color: rgba(11, 59, 41, 0.22);
  background: rgba(220, 239, 216, 0.9);
  color: var(--forest-900);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding: 10px 14px 10px 32px;
  border-radius: 14px;
  color: var(--forest-900);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 10px 22px rgba(6, 31, 21, 0.08);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--grain-500);
  box-shadow: 0 0 0 5px rgba(200, 146, 61, 0.15);
  transform: translateY(-50%);
}

.animal-section {
  margin-top: 26px;
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px 4px;
  max-width: 920px;
  margin: 0 auto;
}

.animal-card {
  display: grid;
  grid-column: span 2;
  justify-items: center;
  gap: 12px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.animal-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.animal-card:nth-child(6) {
  grid-column: 4 / span 2;
}

.animal-card:nth-child(7) {
  grid-column: 6 / span 2;
}

.animal-card:hover,
.animal-card:focus-visible {
  transform: translateY(-3px);
}

.animal-card img {
  width: min(100%, 210px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(11, 59, 41, 0.14);
  border-radius: 50%;
  background: var(--moss-100);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease;
}

.animal-card[data-animal-filter="agricultura"] img,
.animal-card[data-animal-filter="outros-produtos"] img {
  padding: 8px;
  object-fit: contain;
  background: var(--white);
}

.animal-card[data-animal-filter="pecuaria"] img {
  padding: 8px;
  object-fit: contain;
  background: var(--white);
}

.animal-card:hover img,
.animal-card:focus-visible img {
  transform: scale(1.04);
}

.animal-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--forest-900);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-slider {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  background: rgba(17, 40, 29, 0.1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 720ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 40, 29, 0.1), rgba(17, 40, 29, 0.5));
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(17, 40, 29, 0.45);
}

.panel-card,
.contact-card,
.product-card,
.process-step,
.faq-item,
.contact-cta,
.stat-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.panel-card {
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.055) 1px, transparent 1px),
    linear-gradient(160deg, var(--forest-950), var(--forest-700));
  background-size: 36px 36px, auto;
  color: var(--white);
}

.panel-card-primary p {
  max-width: 30ch;
  color: rgba(255, 253, 248, 0.78);
}

.panel-label {
  margin: 0 0 16px;
  color: rgba(255, 253, 248, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.04;
}

.hero-summary-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 22px;
}

.hero-summary-intro {
  display: grid;
  gap: 12px;
}

.hero-summary-intro p:last-child {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 253, 248, 0.8);
  line-height: 1.7;
}

.hero-summary-grid .stat-card {
  min-height: 132px;
}

.hero-summary-grid .stat-card-wide {
  min-height: 132px;
}

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

.stat-card {
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(220, 239, 216, 0.88);
}

.stat-card.is-dark {
  border-color: rgba(255, 253, 248, 0.08);
  background: linear-gradient(160deg, var(--forest-900), var(--forest-800));
}

.stat-card strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.stat-card span {
  color: var(--text-700);
}

.stat-card.is-dark strong,
.stat-card.is-dark span {
  color: var(--white);
}

.stat-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.stat-card-wide strong {
  font-size: 1.1rem;
}

.section {
  scroll-margin-top: 112px;
  margin-top: 26px;
  padding: 42px;
  border-radius: 24px;
  border: 1px solid rgba(11, 59, 41, 0.15);
  background:
    linear-gradient(180deg, rgba(245, 251, 242, 0.95), rgba(215, 235, 211, 0.9)),
    rgba(220, 239, 216, 0.76);
  box-shadow: var(--shadow-card);
}

.section-catalog {
  background:
    linear-gradient(90deg, rgba(11, 59, 41, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(218, 238, 214, 0.98), rgba(245, 251, 242, 0.9)),
    var(--white);
  background-size: 42px 42px, auto, auto;
}

.section-space {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(17, 40, 29, 0.98), rgba(42, 91, 66, 0.94));
  background-size: 38px 38px, auto;
  color: var(--white);
}

.space-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.space-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.space-copy p {
  margin: 0;
  max-width: none;
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.75;
}

.section-space .eyebrow {
  margin-bottom: 0;
  color: var(--moss-300);
}

.space-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.space-note {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.08);
}

.space-note strong {
  font-size: 1rem;
}

.space-note span {
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.55;
}

.space-gallery {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 2px);
}

.space-photo {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-card);
}

.space-gallery .space-photo {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms ease;
}

.space-gallery .space-photo.is-active {
  opacity: 1;
}

.space-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 40, 29, 0.06), rgba(17, 40, 29, 0.44));
  pointer-events: none;
}

.space-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(17, 40, 29, 0.36);
}

.space-photo-tall {
  grid-row: 1 / span 2;
}

.space-photo-wide {
  min-height: 250px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 1040px;
  margin-bottom: 28px;
}

.section-catalog .section-heading {
  max-width: none;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 0;
  max-width: none;
  color: var(--text-700);
  line-height: 1.7;
}

.contact-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card,
.process-step {
  padding: 26px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--forest-700), var(--grain-500));
}

.process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--moss-100);
  color: var(--forest-800);
  font-weight: 800;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(121, 169, 106, 0.16);
  color: var(--forest-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card h3,
.process-step h3,
.product-card h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
}

.contact-card p,
.process-step p,
.product-card p,
.contact-copy p,
.faq-item p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.65;
}

.contact-link {
  color: var(--forest-900);
  font-weight: 700;
}

.contact-address-link {
  display: inline-grid;
  gap: 8px;
}

.contact-address-link:hover .contact-address,
.contact-address-link:hover .contact-link-hint,
.contact-address-link:focus-visible .contact-address,
.contact-address-link:focus-visible .contact-link-hint {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-address-link:focus-visible {
  outline: 2px solid rgba(42, 91, 66, 0.28);
  outline-offset: 4px;
  border-radius: 12px;
}

.contact-address {
  margin: 0;
  color: var(--text-700);
  font-style: normal;
  line-height: 1.7;
}

.contact-link-hint {
  color: var(--forest-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.category-total {
  display: inline-flex;
  margin-top: 18px;
  color: var(--forest-900);
  font-weight: 700;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  color: var(--forest-700);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(11, 59, 41, 0.22);
  border-radius: 16px;
  background: var(--white);
  color: var(--text-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.search-field input:focus-visible {
  outline: 2px solid rgba(42, 91, 66, 0.28);
  outline-offset: 2px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategory-filter-group {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.filter-button,
.link-button {
  border: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 106, 73, 0.13);
  color: var(--forest-800);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.filter-button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--forest-700), var(--forest-950));
  box-shadow: 0 10px 18px rgba(17, 40, 29, 0.14);
}

.filter-button-sub {
  padding: 10px 14px;
  border: 1px solid rgba(11, 59, 41, 0.12);
  background: rgba(255, 253, 248, 0.78);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-meta p {
  margin: 0;
  color: var(--text-700);
}

.catalog-meta strong {
  color: var(--forest-900);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.catalog-more-button {
  margin-top: 18px;
  border-color: var(--forest-950);
  background: var(--forest-900);
  color: var(--white);
}

.product-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(17, 40, 29, 0.12);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--moss-100);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 40, 29, 0.06);
  pointer-events: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.product-media.is-packshot {
  background: var(--white);
}

.product-media.is-packshot img {
  object-fit: contain;
  padding: 14px;
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(17, 40, 29, 0.82);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 20px 20px 22px;
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-copy {
  align-self: start;
}

.product-tags {
  display: grid;
  grid-template-columns: auto minmax(118px, 1fr);
  align-items: center;
  align-self: end;
  gap: 8px;
  margin-top: 2px;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(20, 106, 73, 0.13);
  color: var(--forest-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-pill.is-secondary {
  background: rgba(11, 59, 41, 0.1);
}

.product-tags .product-weight-pill {
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  text-align: center;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-card strong {
  font-size: 0.9rem;
  color: var(--forest-900);
}

.product-card h3 {
  margin: 0 0 10px;
}

.empty-state {
  padding: 38px 24px;
  border: 1px dashed rgba(23, 53, 38, 0.18);
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 253, 248, 0.65);
}

.empty-state h3 {
  margin: 0 0 10px;
}

.catalog-note {
  max-width: 920px;
  margin: 8px auto 28px;
  padding: 14px 18px;
  border: 1px solid rgba(200, 146, 61, 0.34);
  border-radius: 12px;
  background: rgba(244, 226, 189, 0.42);
  color: var(--forest-900);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.store-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  max-width: 920px;
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.store-category-list li {
  position: relative;
  display: flex;
  min-height: 44px;
  border: 1px solid rgba(11, 59, 41, 0.14);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--forest-900);
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
}

.store-category-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--grain-500);
  transform: translateY(-50%);
  z-index: 1;
}

.store-category-list button {
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px 12px 34px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.store-category-list button:hover,
.store-category-list button:focus-visible,
.store-category-list button.is-active {
  background: rgba(224, 235, 213, 0.78);
}

.store-family-preview {
  max-width: 920px;
  margin: 24px auto 0;
  text-align: left;
}

.store-family-preview h4 {
  margin: 0 0 12px;
  color: var(--forest-900);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.store-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.store-family-grid.is-single {
  width: 100%;
  max-width: calc((920px - 14px) / 2);
  grid-template-columns: minmax(180px, 1fr);
  justify-content: center;
  margin-inline: auto;
}

.store-family-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(11, 59, 41, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 26px rgba(6, 31, 21, 0.07);
}

.store-family-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}

.store-family-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.store-family-card p {
  margin: 0;
  color: var(--forest-900);
  font-weight: 800;
  line-height: 1.3;
}

.section-brands {
  background:
    linear-gradient(180deg, rgba(245, 251, 242, 0.96), rgba(255, 253, 248, 0.92)),
    var(--white);
}

.brand-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.brand-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brand-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.brand-logo-grid {
  display: flex;
  gap: 18px;
  width: max-content;
}

.brand-logo-card {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(190px, 18vw, 240px);
  min-height: 142px;
  padding: 24px;
  border: 1px solid rgba(11, 59, 41, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 10px 22px rgba(6, 31, 21, 0.06);
}

.brand-logo-card img {
  width: 100%;
  max-width: 178px;
  max-height: 92px;
  object-fit: contain;
}

.brand-logo-card--compact img {
  max-width: 148px;
  max-height: 76px;
}

.brand-carousel-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 59, 41, 0.14);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest-900);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(6, 31, 21, 0.1);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.brand-carousel-button:hover,
.brand-carousel-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 59, 41, 0.28);
  background: rgba(224, 235, 213, 0.7);
}

.section-faq {
  background:
    linear-gradient(0deg, rgba(255, 253, 248, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(17, 40, 29, 0.98), rgba(42, 91, 66, 0.94));
  background-size: 100% 34px, auto;
  color: var(--white);
}

.section-faq .eyebrow {
  color: var(--moss-300);
}

.section-faq .section-heading p:last-child {
  color: rgba(255, 253, 248, 0.78);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 24px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
}

.faq-item summary {
  position: relative;
  padding: 22px 0;
  padding-right: 36px;
  color: var(--text-900);
  font-weight: 700;
  list-style: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 10px;
  background: var(--moss-100);
  color: var(--forest-800);
  text-align: center;
  line-height: 26px;
}

.faq-item[open] summary::after {
  content: "-";
  background: var(--forest-900);
  color: var(--white);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 22px;
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
  padding: 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(17, 40, 29, 0.96), rgba(42, 91, 66, 0.92)),
    var(--forest-900);
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 253, 248, 0.78);
}

.contact-copy .eyebrow {
  color: var(--moss-300);
}

.site-footer {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 26px;
  padding: 20px max(16px, calc((100vw - var(--page-width)) / 2));
  border-radius: 0;
  box-shadow: none;
}

.site-footer .eyebrow {
  margin-bottom: 6px;
}

.site-footer .contact-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  line-height: 1.1;
}

.site-footer .contact-actions {
  margin-top: 0;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  color: rgba(255, 253, 248, 0.7);
}

.footer-meta p,
.footer-meta small {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--page-width));
    padding-top: 18px;
  }

  .site-header {
    top: 12px;
    padding: 12px 14px;
    border-radius: 26px 26px 0 0;
  }

  .site-header.is-scrolled {
    border-radius: 26px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 253, 248, 0.7);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .hero,
  .contact-cta,
  .section-space {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    border-radius: 0 0 22px 22px;
    padding: 34px 24px;
    background:
      linear-gradient(90deg, rgba(244, 251, 241, 0.96) 0%, rgba(244, 251, 241, 0.84) 48%, rgba(244, 251, 241, 0.24) 100%),
      linear-gradient(180deg, rgba(6, 31, 21, 0.1), rgba(6, 31, 21, 0.2)),
      url("./images/hero-sheep.png") 64% center / cover no-repeat;
  }

  .animal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .animal-card,
  .animal-card:nth-child(5),
  .animal-card:nth-child(6),
  .animal-card:nth-child(7) {
    grid-column: auto;
  }

  .hero-summary-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 360px;
  }

  .space-points,
  .space-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .space-gallery {
    min-height: 420px;
  }

  .space-photo-tall {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .hero h1 {
    max-width: 34ch;
  }

  .hero-highlights {
    display: none;
  }

  .contact-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  #sobre,
  .site-nav a[href="#sobre"] {
    display: none;
  }

  .section {
    scroll-margin-top: 96px;
    padding: 32px 22px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .page-shell {
    width: min(calc(100% - 18px), var(--page-width));
  }

  .mobile-quick-actions {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(11, 59, 41, 0.14);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 16px 36px rgba(6, 31, 21, 0.2);
    backdrop-filter: blur(12px);
  }

  .mobile-quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 10px;
    border-radius: 12px;
    color: var(--forest-900);
    background: rgba(20, 106, 73, 0.12);
    font-size: 0.9rem;
    font-weight: 800;
  }

  .mobile-quick-actions a:first-child {
    color: var(--white);
    background: var(--forest-900);
  }

  .brand-carousel {
    gap: 8px;
  }

  .brand-carousel-button {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .brand-logo-card {
    flex-basis: 200px;
    min-height: 128px;
    padding: 20px;
  }

  .brand-logo-card img {
    max-width: 156px;
    max-height: 82px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .space-points,
  .space-gallery {
    grid-template-columns: 1fr;
  }

  .space-gallery {
    min-height: 320px;
  }

  .hero-summary-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 280px;
  }

  .space-photo,
  .space-photo-wide,
  .space-photo-tall {
    min-height: 220px;
  }

  .catalog-more-button {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-body {
    gap: 10px;
    padding: 14px;
    grid-template-rows: auto auto;
  }

  .product-copy p {
    display: none;
  }

  .product-card h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .product-card p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .product-pill,
  .product-badge {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .product-tags {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-tags strong {
    display: none;
  }

  .product-tags .product-weight-pill {
    min-height: 34px;
    padding: 8px 10px;
  }

  .section-heading h2,
  .contact-copy h2,
  .space-copy h2 {
    font-size: 1.9rem;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .animal-grid {
    grid-template-columns: 1fr;
  }

  .catalog-meta,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-grid .stat-card:not(.stat-card-wide) {
    display: none;
  }

  .hero-summary-grid .stat-card:not(.stat-card-wide) {
    display: grid;
  }

  .hero-summary-card {
    display: none;
  }

  #animais,
  #marcas,
  #apoio,
  .site-nav a[href="#animais"],
  .site-nav a[href="#marcas"],
  .site-nav a[href="#apoio"] {
    display: none;
  }

  #contactos .section-heading p {
    display: none;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-grid {
    gap: 10px;
  }

  .contact-card {
    gap: 8px;
    padding: 18px 16px;
  }

  .contact-card p {
    margin-top: 6px;
  }

  .contact-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(calc(100% - 14px), var(--page-width));
    padding-bottom: 24px;
  }

  .site-header {
    top: 8px;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 22px 22px 0 0;
  }

  .header-eyebrow {
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .header-eyebrow::before {
    width: 22px;
    height: 5px;
  }

  .site-header.is-scrolled {
    border-radius: 22px;
  }

  .menu-toggle {
    padding: 10px 14px;
  }

  .site-nav {
    padding: 10px;
  }

  .hero {
    gap: 22px;
    padding: 28px 18px;
    background:
      linear-gradient(90deg, rgba(244, 251, 241, 0.98) 0%, rgba(244, 251, 241, 0.9) 100%),
      url("./images/hero-sheep.png") 72% center / cover no-repeat;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 1.45rem;
  }

  .hero-brand-lockup {
    gap: 12px;
    margin-bottom: 18px;
  }

  .hero-brand-logo {
    width: 82px;
  }

  .hero-brand-name {
    width: min(100%, 260px);
  }

  .lead {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section,
  .contact-cta {
    padding: 26px 16px;
  }

  .site-footer.contact-cta {
    padding: 18px 14px;
  }

  .panel-card,
  .contact-card,
  .process-step,
  .stat-card {
    padding: 22px 18px;
  }

  .product-grid {
    gap: 10px;
  }

  .product-body {
    padding: 12px;
  }

  .product-media {
    aspect-ratio: 1 / 1;
  }

  .faq-item {
    padding: 0 18px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .contact-card h3,
  .process-step h3 {
    font-size: 1.15rem;
  }

  .search-field input {
    min-height: 52px;
  }

  .filter-group {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
