/* buttons */
.arrow img {
  width: 60px;
  height: 30px;
  object-fit: contain;
  margin-left: 0.5rem;
  display: flex;
}

.btn--filled-home {
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  border-radius: 999px;
  color: var(--primary-color);
  padding: 0.5rem 0.825rem 0.5rem 0.825rem;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}

.btn--filled-home:hover {
  transform: scale(1.05);
}

#btn-pdv {
  border-color: white;
  background-color: #8f97e2;
  color: var(--white-color);
}

#btn-reseller {
  border-color: white;
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ─────────────────────────────────────────────────────────────
   SEÇÃO 1 — CARROSSEL HERO
───────────────────────────────────────────────────────────── */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark-color);
  /* Altura: 90 vh no desktop, mas nunca menor que 420px */
  height: clamp(420px, 90vh, 820px);
}

/* ── Track ── */
.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Slides ── */
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.carousel__slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Imagem de fundo ── */
.carousel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Overlay escuro gradiente ── */
.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(160, 158, 216, 0.55) 0%,
    rgba(160, 158, 216, 0.15) 60%,
    transparent 100%
  );
}

/* ── Setas ── */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
  color: var(--white-color);
}

.carousel__arrow:hover {
  background: rgba(255,255,255,0.3);
  border-color: var(--white-color);
}

.carousel__arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--white-color);
}

.carousel__arrow--prev { left: clamp(0.75rem, 3vw, 2.5rem); }
.carousel__arrow--next { right: clamp(0.75rem, 3vw, 2.5rem); }

/* ── Dots ── */
.carousel__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.carousel__dot--active {
  background: var(--white-color);
  transform: scale(1.35);
}

/* ─────────────────────────────────────────────────────────────
   SEÇÃO 2 — LINHAS DE PRODUTO
───────────────────────────────────────────────────────────── */
.product-lines {
  background: var(--white-color);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.product-lines__inner {
  text-align: center;
}

.product-lines__title {
  font-size: 3rem;
  font-weight: var(--fw-regular);
  color: var(--dark-color);
  line-height: 1.35;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.product-lines__grid {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}

/* ── Card de linha ── */
.product-line-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.product-line-card__circle {
  width: clamp(160px, 20vw, 230px);
  height: clamp(160px, 20vw, 230px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-text);
  border: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.product-line-card:hover .product-line-card__circle {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(160, 158, 216, 0.3);
}

.product-line-card__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.product-line-card:hover .product-line-card__circle img {
  transform: scale(1.06);
}

.product-line-card__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  border-radius: 999px;
  padding: 0.3rem 1.25rem;
  transition: background 0.2s, color 0.2s;
}

.product-line-card:hover .product-line-card__label {
  background: var(--primary-color);
  color: var(--white-color);
}

/* ─────────────────────────────────────────────────────────────
   SEÇÃO 3 — PONTO DE VENDA  (background image, texto esquerda)
───────────────────────────────────────────────────────────── */
.pdv-banner {
  position: relative;
  width: 100%;
  height: clamp(340px, 45vw, 520px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pdv-banner__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdv-banner__overlay {
  position: absolute;
  inset: 0;
  /* Gradiente da esquerda → transparente: texto legível à esquerda */
  background: linear-gradient(
    to right,
    rgba(160, 158, 216, 0.72) 0%,
    rgba(160, 158, 216, 0.4) 45%,
    transparent 75%
  );
}

.pdv-banner__content {
  position: relative;
  z-index: 2;
}

.pdv-banner__title {
  font-size: 3rem;
  font-weight: var(--fw-regular);
  color: var(--white-color);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

.pdv-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid var(--white-color);
  border-radius: 999px;
  color: var(--white-color);
  font-family: var(--font-base);
  font-size: 0.875rem;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}

.pdv-banner__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.pdv-banner__btn:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

/* ─────────────────────────────────────────────────────────────
   SEÇÃO 4 — CRESÇA COM A VÒLIA  (mosaico esquerda + texto direita)
───────────────────────────────────────────────────────────── */
.grow-section {
  display: grid;
  grid-template-columns: 1.6fr 1fr;   /* imagem ocupa mais */
  min-height: clamp(380px, 50vw, 560px);
  overflow: hidden;
  background: var(--white-color);
  max-height: 480px;
}

/* ── Coluna imagem (mosaico de diamantes) ── */
.grow-section__image-col {
  position: relative;
  overflow: hidden;
}

.grow-mosaic img {
  height: 800px;
  object-fit: contain;
}

/* ── Coluna texto ── */
.grow-section__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--white-color);
  height: 480px;
}

.grow-section__title {
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: var(--dark-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.grow-section__desc {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.grow-section__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid var(--primary-color);
  border-radius: 999px;
  color: var(--primary-color);
  font-family: var(--font-base);
  font-size: 0.875rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}

.grow-section__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.grow-section__btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* ─────────────────────────────────────────────────────────────
   SEÇÃO 5 — QUERO REVENDER  (background image, texto esquerda)
───────────────────────────────────────────────────────────── */
.reseller-banner {
  position: relative;
  width: 100%;
  height: clamp(360px, 48vw, 540px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.reseller-banner__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.reseller-banner__content {
  position: relative;
  z-index: 2;
}

.reseller-banner__title {
  font-size: 3rem;
  font-weight: var(--fw-regular);
  color: var(--white-color);
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.reseller-banner__desc {
  font-size: 1.2rem;
  color: var(--white-color);
  opacity: 0.9;
  line-height: 1.2;
  margin-bottom: 1.75rem;
}

.reseller-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid var(--white-color);
  border-radius: 999px;
  color: var(--white-color);
  font-family: var(--font-base);
  font-size: 0.875rem;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}

.reseller-banner__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.reseller-banner__btn:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

/* ─────────────────────────────────────────────────────────────
   SEÇÃO 6 — PATROCÍNIO DE CURSOS  (imagem esquerda + texto direita)
   Colada ao footer, sem padding-bottom extra
───────────────────────────────────────────────────────────── */
.sponsorship {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  min-height: clamp(320px, 42vw, 480px);
  background: var(--white-color);
  overflow: hidden;
}

/* ── Imagem do diretor ── */
.sponsorship__image-col {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.sponsorship__img {
  width: auto;
  height: 480px;
  object-fit: contain;
  object-position: center top;
}

/* ── Texto ── */
.sponsorship__text-col {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  /* Espaçamento menor em relação ao container conforme instrução */
  padding-left: clamp(2rem, 4vw, 4rem);
}

.sponsorship__title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: var(--fw-regular);
  color: var(--dark-color);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.sponsorship__desc {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.sponsorship__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid var(--primary-color);
  border-radius: 999px;
  color: var(--primary-color);
  font-family: var(--font-base);
  font-size: 0.875rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}

.sponsorship__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.sponsorship__btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* ─────────────────────────────────────────────────────────────
   TABLET  ≤ 900px
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .carousel {
    height: clamp(360px, 60vh, 520px);
  }
 
  .product-lines__grid {
    gap: 1.25rem;
  }
 
  /* Refatorado para manter lado a lado */
  .grow-section {
    grid-template-columns: 1fr 1fr;
    min-height: unset;
  }
 
  .grow-section__text-col {
    height: auto;
    padding: 2.5rem 1.5rem;
  }
 
  .grow-section__image-col {
    height: auto;
    display: flex;
    align-items: center;
  }

  .grow-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
 
  /* Refatorado para manter lado a lado */
  .sponsorship {
    grid-template-columns: 1fr 1fr;
    min-height: unset;
  }
 
  .sponsorship__text-col {
    width: 100%;
    padding: 2.5rem 1.5rem;
    align-items: flex-start;
  }
 
  .sponsorship__image-col {
    height: auto;
    display: flex;
    align-items: center;
  }
 
  .sponsorship__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
 
/* ─────────────────────────────────────────────────────────────
   MOBILE  ≤ 600px
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
 
  /* ── Tipografia global (Mantida Intacta) ───────────────── */
  h1, h2, h3, h4 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
 
  p, span, a, li {
    font-size: 0.75rem !important;
    line-height: 1.6;
  }
 
  /* ── Carrossel (Mantido Intacto) ───────────────────────── */
  .carousel {
    height: auto;
  }
 
  .carousel__bg {
    position: relative;
    inset: unset;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
 
  .carousel__slide {
    position: relative;
    inset: unset;
    opacity: 0;
    display: none;
    pointer-events: none;
  }
 
  .carousel__slide--active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
 
  .carousel__track {
    position: relative;
    height: auto;
  }
 
  .carousel__arrow {
    width: 32px;
    height: 32px;
    top: 40%;
  }
 
  .carousel__arrow svg {
    width: 13px;
    height: 13px;
  }
 
  .carousel__arrow--prev { display: none; }
  .carousel__arrow--next { display: none; }
 
  /* ── Seção 2 — Linhas de produto (Mantida Intacta) ────── */
  .product-lines {
    padding-block: 0.75rem;
  }
 
  .product-line-card__circle {
    width: 80px;
    height: 80px;
  }

  .product-line-card__label {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem !important;
  }
 
  /* ── Seção 3 — PDV Banner (Lado a Lado + Bg Desktop) ──── */
  .pdv-banner {
    /* Mantém imagem como background, apenas reduz altura */
    height: clamp(220px, 45vw, 320px);
  }

  .pdv-banner__title {
    width: 75%;
  }

  .pdv-banner__bg {
    object-position: 80% center; 
  }

  .reseller-banner__bg {
    object-position: 60% center; 
  }
 
  /* ── Seção 4 — Cresça com a Vòlia (Lado a Lado) ──────── */
  .grow-section {
    grid-template-columns: 1fr 1fr;
  }
 
  .grow-section__text-col {
    padding: 1.5rem 1rem;
  }
 
  /* ── Seção 5 — Quero Revender (Lado a Lado + Bg Desktop) ── */
  .reseller-banner {
    /* Mantém imagem como background, apenas reduz altura */
    height: clamp(220px, 45vw, 320px);
  }

  .reseller-banner__desc {
    width: 50%;
  }
 
  /* ── Seção 6 — Patrocínio (Lado a Lado) ──────────────── */
  .sponsorship {
    grid-template-columns: 1fr 1fr;
  }
 
  .sponsorship__text-col {
    padding: 1.5rem 1rem;
    align-items: flex-start;
  }
 
  /* ── Botões btn--filled (Mantido Intacto) ──────────────── */
  .btn--filled-home {
    margin: 0 !important;
    font-size: 0.5rem;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    width: fit-content !important;
  }

  #btn-pdv {
    font-size: 0.5rem !important;
  }

  #btn-grow {
    font-size: 0.5rem !important;
  }

  #btn-sponsorship {
    font-size: 0.5rem !important;
  }

  #btn-reseller {
    font-size: 0.5rem !important;
  }
 
  .arrow img {
    width: 34px;
    height: 18px;
    margin-left: 0.75rem;
  }
}
 
/* ─────────────────────────────────────────────────────────────
   MOBILE PEQUENO  ≤ 400px
───────────────────────────────────────────────────────────── */
@media (max-width: 400px) {
 
  /* (Mantido Intacto) */
  h1, h2, h3, h4 {
    font-size: 1.25rem !important;
  }
 
  .btn--filled-home {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem 0.45rem 1rem;
  }
 
  .arrow img {
    width: 36px;
    height: 18px;
  }
 
  .product-line-card__circle {
    width: 100px;
    height: 100px;
  }
  
  /* Ajuste de espaçamento para as colunas lado a lado não ficarem muito apertadas */
  .grow-section__text-col,
  .sponsorship__text-col {
    padding: 1rem 0.5rem;
  }
}