/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video, iframe { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ===== TOKENS ===== */
:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --fg: #0e0e10;
  --muted: #5b5b62;
  --muted-2: #7a7a82;
  --border: #e6e6e9;
  --soft: #fafafa;

  --accent: #d32f2f;
  --accent-strong: #b71c1c;
  --accent-deep: #7f1010;
  --accent-soft: #ffe9e9;
  --accent-softer: #fff4f4;
  --accent-border: #f5b5b5;

  --success: #1f8a3a;
  --success-soft: #e8f6ec;
  --success-border: #b8dcc1;

  --warn-bg: #fff8e6;
  --warn-border: #f1d28a;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-cta: 0 10px 24px rgba(211,47,47,0.35);

  --radius: 10px;
  --radius-sm: 8px;
  --max-width: 640px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== LAYOUT ===== */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.page > section,
.page > header { margin-bottom: 22px; }

.section-title {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ===== 3. HEADLINE ===== */
.headline { text-align: center; padding: 0 8px; }
.headline h1 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 5.8vw, 28px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Cada bloco em sua própria linha controlada */
.headline .hl-row {
  display: block;
}

/* Linha do grifo verde — centralizada, com respiro extra */
.headline .hl-row-mark {
  margin: 2px 0;
}

/* Highlight verde "marca-texto" — sutil, sem cara de botão */
.headline mark.hl-green {
  background: #b6ff5a;
  color: var(--fg);
  padding: 0 4px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Sublinhado simples (estilo "Sono de Bebê" do Ducati) */
.headline .hl-underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 700;
}

/* Live counter */
.live-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--fg);
  font-weight: 700;
}
.live-counter .live-text { letter-spacing: 0.01em; }
.live-counter strong { color: var(--accent); font-weight: 900; }
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef3b3b;
  box-shadow: 0 0 0 0 rgba(239,59,59,0.7);
  animation: liveBlink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes liveBlink {
  0%   { box-shadow: 0 0 0 0 rgba(239,59,59,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(239,59,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,59,59,0); }
}

/* ===== 4. PLAYER (vertical 9:16, Panda Video) ===== */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(211,47,47,0.18);
  transition: all 280ms ease;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fake progress bar (estilo Ducati) */
.fake-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255,255,255,0.18);
  z-index: 4;
  pointer-events: none;
}
.fake-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 6px rgba(211,47,47,0.6);
  transition: width 200ms linear;
}

/* CTA inline — botão verde logo abaixo do vídeo (estilo Ducati) */
.cta-inline[hidden] { display: none !important; }
.cta-inline {
  margin: 14px auto 0;
  max-width: 360px;
  padding: 0 4px;
  animation: fadeUp 360ms ease-out;
  text-align: center;
}
.cta-inline-button {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(180deg, #2ecc55, #1f8a3a);
  color: #fff;
  font-size: clamp(15px, 4.4vw, 18px);
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31,138,58,0.35);
  transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
  animation: ctaInlinePulse 1.8s ease-in-out infinite;
  border: 2px solid rgba(255,255,255,0.18);
  letter-spacing: 0.01em;
}
.cta-inline-button:hover { background: linear-gradient(180deg, #28b04a, #176d2c); }
.cta-inline-button:active { transform: translateY(1px); box-shadow: 0 4px 10px rgba(31,138,58,0.4); }
@keyframes ctaInlinePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(31,138,58,0.35); }
  50%      { transform: scale(1.02); box-shadow: 0 12px 26px rgba(31,138,58,0.5); }
}


/* ===== HOOK PÓS-PLAYER ===== */
.hook {
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--accent-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.hook p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.4;
}

/* ===== AUTORIDADE / ESPECIALISTA ===== */
.expert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.expert-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9e9ee, #d4d4dc);
  border: 2px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.expert-photo-placeholder {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}
.expert-info { flex: 1; min-width: 0; }
.expert-name {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
}
.expert-credential {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.expert-bio {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}
.expert-quote {
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}

/* ===== 5. INSTRUÇÕES ===== */
.instructions ul {
  list-style: none;
  padding: 12px 14px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.instructions li {
  font-size: 14.5px;
  padding: 10px 4px;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}
.instructions li + li { border-top: 1px solid var(--border); }
.instructions .ico { flex-shrink: 0; font-size: 18px; line-height: 1.2; }

/* ===== 8. CTA ===== */
.cta[hidden] { display: none !important; }
.cta {
  text-align: center;
  padding: 4px 0 4px;
  animation: fadeUp 360ms ease-out;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px 22px;
  background: linear-gradient(180deg, #e53935, var(--accent-strong));
  color: #fff;
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 12px;
  box-shadow: var(--shadow-cta);
  transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
  animation: ctaPulse 1.8s ease-in-out infinite;
  border: 0;
}
.cta-button:hover { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); }
.cta-button:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(211,47,47,0.4); }
.cta-button .cta-arrow {
  font-size: 22px;
  font-weight: 900;
  transition: transform 160ms ease;
}
.cta-button:hover .cta-arrow { transform: translateX(4px); }

/* Frase curta de garantia abaixo do botão CTA */
.cta-reassure {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  flex-wrap: wrap;
}
.cta-reassure > span:first-child {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.cta-reassure strong { color: var(--success); font-weight: 800; }

/* ===== ANTES x DEPOIS ===== */
.ba-grid {
  display: grid;
  gap: 12px;
}
.ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.ba-before { border-left: 4px solid #cbb6b6; background: #fbf6f6; }
.ba-after  { border-left: 4px solid var(--success); background: var(--success-soft); }

.ba-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.ba-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d9c7c7;
  color: #5b3030;
}
.ba-tag-success { background: var(--success); color: #fff; }
.ba-emoji { font-size: 22px; line-height: 1; }

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ba-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 14px;
  line-height: 1.45;
  color: #1a1a1a;
}
.ba-list li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  top: 6px;
  color: #b15555;
  font-weight: 900;
  font-size: 13px;
}
.ba-list-check li::before {
  content: "✓";
  color: var(--success);
  font-size: 15px;
}
.ba-before .ba-list li { text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.2); }

.ba-arrow {
  text-align: center;
  font-size: 22px;
  color: var(--accent);
  font-weight: 900;
  line-height: 1;
  margin: -2px 0 -2px;
}

/* ===== 6. DEPOIMENTOS ===== */
.testimonial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9e9ee, #d4d4dc);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-avatar.avatar-fallback::before {
  content: attr(data-initials);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
}
.testimonial-place {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.testimonial-verified {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1da1f2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}
.testimonial p {
  margin: 6px 0 0;
  font-size: 15px;
  font-style: italic;
  color: var(--fg);
  font-weight: 500;
}
.testimonial .stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; }
.testimonial-disclaimer {
  margin: 12px 4px 0;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
  font-style: italic;
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 200ms ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fg);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  transition: transform 200ms ease, background 200ms ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--accent);
  color: #fff;
}
.faq-item > p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.faq-item > p strong { color: var(--fg); font-weight: 700; }

/* ===== DISCLAIMER MÉDICO ===== */
.medical-disclaimer {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.medical-disclaimer p {
  margin: 0;
  font-size: 12.5px;
  color: #4a3a00;
  line-height: 1.5;
}

/* ===== RODAPÉ ===== */
.site-footer {
  background: #0e0e10;
  color: #d8d8dc;
  padding: 28px 16px 36px;
  margin-top: 16px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-cnpj,
.footer-contact {
  margin: 2px 0;
  font-size: 12.5px;
  color: #b8b8c2;
}
.footer-contact a { color: #ffd2d2; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}
.footer-links a {
  color: #d8d8dc;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px dotted #888;
  padding-bottom: 1px;
}
.footer-links a:hover { color: #fff; border-bottom-color: #fff; }
.footer-copy {
  margin: 8px 0 6px;
  font-size: 11.5px;
  color: #9a9aa3;
}
.footer-meta {
  margin: 6px auto 0;
  max-width: 520px;
  font-size: 11px;
  color: #8b8b94;
  line-height: 1.5;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-cta); }
  50%      { transform: scale(1.02); box-shadow: 0 14px 30px rgba(211,47,47,0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-button { animation: none; }
}

@media (min-width: 720px) {
  .page { padding-top: 28px; }
  .headline h1 { font-size: 32px; }
}
