html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.home-cat-link-img {
  object-fit: cover;
  width: 100px;
  height: 100px;
}
.carousel-container {
  background: #fff;
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.12),
    0 1.5px 4.5px rgba(0, 0, 0, 0.07);
  width: 100%;
}
.carousel-title {
  color: #4f46e5;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.carousel-inner {
  border-radius: 0 0 1.5rem 1.5rem;
  overflow: hidden;
}
.carousel-item img {
  width: 100%;
  object-fit: cover;
  height: 340px;
  background: #eef2ff;
  transition: filter 0.4s;
}
.carousel-item.active img,
.carousel-item-next img,
.carousel-item-prev img {
  filter: brightness(0.97) saturate(1.2);
}
.carousel-caption {
  background: #ffffff5e;
  border-radius: 0.7rem;
  padding: 1rem 1.3rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.8rem;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
  backdrop-filter: blur(2px);
}

/* ===== CAROUSEL ===== */
.carousel-hero {
  overflow: hidden;
}
.carousel-hero .carousel-item {
  /*   height: 420px;
 */
  background-size: cover;
  background-position: center;
  position: relative;
}
.carousel-hero .carousel-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 28, 47, 0.75) 0%, rgba(10, 28, 47, 0.2) 100%);
}
.carousel-hero .carousel-item .carousel-content {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  color: white;
  z-index: 2;
}
.carousel-hero .carousel-indicators .active {
  background: var(--red-doby);
  border-color: var(--red-doby);
}

.carousel-hero .carousel-item .carousel-content h2 {
  font-weight: 800;
  font-size: 2.4rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.3rem;
  color: white !important;
}
.carousel-hero .carousel-item .carousel-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 500px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}
.carousel-hero .carousel-item .carousel-content .btn {
  border-radius: 2rem;
  padding: 0.5rem 1.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.carousel-hero .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  margin: 0 5px;
  border: var(--bs-border-width) var(--bs-border-style) var(--red-doby) !important;
}

.carousel-hero .carousel-control-prev,
.carousel-hero .carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.carousel-hero .carousel-control-prev {
  left: 1.5rem;
}
.carousel-hero .carousel-control-next {
  right: 1.5rem;
}
.carousel-item {
  aspect-ratio: 5430/1512 !important;
}
@media (max-width: 1024px) {
  .carousel-item-background-size-contain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    opacity: 0.8;
  }
  .carousel-item-background-size-contain {
    background-size: contain, cover !important;
    background-repeat: no-repeat;
    background-position: center;

    /* background-color: black; */
    background-blend-mode: normal, multiply;
    /* background-color: rgba(0, 0, 0, 0.3); */
  }
}
@media (max-width: 768px) {
  .carousel-hero .carousel-item {
    height: 300px;
  }

  .carousel-hero .carousel-item .carousel-content {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }
  .carousel-hero .carousel-item .carousel-content h2 {
    font-size: 1.5rem;
  }
  .carousel-hero .carousel-item .carousel-content p {
    font-size: 0.85rem;
  }
  .carousel-hero .carousel-control-prev,
  .carousel-hero .carousel-control-next {
    width: 2.5rem;
    height: 2.5rem;
  }
  .carousel-hero .carousel-control-prev {
    left: 0.5rem;
  }
  .carousel-hero .carousel-control-next {
    right: 0.5rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .banner-promo {
    padding: 0.5rem !important;
  }
  .banner-promo h3 {
    font-size: 1.3rem;
  }
  .footer {
    padding: 2rem 0 1rem;
  }
}
@media (max-width: 576px) {
  .produto-card .img-produto {
    height: 100px;
    font-size: 2.2rem;
  }
}
@media (max-width: 600px) {
  /*   .carousel-container {
        padding: 0.8rem 0.2rem;
        max-width: 98vw;
      } */
  .carousel-title {
    font-size: 1.2rem;
  }
  .carousel-item img {
    height: 160px;
  }
  .carousel-caption {
    font-size: 0.7rem;
    padding: 0.6rem 0.7rem;
    bottom: 0.5rem !important;
  }
  .carousel-caption h5 {
    font-size: 0.8rem;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
    height: 38px;
  }
  .carousel-control-prev svg,
  .carousel-control-next svg {
    width: 18px;
    height: 18px;
  }
}

/* ========== ESTILOS MODERNOS ========== */

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: #fbbf24;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-primary,
.btn-hero-secondary-border {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary {
  background: white;
  color: var(--primary);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary-border {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-hero-secondary-border:hover {
  background: white;
  color: var(--primary);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image {
  position: relative;
}

.image-floating {
  position: relative;
}

.floating-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating-card {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

.card-1 {
  top: 20px;
  left: -30px;
  color: var(--success);
}

.card-2 {
  bottom: 40px;
  right: -30px;
  color: var(--primary);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ===== BANNER PROMOCIONAL ===== */
.promo-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.promo-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px;
  color: white;
}

.promo-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.promo-tag {
  display: inline-block;
  background: var(--warning);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.promo-icon i {
  font-size: 120px;
  opacity: 0.8;
}

/* ===== VANTAGENS ===== */
.advantages-section {
  padding: 80px 0;
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-card {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.advantage-icon i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.advantage-card h3 {
  margin-bottom: 12px;
}

/* ===== MAIS VENDIDOS ===== */
.bestsellers-section {
  padding: 80px 0;
  background: #f8fafc;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== RESPONSIVO ===== */

.category-card {
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  width: fit-content;
  max-width: fit-content;
  padding-inline: 15px;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-image {
  /*   margin: 0 auto 15px;
 */ /*   background-color: #fff;
 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  /*   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 */
  justify-content: center;
  transform: rotate(-45deg);
}

.radius-soft {
  --radius: 8px;
}
.category-card__thumb {
  width: 130px !important;
  height: 130px !important;

  /* --size: 130px; */
  --radius: 20%;
  width: var(--size);
  height: var(--size);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
  display: flex;
  /*   align-items: center;
 */
  justify-content: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.category-card-root {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 30px 0;
}
.category-card:hover .category-card__thumb {
  transform: rotate(45deg) scale(1.1); /* 👈 as duas juntas */
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
}
.category-image i {
  font-size: 48px;
  color: white;
}
.category-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.categories-grid {
  overflow-x: auto !important;
  /*   padding-top: 20px !important;
 */ /*  scrollbar-width: none !important;
  scroll-behavior: smooth; */
  justify-content: space-around;
}

/*  */
.about-section {
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 56px 0 64px;
  background: var(--dark);
  border-radius: 32px;
  /* padding: 0 0 0 48px; */
  overflow: hidden;
  /*   border: 1px solid #2a3036;
 */
}

.about-text,
.home-hero {
  padding: 2rem !important;
}
.about-section .about-text h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}
.about-section .about-text p {
  color: #b0bcc8;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.hero-lonk-about {
  color: var(--red-doby);
  font-weight: 600;
  border-bottom: 2px solid var(--red-doby);
  padding-bottom: 2px;
}
.about-section .about-image {
  height: 100%;
  position: absolute;
}
.about-section .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero {
  margin: 32px 0 56px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  background: #14181c;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: brightness(0.7) saturate(1.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
}
.hero-content .tag {
  display: inline-block;
  background: #00d4ff22;
  color: var(--red-doby);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 40px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border: 1px solid #00d4ff44;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  color: white;
}
.hero-text {
  font-size: 18px;
  color: #b0bcc8;
  margin-bottom: 28px;
}

/* ===== BANNER ===== */
.banner-promo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  padding: 1rem;
  color: white !important;
}
.banner-promo h3 {
  font-weight: 700;
  color: white !important;
}
.banner-promo .btn-outline-light {
  border-radius: 2rem;
  padding: 0.4rem 2rem;
  font-weight: 600;
}
/* ===== CAROUSEL ===== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .promo-content {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section-header {
    flex-direction: column;
    gap: 20px;
  }
  .category-card__thumb {
    width: 80px !important;
    height: 80px !important;
  }
}

/* ================================================================
   SECTION-HEADER H2 — responsivo
   Base: 36px / 800 / gradiente
   Escala: 36 → 30 → 26 → 22 → 20
   ================================================================ */

/* tablets grandes / notebook pequeno */
@media (max-width: 1024px) {
  .section-header h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }
}

/* tablets */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.2;
  }
}

/* mobile landscape / phablets */
@media (max-width: 576px) {
  .section-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.25;
  }
}

/* mobile retrato pequeno */
@media (max-width: 400px) {
  .section-header h2 {
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }
}

/* telas muito estreitas (iPhone SE e similares) */
@media (max-width: 340px) {
  .section-header h2 {
    font-size: 18px;
  }
}
