html {
  font-size: 20px;
  text-transform: lowercase;
  scroll-behavior: smooth;
}

body {
  color: var(--dark-green);
  background: var(--white);
  font-family: "Albert Sans";
  margin: 0;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: unset;
  transition: ease .2s;
}

img {
  display: block;
  width: fit-content;
  max-width: 100%;
  height: auto;
}

/*====================================================================================================
ROOT
====================================================================================================*/
:root {
  /*---------- colors ----------*/
  --white: #ffffff;
  --cubo: #bfe038;
  --dark-green: #0f3d34;
  --green: #14c24b;
  --pale-blue: #9fd3e0;
  --blue: #14adcc;
  --line: rgba(35 142 35 / 0.2);
  --clube01: #ff931e;
  --clube02: #ff7bac;

  /*---------- fonts ----------*/
  --h1: 4rem;
  --h2: 3rem;
  --h3: 2rem;
  --h4: 1.5rem;
  --p: 1rem;
  --small: 0.8rem;

  /*---------- weights ----------*/
  --strongest: 800;
  --strong: 600;
  --regular: 400;

  /*---------- gap ----------*/
  --section-gap: 6rem;
  --item-gap: 4rem;
  --thin-gap: 2rem;
  --span-gap: 1rem;
}

/*====================================================================================================
FONTS
====================================================================================================*/
@font-face {
  font-family: "Outfit";
  src: url("font/outfit.woff2") format("woff2");
}

@font-face {
  font-family: "Albert Sans";
  src: url("font/albert_sans.woff2") format("woff2");
}

@font-face {
  font-family: "Caprasimo";
  src: url("font/caprasimo.ttf") format("truetype");
}

b, strong {
  font-weight: 600;
}

h1 {
  font-family: "Outfit";
  font-size: var(--h1);
  font-weight: var(--strong);
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-family: "Outfit";
  font-size: var(--h2);
  font-weight: var(--strong);
  line-height: 1.2;
  margin: 0;
}

h3 {
  font-family: "Outfit";
  font-size: var(--h3);
  font-weight: var(--strong);
  line-height: 1.2;
  margin: 0;
}

h4 {
  font-family: "Outfit";
  font-size: var(--h4);
  font-weight: var(--strong);
  line-height: 1.2;
  margin: 0;
}

p {
  font-size: var(--p);
  font-weight: var(--regular);
  line-height: 1.5;
  margin: 0;
}

small {
  font-size: var(--small);
  font-weight: var(--regular);
  margin: 0;
}

/*====================================================================================================
BUTTONS
====================================================================================================*/
.button {
  font-family: "Outfit";
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: calc(var(--thin-gap) / 4);
  width: fit-content;
  font-size: calc(var(--small) / 1.25);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.strong-button-1 {
  color: var(--white);
  background: var(--dark-green);
  padding: calc(var(--thin-gap) / 3) calc(var(--thin-gap) / 2);
  outline: 2px solid var(--dark-green);
}

.strong-button-1:hover {
  color: var(--dark-green);
  background: var(--line);
}

.strong-button-2 {
  color: var(--dark-green);
  background: var(--cubo);
  padding: calc(var(--thin-gap) / 3) calc(var(--thin-gap) / 2);
  outline: 2px solid var(--cubo);
}

.strong-button-2:hover {
  color: var(--cubo);
  background: var(--line);
}

.alt-button {
  padding: calc(var(--thin-gap) / 5) 0;
  box-shadow: inset 0 -1px 0 var(--line);
}

.alt-button:hover {
  color: inherit;
  box-shadow: inset 0 -2px 0;
}

.menu-button {
  padding: calc(var(--thin-gap) / 5) 0;
  box-shadow: none;
}

.menu-button:hover {
  color: inherit;
  box-shadow: inset 0 -2px 0;
}

.icon-button-1 {
  color: var(--dark-green);
  padding: calc(var(--thin-gap) / 5);
  background: var(--line);
}

.icon-button-1:hover {
  color: var(--white);
  background: var(--dark-green);
}

.icon-button-2 {
  color: var(--white);
  padding: calc(var(--thin-gap) / 5);
  background: var(--line);
}

.icon-button-2:hover {
  color: var(--dark-green);
  background: var(--white);
}

/*====================================================================================================
BUILDING BLOCKS
====================================================================================================*/
section {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding: var(--section-gap) 0;
  position: relative;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
  width: 80vw;
  max-width: 1400px;
  margin: 0 auto;
}

.hor-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--item-gap);
  width: 100%;
}

.hor-item > * {
  flex: initial;
}

.ver-item {
  display: flex;
  flex-direction: column;
  gap: var(--item-gap);
  width: 100%;
}

.grid-item {
  display: grid;
  grid-gap: var(--thin-gap);
  width: 100%;
}

.hor-thin {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--thin-gap);
}

.ver-thin {
  display: flex;
  flex-direction: column;
  gap: var(--thin-gap);
}

.hor-span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--span-gap);
}

.hor-span > .hl {
  flex: 1;
}

.ver-span {
  display: flex;
  flex-direction: column;
  gap: var(--span-gap);
}

.img-item {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/*====================================================================================================
CUSTOM BLOCKS
====================================================================================================*/
#banner {
  padding: unset;
}

#destaques > .destaque-bubbles > a > .ver-thin {
  gap: calc(var(--thin-gap) / 2);
  align-items: center;
}

#destaques > .destaque-bubbles > a > .ver-thin > .destaque-bubble {
  transition: ease .2s;
}

#destaques > .destaque-bubbles > a:hover > .ver-thin > .destaque-bubble {
  transform: scale(1.02);
}

#destaques .destaque-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 100rem;
  aspect-ratio: 1 / 1;
}

.showcase .destaque-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 100rem;
  aspect-ratio: 1 / 1;
}
/*
.destaque-bubbles {
  justify-content: space-between;
}
*/
.showcase > .strong-button-1 {
  align-self: center;
}

.showcase #produtos {
  grid-template-columns: repeat(4, 1fr);
}

.showcase #produtos-destaque {
  grid-template-columns: repeat(3, 1fr);
}

.showcase > .grid-item > a > .ver-thin {
  gap: calc(var(--thin-gap) / 2);
}

.showcase > .grid-item > a > .ver-thin > .img-item {
  transition: ease .2s;
}

.showcase > .grid-item > a:hover > .ver-thin > .img-item {
  transform: scale(1.02);
}

.showcase .hor-thin span {
  display: flex;
  flex-direction: inherit;
  align-items: center;
  gap: calc(var(--thin-gap) / 5);
}

#about {
  color: var(--white);
  background: var(--dark-green);
}

#about .grid-item {
  grid-template-columns: repeat(5, 1fr);
}

#cta {
  background: var(--cubo);
}

#cta .container {
  width: 50vw;
}

#cta > .container > .ver-item {
  align-items: center;
  text-align: center;
}

.produto-container> .hor-item {
  align-items: flex-start;
}

.half-item {
  width: 60%;
}

#aviso {
  color: var(--dark-green);
  background: var(--cubo);
  padding: calc(var(--thin-gap) / 5) 0;
}

#aviso .container {
  text-align: center;
}

.produto-galeria {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
}

.img-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.img-slideshow-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.img-slideshow-item.active {
  opacity: 1;
  z-index: 1;
}

.img-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: flex-start;
}

.thumb {
  cursor: pointer;
  opacity: 0.5;
  width: 5rem;
  background-size: cover;
  background-position: center;
}

.thumb.active {
  opacity: 1;
  outline: 2px solid var(--dark-green);
}

/*====================================================================================================
BANNER
====================================================================================================*/
#banner {
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.img-banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}

.img-banner-item.active {
  opacity: 1;
  z-index: 2;
}

/*====================================================================================================
CUSTOM ITEMS
====================================================================================================*/
.text-desc {opacity: 0.5;}

.hor-img {aspect-ratio: 4 / 3;}
.ver-img {aspect-ratio: 3 / 4;}
.square-img {aspect-ratio: 1 / 1;}
.section-img {aspect-ratio: 16 / 10;}
.mobile-img {aspect-ratio: 10 / 16;}
.full-img {aspect-ratio: 3 / 1;}

.hl {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.hor-thin > .hl {
  flex: 1;
}

.vl {
  width: 1px;
  height: 100%;
  background: var(--line);
}

.top-divider {
  width: 100%;
  position: absolute;
  top: 0;
  user-select: none;
}

.bottom-divider {
  width: 100%;
  position: absolute;
  bottom: 0;
  user-select: none;
}

#line-color {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 5px;
}

.lc1 {background: var(--cubo); width: 50%; height: 5px;}
.lc2 {background: var(--dark-green); width: 40%; height: 5px;}
.lc3 {background: var(--green); width: 30%; height: 5px;}
.lc4 {background: var(--pale-blue); width: 20%; height: 5px;}
.lc5 {background: var(--blue); width: 10%; height: 5px;}

#icon {color: inherit;}
.smallest-icon {font-size: 1rem;}
.small-icon {font-size: 1.5rem;}
.medium-icon {font-size: 2rem;}

.social-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(var(--thin-gap) / 5);
}

/*====================================================================================================
FOOTER
====================================================================================================*/
footer {
  color: var(--white);
  background: var(--dark-green);
  padding: var(--thin-gap) 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
  width: 80vw;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-container .hor-item, .footer-container .hor-thin {
  align-items: flex-start;
}

.footer-container .alt-button {
  box-shadow: none;
}

.footer-container .alt-button:hover {
  box-shadow: inherit;
}

.footer-container .hor-thin span {
  display: flex;
  flex-direction: inherit;
  gap: calc(var(--thin-gap) / 5);
}

.pldc-copyright {
  width: 6rem;
}

/*====================================================================================================
HEADER
====================================================================================================*/
header {
  color: var(--dark-green);
  background: var(--white);
  -webkit-position: sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--item-gap);
  padding: calc(var(--thin-gap) / 2) 0;
  width: 80vw;
  max-width: 1400px;
  margin: 0 auto;
}

#menu-toggle {
  display: none;
}

.menu-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.menu-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: var(--thin-gap);
  flex-grow: 1;
  font-weight: 600;
}

.menu-links .small-icon {
  font-weight: normal;
}

.menu-links span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(var(--thin-gap) / 2);
}

.menu-links > span > .alt-button {
  box-shadow: none;
}

.menu-links > span > .alt-button:hover {
  box-shadow: inset 0 -2px 0;
}

/*====================================================================================================
CLUBE
====================================================================================================*/
#hero-clube {
  color: var(--white);
  background-color: var(--dark-green);
  background-image: url("clube/img/hero_background.svg");
  background-position: center;
  background-size: cover;
}

#hero-clube .container {
  width: 80%;
}

#hero-clube > .container > .ver-item {
  align-items: center;
  text-align: center;
}

#hero-clube > .container > .ver-item > .ver-thin {
  align-items: center;
}

#hero-clube img {
  width: 15rem;
}

.clube-h1, .clube-h2 {
  font-family: "Caprasimo";
  font-weight: var(--regular);
}

#about-clube {
  color: var(--white);
  background-color: var(--clube01);
  background-position: center;
  background-size: cover;
}

#about-clube .hor-item {
  align-items: flex-end;
}

.img-item video {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--small);
}

.clube-item {
  align-items: flex-start;
  color: var(--dark-green);
  background: var(--white);
  padding: var(--thin-gap);
  border-radius: var(--small);
}

.clube-item .ver-thin {
  width: -webkit-fill-available;
}

.clube-item .hor-span span {
  align-items: center;
}

.cta-item-01 {
  color: var(--dark-green);
  background: var(--white);
  padding: var(--item-gap);
  border-radius: var(--small);
}

#planos {
  color: var(--white);
  background-color: var(--cubo);
  background-image: url("clube/img/hero_background.svg");
  background-position: center;
  background-size: cover;
}

#planos > .container > .ver-item > .ver-span {
  align-items: center;
  text-align: center;
}

#planos > .container > .ver-item > .ver-thin {
  align-items: center;
}

.clube-item span {
  display: flex;
  flex-direction: inherit;
  gap: calc(var(--span-gap) / 2);
}

.clube-item .button {
  width: -webkit-fill-available;
}

.tabs-container {
  display: flex;
  justify-content: center;
}

.tabs {
  display: flex;
  background: var(--white);
  border-radius: calc(var(--small) / 2);
}

.tab-button {
  font-family: "Albert Sans";
  padding: 12px 24px;
  border: none;
  border-radius: calc(var(--small) / 2);
  background: transparent;
  cursor: pointer;
  font-size: var(--small);
  color: var(--dark-green);
  font-weight: var(--strong);
  transition: all 0.2s ease;
}

.tab-button.active {
  background: var(--dark-green);
  color: var(--white);
}

.tab-button:hover:not(.active) {
  color: #333;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
}

/*---------- FORMULARIO ----------*/

.form-contato {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: var(--thin-gap);
  margin: 0 auto;
}

.form-contato .ver-span {
  align-items: center;
}

.form-contato input {
  font-family: "Albert Sans";
  color: var(--dark-green);
  font-weight: var(--strong);
  text-transform: lowercase;
  width: -webkit-fill-available;
  padding: var(--span-gap);
  border: none;
  border-radius: calc(var(--small) / 2);
  font-size: 1rem;
}

.form-contato input:focus {
  font-weight: var(--strong);
  outline: 2px solid var(--dark-green);
}

.form-contato input::placeholder {
  color: var(--dark-green);
  font-weight: var(--regular);
}

.form-contato label {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.form-contato button {
  font-family: "Outfit";
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: calc(var(--thin-gap) / 4);
  width: fit-content;
  font-size: calc(var(--small) / 1.25);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--white);
  background: var(--dark-green);
  padding: calc(var(--thin-gap) / 3) calc(var(--thin-gap) / 2);
  outline: 2px solid var(--dark-green);
  border: none;
  cursor: pointer;
  transition: ease .2s;
}

.form-contato button:hover {
  color: var(--dark-green);
  background: var(--line);
}

@media (max-width: 600px) {
  .linha {
    flex-direction: column;
  }
  .linha input {
    margin-bottom: 15px;
  }
}


/*====================================================================================================
RESPONSIVE
====================================================================================================*/
@media (max-width: 1600px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 2000px) {
  html {
    font-size: 18px;
  }
}

@media (max-width: 800px) {
  :root {
    /*---------- fonts ----------*/
    --h1: 3rem;
    --h2: 2rem;
    --h3: 1.5rem;

    /*---------- gap ----------*/
    --section-gap: 4rem;
    --item-gap: 2rem;
    --thin-gap: 2rem;
    --span-gap: 1rem;
  }

  .container {
    width: 85vw;
  }

  .hor-item, .hor-thin, .hor-span {
    flex-direction: column;
  }

  #cta .hor-thin {
    flex-direction: column;
    align-items: flex-start;
  }

  /*-------------------- temporary page --------------------*/
  #temp-section .container {
    width: 90vw;
  }

  #temp-section .container .hor-thin img {
    width: 3rem;
  }

  #temp-section .container .hor-thin span {
    align-items: flex-start;
  }

  #temp-section .container .hor-thin span span {
    flex-direction: row;
  }

  #temp-section .container span span {
    flex-direction: row;
  }

  #temp-section .container .hor-thin span {
    flex-direction: column;
  }

  /*-------------------- custom blocks --------------------*/
  #destaques .destaque-bubbles {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
  }
  #destaques .destaque-bubble {
    width: 6rem;
    height: 6rem;
  }
  .destaque-bubbles {
    flex-direction: row;
    justify-content: flex-start;
  }
  .showcase #produtos, .showcase #produtos-destaque {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase .hor-thin {
    justify-content: space-between;
  }
  .showcase .hor-thin > .hl {
    display: unset;
  }
  .showcase .destaque-bubble {
    width: 3rem;
    height: 3rem;
  }

  #about .grid-item {
    grid-template-columns: repeat(3, 1fr);
  }

  #cta .container {
    width: 80vw;
  }

  #cta > .container > .ver-item {
    align-items: unset;
    text-align: unset;
  }

  .section-img {aspect-ratio: 4 / 3;}
  .mobile-img {aspect-ratio: 3 / 4;}
  .full-img {aspect-ratio: 3 / 2;}

  .hor-thin > .hl {
    display: none;
  }
  .top-divider, .bottom-divider {
    display: none;
  }

  .produto-galeria {
    flex-direction: column-reverse;
  }
  .img-thumbnails {
    flex-direction: row;
  }
  .footer-container .hor-item {
    flex-direction: column-reverse;
  }

  /*-------------------- clube --------------------*/
  #hero-clube .container {
    width: 85vw;
  }
  #hero-clube img {
    max-width: 60%;
  }
  .form-contato .ver-span, .form-contato .hor-span {
    width: -webkit-fill-available;
  }

  .clube-item {
    box-sizing: border-box;
  }

  .clube-item .hor-span {
    flex-direction: row;
  }

  /*-------------------- header --------------------*/
  .header-container {
    flex-direction: column;
    align-items: unset;
    gap: var(--thin-gap);
    width: 85vw;
  }
  #menu-toggle {
    display: unset;
    content: url('img/icon/menu_open.svg');
    cursor: pointer;
  }
  .menu-links {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--thin-gap);
    background: var(--white);
    position: absolute;
    top: calc(var(--thin-gap) + 1.6rem);
    left: 0;
    width: 100vw;
    height: calc(100dvh - calc(var(--thin-gap) + 1.6rem));
    padding: var(--thin-gap) 0;
    -webkit-animation: fade-in-top ease .2s;
  	animation: fade-in-top ease .2s;
    z-index: 2;
  }
  .menu-links span {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 85vw;
    margin: 0 auto;
  }
  .menu-links span > a {
    -webkit-animation: fade-in-top .6s;
  	animation: fade-in-top .6s;
  }
  .menu-links.active {
    display: flex;
    box-sizing: border-box;
    z-index: 2;
  }
  .menu-links.active span {
    display: flex;
  }
}
