/* =========================================================
   GÁVIA LINK — SECTIONS.CSS
   ---------------------------------------------------------
   Estrutura visual específica das seções:
   - Hero / Marca
   - Hero
   - Preview WhatsApp
   - Curadoria
   - Radar
   - CTA final
   - Footer

   Mobile-first

   V3:
   - Hero sem altura artificial
   - Logo integrada visualmente ao Hero
   - Logo dentro do fluxo do Hero
   - Forma vermelha encostada no topo
   - Sem media queries duplicadas
   - Preview WhatsApp mais equilibrado
   - Seções mais compactas
========================================================= */


/* =========================================================
   01. HERO — MARCA
========================================================= */

.hero__brand {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin: 0;
  margin-bottom: clamp(0.15rem, 0.45vw, 0.35rem);
}

.hero__brand-logo {
  display: block;

  width: clamp(150px, 14vw, 190px);
  max-width: 100%;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   02. HERO — LAYOUT
========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  /*
     A logo agora faz parte do fluxo do Hero.
     O topo fica compacto, sem altura artificial.
  */

  padding-top:
    clamp(1.5rem, 2.8vw, 2.25rem);

  padding-bottom: 0;

  background:
    linear-gradient(180deg,
      var(--color-cream) 0%,
      #FFF6F3 100%);
}




/* ---------------------------------------------------------
   Forma vermelha principal

   Agora nasce exatamente no topo da página.
--------------------------------------------------------- */

.hero::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width:
    clamp(260px, 29vw, 460px);

  aspect-ratio: 1;

  border-radius:
    0 0 0 62%;

  background:
    linear-gradient(145deg,
      var(--color-red) 0%,
      #ED0017 100%);

  pointer-events: none;
}


/* ---------------------------------------------------------
   Forma bordô/rosa secundária
--------------------------------------------------------- */

.hero::after {
  content: "";

  position: absolute;

  top: 8%;
  right: -13%;

  width:
    clamp(290px, 34vw, 540px);

  aspect-ratio: 1;

  border-radius: 50%;

  background:
    linear-gradient(145deg,
      var(--color-wine),
      rgba(122, 15, 40, 0.6));

  opacity: 0.15;

  pointer-events: none;
}


/* ---------------------------------------------------------
   Container
--------------------------------------------------------- */

.hero__container {
  position: relative;

  z-index: var(--z-content);

  display: flex;
  flex-direction: column;

  align-items: center;

  gap:
    clamp(1.75rem, 4vw, 2.75rem);

  min-height: 0;

  text-align: center;
}


/* ---------------------------------------------------------
   Conteúdo
--------------------------------------------------------- */

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap:
    clamp(0.75rem, 1.3vw, 1rem);

  width: 100%;

  max-width: 680px;

  padding: 0;
}


.hero__title {
  max-width: 11ch;

  color: var(--color-wine);
}


.hero__title span {
  display: block;

  color: var(--color-red);
}


.hero__description {
  max-width: 32ch;

  margin-inline: auto;

  color: var(--color-text-muted);

  font-size:
    clamp(1rem, 2.5vw, 1.15rem);

  font-weight: var(--font-medium);

  line-height: 1.5;
}


.hero__cta {
  width: min(100%, 340px);
  margin-top: 0.25rem;

  animation: heroCtaPulse 1.3s ease-in-out infinite;
}

@keyframes heroCtaPulse {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.015);
  }
}

/* ---------------------------------------------------------
   Visual
--------------------------------------------------------- */

.hero__visual {
  position: relative;

  width: 100%;

  margin: 0;

  align-self: end;
}


.phone-preview--hero {
  position: relative;

  z-index: 4;

  transform:
    translateY(34px) rotate(-1deg);
}


/* Símbolo flutuante */

.hero__brand-symbol {
  position: absolute;

  top: 16%;
  right: -8px;

  z-index: 5;

  width: 54px;
  height: 54px;

  padding: 10px;

  border:
    1px solid rgba(230, 0, 18, 0.1);

  border-radius: 18px;

  background-color:
    rgba(255, 255, 255, 0.96);

  box-shadow: var(--shadow-md);

  object-fit: contain;

  transform: rotate(5deg);
}


/* =========================================================
   03. PREVIEW DO GRUPO
========================================================= */

.group-preview {
  position: relative;

  z-index: 2;

  overflow: hidden;

  padding-top:
    clamp(5.25rem, 10vw, 6.5rem);

  padding-bottom:
    clamp(3.25rem, 6vw, 4.5rem);

  background-color: var(--color-white);
}


/* Curva superior */

.group-preview::before {
  content: "";

  position: absolute;

  top: -50px;
  left: -10%;

  width: 120%;
  height: 86px;

  border-radius: 50% 50% 0 0;

  background-color: var(--color-white);

  pointer-events: none;
}


/* detalhe suave */

.group-preview::after {
  content: "";

  position: absolute;

  top: 18%;
  left: -120px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(230, 0, 18, 0.06) 0%,
      transparent 70%);

  pointer-events: none;
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.group-preview .section-heading {
  position: relative;

  z-index: 2;

  gap: var(--space-3);
}


.group-preview .section-heading h2 {
  max-width: 12ch;
}


/* ---------------------------------------------------------
   Showcase
--------------------------------------------------------- */

.group-preview__showcase {
  position: relative;

  z-index: 2;

  display: grid;

  align-items: center;

  gap:
    clamp(1rem, 3vw, 2rem);

  width:
    min(100%, 900px);

  margin:
    var(--space-6) auto 0;
}


/* Mockup principal */

.group-preview__showcase .whatsapp-showcase--featured {
  width:
    min(100%, 300px);

  margin-inline: auto;

  transform:
    rotate(-0.7deg);

  transform-origin: center;
}


/* ---------------------------------------------------------
   Secundários
--------------------------------------------------------- */

.group-preview__secondary {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  align-items: center;

  gap: var(--space-3);

  width: 100%;
}


.group-preview__secondary .whatsapp-showcase {
  width: 100%;

  min-width: 0;

  box-shadow:
    0 18px 42px rgba(60, 13, 25, 0.1);
}


.group-preview__secondary .whatsapp-showcase:first-child {
  transform: rotate(0.8deg);
}


.group-preview__secondary .whatsapp-showcase:last-child {
  transform: rotate(-0.8deg);
}


.group-preview__secondary .whatsapp-showcase img {
  width: 100%;
  height: auto;

  object-fit: contain;
}


.group-preview .section-cta {
  margin-top: var(--space-6);
}


/* =========================================================
   04. CURADORIA
========================================================= */

.curation {
  position: relative;

  overflow: hidden;

  padding-block:
    clamp(3.25rem, 6vw, 4.5rem);

  color: var(--color-white);

  background:
    linear-gradient(140deg,
      #680B21 0%,
      var(--color-wine) 48%,
      #970F2B 100%);
}


/* Forma vermelha */

.curation::before {
  content: "";

  position: absolute;

  top: -190px;
  right: -185px;

  width: 390px;
  height: 390px;

  border-radius:
    45% 55% 64% 36% / 56% 38% 62% 44%;

  background:
    linear-gradient(135deg,
      var(--color-red),
      #FA0016);

  opacity: 0.92;

  pointer-events: none;
}


/* Fundo sutil */

.curation::after {
  content: "";

  position: absolute;

  bottom: -100px;
  left: -100px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(255, 255, 255, 0.07),
      transparent 67%);

  pointer-events: none;
}


/* ---------------------------------------------------------
   Container
--------------------------------------------------------- */

.curation__container {
  position: relative;

  z-index: var(--z-content);

  display: flex;
  flex-direction: column;

  gap: var(--space-6);
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.curation .section-heading {
  align-items: center;

  gap: var(--space-3);

  margin-inline: auto;

  text-align: center;
}


.curation .eyebrow {
  color: var(--color-white);

  border-color:
    rgba(255, 255, 255, 0.18);

  background-color:
    rgba(255, 255, 255, 0.09);
}


.curation .section-heading h2 {
  max-width: 12ch;

  color: var(--color-white);
}


.curation .section-heading h2 span {
  display: block;

  color: #FFB3BA;
}


.curation .section-heading p {
  max-width: 34ch;

  color:
    rgba(255, 255, 255, 0.78);

  line-height: 1.5;
}


/* ---------------------------------------------------------
   Flow
--------------------------------------------------------- */

.curation-flow {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: var(--space-2);

  width: 100%;

  max-width: 900px;

  margin-inline: auto;
}


.curation-flow__arrow {
  display: none;
}


.curation .curation-step {
  min-height: 118px;

  color: var(--color-white);

  border-color:
    rgba(255, 255, 255, 0.13);

  background:
    rgba(255, 255, 255, 0.1);

  box-shadow:
    0 10px 28px rgba(30, 0, 8, 0.13);
}


.curation .curation-step strong {
  color: var(--color-white);
}


.curation .curation-step__number {
  color:
    rgba(255, 255, 255, 0.42);
}


.curation .curation-step__icon {
  background-color:
    rgba(255, 255, 255, 0.1);
}

.curation .curation-step__icon--whatsapp {
  color: #ffffff;
  background-color: #25D366;
}

.curation .curation-step__icon--whatsapp svg {
  width: 22px;
  height: 22px;
  display: block;
}


/* =========================================================
   05. RADAR
========================================================= */

.radar {
  position: relative;

  overflow: hidden;

  padding-block:
    clamp(3.25rem, 6vw, 4.5rem);

  background:
    linear-gradient(180deg,
      var(--color-cream) 0%,
      #FFF3F1 100%);
}


/* Fundo direito */

.radar::before {
  content: "";

  position: absolute;

  top: 4%;
  right: -180px;

  width: 340px;
  height: 340px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(230, 0, 18, 0.08),
      transparent 70%);

  pointer-events: none;
}


/* Fundo esquerdo */

.radar::after {
  content: "";

  position: absolute;

  bottom: -190px;
  left: -170px;

  width: 350px;
  height: 350px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(122, 15, 40, 0.07),
      transparent 70%);

  pointer-events: none;
}


.radar__container {
  position: relative;

  z-index: var(--z-content);
}


/* ---------------------------------------------------------
   Label
--------------------------------------------------------- */

.radar__label {
  display: inline-flex;
  align-items: center;

  gap: var(--space-2);

  width: fit-content;

  padding:
    0.42rem 0.65rem;

  border:
    1px solid rgba(230, 0, 18, 0.1);

  border-radius: var(--radius-pill);

  color: var(--color-wine);

  background-color:
    rgba(255, 255, 255, 0.78);

  box-shadow:
    var(--shadow-xs);

  font-size: var(--font-size-xs);
  font-weight: var(--font-bold);

  letter-spacing: 0.025em;
}


.radar__symbol {
  width: 21px;
  height: 21px;

  object-fit: contain;
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.radar .section-heading {
  gap: var(--space-3);
}


.radar .section-heading h2 {
  max-width: 13ch;
}


/* ---------------------------------------------------------
   Feed
--------------------------------------------------------- */

.radar__viewport {
  position: relative;

  width:
    min(100%, 840px);

  margin:
    var(--space-6) auto 0;

  overflow: hidden;

  -webkit-mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      black 3%,
      black 97%,
      transparent 100%);

  mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      black 3%,
      black 97%,
      transparent 100%);
}


.radar-list {
  display: flex;
  flex-direction: column;

  gap: var(--space-2);

  width: 100%;

  min-height: 310px;

  padding-block:
    var(--space-2);
}


.radar-list .offer-card:nth-child(2) {
  transform: scale(0.993);

  opacity: 0.97;
}


.radar-list .offer-card:nth-child(3) {
  transform: scale(0.986);

  opacity: 0.93;
}


/* ---------------------------------------------------------
   Estados Radar JS
--------------------------------------------------------- */

.offer-card--entering {
  opacity: 0;

  transform:
    translateY(28px) scale(0.98);
}


.offer-card--visible {
  opacity: 1;

  transform:
    translateY(0) scale(1);
}


.offer-card--leaving {
  opacity: 0;

  transform:
    translateY(-32px) scale(0.98);

  pointer-events: none;
}


/* =========================================================
   06. CTA FINAL
========================================================= */

.final-cta {
  position: relative;

  overflow: hidden;

  padding:
    clamp(3.5rem, 7vw, 5rem) 0;

  background:
    linear-gradient(135deg,
      var(--color-red) 0%,
      #D90018 43%,
      var(--color-wine) 120%);
}


.final-cta::before {
  content: "";

  position: absolute;

  top: -200px;
  left: -160px;

  width: 340px;
  height: 340px;

  border-radius:
    54% 46% 42% 58% / 46% 55% 45% 54%;

  background:
    rgba(255, 255, 255, 0.08);

  transform: rotate(15deg);

  pointer-events: none;
}


.final-cta::after {
  content: "";

  position: absolute;

  right: -190px;
  bottom: -250px;

  width: 430px;
  height: 430px;

  border-radius: 50%;

  border:
    72px solid rgba(255, 255, 255, 0.05);

  pointer-events: none;
}


.final-cta__container {
  position: relative;

  z-index: var(--z-content);
}


.final-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: var(--space-4);

  max-width: 700px;

  margin-inline: auto;

  text-align: center;
}


.final-cta__symbol {
  width: 58px;
  height: 58px;

  padding: 12px;

  border-radius: 19px;

  background:
    rgba(255, 255, 255, 0.96);

  box-shadow:
    0 16px 36px rgba(50, 0, 10, 0.18);

  object-fit: contain;

  transform: rotate(-4deg);
}


.final-cta h2 {
  max-width: 12ch;

  color: var(--color-white);
}


.final-cta h2 span {
  display: block;

  color: #FFD5D9;
}


.final-cta .button {
  width:
    min(100%, 360px);

  color: var(--color-wine);

  background:
    var(--color-white);

  box-shadow:
    0 15px 36px rgba(63, 0, 14, 0.2);
}


.final-cta .button__icon {
  color: var(--color-white);

  background-color:
    var(--color-red);
}

.final-cta .button__icon--whatsapp {
  color: #ffffff;

  background-color:
    #25D366;
}

.final-cta .button__icon--whatsapp svg {
  fill: currentColor;
}


/* =========================================================
   07. FOOTER
========================================================= */

.site-footer {
  width: 100%;

  padding:
    var(--space-5) 0;

  color:
    rgba(255, 255, 255, 0.65);

  background-color: #2A0710;
}


.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: var(--space-3);

  text-align: center;
}


.site-footer__logo {
  width: 110px;

  object-fit: contain;
}


.site-footer p,
.site-footer a {
  color:
    rgba(255, 255, 255, 0.65);

  font-size:
    var(--font-size-xs);
}


.site-footer a {
  transition:
    color var(--transition-fast);
}


@media (hover: hover) and (pointer: fine) {

  .site-footer a:hover {
    color: var(--color-white);
  }

}


/* =========================================================
   08. TABLET
========================================================= */

@media (min-width: 700px) {

  /* -------------------------------------------------------
     HERO
  ------------------------------------------------------- */

  .hero {
    padding-top:
      clamp(1.5rem, 2.8vw, 2.25rem);
  }


  .hero__container {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr) minmax(300px, 0.86fr);

    align-items: start;

    gap:
      clamp(2rem, 4vw, 3.5rem);

    text-align: left;
  }


  .hero__content {
    align-items: flex-start;

    max-width: 620px;

    padding-top:
      clamp(0.5rem, 1vw, 1rem);
  }


  .hero__title {
    max-width: 9.5ch;
  }


  .hero__description {
    margin-inline: 0;

    max-width: 38ch;
  }


  .hero__cta {
    width: min(100%, 340px);
    margin-top: 0.25rem;
  }

  @keyframes heroCtaPulse {

    0%,
    100% {
      transform: translateY(0) scale(1);
    }

    50% {
      transform: translateY(-3px) scale(1.015);
    }
  }


  .hero__visual {
    align-self: start;
  }


  .phone-preview--hero {
    transform:
      translateY(10px) rotate(2deg);
  }


  .hero__brand-symbol {
    right: -14px;

    width: 60px;
    height: 60px;
  }


  /* -------------------------------------------------------
     PREVIEW WHATSAPP
  ------------------------------------------------------- */

  .group-preview {
    padding-top: 6.25rem;

    padding-bottom: 4rem;
  }


  .group-preview__showcase {
    grid-template-columns:
      minmax(280px, 0.82fr) minmax(300px, 1.18fr);

    justify-content: center;

    gap:
      clamp(1.25rem, 3vw, 2rem);

    width:
      min(100%, 900px);
  }


  .group-preview__showcase .whatsapp-showcase--featured {
    width: 100%;

    max-width: 320px;

    margin-left: auto;
    margin-right: 0;
  }


  .group-preview__secondary {
    grid-template-columns: 1fr;

    gap: var(--space-3);

    width: 100%;

    max-width: 350px;

    margin-left: 0;
    margin-right: auto;
  }


  .group-preview__secondary .whatsapp-showcase {
    width: 100%;
  }


  .group-preview__secondary .whatsapp-showcase img {
    width: 100%;
    height: 230px;

    object-fit: cover;
    object-position: top;
  }


  /* -------------------------------------------------------
     CURADORIA
  ------------------------------------------------------- */

  .curation-flow {
    grid-template-columns:
      minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);

    align-items: center;

    gap: var(--space-2);

    max-width: 940px;
  }


  .curation-flow__arrow {
    display: block;

    color:
      rgba(255, 255, 255, 0.48);

    font-size: 1.25rem;
    font-weight: var(--font-bold);
  }


  .curation .curation-step {
    min-height: 128px;
  }


  /* -------------------------------------------------------
     RADAR
  ------------------------------------------------------- */

  .radar__viewport {
    width:
      min(100%, 850px);
  }


  .radar-list {
    min-height: 350px;

    gap: var(--space-3);
  }


  /* -------------------------------------------------------
     FOOTER
  ------------------------------------------------------- */

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;

    text-align: left;
  }

}


/* =========================================================
   09. DESKTOP
========================================================= */

@media (min-width: 1024px) {

  /* -------------------------------------------------------
     HERO
  ------------------------------------------------------- */

  .hero {
    padding-top:
      clamp(1.75rem, 2.4vw, 2.5rem);
  }


  .hero__container {
    grid-template-columns:
      minmax(0, 1.08fr) minmax(350px, 0.92fr);

    align-items: start;

    gap:
      clamp(2.5rem, 5vw, 4.5rem);

    min-height: 0;
  }


  .hero__content {
    padding-top: 0;
  }


  .hero__title {
    max-width: 9ch;
  }


  .hero__visual {
    align-self: start;
  }


  .phone-preview--hero {
    max-width: 400px;

    transform:
      translateY(0) rotate(2deg);
  }


  /* -------------------------------------------------------
     PREVIEW WHATSAPP
  ------------------------------------------------------- */

  .group-preview {
    padding-top: 6.5rem;

    padding-bottom: 4.25rem;
  }


  .group-preview__showcase {
    grid-template-columns:
      minmax(300px, 0.82fr) minmax(340px, 1.18fr);

    gap: 2rem;

    width:
      min(100%, 960px);
  }


  .group-preview__showcase .whatsapp-showcase--featured {
    max-width: 330px;
  }


  .group-preview__secondary {
    max-width: 370px;
  }


  .group-preview__secondary .whatsapp-showcase img {
    height: 245px;
  }


  /* -------------------------------------------------------
     CURADORIA
  ------------------------------------------------------- */

  .curation {
    padding-block: 4.25rem;
  }


  .curation__container {
    gap: var(--space-6);
  }


  .curation .curation-step {
    min-height: 132px;
  }


  /* -------------------------------------------------------
     RADAR
  ------------------------------------------------------- */

  .radar {
    padding-block: 4.25rem;
  }


  .radar__viewport {
    width:
      min(100%, 880px);
  }


  .radar-list {
    min-height: 360px;
  }


  /* -------------------------------------------------------
     CTA FINAL
  ------------------------------------------------------- */

  .final-cta {
    padding:
      4.5rem 0;
  }

}


/* =========================================================
   10. LARGE DESKTOP
========================================================= */

@media (min-width: 1280px) {

  /*
     NÃO existe min-height no Hero.
  */

  .hero {
    padding-top: 2.25rem;
  }


  .hero::before {
    width:
      clamp(360px, 29vw, 470px);
  }


  .hero::after {
    width:
      clamp(430px, 34vw, 560px);
  }


  .phone-preview--hero {
    max-width: 415px;
  }


  .group-preview__showcase {
    width:
      min(100%, 980px);
  }


  .radar__viewport {
    max-width: 900px;
  }

}


/* =========================================================
   11. SMALL MOBILE
========================================================= */

@media (max-width: 380px) {



  .hero {
    padding-top: 1.25rem;
  }


  .hero__title {
    font-size: 2.4rem;
  }


  .hero__description {
    font-size: 0.96rem;
  }


  .phone-preview--hero {
    transform:
      translateY(28px) rotate(-1deg);
  }


  .group-preview {
    padding-top: 4.75rem;

    padding-bottom: 3rem;
  }


  .group-preview__showcase {
    margin-top: var(--space-5);
  }


  .group-preview__secondary {
    gap: var(--space-2);
  }


  .curation {
    padding-block: 3rem;
  }


  .curation-flow {
    gap: var(--space-2);
  }


  .curation .curation-step {
    min-height: 106px;

    padding-inline: 0.65rem;
  }


  .curation-step strong {
    font-size: 0.82rem;
  }


  .radar {
    padding-block: 3rem;
  }


  .radar__viewport {
    margin-top: var(--space-5);
  }


  .radar-list {
    min-height: 290px;
  }


  .final-cta {
    padding:
      3.25rem 0;
  }


  .final-cta h2 {
    font-size: 2.2rem;
  }

}


/* =========================================================
   12. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .phone-preview--hero,
  .hero__brand-symbol,
  .final-cta__symbol {
    transform: none;
  }


  .offer-card--entering,
  .offer-card--visible,
  .offer-card--leaving {
    transform: none;
  }

}