:root {
  --brown-earth: #4a2c0a;
  --forest-amber: #c87d0a;
  --cupuaçu-gold: #f5c070;
  --amazon-cream: #fdf6ec;
  --forest-green: #3a7010;
  --forest-green-dark: #24470c;
  --white: #fff;
  --header-height: 82px;
  --container: 1280px;
  --page-padding: clamp(20px, 5.85vw, 80px);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--brown-earth);
  font-family: "Inter", Arial, sans-serif;
  background: var(--amazon-cream);
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest-green-dark);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* CABEÇALHO PRINCIPAL */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(74, 44, 10, 0.08);
  background: rgba(253, 246, 236, 0.96);
  transition:
    height 300ms var(--ease-premium),
    background 300ms ease,
    box-shadow 300ms ease;
}

.site-header.is-scrolled {
  --header-height: 68px;
  background: rgba(253, 246, 236, 0.9);
  box-shadow: 0 10px 35px rgba(45, 26, 7, 0.1);
  backdrop-filter: blur(16px);
}

.header-container {
  width: min(100%, calc(var(--container) + (var(--page-padding) * 2)));
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--page-padding);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3.3vw, 48px);
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  transition: width 300ms var(--ease-premium), height 300ms var(--ease-premium);
}

.is-scrolled .brand img {
  width: 46px;
  height: 46px;
}

.brand-copy {
  display: grid;
  color: var(--brown-earth);
  line-height: 1;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.34rem;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--forest-amber);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.main-navigation {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 34px);
}

.main-navigation a {
  position: relative;
  padding: 10px 0;
  color: #352718;
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 1px;
  background: var(--forest-amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-premium);
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-active {
  color: var(--forest-amber);
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after,
.main-navigation a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-whatsapp {
  display: none;
}

.whatsapp-button {
  min-height: 42px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: var(--white);
  background: var(--forest-green-dark);
  box-shadow: 0 8px 20px rgba(36, 71, 12, 0.15);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ease-premium);
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: var(--forest-green);
  box-shadow: 0 12px 26px rgba(36, 71, 12, 0.23);
  transform: translateY(-2px);
}

.whatsapp-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  display: none;
  border: 0;
  border-radius: 8px;
  color: var(--brown-earth);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 1.5px;
  display: block;
  background: currentColor;
  transition: transform 260ms var(--ease-premium), opacity 180ms ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* HERO SLIDER */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #17220d;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 1100ms ease,
    visibility 1100ms step-end;
}

.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition:
    opacity 1100ms ease,
    visibility 0s step-start;
}

.hero-slide > img,
.hero-slide > .hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  transform: scale(1.015);
  transition: transform 8s ease-out;
}

.hero-slide > img,
.hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide.is-active > img,
.hero-slide.is-active > .hero-media {
  transform: scale(1.055);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(18, 16, 7, 0.84) 0%, rgba(18, 16, 7, 0.68) 31%, rgba(18, 16, 7, 0.28) 57%, rgba(18, 16, 7, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 8, 3, 0.16) 0%, transparent 45%, rgba(7, 8, 3, 0.34) 100%);
}

.hero-container {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: min(100%, calc(var(--container) + (var(--page-padding) * 2)));
  height: 100%;
  margin: 0 auto;
  padding:
    calc(var(--header-height) + clamp(54px, 10vh, 100px))
    var(--page-padding)
    clamp(150px, 19vh, 190px);
  display: flex;
  align-items: center;
}

/* ENQUADRAMENTO INTEGRAL DOS SLIDES DE PRODUTO */
@media (min-width: 861px) {
  .hero {
    min-height: max(100svh, 580px);
  }

  .hero-slide--contained::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    background:
      linear-gradient(90deg, rgba(14, 13, 7, 0.7), rgba(14, 13, 7, 0.18) 58%, rgba(14, 13, 7, 0.34)),
      var(--slide-image) center / cover no-repeat;
    filter: blur(26px) saturate(0.82) brightness(0.66);
    transform: scale(1.08);
  }

  .hero-slide--founder::before {
    background:
      radial-gradient(circle at 61% 31%, rgba(245, 192, 112, 0.16), transparent 28%),
      linear-gradient(90deg, rgba(14, 13, 7, 0.72), rgba(14, 13, 7, 0.16) 60%, rgba(14, 13, 7, 0.32)),
      var(--slide-image) center / cover no-repeat;
  }

  .hero-slide--contained > img,
  .hero-slide--contained > .hero-media {
    inset: var(--header-height) auto 0 50%;
    width: auto;
    height: calc(100% - var(--header-height));
    max-width: none;
    aspect-ratio: 1672 / 941;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    transform: translateX(-50%);
  }

  .hero-slide--contained.is-active > img,
  .hero-slide--contained.is-active > .hero-media {
    transform: translateX(-50%);
  }

  .hero-slide--contained .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 16, 7, 0.95) 0%, rgba(18, 16, 7, 0.76) 28%, rgba(18, 16, 7, 0.29) 51%, rgba(18, 16, 7, 0.07) 72%, rgba(18, 16, 7, 0.12) 100%),
      linear-gradient(180deg, rgba(7, 8, 3, 0.08) 0%, transparent 56%, rgba(7, 8, 3, 0.28) 100%);
  }

  .hero-slide--contained .hero-content > p:last-child {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 400;
    line-height: 1.66;
    letter-spacing: 0.005em;
  }
}

.hero-content {
  width: min(100%, 610px);
  padding-right: 36px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
  opacity: 1;
  transform: translateY(0);
}

.hero-chapter {
  margin: 0 0 14px;
  color: var(--cupuaçu-gold);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  max-width: 660px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.1rem, 5.2vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-divider {
  width: 190px;
  margin: 24px 0 22px;
  display: grid;
  grid-template-columns: 72px 12px 1fr;
  align-items: center;
  gap: 10px;
}

.hero-divider span {
  height: 1px;
  background: var(--cupuaçu-gold);
}

.hero-divider span:last-child {
  opacity: 0.52;
}

.hero-divider i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--cupuaçu-gold);
  transform: rotate(45deg);
}

.hero-content > p:last-child {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
  text-wrap: pretty;
}

/* CONTROLES DO HERO */
.hero-controls {
  position: absolute;
  z-index: 5;
  left: var(--page-padding);
  bottom: clamp(58px, 8vh, 82px);
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-pagination button {
  position: relative;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-pagination button::before {
  content: "";
  position: absolute;
  inset: 11px 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-pagination button span {
  position: absolute;
  inset: 11px auto auto 0;
  width: 0;
  height: 1px;
  background: var(--cupuaçu-gold);
}

.hero-pagination button.is-active {
  width: 60px;
}

.hero-pagination button.is-active span {
  animation: hero-progress 6s linear forwards;
}

.hero.is-paused .hero-pagination button.is-active span {
  animation-play-state: paused;
}

.hero-pagination button:focus-visible {
  outline: 2px solid var(--cupuaçu-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero-toggle {
  width: 31px;
  height: 31px;
  padding: 7px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--white);
  background: rgba(22, 26, 12, 0.3);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.hero-toggle:hover,
.hero-toggle:focus-visible {
  border-color: var(--cupuaçu-gold);
  background: rgba(22, 26, 12, 0.58);
}

.hero-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero-toggle .play-icon {
  display: none;
}

.hero-toggle[aria-pressed="true"] .pause-icon {
  display: none;
}

.hero-toggle[aria-pressed="true"] .play-icon {
  display: block;
}

/* SEÇÃO DE PRODUTOS */
.products-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 6.5vw, 96px) 0 clamp(44px, 3.8vw, 56px);
  color: var(--brown-earth);
  background:
    radial-gradient(circle at 8% 15%, rgba(245, 192, 112, 0.16), transparent 24rem),
    radial-gradient(circle at 92% 82%, rgba(58, 112, 16, 0.065), transparent 28rem),
    linear-gradient(180deg, #f8efe2 0%, #f2e5d4 48%, #efe0cd 100%);
}

.products-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background:
    repeating-linear-gradient(115deg, rgba(74, 44, 10, 0.018) 0 1px, transparent 1px 26px),
    radial-gradient(rgba(74, 44, 10, 0.04) 0.6px, transparent 0.8px);
  background-size: auto, 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.section-container {
  width: min(100%, calc(var(--container) + (var(--page-padding) * 2)));
  margin: 0 auto;
  padding-inline: var(--page-padding);
}

/* TÍTULO DA SEÇÃO */
.section-heading {
  width: min(100%, 680px);
  margin: 0 auto clamp(38px, 4vw, 54px);
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 12px;
  color: var(--forest-amber);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 4.5vw, 4.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-ornament {
  width: min(100%, 238px);
  margin: 20px auto 18px;
  display: grid;
  grid-template-columns: 1fr 26px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--forest-amber);
}

.section-ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.section-ornament span:last-child {
  background: linear-gradient(90deg, currentColor, transparent);
}

.section-ornament svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-intro {
  max-width: 600px;
  margin: 0 auto;
  color: #756655;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
  text-wrap: balance;
}

/* CARDS DOS PRODUTOS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}

.product-showcase {
  --product-accent: var(--forest-amber);
  --product-accent-soft: rgba(200, 125, 10, 0.15);
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  color: var(--brown-earth);
  background: var(--amazon-cream);
  box-shadow:
    0 20px 44px rgba(74, 44, 10, 0.15),
    0 5px 12px rgba(74, 44, 10, 0.07);
  text-decoration: none;
  transition:
    box-shadow 450ms var(--ease-premium),
    transform 450ms var(--ease-premium);
}

.product-showcase::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: rgba(74, 44, 10, 0.58);
  pointer-events: none;
  transition:
    height 350ms var(--ease-premium),
    background-color 350ms ease,
    box-shadow 350ms ease;
}

.product-showcase--licor {
  --product-accent: #6b7829;
  --product-accent-soft: rgba(107, 120, 41, 0.15);
}

.product-showcase--cafe {
  --product-accent: #8f5b26;
  --product-accent-soft: rgba(143, 91, 38, 0.15);
}

.product-showcase:hover,
.product-showcase:focus-visible {
  box-shadow:
    0 28px 60px rgba(74, 44, 10, 0.2),
    0 7px 16px rgba(74, 44, 10, 0.09);
  transform: translateY(-6px);
}

.product-showcase:focus-visible {
  outline: 2px solid var(--forest-amber);
  outline-offset: 4px;
}

.product-showcase:hover::after,
.product-showcase:focus-visible::after {
  height: 6px;
  background: rgba(74, 44, 10, 0.94);
  box-shadow: 0 -5px 16px rgba(74, 44, 10, 0.2);
}

.product-visual {
  position: relative;
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--brown-earth);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.product-visual::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(47, 26, 6, 0.2), transparent 24%, transparent 70%, rgba(47, 26, 6, 0.32)),
    linear-gradient(90deg, rgba(47, 26, 6, 0.08), transparent 35%, transparent 70%, rgba(47, 26, 6, 0.08));
}

.product-visual::after {
  display: none;
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.97) contrast(1.01);
  transform: scale(1.002);
  transition:
    filter 450ms ease,
    transform 500ms var(--ease-premium);
}

.product-showcase:hover .product-visual img,
.product-showcase:focus-visible .product-visual img {
  filter: saturate(1.04) contrast(1.025);
  transform: scale(1.035);
}

.product-copy {
  min-height: 224px;
  margin: 0;
  padding: 24px 26px 25px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-top: 2px solid rgba(74, 44, 10, 0.78);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 237, 221, 0.98)),
    var(--amazon-cream);
  box-shadow: none;
}

.product-category {
  margin: 0 0 8px;
  color: var(--product-accent);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.28rem, 1.7vw, 1.52rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.product-copy > p:not(.product-category) {
  margin: 12px 0 18px;
  color: #706151;
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-earth);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}

.product-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--product-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-premium);
}

.product-showcase:hover .product-link svg,
.product-showcase:focus-visible .product-link svg {
  transform: translateX(5px);
}

/* SEÇÃO NOSSA HISTÓRIA */
.history-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 3.8vw, 56px) 0 clamp(80px, 7vw, 104px);
  scroll-margin-top: var(--header-height);
  color: var(--brown-earth);
  background:
    radial-gradient(circle at 7% 18%, rgba(245, 192, 112, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 80%, rgba(58, 112, 16, 0.08), transparent 28rem),
    linear-gradient(180deg, #efe0cd 0%, #f7ede0 48%, #f1e4d3 100%);
}

.history-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 44, 10, 0.18), transparent);
}

.history-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.history-atmosphere::before,
.history-atmosphere::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(74, 44, 10, 0.08);
  border-radius: 50%;
}

.history-atmosphere::before {
  width: 480px;
  height: 480px;
  top: -300px;
  right: -100px;
}

.history-atmosphere::after {
  width: 360px;
  height: 360px;
  bottom: -260px;
  left: -80px;
}

.history-card {
  position: relative;
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(440px, 1.02fr);
  overflow: hidden;
  border-radius: 22px;
  background: rgba(253, 246, 236, 0.98);
  box-shadow:
    0 34px 80px rgba(74, 44, 10, 0.17),
    0 8px 20px rgba(74, 44, 10, 0.08),
    inset 0 -4px 0 rgba(74, 44, 10, 0.78);
}

/* RETRATO DE DONA VERA */
.history-portrait {
  position: relative;
  min-width: 0;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: #d9d3c8;
}

.history-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  filter: saturate(0.92) contrast(1.025) sepia(0.04);
  transform: scale(1.012);
  transition:
    filter 700ms ease,
    transform 900ms var(--ease-premium);
}

.history-card:hover .history-portrait img {
  filter: saturate(1) contrast(1.035) sepia(0);
  transform: scale(1);
}

.history-portrait-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 50%, rgba(31, 22, 9, 0.64) 100%),
    linear-gradient(90deg, rgba(45, 29, 10, 0.08), transparent 28%, transparent 78%, rgba(45, 29, 10, 0.12));
}

.history-portrait figcaption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(25, 16, 5, 0.35);
}

.history-portrait figcaption::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  background: var(--cupuaçu-gold);
}

.history-portrait figcaption span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}

.history-portrait figcaption small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* CONTEÚDO DA HISTÓRIA */
.history-content {
  position: relative;
  padding: clamp(32px, 3.2vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.history-content::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -150px;
  right: -130px;
  border: 1px solid rgba(58, 112, 16, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(58, 112, 16, 0.025),
    0 0 0 68px rgba(58, 112, 16, 0.018);
  pointer-events: none;
}

.history-index {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--forest-amber);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.history-index i {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.history-index small {
  font: inherit;
}

.history-eyebrow {
  margin: 0 0 8px;
  color: var(--forest-green);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.history-content h2 {
  max-width: 540px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.45rem, 3.2vw, 3.15rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.history-divider {
  width: 156px;
  margin: 15px 0 14px;
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--forest-amber);
}

.history-divider span {
  height: 1px;
  background: currentColor;
}

.history-divider svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-lead {
  max-width: 560px;
  margin: 0;
  color: #675746;
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.58;
}

.history-meaning {
  margin: 16px 0 18px;
  padding-left: 17px;
  display: grid;
  gap: 3px;
  border-left: 2px solid var(--forest-amber);
}

.history-meaning span {
  font-family: "Lora", Georgia, serif;
  font-size: 0.94rem;
  font-weight: 500;
}

.history-meaning small {
  color: #81705d;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-page-link {
  width: fit-content;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  color: var(--white);
  background: var(--forest-green-dark);
  box-shadow: 0 10px 24px rgba(36, 71, 12, 0.16);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 250ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease-premium);
}

.history-page-link:hover {
  background: var(--forest-green);
  box-shadow: 0 14px 30px rgba(36, 71, 12, 0.22);
  transform: translateY(-2px);
}

.history-page-link:focus-visible {
  outline: 2px solid var(--forest-amber);
  outline-offset: 4px;
}

.history-page-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-premium);
}

.history-page-link:hover svg,
.history-page-link:focus-visible svg {
  transform: translateX(4px);
}

/* SEÇÃO AGROFLORESTA */
.agroforestry-section {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  color: var(--white);
  background: #172f0b;
  box-shadow:
    inset 0 1px 0 rgba(245, 192, 112, 0.42),
    inset 0 -1px 0 rgba(245, 192, 112, 0.28);
}

.agroforestry-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.9) contrast(1.06) brightness(0.82);
  transform: scale(1.015);
  transition:
    filter 900ms ease,
    transform 1800ms var(--ease-premium);
}

.agroforestry-section:hover .agroforestry-background {
  filter: saturate(0.98) contrast(1.08) brightness(0.86);
  transform: scale(1.035);
}

.agroforestry-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 31, 6, 0.97) 0%, rgba(20, 48, 10, 0.92) 42%, rgba(21, 49, 11, 0.58) 70%, rgba(8, 20, 4, 0.24) 100%),
    linear-gradient(180deg, rgba(6, 17, 3, 0.12) 0%, rgba(5, 15, 3, 0.08) 54%, rgba(5, 15, 3, 0.62) 100%);
}

.agroforestry-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(rgba(255, 255, 255, 0.12) 0.55px, transparent 0.75px),
    repeating-linear-gradient(115deg, rgba(245, 192, 112, 0.025) 0 1px, transparent 1px 30px);
  background-size: 4px 4px, auto;
  mix-blend-mode: soft-light;
}

.agroforestry-container {
  position: relative;
  min-height: 540px;
  padding-top: clamp(58px, 5vw, 72px);
  padding-bottom: clamp(54px, 4.7vw, 68px);
  display: flex;
  align-items: center;
}

/* CONTEÚDO DA AGROFLORESTA */
.agroforestry-content {
  width: min(100%, 830px);
}

.agroforestry-index {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--cupuaçu-gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.agroforestry-index i {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.agroforestry-index small {
  font: inherit;
}

.agroforestry-eyebrow {
  margin: 0 0 8px;
  color: #cce0b1;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.agroforestry-content h2 {
  max-width: 660px;
  margin: 0;
  color: #fffaf2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.25rem, 4.8vw, 4.4rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(4, 14, 2, 0.38);
}

.agroforestry-divider {
  width: 176px;
  margin: 18px 0 15px;
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--cupuaçu-gold);
}

.agroforestry-divider span {
  height: 1px;
  background: currentColor;
}

.agroforestry-divider svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agroforestry-intro {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 250, 242, 0.84);
  font-size: clamp(0.9rem, 1.08vw, 0.98rem);
  line-height: 1.62;
  text-shadow: 0 2px 16px rgba(4, 14, 2, 0.34);
}

/* PILARES DA PRODUÇÃO */
.agroforestry-pillars {
  width: min(100%, 830px);
  margin-top: 30px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(245, 192, 112, 0.42);
}

.agroforestry-pillars article {
  min-width: 0;
  padding: 0 clamp(18px, 2.1vw, 28px);
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 13px;
  border-right: 1px solid rgba(245, 192, 112, 0.25);
}

.agroforestry-pillars article:first-child {
  padding-left: 0;
}

.agroforestry-pillars article:last-child {
  padding-right: 0;
  border-right: 0;
}

.agroforestry-pillars svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--cupuaçu-gold);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agroforestry-pillars h3 {
  margin: 1px 0 6px;
  color: #fffaf2;
  font-family: "Lora", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.agroforestry-pillars p {
  margin: 0;
  color: rgba(255, 250, 242, 0.65);
  font-size: 0.7rem;
  line-height: 1.55;
}

.agroforestry-signature {
  position: absolute;
  right: var(--page-padding);
  bottom: clamp(28px, 3vw, 42px);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agroforestry-signature span {
  width: 16px;
  height: 1px;
  background: var(--cupuaçu-gold);
  opacity: 0.7;
}

/* SEÇÃO HISTÓRIAS E REPORTAGENS */
.stories-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  position: relative;
  isolation: isolate;
  min-height: 682px;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  background:
    radial-gradient(circle at 87% 14%, rgba(245, 192, 112, 0.2), transparent 25rem),
    linear-gradient(112deg, #f8eee0 0%, #f2e4d1 54%, #efe2cf 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(74, 44, 10, 0.09);
}

.stories-decoration {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(200, 125, 10, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.stories-decoration-one {
  top: -260px;
  right: -150px;
  width: 520px;
  height: 520px;
}

.stories-decoration-two {
  bottom: -310px;
  left: -180px;
  width: 480px;
  height: 480px;
}

.stories-container {
  min-height: 0;
  padding-top: clamp(48px, 4.6vw, 62px);
  padding-bottom: clamp(30px, 3vw, 42px);
}

/* CABEÇALHO EDITORIAL DAS HISTÓRIAS */
.stories-heading {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 7vw, 96px);
}

.stories-index {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--forest-amber);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.stories-index i {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.stories-index small {
  font: inherit;
}

.stories-eyebrow {
  margin: 0 0 7px;
  color: var(--forest-green);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stories-heading h2 {
  max-width: 690px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 4vw, 3.75rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.stories-heading-copy {
  padding: 0 0 4px 20px;
  border-left: 1px solid rgba(200, 125, 10, 0.48);
}

.stories-heading-copy p {
  max-width: 410px;
  margin: 0 0 11px;
  color: #6d5945;
  font-size: 0.82rem;
  line-height: 1.62;
}

/* CARROSSEL EDITORIAL DE SHORTS */
.stories-carousel {
  display: block;
}

.stories-viewport {
  overflow: visible;
}

.stories-viewport::-webkit-scrollbar {
  display: none;
}

.stories-viewport:focus-visible {
  outline: none;
}

.stories-carousel-control {
  display: none;
}

.stories-carousel-control svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.stories-carousel-control:hover,
.stories-carousel-control:focus-visible {
  border-color: rgba(186, 130, 54, 0.72);
  color: var(--brown-earth);
  background: var(--cupuaçu-gold);
  box-shadow: 0 12px 26px rgba(74, 44, 10, 0.16);
  outline: none;
  transform: scale(1.06);
}

.stories-carousel-control:disabled {
  opacity: 0.34;
  cursor: default;
  pointer-events: none;
}

.stories-grid {
  width: 100%;
  padding: 20px 0 12px;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(190px, 210px));
  gap: clamp(28px, 3vw, 42px);
}

.story-card {
  position: relative;
  min-width: 0;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(114, 72, 28, 0.12);
  border-bottom: 6px solid var(--brown-earth);
  border-radius: 18px;
  color: var(--brown-earth);
  text-align: left;
  background: rgba(255, 251, 245, 0.96);
  box-shadow: 0 17px 34px rgba(74, 44, 10, 0.12);
  cursor: pointer;
  transition:
    border-color 300ms ease,
    box-shadow 450ms var(--ease-premium),
    transform 450ms var(--ease-premium);
}

.story-card-featured {
  grid-row: auto;
}

.story-card > img {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02) brightness(0.91);
  transform: scale(1);
  border-radius: 0;
  box-shadow: none;
  transition:
    filter 700ms ease,
    transform 900ms var(--ease-premium);
}

.story-card > img {
  object-position: center;
}

.story-card-shade {
  display: none;
}

.story-card-type {
  display: none;
}

.story-card-short .story-card-type {
  color: #2f210f;
  background: rgba(245, 192, 112, 0.92);
}

.story-card-content {
  position: static;
  min-height: 68px;
  padding: 13px 15px 15px;
  display: block;
}

.story-card-content small {
  display: none;
}

.story-card-content strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: "Lora", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.28;
  color: var(--brown-earth);
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-card-secondary .story-card-content {
  padding: 13px 15px 15px;
}

.story-card-secondary .story-card-content small {
  font-size: 0.56rem;
}

.story-card-secondary .story-card-content strong {
  font-size: 0.9rem;
  line-height: 1.28;
}

.story-card-action {
  display: none;
}

.story-card-secondary .story-card-action {
  display: none;
}

.story-card-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.story-card:hover,
.story-card:focus-visible {
  border-color: rgba(114, 72, 28, 0.18);
  border-bottom-color: var(--forest-green);
  box-shadow: 0 24px 44px rgba(74, 44, 10, 0.18);
  transform: translateY(-7px);
}

.story-card:focus-visible {
  outline: 2px solid var(--forest-green);
  outline-offset: 4px;
}

.story-card:hover > img,
.story-card:focus-visible > img {
  filter: saturate(0.98) contrast(1.04) brightness(0.96);
  transform: scale(1.035);
  box-shadow: none;
}

.story-card:hover .story-card-action,
.story-card:focus-visible .story-card-action {
  color: var(--brown-earth);
  background: var(--cupuaçu-gold);
  transform: scale(1.08);
}

.stories-footer {
  min-height: 37px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.stories-footer p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #705d49;
  font-family: "Lora", Georgia, serif;
  font-size: 0.72rem;
}

.stories-footer p span {
  width: 30px;
  height: 1px;
  background: var(--forest-amber);
}

.stories-library-link {
  grid-column: 2;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  color: var(--white);
  background: var(--forest-green-dark);
  box-shadow: 0 10px 22px rgba(36, 71, 12, 0.14);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 250ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease-premium);
}

.stories-library-link:hover,
.stories-library-link:focus-visible {
  background: var(--forest-green);
  box-shadow: 0 14px 28px rgba(36, 71, 12, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.stories-library-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-premium);
}

.stories-library-link:hover svg,
.stories-library-link:focus-visible svg {
  transform: translateX(3px);
}

/* PLAYER MODAL DE VÍDEOS */
body.media-modal-open {
  overflow: hidden;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  padding: clamp(18px, 3vw, 42px);
  display: grid;
  place-items: center;
}

.media-modal[hidden] {
  display: none;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 5, 0.9);
  backdrop-filter: blur(14px);
}

.media-dialog {
  position: relative;
  width: min(100%, 1080px);
  max-height: calc(100svh - clamp(36px, 6vw, 84px));
  overflow: hidden auto;
  border: 1px solid rgba(245, 192, 112, 0.24);
  border-radius: 18px;
  color: #fffaf2;
  background: #0d1808;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
  outline: none;
}

.media-dialog-header {
  min-height: 68px;
  padding: 14px 17px 13px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(245, 192, 112, 0.16);
}

.media-dialog-header span {
  display: block;
  margin-bottom: 3px;
  color: var(--cupuaçu-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.media-dialog-header h2 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(0.92rem, 1.4vw, 1.1rem);
  font-weight: 500;
  line-height: 1.3;
}

.media-dialog-close {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fffaf2;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    border-color 250ms ease,
    color 250ms ease,
    transform 300ms var(--ease-premium);
}

.media-dialog-close:hover,
.media-dialog-close:focus-visible {
  border-color: var(--cupuaçu-gold);
  color: var(--cupuaçu-gold);
  outline: none;
  transform: rotate(4deg) scale(1.05);
}

.media-dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.media-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050803;
}

.media-stage-ambient {
  position: absolute;
  inset: -28px;
  opacity: 0;
  background-image:
    linear-gradient(rgba(4, 8, 2, 0.48), rgba(4, 8, 2, 0.48)),
    var(--media-poster);
  background-position: center;
  background-size: cover;
  filter: blur(22px) saturate(0.82);
  transform: scale(1.1);
}

.media-player {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
}

.media-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.media-dialog.is-short .media-stage {
  height: min(64vh, 600px);
  aspect-ratio: auto;
}

.media-dialog.is-short .media-stage-ambient {
  opacity: 0.72;
}

.media-dialog.is-short .media-player {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  box-shadow: 0 0 54px rgba(0, 0, 0, 0.46);
}

.media-dialog-footer {
  min-height: 46px;
  padding: 10px 18px 11px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.media-dialog-note {
  margin: 0;
  color: rgba(255, 250, 242, 0.53);
  font-size: 0.72rem;
  line-height: 1.5;
}

.media-youtube-link {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cupuaçu-gold);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 250ms ease;
}

.media-youtube-link:hover,
.media-youtube-link:focus-visible {
  color: var(--white);
  outline: none;
}

.media-youtube-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-premium);
}

.media-youtube-link:hover svg,
.media-youtube-link:focus-visible svg {
  transform: translateX(3px);
}

@media (min-width: 621px) {
  .media-dialog:not(.is-short) {
    width: min(100%, 1080px, calc(177.78svh - 352px));
  }
}

/* ENTRADA SUAVE DAS SEÇÕES */
@media (prefers-reduced-motion: no-preference) {
  .products-section.has-reveal .product-showcase {
    opacity: 0;
    transform: translateY(26px);
  }

  .products-section.has-reveal.is-revealed .product-showcase {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 650ms calc(var(--card-index) * 110ms) ease,
      box-shadow 450ms var(--ease-premium),
      transform 650ms calc(var(--card-index) * 110ms) var(--ease-premium);
  }

  .products-section.has-reveal.is-revealed .product-showcase:hover,
  .products-section.has-reveal.is-revealed .product-showcase:focus-visible {
    transform: translateY(-6px);
  }

  .history-section.has-reveal .history-card {
    opacity: 0;
    transform: translateY(34px);
  }

  .history-section.has-reveal.is-revealed .history-card {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 750ms ease,
      transform 900ms var(--ease-premium);
  }

  .agroforestry-section.has-reveal .agroforestry-content {
    opacity: 0;
    transform: translateY(30px);
  }

  .agroforestry-section.has-reveal.is-revealed .agroforestry-content {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 800ms ease,
      transform 950ms var(--ease-premium);
  }

  .agroforestry-section.has-reveal .agroforestry-signature {
    opacity: 0;
  }

  .agroforestry-section.has-reveal.is-revealed .agroforestry-signature {
    opacity: 1;
    transition: opacity 800ms 350ms ease;
  }

}

/* RECONHECIMENTO E PARCERIAS */
.recognition-section {
  padding: clamp(42px, 4.4vw, 58px) 0 clamp(56px, 7vw, 88px);
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--amazon-cream);
}

.recognition-container {
  padding-top: clamp(28px, 3vw, 38px);
  border-top: 1px solid rgba(98, 63, 22, 0.14);
}

.recognition-heading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.recognition-eyebrow,
.contact-eyebrow {
  margin: 0 0 10px;
  color: var(--forest-amber);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.recognition-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.recognition-heading h2 {
  color: var(--brown-earth);
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  line-height: 1.12;
}

.recognition-heading > p:not(.recognition-eyebrow) {
  margin: 16px auto 0;
  color: #765f4a;
  font-size: clamp(0.84rem, 1vw, 0.92rem);
  line-height: 1.7;
}

.partner-marks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 4vw, 66px) clamp(24px, 4vw, 74px);
  margin-top: clamp(34px, 4.5vw, 56px);
  overflow-x: hidden;
  overflow-x: clip;
}

.partner-mark {
  margin: 0;
  display: grid;
  min-height: 92px;
  padding: 4px;
  place-items: center;
  transition: transform 260ms var(--ease-premium), opacity 260ms ease;
}

.partner-mark img {
  width: min(100%, 158px);
  height: 66px;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
}

.partner-mark-white img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(31%) saturate(1144%) hue-rotate(43deg) brightness(90%) contrast(94%);
}

.partner-mark-blend img {
  mix-blend-mode: multiply;
}

.partner-mark-jaty img,
.partner-mark-craft img,
.partner-mark-cafe img {
  height: 66px;
}

.partner-mark-embrapa img {
  width: min(100%, 172px);
}

.partner-mark-craft img,
.partner-mark-jaty img,
.partner-mark-cafe img {
  width: min(100%, 158px);
}

/* EQUILÍBRIO ÓPTICO DAS MARCAS DA SEGUNDA LINHA */
.partner-mark-craft img,
.partner-mark-jaty img {
  transform: scale(1.12);
}

.partner-mark-cafe img {
  transform: scale(1.8);
}

.partner-mark:hover {
  opacity: 0.84;
  transform: translateY(-3px);
}

/* CONTATO E CONEXÕES */
.contact-section {
  padding: 0 0 clamp(50px, 7vw, 88px);
  background: var(--amazon-cream);
}

.contact-card {
  position: relative;
  display: flex;
  min-height: 236px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 21px;
  isolation: isolate;
  background: #102605;
  box-shadow: 0 18px 38px rgba(45, 27, 5, 0.18);
}

.contact-card::before {
  position: absolute;
  top: -66px;
  right: 13%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(232, 176, 75, 0.24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  z-index: 1;
}

/* IMAGEM ATMOSFÉRICA DO CTA DE CONTATO */
.contact-card::after {
  position: absolute;
  inset: -10px;
  background:
    radial-gradient(circle at 93% 14%, rgba(232, 176, 75, 0.2) 0 2px, transparent 2.5px),
    linear-gradient(100deg, rgba(8, 28, 3, 0.93) 0%, rgba(14, 50, 5, 0.84) 53%, rgba(20, 64, 8, 0.65) 100%),
    url("assets/images/contact/contact-agroflorestal.jpg") center 54% / cover no-repeat;
  content: "";
  filter: blur(3px) saturate(0.82);
  transform: scale(1.03);
  z-index: 0;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 590px;
}

.contact-copy h2 {
  color: #fffaf0;
  font-size: clamp(1.8rem, 3.15vw, 2.8rem);
  line-height: 1.1;
}

.contact-copy > p:not(.contact-eyebrow) {
  max-width: 510px;
  margin: 15px 0 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: clamp(0.84rem, 1vw, 0.92rem);
  line-height: 1.7;
}

.contact-whatsapp {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 244, 215, 0.54);
  border-radius: 8px;
  background: var(--cupuaçu-gold);
  color: #163306;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-whatsapp:hover,
.contact-whatsapp:focus-visible {
  background: #ffd37e;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.contact-whatsapp img {
  width: 18px;
  height: 18px;
}

/* RODAPÉ PRINCIPAL */
.site-footer {
  background: #351b09;
  color: rgba(255, 244, 224, 0.78);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.78fr 0.95fr 1.12fr;
  gap: clamp(28px, 5vw, 82px);
  padding-top: clamp(46px, 6vw, 68px);
  padding-bottom: clamp(34px, 5vw, 52px);
}

.footer-brand-block {
  width: min(100%, 240px);
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-block img {
  width: 120px;
  height: 92px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.footer-brand-block p {
  margin: 17px 0 0;
  color: rgba(255, 244, 224, 0.65);
  font-family: "Lora", Georgia, serif;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.6;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav strong,
.footer-contact strong {
  margin-bottom: 5px;
  color: var(--cupuaçu-gold);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 244, 224, 0.79);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-social-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.footer-social-link--instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.footer-social-link--whatsapp svg {
  fill: currentColor;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--cupuaçu-gold);
}

.footer-contact p {
  margin: 12px 0 0;
  color: rgba(255, 244, 224, 0.72);
  font-size: 0.76rem;
  line-height: 1.65;
}

.footer-copyright {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 244, 224, 0.16);
  color: rgba(255, 244, 224, 0.62);
  font-size: 0.7rem;
  text-align: center;
}

@keyframes hero-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* RESPONSIVIDADE DO CABEÇALHO */
@media (max-width: 1080px) {
  .header-container {
    gap: 18px;
  }

  .brand-copy {
    display: none;
  }

  .main-navigation {
    gap: 18px;
  }

  .main-navigation a {
    font-size: 0.74rem;
  }

  .history-card {
    grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  }

  .history-content {
    padding: 32px;
  }

  .history-content h2 {
    font-size: clamp(2.35rem, 3.8vw, 2.8rem);
  }

  .agroforestry-content {
    width: min(100%, 790px);
  }

  .agroforestry-pillars {
    width: min(100%, 790px);
  }

  .stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(185px, 205px));
    gap: 24px;
  }

  .story-card {
    flex-basis: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
    --page-padding: clamp(20px, 5vw, 40px);
  }

  .site-header.is-scrolled {
    --header-height: 64px;
  }

  .brand-copy {
    display: grid;
    gap: 2px;
  }

  .brand-copy strong {
    font-size: 1.34rem;
  }

  .brand-copy small {
    margin-top: 2px;
    font-size: 0.54rem;
    letter-spacing: 0.01em;
  }

  body.menu-open .site-header.is-scrolled {
    backdrop-filter: none;
  }

  .header-container {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    grid-column: 3;
    justify-self: end;
    display: grid;
    align-content: center;
  }

  .main-navigation {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    padding: calc(var(--header-height) + 50px) var(--page-padding) 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 88% 10%, rgba(245, 192, 112, 0.2), transparent 25rem),
      radial-gradient(circle at 8% 92%, rgba(74, 116, 24, 0.08), transparent 22rem),
      var(--amazon-cream);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-14px);
    transition:
      visibility 300ms step-end,
      opacity 300ms ease,
      transform 400ms var(--ease-premium);
  }

  .main-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
      visibility 0s step-start,
      opacity 300ms ease,
      transform 400ms var(--ease-premium);
  }

  .main-navigation a {
    width: 100%;
    padding: 10px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    font-weight: 600;
    transition: color 180ms ease, transform 220ms var(--ease-premium);
  }

  .main-navigation a.is-active:not(.mobile-menu-whatsapp) {
    transform: translateX(8px);
  }

  .main-navigation a::after {
    display: none;
  }

  .main-navigation .mobile-menu-whatsapp {
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    color: #fffaf0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--forest-green);
    box-shadow: 0 14px 30px rgba(36, 71, 12, 0.2);
  }

  .main-navigation .mobile-menu-whatsapp:hover,
  .main-navigation .mobile-menu-whatsapp:focus-visible {
    color: #fffaf0;
    background: #315f12;
    transform: translateY(-2px);
  }

  .mobile-menu-whatsapp svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
  }

  .whatsapp-button {
    display: none;
  }

  .hero-slide > img,
  .hero-media > img {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 16, 7, 0.88) 0%, rgba(18, 16, 7, 0.66) 40%, rgba(18, 16, 7, 0.17) 88%),
      linear-gradient(180deg, rgba(7, 8, 3, 0.16) 0%, transparent 45%, rgba(7, 8, 3, 0.45) 100%);
  }

  .hero-container {
    align-items: flex-end;
    padding-bottom: 160px;
  }

  .hero-content {
    width: min(100%, 580px);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-showcase {
    min-height: 360px;
    grid-template-columns: minmax(280px, 42%) 1fr;
    grid-template-rows: 1fr;
  }

  .product-visual {
    min-height: 360px;
    aspect-ratio: auto;
    padding: 0;
  }

  .product-copy {
    min-height: 360px;
    justify-content: center;
    margin: 0;
    padding: 34px;
    border: 0;
    border-left: 2px solid rgba(74, 44, 10, 0.78);
    border-radius: 0;
  }

  .product-copy > p:not(.product-category) {
    max-width: 460px;
  }

  .history-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .history-portrait {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .history-portrait img {
    object-position: center 18%;
  }

  .history-content {
    padding: clamp(44px, 8vw, 64px);
  }

  .history-content h2 {
    max-width: 620px;
    font-size: clamp(2.75rem, 7vw, 3.8rem);
  }

  .history-lead {
    max-width: 640px;
  }

  .agroforestry-section,
  .agroforestry-container {
    min-height: 560px;
  }

  .agroforestry-background {
    object-position: 61% center;
  }

  .agroforestry-overlay {
    background:
      linear-gradient(90deg, rgba(11, 29, 5, 0.98) 0%, rgba(18, 44, 9, 0.94) 52%, rgba(18, 44, 9, 0.7) 78%, rgba(7, 18, 3, 0.5) 100%),
      linear-gradient(180deg, rgba(5, 15, 3, 0.18) 0%, rgba(5, 15, 3, 0.12) 50%, rgba(5, 15, 3, 0.68) 100%);
  }

  .agroforestry-container {
    padding-top: 66px;
    padding-bottom: 64px;
  }

  .agroforestry-content {
    width: 100%;
  }

  .agroforestry-content h2 {
    font-size: clamp(3.2rem, 8vw, 4.1rem);
  }

  .agroforestry-pillars {
    width: 100%;
  }

  .agroforestry-pillars article {
    padding-inline: 16px;
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }

  .agroforestry-pillars svg {
    width: 35px;
    height: 35px;
  }

  .agroforestry-signature {
    display: none;
  }

  .stories-section,
  .stories-container {
    min-height: 0;
  }

  .stories-container {
    padding-top: 58px;
    padding-bottom: 42px;
  }

  .stories-heading {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 34px;
  }

  .stories-heading h2 {
    font-size: clamp(2.65rem, 6vw, 3.35rem);
  }

  .stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 200px));
    gap: 22px;
  }

  .story-card {
    flex-basis: auto;
  }

  .story-card-featured .story-card-content strong {
    font-size: clamp(1.25rem, 2.7vw, 1.55rem);
  }

  .media-dialog.is-short .media-stage {
    height: min(66vh, 600px);
  }
}

/* RESPONSIVIDADE DO HERO */
@media (max-width: 620px) {
  .brand {
    gap: 8px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .is-scrolled .brand img {
    width: 52px;
    height: 52px;
  }

  .hero-slide > img,
  .hero-media > img {
    object-position: 67% center;
  }

  .hero-slide--products .hero-media > img {
    object-position: 54% center;
  }

  .hero-slide--founder .hero-media > img {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 12, 5, 0.82) 0%, rgba(13, 12, 5, 0.36) 72%, rgba(13, 12, 5, 0.12) 100%),
      linear-gradient(180deg, rgba(6, 7, 3, 0.12) 0%, rgba(6, 7, 3, 0.1) 34%, rgba(6, 7, 3, 0.78) 100%);
  }

  .hero-container {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 150px;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-content h1,
  .hero-content h2 {
    max-width: 520px;
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    line-height: 0.98;
  }

  .hero-content h1 br,
  .hero-content h2 br {
    display: none;
  }

  .hero-divider {
    margin-block: 18px;
  }

  .hero-content > p:last-child {
    max-width: 92%;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-controls {
    right: var(--page-padding);
    bottom: 54px;
    justify-content: space-between;
  }

  .hero-pagination {
    gap: 7px;
  }

  .hero-pagination button {
    width: 18px;
  }

  .hero-pagination button.is-active {
    width: 38px;
  }

  .products-section {
    padding-top: 82px;
    padding-bottom: 64px;
  }

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

  .products-grid {
    gap: 22px;
  }

  .product-showcase {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, auto) auto;
    border-radius: 15px;
  }

  .product-visual {
    min-height: 300px;
    aspect-ratio: 4 / 3;
    padding: 0;
  }

  .product-copy {
    min-height: 260px;
    margin: 0;
    padding: 27px 24px 30px;
    border: 0;
    border-top: 2px solid rgba(74, 44, 10, 0.78);
    border-radius: 0;
  }

  .product-copy h3 {
    font-size: 1.45rem;
  }

  .history-section {
    padding-top: 64px;
    padding-bottom: 94px;
  }

  .history-card {
    border-radius: 16px;
  }

  .history-portrait {
    aspect-ratio: 4 / 5;
  }

  .history-portrait img {
    object-position: center 32%;
  }

  .history-portrait figcaption {
    right: 22px;
    bottom: 24px;
    left: 22px;
  }

  .history-portrait figcaption span {
    font-size: 1.5rem;
  }

  .history-portrait figcaption small {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .history-content {
    padding: 36px 24px 42px;
  }

  .history-index {
    margin-bottom: 20px;
  }

  .history-content h2 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
  }

  .history-divider {
    margin-block: 19px 18px;
  }

  .history-lead {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .history-meaning {
    margin-block: 22px 24px;
  }

  .history-page-link {
    width: 100%;
    justify-content: center;
  }

  .agroforestry-section,
  .agroforestry-container {
    min-height: 0;
  }

  .agroforestry-background {
    object-position: 67% center;
  }

  .agroforestry-overlay {
    background:
      linear-gradient(90deg, rgba(10, 27, 5, 0.97) 0%, rgba(15, 39, 7, 0.91) 100%),
      linear-gradient(180deg, rgba(5, 15, 3, 0.2) 0%, rgba(5, 15, 3, 0.22) 40%, rgba(5, 15, 3, 0.78) 100%);
  }

  .agroforestry-container {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .agroforestry-index {
    margin-bottom: 20px;
  }

  .agroforestry-content h2 {
    max-width: 520px;
    font-size: clamp(3rem, 14vw, 3.7rem);
  }

  .agroforestry-divider {
    margin-block: 20px 18px;
  }

  .agroforestry-intro {
    max-width: 520px;
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .agroforestry-pillars {
    margin-top: 32px;
    padding-top: 4px;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(245, 192, 112, 0.42);
  }

  .agroforestry-pillars article,
  .agroforestry-pillars article:first-child,
  .agroforestry-pillars article:last-child {
    min-height: 94px;
    padding: 22px 0;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 17px;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 192, 112, 0.24);
  }

  .agroforestry-pillars article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .agroforestry-pillars svg {
    width: 42px;
    height: 42px;
  }

  .agroforestry-pillars h3 {
    margin-bottom: 6px;
    font-size: 0.88rem;
  }

  .agroforestry-pillars p {
    max-width: 270px;
    font-size: 0.74rem;
  }

  .stories-container {
    padding-top: 70px;
    padding-bottom: 42px;
  }

  .stories-heading {
    margin-bottom: 34px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stories-heading h2 {
    max-width: 520px;
    font-size: clamp(2.7rem, 12.5vw, 3.4rem);
  }

  .stories-heading-copy {
    max-width: 520px;
  }

  .stories-heading-copy p {
    font-size: 0.86rem;
  }

  .stories-grid {
    padding: 18px 0 10px;
    grid-template-columns: minmax(0, 330px);
    gap: 20px;
  }

  .stories-carousel {
    display: block;
  }

  .stories-carousel-control {
    display: none;
  }

  .story-card,
  .story-card-featured {
    min-height: 0;
    flex-basis: auto;
    grid-row: auto;
    aspect-ratio: auto;
  }

  .story-card-content,
  .story-card-secondary .story-card-content {
    min-height: 68px;
    padding: 13px 15px 15px;
  }

  .story-card-content strong,
  .story-card-secondary .story-card-content strong {
    max-width: none;
    font-size: 0.82rem;
  }

  .story-card-action,
  .story-card-secondary .story-card-action {
    width: 39px;
    height: 39px;
  }

  .stories-footer {
    display: flex;
    padding-top: 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .stories-footer p {
    align-items: flex-start;
    line-height: 1.55;
  }

  .stories-footer p span {
    margin-top: 0.55em;
    flex: 0 0 auto;
  }

  .stories-library-link {
    width: 100%;
    justify-content: center;
    padding-block: 13px;
  }

  .media-modal {
    padding: 0;
  }

  .media-dialog {
    width: 100%;
    max-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .media-dialog-header {
    min-height: 66px;
    padding-inline: 18px 14px;
  }

  .media-dialog-close {
    width: 40px;
    height: 40px;
  }

  .media-dialog:not(.is-short) .media-stage {
    aspect-ratio: 16 / 9;
  }

  .media-dialog.is-short .media-stage {
    height: min(76svh, 720px);
  }

  .media-dialog.is-short .media-stage-ambient {
    opacity: 0.3;
  }

  .media-dialog-footer {
    padding: 12px 16px 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* RESPONSIVIDADE: PARCERIAS, CONTATO E RODAPÉ */
@media (max-width: 860px) {
  .partner-marks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 34px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .recognition-section {
    padding-top: 38px;
  }

  .partner-marks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
  }

  .partner-mark {
    min-height: 82px;
    padding: 2px;
  }

  .partner-mark img {
    height: 54px;
  }

  .partner-mark-embrapa img {
    width: min(100%, 142px);
  }

  .partner-mark-craft img,
  .partner-mark-jaty img,
  .partner-mark-cafe img {
    width: min(100%, 158px);
  }

  .contact-card {
    min-height: 0;
    padding: 32px 25px;
    border-radius: 16px;
  }

  .contact-copy h2 br {
    display: none;
  }

  .contact-whatsapp {
    width: 100%;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .footer-brand-block img {
    width: 120px;
    height: 92px;
  }
}

/* REFINAMENTO PREMIUM: CARDS E PLAYER DE SHORTS */
.story-card {
  aspect-ratio: 9 / 16;
  border-color: rgba(245, 192, 112, 0.25);
  border-bottom-width: 4px;
  border-radius: 19px;
  color: #fffaf0;
  background: #102006;
  box-shadow: 0 18px 34px rgba(34, 22, 7, 0.16);
}

.story-card > img {
  height: 100%;
  aspect-ratio: auto;
  filter: saturate(0.8) contrast(1.04) brightness(0.82);
}

.story-card-shade {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, rgba(4, 11, 2, 0.02) 27%, rgba(4, 11, 2, 0.14) 49%, rgba(4, 11, 2, 0.9) 100%),
    linear-gradient(90deg, rgba(16, 41, 5, 0.22), transparent 55%);
  pointer-events: none;
}

.story-card-content,
.story-card-secondary .story-card-content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 0;
  padding: 46px 17px 17px;
}

.story-card-content small,
.story-card-secondary .story-card-content small {
  display: block;
  margin: 0 0 7px;
  color: var(--cupuaçu-gold);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.story-card-content strong,
.story-card-secondary .story-card-content strong {
  color: #fffaf0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
}

.story-card-action,
.story-card-secondary .story-card-action {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.64);
  border-radius: 50%;
  color: #fffaf0;
  background: rgba(36, 71, 12, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition: background 240ms ease, border-color 240ms ease, transform 300ms var(--ease-premium);
}

.story-card:hover,
.story-card:focus-visible {
  border-color: rgba(245, 192, 112, 0.6);
  border-bottom-color: var(--forest-green);
  box-shadow: 0 25px 48px rgba(34, 22, 7, 0.27);
}

.story-card:hover > img,
.story-card:focus-visible > img {
  filter: saturate(0.95) contrast(1.06) brightness(0.95);
}

.story-card:hover .story-card-action,
.story-card:focus-visible .story-card-action {
  border-color: var(--cupuaçu-gold);
  color: var(--brown-earth);
  background: var(--cupuaçu-gold);
  transform: translate(-50%, -50%) scale(1.1);
}

.media-modal-backdrop {
  background:
    radial-gradient(circle at 18% 48%, rgba(95, 48, 16, 0.44), transparent 40%),
    radial-gradient(circle at 82% 54%, rgba(36, 71, 12, 0.38), transparent 44%),
    rgba(4, 10, 2, 0.92);
  backdrop-filter: blur(18px);
}

.media-dialog.is-short {
  width: min(100%, 1180px);
  height: min(82svh, 720px);
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.media-dialog.is-short .media-stage {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 24px;
  background: #061004;
}

.media-dialog.is-short .media-stage-ambient {
  inset: -42px;
  opacity: 0.82;
  background-image:
    linear-gradient(rgba(4, 11, 2, 0.68), rgba(4, 11, 2, 0.68)),
    var(--media-poster);
  filter: blur(30px) saturate(0.76);
}

.media-dialog.is-short .media-player {
  width: auto;
  height: 100%;
  max-width: min(100%, 405px);
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(245, 192, 112, 0.32);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.6);
}

.media-dialog.is-short .media-dialog-header {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  width: min(calc(100% - 28px), 405px);
  min-height: 0;
  padding: 9px 10px 9px 13px;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
  transform: translateX(-50%);
}

.media-dialog.is-short .media-dialog-header h2 {
  display: none;
}

.media-dialog.is-short .media-dialog-header span {
  display: none;
}

.media-dialog.is-short .media-dialog-close {
  width: 36px;
  height: 36px;
  background: rgba(4, 11, 2, 0.34);
}

.media-dialog.is-short .media-dialog-footer {
  display: none;
}

@media (max-width: 620px) {
  /* SHORTS EM TELA INTEGRAL: MOBILE ANDROID E IOS */
  .media-modal.is-short-open {
    padding: 0;
  }

  .media-modal.is-short-open .media-dialog.is-short {
    width: 100%;
    height: 100vh;
    height: 100svh;
    max-height: 100svh;
    overflow: hidden;
  }

  .media-modal.is-short-open .media-dialog.is-short .media-stage {
    height: 100%;
    border-radius: 0;
    background: #000;
  }

  .media-modal.is-short-open .media-dialog.is-short .media-stage-ambient {
    opacity: 0;
  }

  .media-modal.is-short-open .media-dialog.is-short .media-player {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-height: 650px) and (min-width: 621px) {
  .hero-container {
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 116px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(2.8rem, 7vh, 4.3rem);
  }

  .hero-divider {
    margin-block: 17px;
  }

  .hero-controls {
    bottom: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* NAVEGACAO MULTIPAGINA E SUBMENU DE PRODUTOS */
.nav-products {
  position: relative;
  flex: 0 0 auto;
}

.nav-products-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-products-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 220ms var(--ease-premium);
}

.nav-products-submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  z-index: 10;
  width: max-content;
  min-width: 218px;
  padding: 9px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(74, 44, 10, 0.1);
  border-radius: 12px;
  background: rgba(253, 246, 236, 0.98);
  box-shadow: 0 18px 44px rgba(45, 26, 7, 0.16);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition:
    visibility 180ms step-end,
    opacity 180ms ease,
    transform 220ms var(--ease-premium);
}

.nav-products-submenu::before {
  content: "";
  position: absolute;
  inset: -4px 0 auto;
  height: 4px;
}

.nav-products:hover .nav-products-submenu,
.nav-products:focus-within .nav-products-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    visibility 0s step-start,
    opacity 180ms ease,
    transform 220ms var(--ease-premium);
}

.nav-products:hover .nav-products-trigger svg,
.nav-products:focus-within .nav-products-trigger svg {
  transform: rotate(180deg);
}

.main-navigation .nav-products-submenu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--brown-earth);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.main-navigation .nav-products-submenu a::after {
  display: none;
}

.main-navigation .nav-products-submenu a:hover,
.main-navigation .nav-products-submenu a:focus-visible {
  color: var(--forest-green);
  background: rgba(200, 125, 10, 0.09);
}

@media (max-width: 860px) {
  body.menu-open .site-header.is-scrolled {
    backdrop-filter: none;
  }

  .main-navigation {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-products {
    width: 100%;
  }

  .nav-products-trigger {
    justify-content: space-between;
  }

  .main-navigation .nav-products-trigger:focus-visible {
    border-radius: 8px;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 125, 10, 0.22);
  }

  .nav-products-trigger svg {
    width: 17px;
    height: 17px;
    transform: rotate(0);
  }

  .main-navigation .nav-products .nav-products-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 17px;
    overflow: hidden;
    border: 0;
    border-left: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 360ms var(--ease-premium),
      margin 300ms var(--ease-premium),
      padding 300ms var(--ease-premium),
      border-color 260ms ease,
      opacity 220ms ease,
      transform 300ms var(--ease-premium),
      visibility 220ms step-end;
  }

  .main-navigation .nav-products.is-expanded .nav-products-submenu {
    max-height: 180px;
    margin: 0 0 5px;
    padding: 2px 0 5px 17px;
    border-left-color: rgba(200, 125, 10, 0.32);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition:
      max-height 420ms var(--ease-premium),
      margin 300ms var(--ease-premium),
      padding 300ms var(--ease-premium),
      border-color 260ms ease,
      opacity 220ms ease,
      transform 300ms var(--ease-premium),
      visibility 0s step-start;
  }

  .main-navigation .nav-products.is-expanded .nav-products-trigger svg {
    transform: rotate(180deg);
  }

  .main-navigation .nav-products-submenu a {
    padding: 7px 0 7px 12px;
    color: rgba(74, 44, 10, 0.76);
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
  }
}
