/* =========================================================
   ATACADO / PARCERIA COM LOJISTAS
   Página específica — Ralifla Semijoias

   Usa as variáveis e componentes do style.css principal:
   --bg, --surface, --soft, --soft2, --ink, --muted,
   --brand, --brand-dark, --gold, --line, --shadow,
   --radius e --container.
========================================================= */

.atacado-page {
  overflow: hidden;
  background: var(--bg);
}

.atacado-page strong {
  color: var(--brand);
}

.atacado-page .eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   HERO
========================================================= */

.atacado-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(163, 91, 99, 0.12),
      transparent 30%
    ),
    linear-gradient(115deg, #f8ebe6 0%, #fffdfa 54%, #f0dfda 100%);
}

.atacado-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  bottom: -270px;
  border-radius: 50%;
  background: rgba(163, 91, 99, 0.08);
}

.atacado-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 55px;
  align-items: center;
}

.atacado-hero-copy h1 {
  max-width: 680px;
  margin: 15px 0 22px;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.atacado-hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--brand);
}

.atacado-hero-copy > p {
  max-width: 590px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.atacado-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.atacado-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 25px;
  margin-top: 30px;
}

.atacado-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.atacado-hero-points i {
  color: var(--brand);
  font-size: 17px;
}

.atacado-hero-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

/* =========================================================
   SEÇÕES
========================================================= */

.atacado-section {
  padding: 56px 0;
}

.atacado-section-soft {
  background: var(--soft);
}

.atacado-section-white {
  background: #fff;
}

.atacado-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.atacado-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.atacado-heading h2,
.atacado-content h2,
.atacado-showcase-content h2,
.atacado-profit-copy h2,
.atacado-credibility-head h2,
.atacado-final-content h2 {
  margin: 12px 0 20px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.atacado-heading p,
.atacado-content p,
.atacado-showcase-content p,
.atacado-profit-copy p,
.atacado-credibility-head p,
.atacado-final-content p {
  color: var(--muted);
  line-height: 1.8;
}

/* =========================================================
   PROPOSTA
========================================================= */

.atacado-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 55px;
  align-items: center;
}

.atacado-content {
  min-width: 0;
}

.atacado-photo {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.atacado-photo img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.atacado-photo:hover img {
  transform: scale(1.025);
}

.atacado-highlight-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  border-radius: 0 15px 15px 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.atacado-highlight-note i {
  color: var(--brand);
  font-size: 20px;
}

/* =========================================================
   BENEFÍCIOS
========================================================= */

.atacado-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.atacado-benefit {
  min-height: 250px;
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(78, 55, 48, 0.035);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.atacado-benefit:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.atacado-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--brand);
  font-size: 21px;
}

.atacado-benefit h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.atacado-benefit p {
  margin: 0;
  font-size: 13px;
}

/* =========================================================
   EXPOSITOR
========================================================= */

.atacado-showcase {
  background: var(--soft2);
}

.atacado-showcase-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 36px;
  row-gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.atacado-showcase-box .atacado-showcase-image {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.atacado-showcase-box .atacado-showcase-image img {
  display: block;
  width: 100%;
  height: 530px;
  object-fit: cover;
}

.atacado-showcase-box .atacado-showcase-content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 44px 42px 20px 0;
}

.atacado-showcase-box .atacado-numbers {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
}

.atacado-showcase-box .atacado-numbers > div {
  min-width: 0;
  min-height: 110px;
  padding: 24px 22px;
  box-sizing: border-box;
  border-radius: 16px;
  background: var(--soft);
}

.atacado-showcase-box .atacado-numbers strong {
  display: block;
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-size: 23px;
  line-height: 1.3;
}

.atacado-showcase-box .atacado-numbers span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* =========================================================
   CONSIGNAÇÃO / LUCRO
========================================================= */

.atacado-profit {
  padding: 56px 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 255, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.atacado-profit .eyebrow,
.atacado-profit h2,
.atacado-profit p {
  color: #fff;
}

.atacado-profit p {
  opacity: 0.86;
}

.atacado-profit h2 strong {
  color: #f8dfe1;
}

.atacado-profit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.atacado-profit-image {
  overflow: hidden;
  border-radius: 30px;
}

.atacado-profit-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.atacado-profit-stats {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.atacado-profit-stats > div {
  flex: 1;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.atacado-profit-stats strong {
  display: block;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 30px;
}

.atacado-profit-stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   GALERIA
========================================================= */

.atacado-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
}

.atacado-carousel {
  width: 100%;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
}

.atacado-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(78, 55, 48, 0.05);
}

.atacado-gallery img,
.atacado-carousel .atacado-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 340px;
  margin: 0 auto;
  object-fit: cover;
}

.atacado-gallery img {
  transition: transform 0.45s ease;
}

.atacado-gallery figure:hover img {
  transform: scale(1.035);
}

.atacado-gallery figcaption {
  padding: 17px 18px;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   CREDIBILIDADE
========================================================= */

.atacado-credibility-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
}

.atacado-credibility-head > div:first-child {
  max-width: 720px;
}

.atacado-big-stats {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}

.atacado-big-stats strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 43px;
}

.atacado-big-stats span {
  font-size: 12px;
  color: var(--muted);
}

.atacado-segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.atacado-segments > div {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 18px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.atacado-segments i {
  color: var(--brand);
  font-size: 24px;
}

.atacado-segments span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

/* =========================================================
   DEPOIMENTOS
========================================================= */

.atacado-testimonials {
  background: var(--soft);
}

.atacado-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.atacado-testimonial-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.atacado-testimonial-grid .quote {
  display: block;
  height: 28px;
  color: var(--brand);
  font-family: "Cinzel", serif;
  font-size: 48px;
  line-height: 0.8;
}

.atacado-testimonial-grid p {
  min-height: 90px;
  font-size: 13px;
  color: var(--muted);
}

.atacado-testimonial-grid strong {
  font-size: 11px;
  color: var(--ink);
}

/* =========================================================
   CTA FINAL
========================================================= */

.atacado-final {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px 24px;
  box-sizing: border-box;
  background: linear-gradient(110deg, #f0d8d3 0%, #fff8f6 50%, #f0d8d3 100%);
}

.atacado-final-box {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.atacado-final-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.atacado-final-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px;
  box-sizing: border-box;
  text-align: center;
}

.atacado-final-content h2 {
  width: 100%;
  max-width: 850px;
  margin: 12px auto 20px;
  text-align: center;
}

.atacado-final-content p {
  max-width: 600px;
  margin: 0 auto 22px;
}

.atacado-final-content .btn {
  width: auto;
  min-width: 320px;
  max-width: 100%;
  justify-content: center;
  align-self: center;
}

.atacado-final-content h2 strong {
  display: block;
}

/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 1050px) {
  .atacado-showcase-box {
    column-gap: 24px;
  }

  .atacado-showcase-box .atacado-numbers {
    width: calc(100% - 40px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atacado-showcase-box .atacado-numbers > div {
    min-height: 100px;
  }

  .atacado-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .atacado-segments {
    grid-template-columns: repeat(3, 1fr);
  }

  .atacado-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .atacado-hero-visual img {
    height: 430px;
  }
}

@media (max-width: 800px) {
  .atacado-showcase-box {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    padding-bottom: 20px;
  }

  .atacado-showcase-box .atacado-showcase-image {
    grid-column: 1;
    grid-row: 1;
  }

  .atacado-showcase-box .atacado-showcase-image img {
    height: 300px;
  }

  .atacado-showcase-box .atacado-showcase-content {
    grid-column: 1;
    grid-row: 2;
    padding: 32px 24px 20px;
  }

  .atacado-showcase-box .atacado-numbers {
    grid-column: 1;
    grid-row: 3;
    width: calc(100% - 48px);
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .atacado-showcase-box .atacado-numbers > div {
    min-height: auto;
    padding: 16px 12px;
  }

  .atacado-showcase-box .atacado-numbers strong {
    font-size: 19px;
  }

  .atacado-gallery,
  .atacado-carousel {
    max-width: 100%;
  }

  .atacado-gallery img,
  .atacado-carousel .atacado-slide img {
    height: 320px;
  }

  .atacado-final {
    padding: 32px 16px;
  }

  .atacado-hero-grid,
  .atacado-split,
  .atacado-profit-grid {
    grid-template-columns: 1fr;
  }

  .atacado-hero-copy {
    text-align: center;
  }

  .atacado-hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .atacado-actions,
  .atacado-hero-points {
    justify-content: center;
  }

  .atacado-hero-visual img {
    height: 380px;
  }

  .atacado-split {
    gap: 40px;
  }

  .atacado-photo img {
    height: 380px;
  }

  .atacado-profit-grid {
    gap: 35px;
  }

  .atacado-profit-image img {
    height: 350px;
  }

  .atacado-credibility-head {
    display: block;
  }

  .atacado-big-stats {
    margin-top: 25px;
  }

  .atacado-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .atacado-final-image img {
    height: 320px;
  }

  .atacado-final-content {
    padding: 24px 8px;
  }
}

@media (max-width: 620px) {
  /* =========================================================
   ESPAÇAMENTO DAS SEÇÕES NO CELULAR
========================================================= */

  .atacado-section,
  .atacado-profit {
    padding: 36px 0;
  }

  .atacado-hero-copy h1 {
    font-size: 43px;
  }

  .atacado-hero-copy > p {
    font-size: 15px;
  }

  .atacado-actions {
    flex-direction: column;
  }

  .atacado-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .atacado-hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 14px;
  }

  .atacado-hero-visual img {
    height: 300px;
    border-radius: 24px;
  }

  .atacado-heading h2,
  .atacado-content h2,
  .atacado-showcase-content h2,
  .atacado-profit-copy h2,
  .atacado-credibility-head h2,
  .atacado-final-content h2 {
    font-size: 34px;
  }

  .atacado-benefits {
    grid-template-columns: 1fr;
  }

  .atacado-benefit {
    min-height: auto;
  }

  .atacado-photo img {
    height: 300px;
  }

  .atacado-profit-stats {
    flex-direction: column;
  }

  .atacado-profit-image img {
    height: 300px;
  }

  .atacado-gallery {
    grid-template-columns: 1fr;
  }

  .atacado-big-stats {
    gap: 25px;
  }

  .atacado-big-stats strong {
    font-size: 35px;
  }

  .atacado-segments {
    grid-template-columns: 1fr 1fr;
  }

  .atacado-segments > div {
    min-height: 110px;
  }

  .atacado-final-image img {
    height: 270px;
  }

  .atacado-final-content .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Espaçamento do carrossel em telas maiores */
@media (min-width: 801px) {
  .atacado-carousel {
    margin-bottom: 0;
  }

  .atacado-carousel-dots {
    margin-top: 10px;
  }

  .atacado-section:has(.atacado-carousel) {
    padding-bottom: 30px;
  }

  .atacado-section:has(.atacado-carousel) + .atacado-section {
    padding-top: 35px;
  }
}
