:root {
  --color-green: #454d2e;
  --color-cream: #f7f6e2;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text: #777777;
  --color-border: #454d2e;
  --container-width: 1139px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --transition: 220ms ease;
  --font-main: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-secundary: "Helvetica", Arial, sans-serif;
  --weight-regular: 400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--color-white);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-lock {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

/* Define a camada sobreposta branca */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    
    /* Centraliza a imagem horizontal e verticalmente */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Configura a suavidade do efeito de saída */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader img{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 180px;
}

/* Classe acionada via JavaScript para ocultar a camada */
.ocultar-preloader {
    opacity: 0;
    visibility: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin-inline: auto;
}

.site-shell {
  overflow: hidden;
}

.section-dark {
  color: var(--color-white);
  background: var(--color-green);
}

.surface-cream {
  background: var(--color-cream);
}

.button {
  display: inline-flex;
  min-width: 256px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: var(--weight-regular);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.button--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--color-white);
  background: transparent;
}

.button--outline-light:hover,
.button--outline-light:focus-visible {
  color: var(--color-green);
  background: var(--color-white);
}

.button--solid {
  border: 1px solid var(--color-green);
  color: var(--color-white);
  background: var(--color-green);
}

.button--solid:hover,
.button--solid:focus-visible {
  color: var(--color-green);
  background: transparent;
}

.logo {
  position: relative;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  height: 15%;
}

.logo img {
  margin-left: auto;
  margin-right: auto;
  height: 100%;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  height: min(56.32vw, 1081px);
  background: url(images/hero.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-visual .burger {
  max-width: 780px;
  max-height: 80%;
  /*width: 65%;*/
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -70%);
}

.hero-visual .burger .inner-burger {
  position: relative;
}

.hero-visual .burger img:nth-child(1) {
  width: 100%;
  z-index: -1;
}

.hero-visual .burger .inner-burger img:nth-child(2),
.hero-visual .burger .inner-burger img:nth-child(3) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  min-height: 80px;
  min-width: 80px;
  max-width: 18%;
  max-height: 18%;
  padding: 0;
}

.hero-visual .burger .inner-burger:hover img:nth-child(3) {
  min-height: 85px;
  min-width: 85px;
  max-width: 20%;
  max-height: 20%;
  cursor: pointer;
}

.intro {
  min-height: 657px;
  font-family: var(--font-secundary);
  display: grid;
  place-items: center;
  padding: 160px 0 78px;
  background-image: url(images/leaves.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.intro__content {
  max-width: 542px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 24px;
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 1.75vw, 1.75rem);
  font-weight: var(--weight-regular);
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.intro__copy {
  display: grid;
  gap: 24px;
  margin-bottom: 43px;
  font-size: 1rem;
  font-weight: var(--weight-regular);
  line-height: 1.4;
}

.benefits {
  position: relative;
  padding: 72px 0 84px;
  isolation: isolate;
  background-image: url(images/e.png);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: 105% 90%;
}

.ingredient {
  display: block;
  position: relative;
}

.benefits + .ingredient::after {
  content: "";
  width: 240px;
  height: 254px;
  background-image: url(images/t.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: -3%;
  top: 0;
  z-index: 0;
}

.benefits__background {
  position: absolute;
  inset: 0 0 auto;
  height: 504px;
  background: var(--color-cream);
  z-index: -1;
}

.section-title {
  margin-bottom: 35px;
  color: var(--color-green);
  font-size: clamp(1.75rem, 1.75vw, 1.75rem);
  font-weight: var(--weight-regular);
  line-height: 1;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.benefit-card {
  overflow: hidden;
  min-height: 457px;
  border: 1px solid rgba(118, 118, 118, 0.66);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.media-placeholder {
  background: transparent;
  overflow: hidden;
}

.media-placeholder img {
  width: 100%;
}

.media-placeholder--feature {
  display: grid;
  min-height: 449px;
}

.media-placeholder--feature img {
  grid-area: 1 / 1;
  width: auto;
  height: 100%;
  min-height: 100%;
}

.media-placeholder--feature img.active {
  opacity: 1;
  z-index: 1;
}

.media-placeholder--card {
  height: 271px;
}

.benefit-card__body {
  padding: 29px 31px 27px;
}

.benefit-card h3 {
  margin-bottom: 15px;
  color: var(--color-green);
  font-size: 1.25rem;
  font-weight: var(--weight-regular);
  line-height: 1;
}

.benefit-card p {
  font-family: var(--font-secundary);
  max-width: 292px;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: var(--weight-regular);
  line-height: 1.4;
}

.centered-action {
  margin-top: 34px;
  text-align: center;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 449px;
  margin-top: 0;
}

.protein-choice {
  position: relative;
  display: grid;
  min-height: 226px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 56px 80px;
  border-radius: var(--radius-md);
}

.protein-choice + .ingredient::before {
  content: "";
  width: 205px;
  height: 213px;
  background-image: url(images/b.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: -3%;
  z-index: -2;
}

.protein-choice + .ingredient + .carousel-wrapper {
  position: relative;
}

.protein-choice + .ingredient + .carousel-wrapper + .ingredient::before {
  content: "";
  width: 388px;
  height: 193px;
  background-image: url(images/p.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: -3%;
  top: 2%;
  z-index: -1;
}

.carousel-wrapper + .protein-choice,
.protein-choice + .carousel-wrapper,
.protein-choice + .ingredient + .carousel-wrapper,
.protein-choice + .ingredient + .carousel-wrapper + .ingredient + .carousel-wrapper {
  margin-top: 81px;
}

.benefits + .ingredient + .carousel-wrapper {
  margin-top: 0;
}

.feature-block__content {
  display: flex;
  min-height: 449px;
  flex-direction: column;
  justify-content: center;
  padding: 72px 80px;
}

.carousel-track .feature-block__content:first-child,
.carousel-track .media-placeholder:first-child {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.carousel-track .feature-block__content:last-child,
.carousel-track .media-placeholder:last-child {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.feature-block__content h2,
.protein-choice h2 {
  margin-bottom: 28px;
  font-size: clamp(1.75rem, 1.75vw, 1.75rem);
  font-weight: var(--weight-regular);
  line-height: 1;
  letter-spacing: -0.03em;
}

.feature-block__content p,
.protein-choice p {
  max-width: 408px;
  margin-bottom: 19px;
  font-size: 1rem;
  font-weight: var(--weight-regular);
  font-family: var(--font-secundary);
  line-height: 1.4;
}

.feature-block__content h2 {
  color: var(--color-green);
}

.feature-block__content p {
  color: var(--color-text);
}

.protein-choice p {
  color: var(--color-white);
}

.feature-block__content p:last-of-type {
  margin-bottom: 34px;
}

.feature-block__content .button {
  align-self: flex-start;
}

.protein-choice__copy p {
  max-width: 460px;
  margin-bottom: 0;
}

.protein-choice__items {
  display: flex;
  gap: 56px;
  align-items: center;
}

.mini-placeholder {
  width: 193px;
  height: auto;
  background: transparent;
}

.app-strip {
  position: relative;
  min-height: 125px;
  margin-top: 79px;
  background-image: url(images/line-white.jpg), url(images/line-white.jpg);
  background-position: top center, bottom center;
  background-repeat: repeat-x, repeat-x;
  background-size: auto, auto;
}

.app-strip::before {
  content: "";
  width: 400px;
  height: 137px;
  background-image: url(images/f.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: -5%;
  top: -60%;
  z-index: 1;
}

.app-strip__inner {
  display: grid;
  min-height: 125px;
  grid-template-columns: auto 1fr 125px;
  gap: 88px;
  align-items: center;
}

.app-strip__icons {
  display: flex;
  gap: 64px;
  justify-content: center;
}

.app-strip__icons span:hover {
  opacity: 0.85;
}

.app-strip__icons span {
  width: 161px;
  height: auto;
  background: transparent;
}

.app-strip__phone {
  width: 125px;
  height: 125px;
  background: transparent;
}

.community {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 80px 0 77px;
}

.community-card {
  display: grid;
  min-height: 226px;
  place-items: center;
  border-radius: var(--radius-md);
}

.community-card:nth-child(1) {
  background-image: url(images/mini-featured-1.jpg);
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size var(--transition);
}

.community-card:nth-child(2) {
  background-image: url(images/mini-featured-2.jpg);
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size var(--transition);
}

.community-card:nth-child(1):hover,
.community-card:nth-child(2):hover {
  background-size: auto 150%;
}

.community-card .button {
  min-width: 256px;
}

.community-card .button:hover {
  background-color: var(--color-white);
}

.site-footer {
  min-height: 122px;
  padding: 44px 0 35px;
  color: var(--color-text);
  border-bottom: 8px solid var(--color-green);
  background: var(--color-cream);
  text-align: center;
}

.site-footer p {
  max-width: 1100px;
  margin-inline: auto;
  font-size: 0.75rem;
  font-family: var(--font-secundary);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  line-height: 1.4;
}

.reveal {
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

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

.carousel-wrapper {
  overflow: hidden;
  position: relatives
}

.carousel-track {
  display: flex;
  transition: transform var(--transition);
}

.carousel-track > section {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: 42px;
  height: 42px;
  line-height: 20px;
  display: none;
  border: none;
  background-color: transparent;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.carousel-wrapper:hover .carousel-prev,
.carousel-wrapper:hover .carousel-next {
  display: block;
}

.carousel-prev {
  left: 10px;
  background-image: url(images/prev.png);
}

.carousel-next {
  right: 10px;
  background-image: url(images/next.png);
}

.carousel-prev:hover,
.carousel-next:hover {
  filter: brightness(80%);
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 8px;
}

.carousel-dot {
  width: 64px;
  height: 8px;
  background-color: #dddddd;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--color-green);
}

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

  .reveal {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  :root {
    --container-width: 1000px;
  }

  .feature-block__content,
  .protein-choice {
    padding-inline: 58px;
  }

  .protein-choice__items {
    gap: 40px;
  }

  .mini-placeholder {
    width: 160px;
  }

  .app-strip__inner {
    gap: 42px;
  }
}

@media (max-width: 920px) {
  .hero-visual {
    min-height: 440px;
    height: 62vw;
  }

  .hero-visual .burger {
    width: auto;
  }

  .intro {
    min-height: auto;
    padding: 88px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .benefits__background {
    height: 42%;
  }

  .benefit-card p {
    max-width: none;
  }

  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
  }

  .feature-block--reverse .media-placeholder {
    order: 2;
  }

  .feature-block--reverse .feature-block__content {
    order: 1;
  }

  .feature-block__content,
  .media-placeholder--feature {
    min-height: 320px;
  }

  .protein-choice {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .protein-choice__items {
    justify-content: space-between;
  }

  .app-strip__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 34px 0;
  }

  .app-strip__phone {
    display: none;
  }

  .community {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container-width));
  }

  .carousel-prev,
  .carousel-next,
  .carousel-wrapper:hover .carousel-prev,
  .carousel-wrapper:hover .carousel-next {
    display: none!important;
  }


  .app-strip__inner {
    gap: 24px;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.82rem;
  }

  .hero-visual {
    min-height: 360px;
    height: 72vw;
  }

  .hero-visual .burger {
    width: 65%;
  }

  .logo {
    position: relative;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
    height: 20%;
  }

  .logo img {
    margin-left: auto;
    margin-right: auto;
    /*height: 20%;*/
  }

  .intro__copy {
    gap: 18px;
  }

  .benefits {
    padding-top: 56px;
  }

  .benefit-card__body {
    padding: 26px 24px 28px;
  }

  .media-placeholder--card {
    height: 230px;
  }

  .feature-block__content {
    padding: 52px 28px;
  }

  .feature-block__content,
  .media-placeholder--feature {
    min-height: 320px;
  }

  .feature-block__content p,
  .protein-choice p {
    max-width: none;
  }

  .protein-choice {
    padding: 48px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .protein-choice__items,
  .app-strip__icons {
    gap: 18px;
    width: 100%;
  }

  .mini-placeholder,
  .app-strip__icons span {
    flex: 1;
    min-width: 0;
  }

  .community {
    padding: 62px 0;
  }

  .community-card .button {
    width: auto;
  }

  .site-footer {
    padding: 36px 0 30px;
  }

  .app-strip::before {
    display: none;
  }

  .carousel-track .feature-block__content:first-child,
  .carousel-track .feature-block__content:last-child {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .carousel-track .media-placeholder:first-child,
  .carousel-track .media-placeholder:last-child {
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

}