﻿/* Estilos exclusivos da página inicial. */

body[data-page="inicio"] .hero-media-coffee-invite {
  background-position: 58% center;
  background-size: cover;
}

body[data-page="inicio"] .hero-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page="inicio"] .hero-media-coffee-invite img {
  object-position: 58% center;
}

body[data-page="inicio"] .hero-media-quality {
  background-position: center 48%;
  background-size: cover;
}

body[data-page="inicio"] .hero-media-quality img {
  object-position: center 48%;
}

body[data-page="inicio"] .hero-media-structure {
  background-position: center 56%;
  background-size: cover;
}

body[data-page="inicio"] .hero-media-structure img {
  object-position: center 56%;
}

body[data-page="inicio"] .hero-media-logistics {
  background-position: center 48%;
  background-size: cover;
}

body[data-page="inicio"] .hero-media-logistics img {
  object-position: center 48%;
}

body[data-page="inicio"] .hero-media-processing {
  background-position: center 52%;
  background-size: cover;
}

body[data-page="inicio"] .hero-media-processing img {
  object-position: center 52%;
}

body[data-page="inicio"] .hero-content {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body[data-page="inicio"] .hero-content h1,
body[data-page="inicio"] .hero-content p {
  opacity: 1 !important;
}

body[data-page="inicio"] .hero.is-story-slide::after {
  background:
    linear-gradient(90deg, rgba(36, 24, 17, 0.66), rgba(36, 24, 17, 0.3) 34%, rgba(36, 24, 17, 0.04) 58%, rgba(36, 24, 17, 0));
}

body[data-page="inicio"] .hero.is-story-slide .hero-media {
  opacity: 0;
  visibility: hidden;
}

body[data-page="inicio"] .hero.is-story-slide .hero-media-coffee-invite {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: scale(1);
}

body[data-page="inicio"] .hero.is-story-slide .hero-content {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: clamp(160px, 14vw, 185px) clamp(34px, 6vw, 96px) clamp(78px, 7vw, 112px);
  text-align: left;
  text-shadow: none;
  pointer-events: none;
  z-index: 3;
}

body[data-page="inicio"] .hero.is-story-slide .hero-content-inner {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
}

body[data-page="inicio"] .hero.is-story-slide .hero-content h1 {
  width: min(500px, 44vw);
  min-height: 0;
  margin: 0;
  color: #fff7ec;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

body[data-page="inicio"] .hero.is-story-slide .hero-content p {
  position: absolute;
  right: clamp(34px, 6vw, 96px);
  bottom: clamp(92px, 8vw, 136px);
  width: min(410px, 32vw);
  min-height: 0;
  margin: 0;
  padding: 18px 22px;
  color: #fff7ec;
  background: rgba(47, 31, 22, 0.78);
  border-left: 4px solid #caa16b;
  box-shadow: 0 18px 46px rgba(24, 16, 11, 0.28);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.42;
  font-weight: 800;
}

body[data-page="inicio"] .hero.is-story-slide .hero-button {
  position: absolute;
  right: clamp(34px, 6vw, 96px);
  bottom: clamp(36px, 4.4vw, 70px);
  min-width: 0;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(138, 106, 79, 0.92);
  font-size: 15px;
  pointer-events: auto;
}

body[data-page="inicio"] .hero.is-quality-slide::after {
  background:
    linear-gradient(rgba(15, 18, 22, 0.24), rgba(15, 18, 22, 0.5)),
    rgba(0, 0, 0, 0.04);
}

body[data-page="inicio"] .hero.is-logistics-slide::after {
  background:
    linear-gradient(90deg, rgba(31, 23, 18, 0.86) 0%, rgba(31, 23, 18, 0.62) 38%, rgba(31, 23, 18, 0.24) 72%, rgba(31, 23, 18, 0.12) 100%);
}

body[data-page="inicio"] .hero.is-logistics-slide .hero-content {
  position: absolute;
  left: clamp(74px, 10vw, 156px);
  top: clamp(176px, 22vh, 230px);
  bottom: auto;
  z-index: 3;
  width: min(620px, calc(100% - 188px));
  max-width: none;
  padding: 0;
  text-align: left;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.48);
}

body[data-page="inicio"] .hero.is-logistics-slide .hero-content::before {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 20px;
  background: #f1d7ad;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(24, 16, 11, 0.3);
}

body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1 {
  min-height: 0;
  margin-bottom: 18px;
  color: #fffaf2;
  font-size: clamp(42px, 3.9vw, 62px);
  line-height: 1.04;
  font-weight: 900;
  text-wrap: balance;
}

body[data-page="inicio"] .hero.is-logistics-slide .hero-content p {
  max-width: 580px;
  min-height: 0;
  margin: 0 0 26px;
  color: rgba(255, 250, 242, 0.92);
  font-size: clamp(18px, 1.38vw, 23px);
  font-weight: 760;
  line-height: 1.48;
}

body[data-page="inicio"] .hero.is-logistics-slide .hero-button {
  min-width: 0;
  min-height: 54px;
  padding: 0 24px;
  color: #2a2018;
  background: #f1d7ad;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(24, 16, 11, 0.22);
  font-size: 17px;
}

body[data-page="inicio"] .hero.is-logistics-slide .hero-button:hover {
  background: #fff7ec;
}

body[data-page="inicio"] .hero.is-processing-slide::after {
  background:
    linear-gradient(90deg, rgba(31, 23, 18, 0.88) 0%, rgba(31, 23, 18, 0.58) 42%, rgba(31, 23, 18, 0.2) 74%, rgba(31, 23, 18, 0.1) 100%);
}

body[data-page="inicio"] .hero.is-processing-slide .hero-content {
  position: absolute;
  left: clamp(74px, 10vw, 156px);
  top: clamp(176px, 22vh, 230px);
  bottom: auto;
  z-index: 3;
  width: min(650px, calc(100% - 188px));
  max-width: none;
  padding: 0;
  text-align: left;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.48);
}

body[data-page="inicio"] .hero.is-processing-slide .hero-content::before {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 20px;
  background: #f1d7ad;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(24, 16, 11, 0.3);
}

body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
  min-height: 0;
  margin-bottom: 18px;
  color: #fffaf2;
  font-size: clamp(42px, 3.9vw, 62px);
  line-height: 1.04;
  font-weight: 900;
  text-wrap: balance;
}

body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
  max-width: 600px;
  min-height: 0;
  margin: 0 0 26px;
  color: rgba(255, 250, 242, 0.92);
  font-size: clamp(18px, 1.38vw, 23px);
  font-weight: 760;
  line-height: 1.48;
}

body[data-page="inicio"] .hero.is-processing-slide .hero-button {
  min-width: 0;
  min-height: 54px;
  padding: 0 24px;
  color: #2a2018;
  background: #f1d7ad;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(24, 16, 11, 0.22);
  font-size: 17px;
}

body[data-page="inicio"] .hero.is-processing-slide .hero-button:hover {
  background: #fff7ec;
}

@media (max-width: 820px) {
  body[data-page="inicio"] .hero.is-story-slide .hero-media-coffee-invite {
    background-position: 62% center;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content {
    padding: 170px clamp(10px, 1.2vw, 18px) clamp(72px, 8vw, 106px);
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content h1 {
    width: min(372px, 92%);
    font-size: clamp(35px, 10vw, 48px);
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content p {
    position: static;
    width: min(372px, 100%);
    margin-top: 18px;
    overflow-wrap: anywhere;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-button {
    position: static;
    margin-top: 14px;
  }

  body[data-page="inicio"] .hero-media-logistics {
    background-position: 52% center;
  }

  body[data-page="inicio"] .hero-media-processing {
    background-position: 52% center;
  }

  body[data-page="inicio"] .hero.is-logistics-slide::after {
    background:
      linear-gradient(180deg, rgba(31, 23, 18, 0.16) 0%, rgba(31, 23, 18, 0.34) 40%, rgba(31, 23, 18, 0.86) 100%);
  }

  body[data-page="inicio"] .hero.is-logistics-slide .hero-content {
    left: 24px;
    right: 24px;
    bottom: 94px;
    top: auto;
    width: auto;
  }

  body[data-page="inicio"] .hero.is-logistics-slide .hero-content::before {
    width: 58px;
    margin-bottom: 14px;
  }

  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 10vw, 48px);
  }

  body[data-page="inicio"] .hero.is-logistics-slide .hero-content p {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
  }

  body[data-page="inicio"] .hero.is-logistics-slide .hero-button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  body[data-page="inicio"] .hero.is-processing-slide::after {
    background:
      linear-gradient(180deg, rgba(31, 23, 18, 0.12) 0%, rgba(31, 23, 18, 0.32) 40%, rgba(31, 23, 18, 0.88) 100%);
  }

  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    left: 24px;
    right: 24px;
    bottom: 94px;
    top: auto;
    width: auto;
  }

  body[data-page="inicio"] .hero.is-processing-slide .hero-content::before {
    width: 58px;
    margin-bottom: 14px;
  }

  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 10vw, 48px);
  }

  body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
  }

  body[data-page="inicio"] .hero.is-processing-slide .hero-button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }
}

body[data-page="inicio"] .hero.is-story-slide::after,
body[data-page="inicio"] .hero.is-quality-slide::after,
body[data-page="inicio"] .hero.is-logistics-slide::after,
body[data-page="inicio"] .hero.is-processing-slide::after {
  background:
    linear-gradient(rgba(15, 18, 22, 0.34), rgba(15, 18, 22, 0.62)),
    rgba(0, 0, 0, 0.12);
}

body[data-page="inicio"] .hero.is-story-slide .hero-media {
  visibility: visible;
}

body[data-page="inicio"] .hero.is-story-slide .hero-media.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

body[data-page="inicio"] .hero.is-story-slide .hero-content,
body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
body[data-page="inicio"] .hero.is-processing-slide .hero-content {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: 1;
  display: block;
  width: min(100%, 860px);
  max-width: 860px;
  padding: 110px 24px 40px;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
  pointer-events: auto;
}

body[data-page="inicio"] .hero.is-story-slide .hero-content::before,
body[data-page="inicio"] .hero.is-logistics-slide .hero-content::before,
body[data-page="inicio"] .hero.is-processing-slide .hero-content::before {
  content: none;
  display: none;
}

body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
  width: auto;
  min-height: 188px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(42px, 4.25vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

body[data-page="inicio"] .hero.is-story-slide .hero-content p,
body[data-page="inicio"] .hero.is-logistics-slide .hero-content p,
body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
  position: static;
  width: auto;
  max-width: 780px;
  min-height: 79px;
  margin: 0 auto 28px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border-left: 0;
  box-shadow: none;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.46;
  font-weight: 600;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

body[data-page="inicio"] .hero.is-story-slide .hero-button,
body[data-page="inicio"] .hero.is-logistics-slide .hero-button,
body[data-page="inicio"] .hero.is-processing-slide .hero-button {
  position: static;
  right: auto;
  bottom: auto;
  display: inline-flex;
  min-width: 168px;
  min-height: 62px;
  padding: 0 30px;
  color: #ffffff;
  background: #8a6a4f;
  border-radius: 21px;
  box-shadow: none;
  font-size: 20px;
  pointer-events: auto;
}

body[data-page="inicio"] .hero.is-story-slide .hero-button:hover,
body[data-page="inicio"] .hero.is-logistics-slide .hero-button:hover,
body[data-page="inicio"] .hero.is-processing-slide .hero-button:hover {
  background: #6f533d;
}

@media (max-width: 820px) {
  body[data-page="inicio"] .hero.is-story-slide .hero-content,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    width: min(100%, 680px);
    padding: 154px 20px 42px;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    width: auto;
    min-height: 0;
    margin-bottom: 18px;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content p,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content p,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
    max-width: 100%;
    min-height: 0;
    margin: 0 auto 22px;
    font-size: 16px;
    line-height: 1.5;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-button,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-button,
  body[data-page="inicio"] .hero.is-processing-slide .hero-button {
    min-height: 56px;
    border-radius: 18px;
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  body[data-page="inicio"] .hero.is-story-slide .hero-content,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    padding: 142px 18px 32px;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    font-size: clamp(32px, 10vw, 40px);
  }
}

body[data-page="inicio"] .hero.is-story-slide::after {
  background:
    linear-gradient(90deg, rgba(36, 24, 17, 0.9), rgba(36, 24, 17, 0.52) 34%, rgba(36, 24, 17, 0.12) 58%, rgba(36, 24, 17, 0.04));
}

body[data-page="inicio"] .hero.is-story-slide {
  min-height: 100vh;
}

body[data-page="inicio"] .hero.is-story-slide .hero-content {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  padding: clamp(145px, 14vw, 175px) clamp(10px, 1.2vw, 18px) clamp(72px, 8vw, 106px);
  text-align: left;
  text-shadow: none;
  pointer-events: none;
  z-index: 3;
}

body[data-page="inicio"] .hero.is-story-slide .hero-content h1 {
  max-width: 500px;
  min-height: 0;
  margin: 0;
  color: #fff7ec;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

body[data-page="inicio"] .hero.is-story-slide .hero-content p {
  position: absolute;
  right: clamp(34px, 6vw, 96px);
  bottom: clamp(40px, 6vw, 78px);
  max-width: 410px;
  min-height: 0;
  margin: 0;
  padding: 18px 22px;
  color: #fff7ec;
  background: rgba(47, 31, 22, 0.78);
  border-left: 4px solid #caa16b;
  box-shadow: 0 18px 46px rgba(24, 16, 11, 0.28);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.42;
  font-weight: 700;
}

body[data-page="inicio"] .hero.is-story-slide .hero-button {
  position: absolute;
  right: clamp(34px, 6vw, 96px);
  bottom: clamp(16px, 2.6vw, 30px);
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(138, 106, 79, 0.94);
  font-size: 15px;
}

@media (max-width: 700px) {
  body[data-page="inicio"] .hero.is-story-slide {
    min-height: 100vh;
  }

  body[data-page="inicio"] .hero.is-story-slide::after {
    background:
      linear-gradient(180deg, rgba(36, 24, 17, 0.48), rgba(36, 24, 17, 0.78));
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content {
    padding: 170px clamp(10px, 1.2vw, 18px) clamp(72px, 8vw, 106px);
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content-inner {
    max-width: min(100%, 372px);
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content h1 {
    width: auto;
    max-width: 92%;
    margin-left: 0;
    font-size: clamp(34px, 3.7vw, 52px);
    overflow-wrap: anywhere;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-content p {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 18px 0 0;
    overflow-wrap: anywhere;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.42;
  }

  body[data-page="inicio"] .hero.is-story-slide .hero-button {
    position: static;
    display: inline-flex;
    margin-top: 18px;
    min-height: 50px;
    padding: 0 22px;
    font-size: 16px;
  }
}

body[data-page="inicio"] .hero.is-structure-slide::after {
  background:
    linear-gradient(90deg, rgba(29, 22, 18, 0.86) 0%, rgba(29, 22, 18, 0.66) 46%, rgba(29, 22, 18, 0.44) 100%),
    linear-gradient(rgba(15, 18, 22, 0.16), rgba(15, 18, 22, 0.4));
}

body[data-page="inicio"] .hero.is-structure-slide .hero-content {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  padding: clamp(165px, 17vh, 204px) 24px clamp(58px, 7vw, 88px);
  color: #fff7ec;
  text-align: left;
  text-shadow: none;
  z-index: 3;
}

body[data-page="inicio"] .hero.is-structure-slide .hero-content-inner {
  position: relative;
  width: min(1140px, 100%);
  margin: 0 auto;
}

body[data-page="inicio"] .hero.is-structure-slide .hero-content-inner::before {
  content: "ESTRUTURA";
  display: block;
  margin-bottom: clamp(20px, 2vw, 26px);
  color: #fff7ec;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.07em;
}

body[data-page="inicio"] .hero.is-structure-slide .hero-content h1 {
  max-width: 1020px;
  min-height: 0;
  margin: 0 0 22px;
  color: #fff7ec;
  font-size: clamp(46px, 4.2vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: none;
}

body[data-page="inicio"] .hero.is-structure-slide .hero-content p {
  max-width: 680px;
  min-height: 0;
  margin: 0;
  color: rgba(255, 247, 236, 0.92);
  font-size: clamp(18px, 1.32vw, 22px);
  line-height: 1.5;
  font-weight: 700;
  text-shadow: none;
}

body[data-page="inicio"] .hero.is-structure-slide .hero-button {
  display: inline-flex;
  margin-top: clamp(24px, 2.5vw, 30px);
  min-width: 168px;
  min-height: 54px;
  padding: 0 27px;
  color: #fff7ec;
  background: #8a6a4f;
  border-radius: 18px;
  font-size: 18px;
  box-shadow: none;
}

body[data-page="inicio"] .hero.is-structure-slide .hero-button:hover {
  background: #6f533d;
}

@media (max-width: 700px) {
  body[data-page="inicio"] .hero.is-structure-slide::after {
    background:
      linear-gradient(180deg, rgba(29, 22, 18, 0.52), rgba(29, 22, 18, 0.82)),
      linear-gradient(rgba(15, 18, 22, 0.1), rgba(15, 18, 22, 0.4));
  }

  body[data-page="inicio"] .hero-media-structure {
    background-position: 54% center;
  }

  body[data-page="inicio"] .hero.is-structure-slide .hero-content {
    padding: 166px 22px 68px;
  }

  body[data-page="inicio"] .hero.is-structure-slide .hero-content-inner::before {
    margin-bottom: 18px;
    font-size: 12px;
  }

  body[data-page="inicio"] .hero.is-structure-slide .hero-content h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 9.4vw, 42px);
  }

  body[data-page="inicio"] .hero.is-structure-slide .hero-content p {
    font-size: 16px;
    line-height: 1.48;
  }
}

body[data-page="inicio"] .coffee-market-panel {
  grid-template-columns: minmax(320px, 820px);
  justify-content: center;
}

body[data-page="inicio"] .coffee-market-card {
  width: min(820px, 100%);
  margin: 0 auto;
}

.home-coffee-title {
  width: min(820px, 100%);
  margin: 0 auto clamp(24px, 3vw, 34px);
  text-align: center;
}

.home-coffee-title .section-kicker {
  margin-bottom: 10px;
}

.home-coffee-title h2 {
  margin: 0;
  color: #2a2018;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.08;
  font-weight: 900;
}

.partners-section {
  padding: clamp(48px, 6vw, 74px) 24px;
  color: #2a2018;
  background:
    var(--agbs-light-grid-x),
    var(--agbs-light-grid-y),
    linear-gradient(180deg, #f1e2cc 0%, #fffaf2 100%);
  background-position: top center;
  background-size: var(--agbs-light-grid-size), var(--agbs-light-grid-size), auto;
  border-top: 1px solid rgba(138, 106, 79, 0.18);
}

.agro-news-section {
  overflow: hidden;
  padding: clamp(54px, 6.5vw, 82px) 0;
  color: #2a2018;
  background:
    var(--agbs-light-grid-x),
    var(--agbs-light-grid-y),
    linear-gradient(180deg, #f1e2cc 0%, #fffaf2 100%);
  background-position: top center;
  background-size: var(--agbs-light-grid-size), var(--agbs-light-grid-size), auto;
  border-top: 1px solid rgba(138, 106, 79, 0.16);
}

.services-news-section {
  width: calc(100% + 48px);
  margin: clamp(44px, 5vw, 64px) -24px 0;
  padding-top: clamp(38px, 5vw, 58px);
  padding-bottom: clamp(34px, 4vw, 48px);
  background:
    var(--agbs-light-grid-x),
    var(--agbs-light-grid-y),
    linear-gradient(180deg, rgba(241, 226, 204, 0.72) 0%, rgba(255, 250, 242, 0.86) 100%);
  background-position: top center;
  background-size: var(--agbs-light-grid-size), var(--agbs-light-grid-size), auto;
  border-top: 1px solid rgba(138, 106, 79, 0.14);
  border-bottom: 1px solid rgba(138, 106, 79, 0.12);
}

.agro-news-wrap {
  width: 100%;
  margin: 0 auto;
}

.agro-news-heading {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto clamp(24px, 3vw, 36px);
  text-align: left;
}

.agro-news-heading h2 {
  max-width: 780px;
  margin: 0;
  color: #2a2018;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
}

.agro-news-heading-simple {
  text-align: center;
}

.agro-news-heading-simple h2 {
  max-width: none;
  font-size: clamp(34px, 4.3vw, 56px);
}

.agro-news-carousel {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.agro-news-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 24px;
  animation: agro-news-roll 58s linear infinite;
  will-change: transform;
}

.agro-news-carousel:hover .agro-news-track,
.agro-news-carousel:focus-within .agro-news-track {
  animation-play-state: paused;
}

@keyframes agro-news-roll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.agro-news-card {
  position: relative;
  display: grid;
  grid-template-rows: 160px 1fr;
  flex: 0 0 clamp(300px, 30vw, 390px);
  min-height: 386px;
  overflow: hidden;
  padding: 0;
  color: #2a2018;
  background:
    linear-gradient(90deg, #8a6a4f 0 5px, transparent 5px),
    rgba(255, 250, 242, 0.88);
  border: 1px solid rgba(138, 106, 79, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(42, 32, 24, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.agro-news-card::after {
  display: none;
}

.agro-news-card:hover {
  border-color: rgba(138, 106, 79, 0.34);
  box-shadow: 0 22px 48px rgba(42, 32, 24, 0.12);
  transform: translateY(-2px);
}

.agro-news-card figure {
  position: relative;
  min-width: 0;
  height: 160px;
  margin: 0;
  overflow: hidden;
  background: #d8c5ad;
}

.agro-news-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 32, 24, 0.02), rgba(42, 32, 24, 0.36));
  pointer-events: none;
}

.agro-news-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 420ms ease;
}

.agro-news-card:hover img {
  transform: scale(1.08);
}

.agro-news-copy {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px 22px 20px;
}

.agro-news-card span,
.agro-news-card strong,
.agro-news-card p,
.agro-news-card small {
  position: relative;
  z-index: 1;
}

.agro-news-card span {
  color: #8a6a4f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.agro-news-card strong {
  max-width: 310px;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.18;
}

.agro-news-card p {
  margin: 0;
  color: #65584c;
  font-size: 14px;
  line-height: 1.45;
}

.agro-news-card small {
  align-self: end;
  width: fit-content;
  margin-top: 8px;
  padding: 8px 12px;
  color: #fff7ec;
  background: #6f533d;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.partners-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.partners-heading {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-bottom: clamp(24px, 3.2vw, 34px);
  text-align: center;
}

.partners-heading h2 {
  position: relative;
  margin: 0;
  color: #2a2018;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.partners-heading h2::after {
  content: "";
  display: block;
  width: min(150px, 34vw);
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, #6f533d, transparent);
  border-radius: 999px;
}

.coffee-products-section {
  padding: clamp(56px, 6vw, 88px) 24px clamp(50px, 6vw, 78px);
  background-color: #fffaf2;
  background-image: var(--agbs-light-grid-x), var(--agbs-light-grid-y);
  background-position: top center;
  background-size: var(--agbs-light-grid-size);
  border-top: 1px solid rgba(138, 106, 79, 0.12);
}

.coffee-products-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.coffee-products-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 58px);
  text-align: center;
}

.coffee-products-heading h2 {
  margin: 0;
  color: #2a2018;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
}

.coffee-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 4.2vw, 58px) clamp(22px, 3.4vw, 48px);
  align-items: start;
}

.coffee-product-item {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: #2a2018;
  text-align: center;
}

.coffee-product-item figure {
  width: min(190px, 100%);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #d8c5ad;
  border: 8px solid #6f533d;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(42, 32, 24, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.coffee-product-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.coffee-product-item span {
  color: #6f533d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.coffee-product-item:hover figure {
  box-shadow: 0 24px 54px rgba(42, 32, 24, 0.22);
  transform: translateY(-4px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(128px, 172px));
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  min-height: 174px;
}

.partner-logo-slot {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  min-height: 126px;
  padding: 14px;
  color: #7d6046;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-logo-slot img {
  display: block;
  width: min(150px, 100%);
  height: 82px;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.04);
  transition: transform 180ms ease, filter 180ms ease;
}

.partner-logo-canastra,
.partner-logo-conab,
.partner-logo-bayer,
.partner-logo-sca,
.partner-logo-bsca {
  transform: none;
}

.partner-logo-slot:hover {
  transform: translateY(-3px);
}

.partner-logo-slot:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .services-news-section {
    margin-top: 36px;
  }

  .agro-news-heading {
    width: min(100% - 36px, 680px);
  }

  .agro-news-card {
    grid-template-rows: 145px 1fr;
    flex-basis: min(82vw, 340px);
    min-height: 374px;
  }

  .agro-news-card figure {
    height: 145px;
  }

  .partners-heading {
    display: grid;
    align-items: start;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(84px, 1fr));
    gap: 12px;
  }

  .partner-logo-slot {
    min-height: 112px;
    padding: 8px;
  }

  .partner-logo-slot img {
    width: min(132px, 100%);
    height: 74px;
  }

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

@media (max-width: 520px) {
  .home-coffee-title h2 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.1;
  }

  .partners-heading h2 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.1;
  }

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

  .partner-logo-slot {
    min-height: 104px;
  }

  .partner-logo-slot img {
    width: min(128px, 100%);
    height: 72px;
  }

  .coffee-products-grid {
    gap: 26px 18px;
  }

  .coffee-product-item figure {
    width: min(168px, 100%);
    border-width: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agro-news-carousel {
    overflow-x: auto;
    mask-image: none;
  }

  .agro-news-track {
    width: auto;
    animation: none;
    padding-bottom: 10px;
  }
}

body[data-page="inicio"] .hero > .hero-button,
body[data-page="inicio"] .hero.is-story-slide > .hero-button,
body[data-page="inicio"] .hero.is-structure-slide > .hero-button,
body[data-page="inicio"] .hero.is-quality-slide > .hero-button,
body[data-page="inicio"] .hero.is-logistics-slide > .hero-button,
body[data-page="inicio"] .hero.is-processing-slide > .hero-button {
  position: absolute;
  right: auto;
  bottom: calc(clamp(24px, 4vw, 46px) + 58px);
  left: 50%;
  z-index: 4;
  display: inline-flex;
  margin: 0;
  min-width: 168px;
  min-height: 54px;
  padding: 0 26px;
  color: #fff7ec;
  background: #8a6a4f;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(24, 16, 11, 0.22);
  font-size: 18px;
  pointer-events: auto;
  transform: translateX(-50%);
}

body[data-page="inicio"] .hero > .hero-button:hover,
body[data-page="inicio"] .hero.is-story-slide > .hero-button:hover,
body[data-page="inicio"] .hero.is-structure-slide > .hero-button:hover,
body[data-page="inicio"] .hero.is-quality-slide > .hero-button:hover,
body[data-page="inicio"] .hero.is-logistics-slide > .hero-button:hover,
body[data-page="inicio"] .hero.is-processing-slide > .hero-button:hover {
  background: #6f533d;
  transform: translateX(-50%) translateY(-2px);
}

body[data-page="inicio"] .hero .hero-arrow,
body[data-page="inicio"] .hero .hero-dots {
  z-index: 5;
}

@media (max-width: 700px) {
  body[data-page="inicio"] .hero > .hero-button,
  body[data-page="inicio"] .hero.is-story-slide > .hero-button,
  body[data-page="inicio"] .hero.is-structure-slide > .hero-button,
  body[data-page="inicio"] .hero.is-quality-slide > .hero-button,
  body[data-page="inicio"] .hero.is-logistics-slide > .hero-button,
  body[data-page="inicio"] .hero.is-processing-slide > .hero-button {
    bottom: calc(clamp(18px, 4vw, 28px) + 52px);
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 16px;
  }
}

/* Ajuste final mobile da home: nada pode escapar da largura da tela. */
@media (max-width: 640px) {
  body[data-page="inicio"] .hero::after,
  body[data-page="inicio"] .hero.is-story-slide::after,
  body[data-page="inicio"] .hero.is-structure-slide::after,
  body[data-page="inicio"] .hero.is-quality-slide::after,
  body[data-page="inicio"] .hero.is-logistics-slide::after,
  body[data-page="inicio"] .hero.is-processing-slide::after {
    background:
      linear-gradient(180deg, rgba(20, 15, 11, 0.42) 0%, rgba(20, 15, 11, 0.64) 46%, rgba(20, 15, 11, 0.82) 100%),
      rgba(0, 0, 0, 0.18);
  }

  body[data-page="inicio"] .hero-content,
  body[data-page="inicio"] .hero.is-story-slide .hero-content,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    min-width: 0;
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
    text-align: center;
    color: #fff7ec;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 4;
    transform: translateY(-28px);
  }

  body[data-page="inicio"] .hero-content-inner,
  body[data-page="inicio"] .hero.is-story-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: inherit;
    opacity: 1;
    visibility: visible;
  }

  body[data-page="inicio"] .hero-content h1,
  body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    width: min(100%, 288px);
    max-width: 288px;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(27px, 8.4vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff7ec !important;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: auto;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
    opacity: 1 !important;
    visibility: visible !important;
  }

  body[data-page="inicio"] .hero-content p,
  body[data-page="inicio"] .hero.is-story-slide .hero-content p,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content p,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content p,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
    width: min(100%, 292px);
    max-width: 292px;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(13.8px, 3.75vw, 15.5px);
    line-height: 1.48;
    color: rgba(255, 247, 236, 0.96) !important;
    overflow-wrap: anywhere;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
    opacity: 1 !important;
    visibility: visible !important;
  }

  body[data-page="inicio"] .hero-button {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  body[data-page="inicio"] .hero-content,
  body[data-page="inicio"] .hero.is-story-slide .hero-content,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
  }

  body[data-page="inicio"] .hero-content h1,
  body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    width: min(100%, 238px);
    max-width: 238px;
    font-size: clamp(23px, 7.1vw, 27px);
    letter-spacing: -0.02em;
  }

  body[data-page="inicio"] .hero-content p,
  body[data-page="inicio"] .hero.is-story-slide .hero-content p,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content p,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content p,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
    width: min(100%, 252px);
    max-width: 252px;
    font-size: clamp(13.5px, 3.8vw, 15px);
  }
}

/* Mobile hero final: setas clicáveis e conteúdo respirando em todos os slides. */
@media (max-width: 640px) {
  body[data-page="inicio"] .hero-content,
  body[data-page="inicio"] .hero.is-story-slide .hero-content,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content,
  body[data-page="inicio"] .hero.is-quality-slide .hero-content,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    width: calc(100% - 42px);
    max-width: 330px;
    transform: translateY(-18px);
    pointer-events: none;
  }

  body[data-page="inicio"] .hero-content-inner,
  body[data-page="inicio"] .hero.is-story-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-quality-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content-inner,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content-inner {
    pointer-events: none;
  }

  body[data-page="inicio"] .hero-content h1,
  body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-quality-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    width: min(100%, 310px);
    max-width: 310px;
    font-size: clamp(28px, 8.1vw, 35px);
    line-height: 1.08;
  }

  body[data-page="inicio"] .hero-content p,
  body[data-page="inicio"] .hero.is-story-slide .hero-content p,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content p,
  body[data-page="inicio"] .hero.is-quality-slide .hero-content p,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content p,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content p {
    width: min(100%, 300px);
    max-width: 300px;
    font-size: clamp(14px, 3.75vw, 15.5px);
  }

  body[data-page="inicio"] .hero > .hero-button,
  body[data-page="inicio"] .hero.is-story-slide > .hero-button,
  body[data-page="inicio"] .hero.is-structure-slide > .hero-button,
  body[data-page="inicio"] .hero.is-quality-slide > .hero-button,
  body[data-page="inicio"] .hero.is-logistics-slide > .hero-button,
  body[data-page="inicio"] .hero.is-processing-slide > .hero-button {
    bottom: 70px;
    z-index: 80;
    width: min(220px, calc(100% - 120px));
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    text-align: center;
    white-space: normal;
    pointer-events: auto;
  }

  body[data-page="inicio"] .hero .hero-arrow,
  body[data-page="inicio"] .hero-arrow {
    top: auto;
    bottom: 78px;
    z-index: 90;
    width: 46px;
    height: 46px;
    pointer-events: auto;
    touch-action: manipulation;
    transform: none;
  }

  body[data-page="inicio"] .hero-arrow-prev {
    left: 10px;
  }

  body[data-page="inicio"] .hero-arrow-next {
    right: 10px;
  }

  body[data-page="inicio"] .hero .hero-dots,
  body[data-page="inicio"] .hero-dots {
    bottom: 24px;
    z-index: 85;
    pointer-events: auto;
  }
}

@media (max-width: 380px) {
  body[data-page="inicio"] .hero-content,
  body[data-page="inicio"] .hero.is-story-slide .hero-content,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content,
  body[data-page="inicio"] .hero.is-quality-slide .hero-content,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content {
    max-width: 292px;
    transform: translateY(-12px);
  }

  body[data-page="inicio"] .hero-content h1,
  body[data-page="inicio"] .hero.is-story-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-structure-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-quality-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-logistics-slide .hero-content h1,
  body[data-page="inicio"] .hero.is-processing-slide .hero-content h1 {
    width: min(100%, 274px);
    max-width: 274px;
    font-size: clamp(25px, 7.7vw, 30px);
  }

  body[data-page="inicio"] .hero > .hero-button,
  body[data-page="inicio"] .hero.is-story-slide > .hero-button,
  body[data-page="inicio"] .hero.is-structure-slide > .hero-button,
  body[data-page="inicio"] .hero.is-quality-slide > .hero-button,
  body[data-page="inicio"] .hero.is-logistics-slide > .hero-button,
  body[data-page="inicio"] .hero.is-processing-slide > .hero-button {
    width: min(198px, calc(100% - 112px));
    font-size: 15px;
  }
}

/* Hero mais estável: evita invasão do conteúdo em telas baixas/intermediárias. */
@media (min-width: 641px) {
  body[data-page="inicio"] .hero-content {
    width: min(960px, calc(100% - 120px));
    padding-top: clamp(92px, 13vh, 132px);
    padding-bottom: clamp(24px, 4vh, 46px);
  }

  body[data-page="inicio"] .hero-content h1 {
    max-width: 100%;
    min-height: 0;
    margin-bottom: clamp(16px, 2.4vh, 24px);
    font-size: clamp(40px, 4.6vw, 72px);
    line-height: 1.08;
  }

  body[data-page="inicio"] .hero-content p {
    max-width: 760px;
    min-height: 0;
    margin-bottom: clamp(20px, 3vh, 28px);
    font-size: clamp(17px, 1.28vw, 22px);
  }

  body[data-page="inicio"] .hero > .hero-button {
    min-height: clamp(50px, 5.8vh, 62px);
  }
}

@media (min-width: 641px) and (max-width: 1440px), (min-width: 641px) and (max-height: 780px) {
  body[data-page="inicio"] .hero-content {
    width: min(860px, calc(100% - 150px));
    padding-top: clamp(72px, 11vh, 112px);
  }

  body[data-page="inicio"] .hero-content h1 {
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.07;
  }

  body[data-page="inicio"] .hero-content p {
    max-width: 700px;
    font-size: clamp(16px, 1.18vw, 20px);
    line-height: 1.42;
  }
}

@media (min-width: 641px) and (max-width: 1180px) {
  body[data-page="inicio"] .hero-content {
    width: min(760px, calc(100% - 96px));
  }
}
