.hero {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--color-bg-dark);
  color: var(--color-text);
  padding: clamp(1.5rem, 2vw, 4rem) clamp(1rem, 4vw, 4rem);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: auto;
  font-weight: 700;
  text-align: center;
}

.hero .subtitle {
  color: var(--color-primary);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  margin: auto;
  text-align: center;
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  max-width: 400px;
  margin: auto;
  color: var(--color-text);
  text-align: center;
}

.hero-container-imagem {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: clamp(15px, 2vw, 20px);
  margin-left: auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 1vw, 1rem);
  flex-wrap: wrap;
  margin: auto;
}

.hero .btn {
  background: var(--color-primary-dark);
  color: #fff;
  margin: 1rem 0 -1rem 0;
  padding: clamp(0.4rem, 0.8vw, 0.5rem) clamp(1.5rem, 2vw, 2.5rem);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  will-change: transform, background-color;
}

.hero .btn:hover {
  background: var(--color-primary);
  transform: scale(0.97);
  color: var(--color-text);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .btn-sobre {
  background: var(--color-gray-light);
  color: var(--color-bg-dark);
  width: 100%;
  text-align: center;
}

/* ===========================
   📌 BREAKPOINTS - RESPONSIVIDADE
=========================== */

@media (min-width: 768px) {
  body {
    font-size: 1.05rem;
    padding: 2rem 3rem;
  }

  .hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .hero h1 {
    text-align: left;
    font-size: 1.94rem;
  }

  .hero .subtitle {
    text-align: left;
  }

  .hero p {
    text-align: left;
  }

  .hero-buttons {
    justify-content: left;
  }

  .hero .btn {
    padding: clamp(0.6rem, 1.2vw, 0.75rem) clamp(3.25rem, 4vw, 4.75rem);
    font-size: 1.1em;
    width: 100%;
    text-align: center;
  }

  .hero-container-imagem {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .hero .subtitle {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
  }

  .hero p {
    max-width: 600px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
  }

  .hero .btn {
    padding: clamp(0.4rem, 0.8vw, 0.5rem) clamp(1.8rem, 2.2vw, 2.7rem);
    width: 60%;
  }

  .hero-container-imagem {
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .hero-buttons {
    flex-wrap: nowrap;
  }

  .hero .btn {
    width: fit-content;
  }
}

/* ===========================
   📌 BREAKPOINT: ≥1440px (Desktops grandes)
=========================== */