/*
 * ============================================================
 *  TEMPLATE PRODUTO — Design System
 *  Versão genérica para clonagem de páginas Shopify
 *
 *  COMO CUSTOMIZAR:
 *    Altere apenas as variáveis em :root abaixo
 *    --primary  = cor da marca (botões, CTAs, preços, badges)
 *    --primary-dark = hover dos botões e wave divider
 *
 *  PALETA SUGERIDA (azul):
 *    --primary       #2E2BFF
 *    --primary-dark  #1B17FF
 *    --white         #ffffff
 *    --gray          #F5F6F8   Cinza claro fundo (seções alternadas)
 *    --text          #111111   Preto texto
 *    --muted         #666666   Texto secundário
 *    --border        #e2e4e9   Bordas
 *    --stars         #ffcc00   Estrelas de avaliação
 * ============================================================
 */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #111111;
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary:      #2E2BFF;   /* TROQUE pela cor da sua marca */
  --primary-dark: #1B17FF;   /* Versão escura para hover */

  /* Aliases para retrocompatibilidade — não precisa mexer */
  --green:      var(--primary);
  --green-dark: var(--primary-dark);

  --white:      #ffffff;
  --gray:       #F5F6F8;
  --border:     #e2e4e9;
  --text:       #111111;
  --muted:      #666666;
  --stars:      #ffcc00;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4 { line-height: 1.3; color: var(--text); }
p { line-height: 1.75; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; }
.section       { padding: 56px 24px; }
.section--white { background: var(--white); }
.section--gray  { background: var(--gray); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all .2s ease;
  text-align: center;
  font-weight: 700;
  letter-spacing: .5px;
}

.btn--green {
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 7px;
  font-size: 15px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(46,43,255,.28);
}
.btn--green:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,43,255,.38);
}

.btn--green-lg {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  border-radius: 8px;
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  padding: 18px 52px;
  border-radius: 8px;
  font-size: 18px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(0,0,0,.22);
}

/* ============================================================
   BADGES & SELOS
   ============================================================ */
.badge--discount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
}

.badge--social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.badge--urgency {
  background: var(--primary);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.72} }

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.trust-bar__item .icon { font-size: 18px; }

/* ============================================================
   ESTRELAS & AVALIAÇÃO
   ============================================================ */
.stars-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: var(--stars); font-size: 20px; letter-spacing: 1px; }
.stars-label { font-size: 14px; color: var(--muted); }

/* ============================================================
   PREÇO
   ============================================================ */
.price-block { display: flex; flex-direction: column; gap: 8px; }
.price-row   { display: flex; align-items: baseline; gap: 12px; }
.price-current  { font-size: 38px; font-weight: 700; color: var(--primary); }
.price-original { font-size: 20px; color: #b4b4b4; text-decoration: line-through; }

/* ============================================================
   SELETOR DE VARIANTE
   ============================================================ */
.variant-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 10px;
}
.variant-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.variant-card {
  flex: 1;
  min-width: 130px;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  position: relative;
  background: var(--white);
}
.variant-card:hover,
.variant-card.active {
  border-color: var(--primary);
  background: rgba(46,43,255,.04);
}
.variant-card__name   { font-weight: 700; font-size: 15px; color: var(--text); }
.variant-card__sub    { font-size: 12px; color: var(--muted); margin-top: 2px; }
.variant-card__price  { font-size: 17px; font-weight: 700; color: var(--primary); margin-top: 8px; }
.variant-card__popular {
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 2px 10px;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto 6px;
}
.variant-card__check  {
  position: absolute;
  top: -10px; right: -10px;
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  color: var(--white);
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
}
.variant-card.active .variant-card__check { display: flex; }

/* ============================================================
   GALERIA DE PRODUTO
   ============================================================ */
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery__main {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gray);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
}
.gallery__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  line-height: 1;
}
.gallery__arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(46,43,255,.05);
}
.gallery__counter {
  font-size: 13px;
  color: var(--muted);
  min-width: 36px;
  text-align: center;
}
.gallery__slide { display: none; width: 100%; height: 100%; }
.gallery__slide.active { display: block; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SEÇÃO PRODUTO (HERO)
   ============================================================ */
.product-section { padding: 36px 24px; background: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-title { font-size: 27px; font-weight: 700; line-height: 1.3; color: var(--text); }
.product-subtitle { font-size: 15px; color: var(--muted); }

/* ============================================================
   SEÇÃO SOBRE / QUEM SOMOS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.about-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--border); }
.about-img img { width:100%; height:100%; object-fit:cover; }
.about-content h2 { font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.about-content h2 em { color: var(--primary); font-style: normal; }
.about-content p { font-size: 15px; color: #444; margin-bottom: 12px; }
.about-content strong { color: var(--text); }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.section-heading { text-align: center; font-size: 30px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.section-sub {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--muted);
  margin-bottom: 36px;
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.tcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tcard__img     { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--gray); }
.tcard__img img { width:100%; height:100%; object-fit:cover; }
.tcard__stars   { color: var(--stars); font-size: 17px; }
.tcard__title   { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--text); }
.tcard__text    { font-size: 14px; color: #555; line-height: 1.65; }
.tcard__author  { font-size: 13px; color: var(--muted); font-style: italic; }

/* ============================================================
   RICH TEXT
   ============================================================ */
.rtext-section        { padding: 52px 24px; }
.rtext-section--gray  { background: var(--gray); }
.rtext-section--white { background: var(--white); }
.rtext { max-width: 780px; margin: 0 auto; text-align: center; }
.rtext h2 { font-size: 30px; font-weight: 700; line-height: 1.35; margin-bottom: 20px; color: var(--text); }
.rtext h2 em { color: var(--primary); font-style: normal; }
.rtext p { font-size: 16px; color: #444; margin-bottom: 12px; }
.rtext strong { color: var(--text); }
.rtext__checklist { list-style: none; text-align: left; display: inline-block; margin-top: 10px; }
.rtext__checklist li { font-size: 16px; font-weight: 600; color: var(--text); padding: 4px 0; }

/* ============================================================
   IMAGE-WITH-TEXT
   ============================================================ */
.iwt-section { padding: 56px 24px; }
.iwt-section--white { background: var(--white); }
.iwt-section--gray  { background: var(--gray); }
.iwt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.iwt-media { border-radius: 16px; overflow: hidden; background: var(--border); aspect-ratio: 4/3; }
.iwt-media img, .iwt-media video { width: 100%; height: 100%; object-fit: cover; }
.iwt-content h2 { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.iwt-content h2 em { color: var(--primary); font-style: normal; }
.iwt-content p { font-size: 15px; color: #444; margin-bottom: 10px; }
.iwt-content strong { color: var(--text); }

/* ============================================================
   MULTIROW (como usar)
   ============================================================ */
.multirow-section { padding: 56px 24px; background: var(--gray); }
.multirow { display: flex; flex-direction: column; gap: 64px; max-width: 1200px; margin: 0 auto; }
.multirow-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.multirow-row--reverse { direction: rtl; }
.multirow-row--reverse > * { direction: ltr; }
.multirow-media { border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; background: var(--border); }
.multirow-media img, .multirow-media video { width:100%; height:100%; object-fit:cover; }
.multirow-content { color: var(--text); }
.multirow-content__caption {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}
.multirow-content h3 { font-size: 26px; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.multirow-content h3 em { color: var(--primary); font-style: normal; }
.multirow-content p { font-size: 15px; color: #444; margin-bottom: 10px; }

/* ============================================================
   MÉDICO / ESPECIALISTA
   ============================================================ */
.doctor-section { padding: 56px 24px; background: var(--white); border-top: 1px solid var(--border); }
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.doctor-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; background: var(--gray); }
.doctor-img img { width:100%; height:100%; object-fit:cover; }
.doctor-content { color: var(--text); }
.doctor-content h2 { font-size: 26px; font-weight: 700; margin-bottom: 22px; color: var(--text); }
.doctor-content h2 em { color: var(--primary); font-style: normal; }
.doctor-content p { font-size: 15px; color: #444; margin-bottom: 12px; }
.doctor-content strong { color: var(--text); font-weight: 700; }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}
.stat-card__number { font-size: 42px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.stat-card__label  { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   TABELA COMPARATIVA
   ============================================================ */
.comparison-section { padding: 56px 24px; background: var(--white); }
.comparison-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.3;
}
.comparison-title em { color: var(--primary); font-style: normal; }
.ctable-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; }
.ctable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 480px;
}
.ctable th {
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.ctable th:first-child { text-align: left; width: 44%; }
.ctable th.ctable__us-head {
  background: var(--primary);
  color: var(--white);
  border-bottom-color: var(--primary-dark);
  border-radius: 10px 10px 0 0;
}
.ctable td {
  padding: 13px 12px;
  font-size: 14px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.ctable td:first-child { text-align: left; font-weight: 500; color: var(--text); background: var(--gray); }
.ctable td.ctable__us-cell { background: rgba(46,43,255,.05); }
.ctable__check { color: var(--primary); font-size: 18px; font-weight: 900; }
.ctable__x { color: #ccc; font-size: 18px; }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-section { padding: 16px 24px 56px; background: var(--gray); }
.accordion-intro { max-width: 760px; margin: 0 auto 28px; text-align: center; font-size: 16px; color: #444; }
.accordion { max-width: 760px; margin: 0 auto; }
.acc-item  { border-top: 1px solid var(--border); }
.acc-item:last-child { border-bottom: 1px solid var(--border); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}
.acc-icon  { color: var(--primary); font-size: 20px; flex-shrink: 0; }
.acc-label { flex: 1; font-size: 15px; font-weight: 600; color: var(--text); }
.acc-arrow { color: #aaa; font-size: 13px; flex-shrink: 0; transition: transform .3s; }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body  { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.acc-item.open .acc-body { max-height: 400px; }
.acc-body__inner { padding: 0 0 16px 32px; font-size: 14px; color: #555; line-height: 1.7; }

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave { line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-section {
  background: var(--primary);
  padding: 64px 24px;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: 34px; font-weight: 700; margin-bottom: 12px; color: var(--white); }
.cta-section p  { font-size: 16px; opacity: .88; margin-bottom: 36px; }
.cta-section .urgency-note { margin-top: 20px; font-size: 14px; opacity: .72; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--text); color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.8; }
.site-footer a { color: rgba(255,255,255,.55); transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 12px; opacity: .85; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 6px; letter-spacing: .3px; }
.footer-sub { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.footer-info { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-info li { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-info a  { color: rgba(255,255,255,.75); }
.footer-info a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .product-grid,
  .about-grid,
  .tgrid,
  .multirow-row,
  .doctor-grid,
  .iwt-grid,
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }

  .multirow-row--reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .product-title    { font-size: 22px; }
  .price-current    { font-size: 30px; }
  .rtext h2         { font-size: 24px; }
  .about-content h2 { font-size: 26px; }
  .section-heading  { font-size: 24px; }
  .cta-section h2   { font-size: 26px; }
  .comparison-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .site-header { padding: 10px 16px; }
  .btn--green  { padding: 10px 18px; font-size: 13px; }

  .product-section,
  .section,
  .rtext-section,
  .multirow-section,
  .doctor-section,
  .accordion-section { padding-left: 16px; padding-right: 16px; }
}
