/*
 * ============================================================
 *  RELÍVIA — Design System Compartilhado
 *  Versão 2.0 — Março 2026
 *
 *  PALETA OFICIAL:
 *    --blue       #2E2BFF   Azul principal (botões, preços, badges, acentos)
 *    --blue-dark  #1B17FF   Azul escuro (hovers, wave divider)
 *    --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 (único elemento colorido)
 * ============================================================
 */

/* ===== 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 {
  --blue:      #2E2BFF;
  --blue-dark: #1B17FF;
  --white:     #ffffff;
  --gray:      #F5F6F8;
  --border:    #e2e4e9;
  --text:      #111111;
  --muted:     #666666;
  --stars:     #ffcc00;
}

/* ===== TIPOGRAFIA ===== */
/* Incluir no <head> de cada página:
   <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap" rel="stylesheet"> */
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); }


/* ============================================================
   PLACEHOLDERS (remover ao adicionar imagens reais)
   ============================================================ */
.placeholder {
  background: rgba(46,43,255,0.05);
  border: 2px dashed rgba(46,43,255,0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
}
.placeholder .icon { font-size: 38px; line-height: 1; }


/* ============================================================
   HEADER — fundo branco
   ============================================================ */
.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 — azul principal
   ============================================================ */
.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;
}

/* Azul pequeno (header, secundário) */
.btn--red {
  background: var(--blue);
  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--red:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,43,255,.38);
}

/* Azul grande (bloco full-width) */
.btn--red-lg {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  border-radius: 8px;
}

/* Branco (CTA em fundo azul) */
.btn--white {
  background: var(--white);
  color: var(--blue);
  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 de desconto */
.badge--discount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
}

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

/* Badge de urgência — azul com pulso */
.badge--urgency {
  background: var(--blue);
  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} }

/* Selos de confiança */
.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(--blue); }
.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(--blue);
  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(--blue); margin-top: 8px; }
.variant-card__check  {
  position: absolute;
  top: -10px; right: -10px;
  width: 22px; height: 22px;
  background: var(--blue);
  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; }
/* Setas de navegação da galeria */
.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(--blue);
  color: var(--blue);
  background: rgba(46,43,255,.05);
}
.gallery__counter {
  font-size: 13px;
  color: var(--muted);
  min-width: 36px;
  text-align: center;
}

/* Slides (quando usar imagens reais) */
.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); }


/* ============================================================
   SEÇÃO SOBRE / QUEM SOMOS — fundo cinza claro
   ============================================================ */
.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(--blue); 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 (seções de copy)
   ============================================================ */
.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(--blue); 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; }


/* ============================================================
   MULTIROW (como usar / features) — fundo cinza claro
   ============================================================ */
.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(--blue);
  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(--blue); font-style: normal; }
.multirow-content p  { font-size: 15px; color: #444; margin-bottom: 10px; }


/* ============================================================
   SEÇÃO MÉDICO / ESPECIALISTA — fundo branco
   ============================================================ */
.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(--blue); font-style: normal; }
.doctor-content p { font-size: 15px; color: #444; margin-bottom: 12px; }
.doctor-content strong { color: var(--text); font-weight: 700; }


/* ============================================================
   ACCORDION (benefícios)
   ============================================================ */
.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(--blue); 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%; }


/* ============================================================
   SEÇÃO FINAL CTA — fundo azul
   ============================================================ */
.cta-section {
  background: var(--blue);
  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 — preto
   ============================================================ */
.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); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


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

  .multirow-row--reverse { direction: ltr; }

  .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; }
}

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

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