/* ============================================================
   Landing Page — Peptídeos (Myoki, Korglutide, ProGsterol)
   Implementado a partir do design do Figma.
   Layout responsivo em fluxo: tipografia fluida com clamp(),
   grids/flex que refluem para 1 coluna em tablet/mobile.
   ============================================================ */

/* ---------- Variáveis de cor / tipografia ---------- */
:root {
  /* Cores principais */
  --color-black: #000000;
  --color-white: #ffffff;
  --page-bg: #ffffff;

  --text-dark: #000000;
  --text-muted: #ada9a6;
  /* subtítulo do hero */
  --text-footer: rgba(0, 0, 0, 0.35);
  /* copyright */

  /* Painéis "glass" sobre o blur de cor */
  --glass-bg: rgba(255, 255, 255, 0.7);
  /* painel de benefícios */
  --card-bg: rgba(255, 255, 255, 0.63);
  /* card da modulação */

  /* Gradiente decorativo (blur de cor) */
  --blur-lime: #dcf164;
  --blur-magenta: #ef0de3;
  --blur-purple: #331e72;

  /* Overlay do vídeo */
  --video-overlay: rgba(0, 0, 0, 0.25);

  /* Linhas divisórias */
  --divider: rgba(0, 0, 0, 0.14);

  /* Fontes */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Fanwood Text', Georgia, 'Times New Roman', serif;
  --font-roman: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

/* ---------- Utilitários ---------- */
.container {
  width: min(100% - 3rem, 1320px);
  margin-inline: auto;
}

.center {
  text-align: center;
}

/* Títulos display (roman Helvetica + itálico Fanwood) */
.display-heading {
  margin: 0;
  line-height: 1.06;
  color: var(--text-dark);
  overflow-wrap: break-word;
}

.display-heading .roman {
  font-family: var(--font-roman);
  font-weight: 700;
  font-style: normal;
}

.display-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.13em;
  /* o itálico Fanwood é levemente maior, como no Figma */
}

/* Texto de corpo */
.lead {
  margin: 0;
  font-weight: 300;
  font-size: 25px;
  line-height: 1.38;
  color: var(--text-dark);
}

.lead strong {
  font-weight: 700;
}

/* ============================================================
   HERO / HEADER
   ============================================================ */
.hero {
  position: relative;
  background: url('assets/headerbg.png') no-repeat center top, linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgb(0 0 0) 35%, rgba(0, 0, 0, 0) 100%);
  padding: clamp(5rem, 8vw, 7rem) 1.5rem clamp(4rem, 9vw, 8rem);
  text-align: center;
  overflow: hidden;
  background-size: contain;
  background-position: bottom;
  margin-top: -5px;
}

/* Brilho colorido (lime / magenta / roxo) — gradiente fluido sobre o preto */
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* acento olive/lime — superior direito, sutil */
    radial-gradient(38% 34% at 85% 37%, rgba(178, 188, 76, 0.28), transparent 70%),
    /* magenta principal — borda direita, do meio para baixo */
    radial-gradient(48% 56% at 100% 58%, rgba(214, 20, 196, 0.62), transparent 72%),
    /* glow magenta/rosa da base — atravessa a curva, mais forte à direita */
    radial-gradient(82% 48% at 76% 104%, rgba(206, 70, 188, 0.52), transparent 74%),
    /* brilho lavanda no canto inferior direito */
    radial-gradient(42% 40% at 95% 98%, rgba(196, 150, 205, 0.45), transparent 70%);
}

/* Barra de navegação fixa no topo da página.
   Sobre a hero: faixa preta translúcida + botões claros.
   Ao sair da hero (.is-scrolled): faixa branca translúcida + botões escuros. */
.site-nav {
 
  z-index: 50;
  padding: clamp(0.7rem, 1.6vw, 1rem) 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease;
  padding-top: 67px;
  background: #000;
}

.site-nav.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
}
.site-nav + header.hero {
    padding-top: 30px;
}
.site-nav.is-scrolled + header.hero {
    padding-top: 140px;
}
.site-nav.is-scrolled {
    padding-top: 15px;
}
.site-nav.is-scrolled .nav-pills a {
  border-color: var(--color-black);
  color: var(--color-black);
}

.site-nav.is-scrolled .nav-pills a:hover,
.site-nav.is-scrolled .nav-pills a:focus-visible {
  background: var(--color-black);
  color: var(--color-white);
}

.nav-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 3.6rem);
}

.nav-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(108px, 9vw, 136.67px);
  height: clamp(34px, 2.4vw, 40.83px);
  padding: 0 1.1rem;
  border: 1px solid var(--color-white);
  border-radius: 999px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.37rem);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-pills a:hover,
.nav-pills a:focus-visible {
  background: var(--color-white);
  color: var(--color-black);
}

.hero__content {
  position: relative;
  z-index: 2;
  margin: clamp(1.6rem, 4vw, 3.2rem) auto 0;
  margin-top: 35px;
}
.hero__content h1 span {
  display:block;
}
.hero__title {
  color: var(--color-white);
  font-size: clamp(1.7rem, 6.4vw, 5.45rem);
}

.hero__subtitle {
  max-width: 48rem;
  margin: clamp(0.9rem, 1.6vw, 1.5rem) auto 0;
  color: var(--text-muted);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.85rem);
  line-height: 1.34;
}

.hero__products {
  position: relative;
  z-index: 2;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  max-width: clamp(280px, 56vw, 1019px);
}

.hero__products-img {
  width: 100%;
  height: auto;
}

/* Selo "aprovado pela FDA" sobreposto ao canto superior esquerdo dos produtos */
.hero__fda {
  position: absolute;
  top: clamp(-6px, 1vw, 14px);
  left: clamp(-4px, 1.5vw, 24px);
  width: clamp(58px, 8vw, 155px);
  height: auto;
}

.hero__fda-note {
  position: absolute;
  top: clamp(30px, 6.5vw, 120px);
  left: clamp(-2px, 3.5vw, 60px);
  color: var(--color-white);
  opacity: 0.7;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(6px, 0.55vw, 8px);
  letter-spacing: 0.04em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ============================================================
   INTRO + BENEFÍCIOS
   ============================================================ */

.intro__content {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.intro {
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}

.intro__glow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -5%;
}

.modulacao .intro__glow {
  transform: scaleX(-1);
  top: -45%;
}

.intro__decor-red {
  width: 3185.186px;
  height: 200px;
  left: -900px;
  top: 620px;
  transform: rotate(-10deg);
  border-radius: 3185.186px;
  background: #EF0D0D;
  filter: blur(100px);
  position: absolute;
}

.intro__decor-red::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.22) 0.8px, transparent 0.8px),
    radial-gradient(rgba(0,0,0,0.68) 0.8px, transparent 0.8px);
  background-size: 6px 6px, 9px 9px;
  background-position: 0 0, 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

.intro__decor-yellow {
  width: 2764.359px;
  height: 120px;
  left: 450px;
  top: 250px;
  transform: rotate(-11deg);
  border-radius: 2764.359px;
  background: #DCF164;
  filter: blur(70px);
  position: absolute;
}

.intro__decor-blue {
  width: 2426.495px;
  height: 120px;
  left: -650px;
  top: 850px;
  transform: rotate(-11deg);
  border-radius: 2426.495px;
  background: #331E72;
  filter: blur(70px);
  position: absolute;
}

.intro__top {
      position: relative;
    z-index: 1;
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 150px;
    justify-content: center;
}

.intro__title {
  font-size: clamp(1.7rem, 5.4vw, 3.5rem);
  max-width: 430px;
  display: block;
    
}

.intro__lead {
  margin: 0;
  font-weight: 300;
  font-size: 25px;
  line-height: 33px; /* 132% */
  max-width: 550px;
}

.intro__lead .semi {
  font-weight: 600;
}

/* Painel "glass" único que envolve todos os benefícios */
.benefits {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.benefits__list {
  list-style: none;
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 3vw, 3rem);
  background: var(--glass-bg);
  border-radius: clamp(28px, 3.6vw, 52px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.2vw, 2.2rem) clamp(2rem, 4vw, 4.5rem);
}

.benefit {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.3vw, 1.4rem);
}

.benefit__icon {
  flex: 0 0 auto;
  width: clamp(40px, 3.4vw, 50px);
  height: clamp(40px, 3.4vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit__text {
  font-weight: 300;
  font-size: clamp(1rem, 1.18vw, 1.47rem);
  line-height: 1.25;
}

.benefit__text strong {
  font-weight: 700;
}

/* ============================================================
   COMPOSIÇÃO CORPORAL
   ============================================================ */
.composition {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  padding-top: 64px;
}

.composition__title {
  font-size: clamp(1.7rem, 5.4vw, 5rem);
}

.composition__lead {
  max-width: 72rem;
  margin: clamp(1.2rem, 2vw, 2rem) auto 0;
  line-height: 1.5;
  font-size: 25px;
  max-width: 915px;
}
section.composition.container em {
    font-size: 84px;
}

section.composition.container span {
    font-size: 74px;
}

section.composition.container h2 {
    max-width: 920px;
    margin:  0 auto;
}
/* ============================================================
   SEM AGULHAS (COZINHA)
   ============================================================ */
.needles {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 41vw, 792px);
  display: flex;
}

.needles__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

.needles__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem;
  padding-top: 20px;
  text-align: center;
}

.needles__icon {
  width: clamp(48px, 4vw, 75px);
  height: auto;
  margin: 0 auto clamp(1rem, 1.6vw, 1.5rem);
  margin-bottom: 0;
}

.needles .display-heading {
  font-size: 90px;
      display: flex;
    flex-direction: column;
    line-height: 90px;
}
.needles .display-heading span {
  font-size: 80px;
}

.needles__lead {
  max-width: 40rem;
  margin: clamp(1rem, 1.6vw, 1.5rem) auto 0;
  line-height: 33px;
}

/* ============================================================
   CIÊNCIA (wrapper de MyoKi + Modulação + Indicações)
   Fundo claro com leve brilho de cor por trás das seções.
   ============================================================ */
.science {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.science__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 88% 12%, rgba(220, 241, 100, 0.18), transparent 70%),
    radial-gradient(46% 38% at 96% 30%, rgba(239, 13, 227, 0.16), transparent 72%),
    radial-gradient(54% 44% at 86% 64%, rgba(51, 30, 114, 0.16), transparent 75%),
    radial-gradient(40% 30% at 8% 84%, rgba(239, 13, 227, 0.12), transparent 72%);
}

.science>* {
  position: relative;
  z-index: 1;
}

/* ============================================================
   PRODUTOS — carrossel full-bleed (Myoki / ProGsterol / Korglutide)
   Cada slide: cena (imagem de fundo) à esquerda + texto em "pílulas"
   glass à direita. Navega por scroll-snap (swipe) + setas.
   ============================================================ */
.products {
  position: relative;
  border-top: 1px solid var(--divider);
  /* linha divisória entre as 3 seções */
  transition: opacity 0.4s ease;
}

/* Apenas um carrossel de produto fica visível por vez (alternado pelo nav). */
.products[hidden] {
  display: none;
}

/* Estado inicial do fade ao revelar um carrossel (JS remove a classe p/ animar). */
.products--enter {
  opacity: 0;
}

.products__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge antigo */
  overscroll-behavior-x: contain;
}

.products__track::-webkit-scrollbar {
  display: none;
}

.product {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: clamp(560px, 51.5vw, 990px);
  display: flex;
  overflow: hidden;
}

.product__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
}

.product__content {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 1320px);
  margin-inline: auto;
  padding-top: clamp(2rem, 6vw, 5.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.product__copy {
  width: clamp(320px, 60%, 940px);
  margin-left: auto;
}

.product__intro {
  margin: 0 0 clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 300;
  font-size: clamp(1.02rem, 1.32vw, 1.56rem);
  line-height: 1.32;
}

.product__intro strong {
  font-weight: 700;
}

/* Pílulas "glass" com os benefícios */
.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.5vw, 1.5rem);
}

.pill {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: clamp(26px, 4vw, 80px);
  padding: clamp(0.9rem, 1.5vw, 1.5rem) clamp(1.3rem, 2.2vw, 2.4rem);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.pill__icon {
  flex: 0 0 auto;
  width: clamp(38px, 3.2vw, 50px);
  height: clamp(38px, 3.2vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pill p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(0.98rem, 1.22vw, 1.46rem);
  line-height: 1.3;
}

.pill p strong {
  font-weight: 700;
}

/* Setas de navegação (centradas na base do slide visível) */
.products__nav {
  position: absolute;
  left: 50%;
  bottom: clamp(1.1rem, 2.4vw, 2.4rem);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: clamp(0.6rem, 1vw, 1rem);
}

.carousel-btn {
  width: clamp(42px, 3.1vw, 55px);
  height: clamp(42px, 3.1vw, 55px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid var(--color-black);
  border-radius: 50%;
  background: transparent;
  color: var(--color-black);
  opacity: 0.42;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover:not(:disabled),
.carousel-btn:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
}

.carousel-btn:disabled {
  opacity: 0.16;
  cursor: default;
}

.carousel-btn svg {
  width: 44%;
  height: 44%;
  display: block;
}

/* ---------- Abas 2 e 3: painéis "glass" centrais sobre a cena ---------- */
.panel {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: clamp(28px, 3.6vw, 64px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Abas centradas: pilha de painéis no centro do slide */
.product--center .product__content {
  display: flex;
  justify-content: center;
}

.panel-stack {
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.4vw, 1.3rem);
}

.panel--intro {
  padding: clamp(1.1rem, 1.9vw, 1.7rem) clamp(1.4rem, 2.6vw, 2.6rem);
  text-align: center;
}

.panel--intro p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  line-height: 1.3;
}

.panel--intro strong {
  font-weight: 700;
}

/* Lista de itens com "badge" de emoji */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.4vw, 1.3rem);
}

.icon-list__item {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  padding: clamp(1rem, 1.7vw, 1.6rem) clamp(1.3rem, 2.2vw, 2.3rem);
}

.badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 4.6vw, 72px);
  height: clamp(52px, 4.6vw, 72px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1;
}

.icon-list__item p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(0.98rem, 1.2vw, 1.44rem);
  line-height: 1.3;
}

.icon-list__item strong {
  font-weight: 700;
}

/* Aba "quatro pilares" — grid 2x2 com divisória vertical */
.panel--grid {
  position: relative;
  padding: clamp(1.4rem, 2.8vw, 2.8rem);
}

.panel--grid::before {
  content: "";
  position: absolute;
  top: clamp(1.4rem, 2.8vw, 2.8rem);
  bottom: clamp(1.4rem, 2.8vw, 2.8rem);
  left: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.4vw, 2.4rem) clamp(1.8rem, 3.4vw, 3.6rem);
}

.pillars p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(0.98rem, 1.2vw, 1.44rem);
  line-height: 1.3;
}

.pillars strong {
  font-weight: 700;
}

/* Aba com selo FDA (ProGsterol aba 2): selo à esquerda, pílulas à direita */
.product--seal .product__seal {
  position: absolute;
  left: clamp(1.5rem, 6vw, 7rem);
  top: 50%;
  transform: translateY(-50%) rotate(-9deg);
  width: clamp(110px, 17vw, 290px);
  height: auto;
  z-index: 1;
}

.pills--lg .pill {
  background: rgba(255, 255, 255, 0.6);
  border-radius: clamp(28px, 3vw, 50px);
  padding: clamp(1.1rem, 2vw, 1.8rem) clamp(1.4rem, 2.4vw, 2.4rem);
}

/* ---------- Modulação avançada (card arredondado) ---------- */
.modulacao {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 160px;
}

.modulacao__card {
      position: relative;
    border-radius: clamp(28px, 4vw, 80px);
    background: url(assets/section4modulacaobg.png) left center / auto 100% no-repeat, #ffffff00;
    background-size: cover;
        padding: 70px;
}

.modulacao__text {
  max-width: 607px;
  padding: 0;
  margin-left: 35%;
  align-self: center;
}

.modulacao__title {
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  margin-bottom: clamp(1rem, 1.8vw, 1.6rem);
  line-height: 68px;
}

.modulacao__para {
  margin: 0;
  font-weight: 300;
  font-size: 25px;
  line-height: 1.32;
}

.modulacao__para+.modulacao__para {
  margin-top: clamp(1.1rem, 2vw, 1.7rem);
}

.modulacao__para strong {
  font-weight: 700;
}

/* ---------- Indicações ---------- */
.indications {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 62rem;
  text-align: center;
}

.indications__item {
  margin: 0 auto;
  max-width: 58rem;
  font-weight: 300;
  font-size: 25px;
  line-height: 40px;
}

.indications__item strong {
  font-weight: 700;
}

.indications__dot {
  display: block;
  width: 6px;
  height: 6px;
  margin: 30px auto;
  border-radius: 50%;
  background: var(--color-black);
}

/* ============================================================
   VÍDEO
   ============================================================ */
.video {
  position: relative;
}

.video__bg {
  width: 100%;
  height: clamp(360px, 44vw, 840px);
  object-fit: cover;
}

.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--video-overlay);
}

.video__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 200;
  font-size: clamp(1.1rem, 2.1vw, 2.55rem);
  letter-spacing: clamp(3px, 0.42vw, 8.17px);
}

/* ============================================================
   FOOTER / CTA
   ============================================================ */
.cta {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.cta__title {
  font-size: clamp(1.7rem, 5.4vw, 5rem);
}

.cta__lead {
  max-width: 52rem;
  margin: clamp(1.2rem, 2vw, 2rem) auto 0;
  line-height: 1.5;
}

.copyright {
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  color: var(--text-footer);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

h2.display-heading.center.cta__title {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   RESPONSIVO — reflow para tablet / mobile
   ============================================================ */
@media (max-width: 860px) {
  .intro__top {
    grid-template-columns: 1fr;
    gap: clamp(1.2rem, 3vw, 2rem);
  }

  .intro__lead {
    line-height: 1.4;
  }

  .benefits__list {
    grid-template-columns: 1fr;
  }

  /* Carrossel de produtos: a cena sobe para o topo do slide e o texto fica
     abaixo, num bloco claro e legível (em vez de sobreposto à imagem) */
  .product {
    flex-direction: column;
    min-height: 0;
  }

  .product__bg {
    position: relative;
    flex: 0 0 auto;
    height: clamp(220px, 58vw, 380px);
  }

  .product__content {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    padding: clamp(1.6rem, 6vw, 2.4rem) 1.25rem clamp(4.5rem, 13vw, 5.5rem);
    background: #f5f6f7;
  }

  .product__copy {
    width: 100%;
  }

  .pill {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Abas centradas: a pilha de painéis ocupa a largura toda abaixo da cena */
  .product--center .product__content {
    display: block;
  }

  .panel-stack {
    width: 100%;
  }

  .panel {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* grid 2x2 → 1 coluna, sem divisória */
  .pillars {
    grid-template-columns: 1fr;
  }

  .panel--grid::before {
    display: none;
  }

  /* selo FDA passa para o fluxo, acima das pílulas */
  .product--seal .product__seal {
    position: static;
    transform: rotate(-6deg);
    width: clamp(96px, 26vw, 150px);
    margin: 0 0 clamp(1rem, 4vw, 1.5rem);
  }

  .pills--lg .pill {
    background: rgba(255, 255, 255, 0.92);
  }

  .modulacao__card {
    flex-direction: column;
    justify-content: flex-start;
    background:
      url("assets/section4-modulacao.png") center top / 92% auto no-repeat,
      var(--color-white);
  }

  .modulacao__text {
    width: 100%;
    margin-top: clamp(150px, 40vw, 260px);
    padding: clamp(1.4rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(3px);
  }
}

@media (max-width: 520px) {
  .nav-pills {
    gap: 0.5rem;
  }

  .nav-pills a {
    min-width: 0;
    padding: 0 0.85rem;
    height: 34px;
    font-size: 0.9rem;
  }

  .hero__products {
    max-width: 94%;
  }

  .needles__inner {
    padding-bottom: clamp(2rem, 5vw, 3rem);
  }

  /* Tamanhos de fonte explícitos no mobile (independentes de vw) */
  .hero__title,
  .intro__title,
  .composition__title,
  .needles .display-heading,
  .modulacao__title,
  .cta__title {
    font-size: 2rem;
  }

  .hero__subtitle,
  .lead,
  .intro__lead,
  .product__intro,
  .pill p,
  .panel--intro p,
  .icon-list__item p,
  .pillars p,
  .modulacao__para,
  .indications__item {
    font-size: 1.05rem;
  }

  .benefit__text {
    font-size: 1rem;
  }

  .video__label {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }
}

/* Respeita preferências de redução de movimento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-pills a {
    transition: none;
  }

  .carousel-btn {
    transition: none;
  }

  .products {
    transition: none;
  }

  .modulacao__text {
    backdrop-filter: none;
  }
}