@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
  font-family: 'Sheldon';
  src: url('fontes/Sheldon.woff2') format('woff2'),
    url('fontes/Sheldon.woff') format('woff'),
    url('fontes/Sheldon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --gole-green: #00B500;
  --gole-green-light: #00D200;
  --gole-red: #C91416;
  --gole-orange: #FFA300;
  --gole-white: #FFFFFF;
  --font-rubik: 'Rubik', sans-serif;
  --font-sheldon: 'Sheldon', sans-serif;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-rubik);
  color: var(--gole-white);
  background-color: var(--gole-red);
  overflow-x: hidden;
}

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

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

/* ── Header ── */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-col--left {
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.header-col--center {
  justify-content: center;
}

.header-col--right {
  justify-content: flex-end;
  gap: 0.75rem;
}

.header-logo img {
  filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, .4));
  height: auto;
}

.social-link {
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 0.8;
}

/* Hamburger */
.menu-container {
  padding: 20px 30px;
  background-color: var(--gole-green-light);
  border-radius: 10px;
  transition: 0.3s;
  width: 92px;
  height: 72px;
    position: fixed;
    z-index: 5;
    box-shadow: 0px 4px 4px rgba(0,0,0,.2);
}

.menu-container.is-open {
  width: 140px;
  height: 170px;
  border-radius: 15px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--gole-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  display: none;
}

.main-nav.is-open {
  display: block;
}

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
}

.main-nav__link {
  display: block;
  font-family: var(--font-rubik);
  font-size: 14px;
  color: var(--gole-white);
  letter-spacing: 0.05em;
  padding: 0.35rem 0;
  transition: opacity 0.2s;
}

.main-nav__link:hover {
  opacity: 0.8;
}

/* ── Banner ── */

.hero-banner {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-banner__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── A GOLÉ ── */

.section-a-gole {
  background-color: var(--gole-red);
  padding-bottom: 140px;
}

.a-gole__content p {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gole-white);
  margin-bottom: 1rem;
}

.a-gole__content p:last-of-type {
  margin-bottom: 2rem;
}

.btn-saiba-mais {
  display: inline-block;
  background-color: var(--gole-orange);
  color: var(--gole-white);
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 20px;
  padding: 0.75rem 2.5rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-saiba-mais:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--gole-white);
}

/* ── Produtos ── */

.section-produtos {
  background: url("./imagens/elemento.png") center bottom no-repeat var(--gole-green);
  padding: 140px 0;
}

.produtos__title {
  font-family: var(--font-sheldon);
  font-size: clamp(36px, 6vw, 60px);
  color: var(--gole-white);
  line-height: 1;
  margin-bottom: 1.5rem;
  transform: rotate(-15deg);
}

.folha {
  left: 100px;
  top: -50px;
}

.produtos__intro p {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gole-white);
  margin-bottom: 1rem;
}

.produtos__carousel-wrap {
  position: relative;

}

.products-swiper {
  width: 100%;
  padding: 1rem 0 2rem;
}

.products-swiper .swiper-slide {
  width: auto;
  height: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 260px;
  min-height: 570px;
  padding: 1.5rem 1rem 1.25rem;
  border-radius: 24px;
  background-color: transparent;
  transition: background-color 0.3s;
}

.swiper-slide-active .product-card {
  background-color: var(--gole-green-light);
}

.product-card__image {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1rem;
  height: 410px;
}

.product-card__image img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
}

.product-card__name {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 20px;
  color: var(--gole-white);
  text-align: center;
  line-height: 1.2;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 100px;
}

.swiper-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 0.5rem;
  bottom: 55px;
}

.products-swiper-prev,
.products-swiper-next {
  position: static;
  width: 40px;
  height: 40px;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.products-swiper-prev::after,
.products-swiper-next::after {
  font-size: 16px;
  font-weight: 700;
  color: var(--gole-green-light);
}

.products-swiper-prev:hover,
.products-swiper-next:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ── Rodapé ── */

.site-footer {
  background-color: var(--gole-red);
  padding: 2.5rem 0;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: 16px;
  color: var(--gole-white);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-contact__item:last-child {
  margin-bottom: 0;
}

.footer-contact__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.footer-social__title {
  font-family: var(--font-sheldon);
  font-size: clamp(36px, 6vw, 60px);
  color: var(--gole-white);
  line-height: 1;
  transform: rotate(-15deg);
}

.footer-social__icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social__icons a {
  transition: opacity 0.2s;
}

.footer-social__icons a:hover {
  opacity: 0.8;
}

#form-contato .produtos__title {
  top: -85px;
  left: 0;
  position: absolute;
}

.scroll-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: var(--gole-green-light);
  color: var(--gole-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  opacity: 0.9;
}

/* ── Responsivo ── */

@media (max-width: 991.98px) {
  .hero-banner {
    height: 400px;
    position: relative;
  }

  .hero-banner .hero-banner__img {
    height: 400px;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

  }

  .header-inner {
    grid-template-columns: 1fr 2fr 1fr;
  }

  .header-col--center {
    display: flex;
    justify-content: flex-end;
  }

  .section-a-gole,
  .section-produtos {
    padding: 0 0 100px;
  }

  .produtos__title {
    margin-bottom: 4rem;
  }

  .produtos__carousel-wrap {
    padding: 0 1rem;
  }

  /* .product-card {
    width: 140px;
    min-height: 280px;
  }

  .product-card__image img {
    max-height: 180px;
  } */


  .menu-container {
    padding: 10px 20px;
    width: 75px;
    height: 55px;
  }

  .menu-container.is-open {
    width: 130px;
    height: 170px;
  }

  .a-gole__image {
    text-align: center;
    margin-bottom: 40px;
  }

  .a-gole__image img {
    display: inline;
  }

  .swiper-wrapper {
    width: auto;
  }

  .folha {
    left: 75px;
    top: 35px;
  }
}

@media (max-width: 767.98px) {
  .header-inner {
    padding: 0 1rem;
  }

  .hero-banner {
    height: 270px;
  }

  .hero-banner .hero-banner__img {
    height: auto;
    max-width: none;
    object-fit: none;
  }

  .header-logo img {
    width: 70px;
  }

  .section-a-gole {
    padding: 2.5rem 0;
  }

  .a-gole__content {
    padding-top: 1rem;
  }

  .section-produtos {
    padding: 2.5rem 0 5.5rem;
  }

  /* .product-card {
    width: 120px;
    min-height: 240px;
    padding: 1rem 0.75rem;
  }

  .product-card__image img {
    max-height: 150px;
  } */

  .product-card__name {
    font-size: 16px;
  }

  .btn-saiba-mais {
    font-size: 16px;
    padding: 0.65rem 2rem;
  }

  .folha {
    left: 45px;
    top: 10px;
  }

  #form-contato .produtos__title {
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
    top: -55px;
  }
}

@media (max-width: 576px) {

  .header-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .header-col--center {
    position: relative;
  }

  .header-logo img {
    position: absolute;
    right: -40px;
    top: 0;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .section-a-gole .row {
    flex-direction: row;
  }

  .produtos__intro {
    padding-right: 1rem;
  }
}