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

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* PHD BioHub Brand Colors */
  --first-color: #CE7749; /* Terracota */
  --first-color-alt: #D98960; /* Terracota mais claro */
  --second-color: #2F3C45; /* Índigo */
  --third-color: #F9B116; /* Âmbar */
  --fourth-color: #567B60; /* Musgo */
  --fifth-color: #F4F1E9; /* Creme */
  
  /* Gradient */
  --gradient-color: linear-gradient(90deg, var(--fourth-color) 0%, var(--first-color) 100%);
  
  /* Text colors */
  --title-color: #2F3C45;
  --text-color: #3F4D53;
  --text-color-light: #5A6A71;
  --white-color: #FFFFFF;
  
  /* Background colors */
  --body-color: var(--fifth-color);
  --container-color: var(--white-color);
  --section-bg: #FAFAFA;
  
  /* Border colors */
  --border-color: #E5E5E5;
  --border-color-alt: #D1D1D1;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --title-font: 'Museo Sans', 'Poppins', sans-serif;

  --biggest-font-size: 2.75rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*========== Margins ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== Transitions ==========*/
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
}

.section {
  padding: 6rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-1);
}

.section__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  color: var(--text-color);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: var(--gradient-color);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  background-color: var(--fourth-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  text-align: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  background-color: var(--first-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(86, 123, 96, 0.3);
}

.button--primary {
  background: var(--gradient-color);
}

.button--primary:hover {
  background: linear-gradient(90deg, var(--fourth-color) 0%, var(--first-color-alt) 100%);
}

.button--ghost {
  background-color: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.button--ghost:hover {
  background-color: var(--first-color);
  color: var(--white-color);
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--fifth-color);
  backdrop-filter: blur(6px);
  z-index: var(--z-fixed);
  transition: var(--transition);
}

.header.scroll-header {
  background-color: var(--fifth-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 3rem;
  width: auto;
  max-width: 300px;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--second-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fourth-color), var(--first-color));
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
}

/*=============== HOME ===============*/
.home {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home__container {
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.home__data {
  text-align: left;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.1;
}

.home__description {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-2);
  line-height: 1.5;
}

.home__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home__img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.home__photo {
  width: 400px;
  max-width: 100%;
  border-radius: 0 0 0.75rem 0.75rem;
  object-fit: cover;
  filter: drop-shadow(0 18px 28px rgba(47, 60, 69, 0.25));
  z-index: 1;
  position: relative;
  aspect-ratio: 4 / 5;
}

.home__blob {
  width: 400px;
  height: 400px;
  background: var(--gradient-color);
  border-radius: 50% 40% 60% 30%;
  animation: blob 8s ease-in-out infinite;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.home__blob::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: inherit;
  border-radius: inherit;
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
  z-index: -1;
}

/*=============== ANIMATIONS ===============*/
@keyframes blob {
  0% {
    border-radius: 60% 40% 30% 70%;
  }
  25% {
    border-radius: 30% 60% 70% 40%;
  }
  50% {
    border-radius: 50% 60% 30% 60%;
  }
  75% {
    border-radius: 60% 30% 60% 40%;
  }
  100% {
    border-radius: 60% 40% 30% 70%;
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*=============== SCROLL ANIMATIONS ===============*/
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.animate-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.animate-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/*=============== ORGANIC ELEMENTS ===============*/
.organic-shape {
  position: absolute;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

.organic-shape-1 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--first-color), var(--third-color));
  border-radius: 60% 40% 30% 70%;
  animation: blob 15s ease-in-out infinite;
}

.organic-shape-2 {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--second-color), var(--fourth-color));
  border-radius: 30% 70% 60% 40%;
  animation: blob 20s ease-in-out infinite reverse;
}

.organic-shape-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--third-color), var(--first-color));
  border-radius: 50% 60% 30% 60%;
  animation: blob 12s ease-in-out infinite;
}

/*=============== FLOATING ELEMENTS ===============*/
.floating-element {
  animation: float 6s ease-in-out infinite;
}

.floating-element-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}

/*=============== MISSION ===============*/
.mission {
  background-color: var(--section-bg);
}

.mission__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: var(--mb-2);
}

.mission__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border-top: 4px solid var(--first-color);
  position: relative;
  overflow: hidden;
}

.mission__card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.mission__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mission__card:hover::after {
  animation: shimmer 1.5s ease-in-out;
}

.mission__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.mission__description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== CURADORIA ===============*/
.curadoria {
  background-color: var(--container-color);
}

.curadoria__data {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.curadoria__steps {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step__card {
  background-color: var(--section-bg);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-color);
}

.step__card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.step__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step__card:hover::after {
  animation: shimmer 1.5s ease-in-out;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.step__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.step__description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== MARCAS ===============*/
.marcas {
  background-color: var(--section-bg);
}

.marcas__content {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.marcas__data {
  text-align: left;
}

.benefits__list {
  margin: var(--mb-2) 0;
}

.benefit__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.benefit__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.benefit__description {
  color: var(--text-color);
  line-height: 1.6;
}

.marcas__img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.marcas__blob {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--fourth-color) 0%, var(--fourth-color) 100%);
  border-radius: 60% 40% 30% 70%;
  animation: blob 10s ease-in-out infinite;
  opacity: 0.8;
  position: relative;
}

.marcas__blob::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: inherit;
  border-radius: inherit;
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
  z-index: -1;
}

/*=============== VAREJO ===============*/
.varejo {
  background-color: var(--container-color);
}

.varejo__content {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.varejo__data {
  text-align: left;
}

.advantages__list {
  margin: var(--mb-2) 0;
}

.advantage__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.advantage__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--third-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.advantage__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.advantage__description {
  color: var(--text-color);
  line-height: 1.6;
}

.varejo__img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.varejo__blob {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--second-color) 0%, var(--first-color) 100%);
  border-radius: 30% 70% 60% 40%;
  animation: blob 12s ease-in-out infinite reverse;
  opacity: 0.8;
  position: relative;
}

.varejo__blob::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: inherit;
  border-radius: inherit;
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
  z-index: -1;
}

/*=============== REPRESENTADAS ===============*/
.representadas {
  background-color: var(--section-bg);
}

.representadas__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.representadas__container { position: relative; }

.brands__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: var(--mb-3);
}

.brand__card {
  background-color: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.brand__card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.brand__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.brand__card:hover::after {
  animation: shimmer 1.5s ease-in-out;
}

.brand__logo {
  padding: 2rem;
  background-color: var(--section-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.brand__img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.brand__content {
  padding: 2rem;
}

.brand__name {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.brand__description {
  color: var(--text-color);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.brand__desc--clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.brand__desc--expanded { -webkit-line-clamp: unset; overflow: visible; }

.brand__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--mb-1-5);
}

.brand__tags--clamp { max-height: 4.5rem; overflow: hidden; }
.brand__tags--expanded { max-height: none; }
.brand__more { color: var(--first-color); font-weight: var(--font-medium); background: transparent; border: 0; padding: 0; font-size: var(--smaller-font-size); margin-top: .25rem; }

.brand__tag {
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.brand__link {
  color: var(--first-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
}

.brand__link:hover {
  color: var(--first-color-alt);
  text-decoration: underline;
}

.representadas__cta {
  text-align: center;
}

/* Carousel controls for brands */
.brands__nav {
  display: none;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.brands__btn {
  background: var(--section-bg);
  color: var(--title-color);
  border: 1px solid var(--border-color, rgba(0,0,0,0.1));
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.brands__btn:hover {
  background: var(--container-color);
}

.brands__btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.brand--hidden {
  display: none !important;
}

/* Desktop: show carousel controls and limit to 3 columns */
@media screen and (min-width: 1024px) {
  .brands__nav { display: flex; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  #brands-prev, #brands-next { position: absolute; top: 50%; transform: translateY(-50%); }
  #brands-prev { left: -0.5rem; }
  #brands-next { right: -0.5rem; }
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 140px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: var(--z-fixed);
  font-size: 1.5rem;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

/*=============== SOBRE ===============*/
.sobre {
  background-color: var(--container-color);
}

.sobre__content {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sobre__data {
  text-align: left;
}

.sobre__description {
  color: var(--text-color);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
  text-align: left;
}

.sobre__stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--mb-2);
}

.stat__item {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--section-bg);
  border-radius: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat__item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.stat__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat__item:hover::after {
  animation: shimmer 1.5s ease-in-out;
}

.stat__number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--first-color);
  margin-bottom: var(--mb-0-5);
}

.stat__label {
  color: var(--text-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.sobre__img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre__blob {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--fourth-color) 0%, var(--fourth-color) 100%);
  border-radius: 40% 60% 50% 30%;
  animation: blob 14s ease-in-out infinite;
  opacity: 0.8;
  position: relative;
}

.sobre__blob::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: inherit;
  border-radius: inherit;
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
  z-index: -1;
}

/*=============== CONTATO ===============*/
.contato {
  background-color: var(--section-bg);
}

.contato__content {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contato__data {
  text-align: left;
}

.contato__info {
  margin-top: var(--mb-2);
}

.contato__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
}

.contato__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--first-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contato__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
  color: var(--title-color);
}

.contato__description {
  color: var(--text-color);
  font-weight: var(--font-medium);
}

/*=============== FORM ===============*/
.contato__form {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form__group {
  margin-bottom: var(--mb-1-5);
  position: relative;
}

.form__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
  pointer-events: none;
  background-color: var(--container-color);
  padding: 0 0.5rem;
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: var(--small-font-size);
  color: var(--first-color);
}

.form__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  background-color: var(--container-color);
  transition: var(--transition);
}

.form__input:focus {
  border-color: var(--first-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__button {
  width: 100%;
  margin-top: var(--mb-1);
}

/*=============== FOOTER (BÁSICO) ===============*/
.footer {
  background-color: rgba(47, 60, 69, 0.05);
  color: var(--text-color);
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.footer__content {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: var(--mb-1);
}

.footer__logo-img {
  height: 2.5rem;
  width: auto;
  max-width: 240px;
  filter: none;
}

.footer__description {
  margin: var(--mb-0-5) 0;
  color: var(--text-color);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: none;
  color: var(--text-color);
  border-radius: 0;
  font-size: 1.25rem;
  transition: color var(--transition);
  position: static;
  overflow: visible;
}

.footer__social-link:hover {
  color: var(--first-color);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__link {
  color: var(--text-color);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  margin-bottom: var(--mb-0-5);
}

.footer__contact-item i {
  font-size: 1rem;
  color: var(--text-color);
}

.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--mb-1);
  text-align: center;
}

.footer__copy {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--fourth-color);
  color: var(--white-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.scrollup:hover {
  background-color: var(--first-color);
  transform: translateY(-3px);
}

.scrollup.show-scroll {
  bottom: 3rem;
}

/*=============== ADDITIONAL UTILITY CLASSES ===============*/
.interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
  transform: scale(1.02);
}

.icon-hover {
  transition: all 0.3s ease;
}

.icon-hover:hover {
  transform: rotate(10deg) scale(1.1);
  color: var(--first-color);
}

.gradient-animation {
  background: linear-gradient(-45deg, var(--first-color), var(--second-color), var(--third-color), var(--fourth-color));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-color);
  transform-origin: left;
  transform: scaleX(0);
  z-index: var(--z-fixed);
  transition: transform 0.1s ease;
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white-color);
  animation: spin 1s ease-in-out infinite;
}

.parallax-element {
  transform: translateZ(0);
  will-change: transform;
}

/*=============== RESPONSIVE ===============*/
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .home__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .home__data {
    text-align: center;
  }

  .home__blob {
    width: 300px;
    height: 300px;
  }

  .home__img {
    min-height: 340px;
  }

  .mission__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .curadoria__steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .marcas__content,
  .varejo__content,
  .sobre__content,
  .contato__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .marcas__data,
  .varejo__data,
  .sobre__data,
  .contato__data {
    text-align: center;
  }

  .sobre__description {
    text-align: center;
  }

  .marcas__blob,
  .varejo__blob,
  .sobre__blob {
    width: 280px;
    height: 280px;
  }

  .sobre__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .brands__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--body-color);
    padding: 6rem 2rem 2rem;
    transition: var(--transition);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
  }

  .nav__link {
    font-size: var(--h3-font-size);
  }

  .nav__close,
  .nav__toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    overflow: hidden;
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .home__buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 300px;
  }

  .home__photo {
    width: 75%;
  }

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

  .sobre__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .organic-shape-1,
  .organic-shape-2,
  .organic-shape-3 {
    display: none;
  }

  .floating-element,
  .floating-element-delayed {
    animation: none;
  }

  .animate-on-scroll,
  .animate-left,
  .animate-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media screen and (max-width: 576px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__blob {
    width: 250px;
    height: 250px;
  }

  .home__img {
    min-height: 280px;
  }

  .mission__card {
    padding: 1.5rem;
  }

  .step__card {
    padding: 1.5rem;
  }

  .marcas__blob,
  .varejo__blob,
  .sobre__blob {
    width: 220px;
    height: 220px;
  }

  .brand__logo {
    height: 150px;
  }

  .brand__content {
    padding: 1.5rem;
  }

  .contato__form {
    padding: 1.5rem;
  }

  .stat__item {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
