/* ============================================================
   IMPORTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  /* Colors */
  --yellow:        #F5C518;
  --yellow-dark:   #D4A80E;
  --yellow-light:  #FDF4C7;
  --brown:         #5C2E00;
  --brown-light:   #8B4513;
  --white:         #FFFFFF;
  --off-white:     #FAFAF5;
  --gray-100:      #F3F4F6;
  --gray-300:      #D1D5DB;
  --gray-500:      #6B7280;
  --gray-800:      #1F2937;
  --black:         #111111;

  /* Typography */
  --font-body:    'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Spacing */
  --section-pad: 6rem 0;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 10px 15px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 25px rgba(0,0,0,.12), 0 20px 40px rgba(0,0,0,.08);

  /* Border radius */
  --radius-sm:  .6rem;
  --radius-md:  1.2rem;
  --radius-lg:  2rem;
  --radius-xl:  3rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--gray-800);
  background: var(--off-white);
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--yellow);
  color: var(--brown);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-eyebrow {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: .8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  color: var(--brown);
  line-height: 1.2;
}

.section-title--left {
  text-align: left;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1.4rem 3rem;
  border-radius: var(--radius-xl);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--brown);
  color: var(--yellow);
  border-color: var(--brown);
}

.btn--primary:hover {
  background: var(--brown-light);
  border-color: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5%;
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: padding .3s ease, box-shadow .3s ease;
}

.header.scrolled {
  padding: 1rem 5%;
  box-shadow: var(--shadow-md);
}

.logo img {
  width: 6.5rem;
  transition: transform .3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.nav-link {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brown);
  padding: .8rem 1.4rem;
  border-radius: var(--radius-xl);
  transition: all .2s ease;
}

.nav-link:hover {
  background: rgba(92, 46, 0, .1);
  color: var(--brown);
}

.nav-link--cta {
  background: var(--brown);
  color: var(--yellow) !important;
  margin-left: .8rem;
}

.nav-link--cta:hover {
  background: var(--brown-light);
}

/* Mobile menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  width: 3.8rem;
  height: 3.8rem;
  background: transparent;
  border: 2px solid var(--brown);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: .7rem;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all .3s ease;
  transform-origin: center;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HOME
   ============================================================ */
.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 12rem 8% 6rem;
  background: url('../images/hero.jpeg') no-repeat center center / cover;
  overflow: hidden;
}

.home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 46, 0, .85) 0%,
    rgba(92, 46, 0, .6) 50%,
    rgba(0, 0, 0, .4) 100%
  );
  z-index: 0;
}

.home__content,
.home__logo {
  position: relative;
  z-index: 1;
}

.home__content {
  flex: 1 1 50rem;
  max-width: 60rem;
}

.home__eyebrow {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.6rem;
  opacity: .9;
}

.home__title {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 2rem;
}

.home__title span {
  color: var(--yellow);
}

.home__subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.home__actions {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.home__logo {
  flex: 1 1 30rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__logo img {
  width: min(38rem, 100%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-1.5rem); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: var(--section-pad);
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 2.4rem;
}

.feature-card {
  padding: 3.2rem 2.4rem;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--yellow);
}

.feature-card__icon {
  width: 6.4rem;
  height: 6.4rem;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: transform .3s ease;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-card__icon i {
  font-size: 2.4rem;
  color: var(--brown);
}

.feature-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1.4rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  padding: var(--section-pad);
  background: var(--yellow-light);
}

.products__category {
  margin-bottom: 5rem;
}

.category-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 2px solid var(--yellow);
}

.category-label i {
  font-size: 2.4rem;
  color: var(--brown-light);
}

.category-label h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--brown);
}

/* Product cards */
.slide-container {
  width: 100%;
  position: relative;
  padding: 1rem 4rem 3rem;
  overflow: hidden;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card__img-wrap {
  width: 100%;
  height: 18rem;
  overflow: hidden;
  background: var(--gray-100);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.06);
}

.product-card__info {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.product-card__name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.4;
}


/* Swiper nav buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.6rem !important;
  background: var(--brown);
  padding: 1rem 1.4rem;
  border-radius: 50%;
  transition: background .2s ease;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  background: var(--brown-light);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-pad);
  background: var(--white);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 7rem;
}

.about__image-col {
  flex: 0 0 36rem;
  position: relative;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--yellow-light);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--yellow);
}

.about__image-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
}

.about__badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--brown);
  color: var(--yellow);
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 1rem;
}

.about__badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  margin-top: .3rem;
}

.about__text {
  flex: 1;
}

.about__text p {
  font-size: 1.6rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.about__text .btn {
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 6rem 0 0;
  color: var(--white);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__logo {
  width: 9rem;
  margin-bottom: 1.6rem;
}

.footer__brand p {
  font-size: 1.4rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 28rem;
}

.footer__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 2rem;
}

/* Payment */
.footer__payment-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--gray-300);
}

.payment-item i {
  font-size: 2rem;
  color: var(--yellow);
  width: 2rem;
}

.payment-item__pix {
  width: 2rem;
  height: auto;
  display: inline-block;
}

/* Contact */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--gray-300);
  transition: color .2s ease;
}

.contact-item:hover {
  color: var(--yellow);
}

.contact-item i {
  font-size: 2rem;
  color: var(--yellow);
  width: 2rem;
  flex-shrink: 0;
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 1.3rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__credit {
  color: var(--yellow);
  font-weight: 500;
  transition: opacity .2s ease;
}

.footer__credit:hover {
  opacity: .8;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2.4rem;
  right: 2.4rem;
  z-index: 999;
  width: 5.6rem;
  height: 5.6rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .5);
  transition: all .3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .6);
}

.whatsapp-float img {
  width: 3rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  html { font-size: 58%; }

  .home__title { font-size: 5rem; }

  .about__inner { gap: 4rem; }
  .about__image-col { flex: 0 0 28rem; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  html { font-size: 55%; }

  /* Header */
  .menu-btn { display: flex; }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yellow);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 2rem 2rem;
    gap: .4rem;
    border-top: 1px solid rgba(92,46,0,.15);
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path .35s ease;
    pointer-events: none;
  }

  .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: all;
  }

  .nav-link {
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--brown);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .nav-link--cta {
    margin-left: 0;
    border-left-color: var(--yellow);
  }

  /* Home */
  .home {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10rem 6% 6rem;
    text-align: center;
  }

  .home__logo {
    flex: 0 0 auto;
    order: -1;
  }

  .home__logo img { width: 18rem; }

  .home__content {
    flex: 0 0 auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home__title { font-size: 4.2rem; }
  .home__actions { justify-content: center; }

  /* About */
  .about__inner {
    flex-direction: column;
    gap: 5rem;
    text-align: center;
  }

  .about__image-col { flex: 0 0 auto; width: 28rem; margin: 0 auto; }
  .section-title--left { text-align: center; }
  .about__text .btn { margin: 1rem auto 0; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 3rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; gap: .6rem; }
}

@media (max-width: 480px) {
  html { font-size: 50%; }

  .home__logo img { width: 14rem; }
  .home__title { font-size: 3.6rem; }
  .home__subtitle { font-size: 1.6rem; }
  .home__actions { flex-direction: column; align-items: center; width: 100%; }
  .home__actions .btn { width: 100%; justify-content: center; }

  .section-title { font-size: 3rem; }

  .features__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of features grid */
.features__grid .feature-card:nth-child(2) { transition-delay: .1s; }
.features__grid .feature-card:nth-child(3) { transition-delay: .2s; }
.features__grid .feature-card:nth-child(4) { transition-delay: .3s; }

/* Nav link active state */
.nav-link.active {
  background: rgba(92,46,0,.12);
  color: var(--brown);
  font-weight: 600;
}
