/* =====================================================================
   JELLYTHIN — STYLESHEET
   Apple Cider Vinegar + Keto Gummies — Sales Pages
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. RESET & BASE
   --------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-dark);
  background-color: var(--c-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}


/* ---------------------------------------------------------------------
   2. DESIGN TOKENS (cores, fontes, espaçamentos)
   --------------------------------------------------------------------- */

:root {
  /* Paleta oficial Jellythin */
  --c-red:        #AD182B;   /* Red Primary    — CTAs, headlines, ribbons */
  --c-rose:       #CC2B4D;   /* Rose Secondary — Hover, accents, divisores */
  --c-pink:       #FFE4DF;   /* Light Pink     — Backgrounds suaves */
  --c-mauve:      #BB528C;   /* Mauve Accent   — Texto secundário */
  --c-white:      #FFFFFF;   /* White Neutral  — Bg principal, texto sobre vermelho */
  --c-dark:       #1A1A1A;   /* Dark Text      — Texto principal */

  /* Tons derivados */
  --c-red-dark:   #8C0F1F;
  --c-pink-soft:  #FFF0EC;
  --c-gray:       #6B6B6B;
  --c-gray-soft:  #E8E8E8;

  /* CTA — verde "go" clássico de e-commerce (gatilho de conversão) */
  --c-cta:        #16A34A;
  --c-cta-hover:  #15803D;

  /* Tipografia */
  --font-body:    'Montserrat', sans-serif;
  --font-display: 'Oswald', 'Montserrat', sans-serif;

  /* Layout */
  --container:    1200px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;

  /* Sombras */
  --shadow-sm:    0 2px 8px rgba(26, 26, 26, 0.08);
  --shadow-md:    0 8px 24px rgba(26, 26, 26, 0.12);
  --shadow-lg:    0 16px 48px rgba(173, 24, 43, 0.18);
}


/* ---------------------------------------------------------------------
   3. UTILITÁRIOS
   --------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.white       { color: var(--c-white); }
.red         { color: var(--c-red); }
.rose        { color: var(--c-rose); }


/* =====================================================================
   ============================== CLAIM ===============================
   Faixa de chamada — vermelho com headline branca
   ===================================================================== */

.claim {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-rose) 100%);
  padding: 38px 20px;
  position: relative;
  overflow: hidden;
}

.claim::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.claim__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.claim__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 600;
  color: var(--c-white);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-transform: uppercase;
}

.claim__title u {
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}


/* =====================================================================
   ============================ BUYBOX (POTES) ========================
   Grid de 3 cards de oferta — 2 | 6 | 3 (6 = Most Popular destacado)
   ===================================================================== */

.potes {
  background-color: var(--c-pink);
  padding: 0 0 80px;
  position: relative;
}

/* Trapézio decorativo — extensão visual do Claim acima.
   Sai colado na faixa do Claim e desce em "V" apontando pro card central. */
.potes__triangle {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-rose) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 4px 8px rgba(173, 24, 43, 0.25));
  position: relative;
  z-index: 1;
}

.potes__wrapper {
  position: relative;
  padding-top: 50px;
}

.potes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* ---------- Card individual ---------- */

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 280ms ease, box-shadow 280ms ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card__header {
  background: var(--c-red);
  padding: 16px 20px;
  text-align: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card__tier {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 24px 24px;
  gap: 22px;
}

.card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.card__qty {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--c-red);
  text-transform: uppercase;
  line-height: 1;
}

.card__supply {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card__bottle {
  width: 100%;
  max-width: 240px;
  margin-top: 4px;
  filter: drop-shadow(0 8px 16px rgba(173, 24, 43, 0.18));
  transition: transform 320ms ease;
}

.card:hover .card__bottle {
  transform: scale(1.04);
}

.card__price-block {
  text-align: center;
  border-top: 1px solid var(--c-gray-soft);
  padding-top: 18px;
}

.card__price {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
}

.card__price-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-gray);
  margin-top: 4px;
}

/* Lista de bonuses (com checks) */
.card__bonuses {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 0;
}

.card__bonus {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-dark);
}

.card__bonus svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.card__bonus--shipping { color: var(--c-red); }

/* Botão BUY NOW */
.card__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 22px;
  background: var(--c-cta);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.30);
}

.button:hover {
  background: var(--c-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.40);
}

.button svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-white);
}

.card__cards {
  width: 100%;
  max-width: 220px;
  opacity: 0.85;
}

/* ---------- Card destacado (MOST POPULAR / 6 BOTTLES) ---------- */

.card--featured {
  background: var(--c-white);
  border: 3px solid var(--c-red);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.card--featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.card--featured .card__header {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-rose) 100%);
  padding: 20px;
  border-radius: calc(var(--radius-lg) - 3px) calc(var(--radius-lg) - 3px) 0 0;
}

.card--featured .card__tier {
  font-size: 1.3rem;
}

.card--featured .card__qty,
.card--featured .card__price {
  color: var(--c-rose);
}

/* Badge "MOST POPULAR" no topo do card destacado */
.card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-mauve);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(187, 82, 140, 0.4);
}


/* =====================================================================
   ============================== GUARANTEE ===========================
   Bloco de garantia 60 dias, ícones FDA e selo USA-made
   ===================================================================== */

.guarantee {
  background: var(--c-white);
  padding: 80px 0;
}

.guarantee__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--c-red);
  text-align: center;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 38px;
}

.guarantee__content {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 28px;
  background: var(--c-pink-soft);
  border-radius: var(--radius-md);
  border-left: 5px solid var(--c-red);
}

.guarantee__seal {
  width: 160px;
  flex-shrink: 0;
}

.guarantee__text {
  font-size: 1rem;
  color: var(--c-dark);
  line-height: 1.7;
}

.guarantee__text b { color: var(--c-red); }

.guarantee__fda {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 30px 0 24px;
  filter: grayscale(0.2);
  opacity: 0.8;
}

.guarantee__fda-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border: 2px solid var(--c-gray-soft);
  border-radius: var(--radius-sm);
}

.guarantee__usa {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  text-align: center;
}

.guarantee__usa b { color: var(--c-red); }


/* =====================================================================
   ================================ LABEL =============================
   Imagem da label do produto (suplement facts)
   ===================================================================== */

.label {
  background: var(--c-pink);
  padding: 70px 0;
}

.label__wrap {
  display: flex;
  justify-content: center;
}

.label__wrap img {
  max-width: 720px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}


/* =====================================================================
   =============================== FOOTER ============================
   Links institucionais + disclaimer
   ===================================================================== */

.footer {
  background: var(--c-red-dark);
  color: var(--c-white);
  padding: 50px 0 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.footer__links a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-white);
  transition: color 200ms ease;
  position: relative;
}

.footer__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--c-pink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms ease;
}

.footer__links a:hover::after { transform: scaleX(1); }
.footer__links a:hover { color: var(--c-pink); }

.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 920px;
}

.footer__disclaimer b { color: var(--c-pink); }


/* =====================================================================
   ============================ RESPONSIVO ============================
   Breakpoints: 992px (tablet) | 720px (mobile médio) | 480px (mobile)
   ===================================================================== */

@media (max-width: 992px) {

  .potes__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 36px;
  }

  /* No mobile, o card destacado vai pro topo */
  .card--featured { order: -1; transform: scale(1); }
  .card--featured:hover { transform: translateY(-6px); }

  .potes__triangle { display: none; }

  .guarantee__content {
    flex-direction: column;
    text-align: center;
  }

  .guarantee__content { border-left: none; border-top: 5px solid var(--c-red); }

  .guarantee__seal { width: 130px; }
}

@media (max-width: 720px) {

  .claim { padding: 30px 20px; }

  .potes  { padding: 50px 0 60px; }

  .guarantee, .label { padding: 56px 0; }

  .card__body  { padding: 22px 18px; }

  .card__bottle { max-width: 200px; }

  .footer__links { gap: 22px; }
}

@media (max-width: 480px) {

  .container { padding: 0 16px; }

  .card__price { font-size: 3rem; }

  .button { font-size: 1.1rem; padding: 14px 18px; }

  .footer__links { gap: 16px; }
  .footer__links a { font-size: 0.85rem; }
}
