/* Soranz LP — conversion landing page (Ads → Form → WhatsApp group)
   Design: "editorial clínico de confiança" — autoridade médica + calor humano.
   IDV da campanha (espelhada do site institucional): navy #1B3D6E + teal #2FC5A0,
   Bricolage Grotesque (display) + DM Sans (corpo). Palette herdada, não inventada.
   Elevação de design por /frontend-design: atmosfera, tipografia dramática,
   composição com profundidade, motion de entrada. Classes idênticas às que o
   lp.js gera — só o estilo sobe de nível. */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap");

:root {
  --primary:       #1B3D6E;   /* navy */
  --primary-light: #E8F0F8;
  --primary-dark:  #102544;
  --primary-deep:  #0B1B33;
  --accent:        #2FC5A0;   /* teal */
  --accent-dark:   #1F9C7E;
  --accent-bright: #34E0B4;
  --accent-light:  #E6F8F2;
  --text:          #15233B;
  --text-muted:    #5A6478;
  --bg:            #F7F8FA;
  --bg-warm:       #FBFBF9;
  --white:         #FFFFFF;
  --border:        #E4E9F0;
  --ink:           #0B1B33;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;

  --radius:    10px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(16, 37, 68, 0.06);
  --shadow:    0 10px 30px -12px rgba(16, 37, 68, 0.20);
  --shadow-lg: 0 28px 60px -20px rgba(16, 37, 68, 0.30);
  --glow-teal: 0 18px 40px -14px rgba(47, 197, 160, 0.55);

  --maxw: 940px;
  --readw: 680px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Grain overlay — premium tactile texture instead of flat fills. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#lp-root { position: relative; z-index: 2; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; }

/* ── Motion ────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(47,197,160,.6); } 50% { box-shadow: 0 0 0 5px rgba(47,197,160,0); } }

/* ── Header ────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 27, 51, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar .logo { width: 156px; height: auto; aspect-ratio: 180 / 44; object-fit: contain; }
.topbar .pl {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; color: #cfe8df;
  background: rgba(47, 197, 160, 0.14);
  border: 1px solid rgba(47, 197, 160, 0.34);
  padding: 5px 13px; border-radius: 999px; white-space: nowrap;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 92% -10%, var(--primary-light) 0%, transparent 55%),
    radial-gradient(60% 80% at 0% 110%, var(--accent-light) 0%, transparent 50%),
    var(--bg-warm);
  padding: 72px 0 64px;
}
/* faint ECG/pulse motif — the one quiet flourish that says "saúde" */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: no-repeat center/cover
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='60' viewBox='0 0 1200 60'%3E%3Cpath d='M0 30 H470 l14-20 18 40 16-46 14 26 12 0 H1200' fill='none' stroke='%232FC5A0' stroke-width='2' stroke-opacity='0.35'/%3E%3C/svg%3E");
  opacity: .7; pointer-events: none;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy > * { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) both; }
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .13s; }
.hero-copy .sub { animation-delay: .22s; }
.hero-copy .btn { animation-delay: .30s; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 1.8px;
  font-size: 11.5px; font-weight: 700; color: var(--accent-dark);
  background: var(--white); border: 1px solid var(--border);
  padding: 7px 14px 7px 11px; border-radius: 999px; margin: 0 0 22px;
  box-shadow: var(--shadow-sm);
}
.hero-copy .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pulseDot 2.4s infinite;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.02;
  margin: 0 0 20px; color: var(--ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero .sub {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  color: var(--text-muted); margin: 0 0 32px; max-width: 30em;
  line-height: 1.6;
}
.hero .hero-copy .btn { width: auto; min-width: 280px; }

/* Hero portrait — offset teal block behind = editorial depth */
.hero-media { position: relative; animation: floatIn .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .18s; }
.hero-media::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-xl); z-index: 0;
}
.hero-media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-media .stat-float {
  position: absolute; z-index: 2; left: -22px; bottom: 28px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px; max-width: 208px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-media .stat-float .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.7rem; color: var(--accent-dark); line-height: 1.05; letter-spacing: -0.03em;
}
.hero-media .stat-float .lbl { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }

/* ── CTA button ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-dark) 100%);
  color: #04261d;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; padding: 17px 32px; border-radius: var(--radius);
  border: none; cursor: pointer; width: 100%; text-align: center;
  box-shadow: var(--glow-teal);
  transition: transform .12s cubic-bezier(.22,1,.36,1), box-shadow .2s, filter .2s;
}
.btn::after { content: "→"; font-weight: 700; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(47,197,160,.65); filter: brightness(1.04); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

/* ── Stat band — the signature number as the hero of data ── */
.statband {
  background:
    radial-gradient(90% 140% at 100% 0%, var(--primary-dark) 0%, transparent 60%),
    var(--primary-deep);
  color: #fff; padding: 52px 0;
}
.statband .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.statband .cell { text-align: center; position: relative; }
.statband .cell:first-child::after {
  content: ""; position: absolute; right: -13px; top: 12%; bottom: 12%;
  width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.18), transparent);
}
.statband .arrowstat {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
}
.statband .from { font-size: clamp(1.3rem, 3vw, 1.9rem); color: #7d96bd; }
.statband .to   { font-size: clamp(2.6rem, 6.5vw, 4.2rem); color: var(--accent-bright); letter-spacing: -0.03em; }
.statband .to::before { content: "→ "; color: #5a76a3; font-weight: 700; font-size: .6em; }
.statband .big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.2rem); color: var(--accent-bright);
  line-height: 1; letter-spacing: -0.03em;
}
.statband .lbl {
  font-size: 12.5px; color: #aebfda; margin-top: 12px; line-height: 1.5;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}

/* ── Sections ──────────────────────────────────────────── */
section { padding: 78px 0; position: relative; }
section .wrap { max-width: var(--readw); }
.hero .wrap, .statband .wrap, .bio .wrap { max-width: var(--maxw); }
section h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 700; line-height: 1.14;
  margin: 0 0 24px; color: var(--ink); letter-spacing: -0.03em; text-wrap: balance;
}
section p { margin: 0 0 18px; color: var(--text-muted); font-size: 1.06rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 2px;
  font-size: 11.5px; font-weight: 700; color: var(--accent-dark);
  margin: 0 0 14px;
}

/* dor */
.dor { background: var(--white); }
.dor .lead { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 28px; }
.checklist { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  background: linear-gradient(var(--bg-warm), var(--bg-warm)) padding-box,
              linear-gradient(120deg, var(--border), var(--border)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius); padding: 20px 22px 20px 58px; color: var(--text);
  font-size: 1.04rem; transition: transform .15s, box-shadow .2s;
}
.checklist li:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); }
.checklist li::before {
  content: ""; position: absolute; left: 22px; top: 24px;
  width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dark));
  box-shadow: 0 0 0 5px var(--accent-light);
}
.checklist li::after {
  content: ""; position: absolute; left: 27px; top: 28px;
  width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* theme image slot */
.tema-media { margin: 36px 0 0; }
.tema-media img {
  width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 40%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.tema-media .placeholder {
  width: 100%; aspect-ratio: 16 / 8; border-radius: var(--radius-lg);
  border: 1.5px dashed #b9c9e0;
  background: repeating-linear-gradient(135deg, var(--primary-light) 0 16px, var(--white) 16px 32px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px; font-weight: 600; letter-spacing: .3px; text-align: center; padding: 20px;
}
.dor .close { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.15rem; margin-top: 26px; }

/* virada */
.virada { background: var(--bg); }
.virada .pl-chip {
  display: inline-block; background: var(--white); color: var(--accent-dark);
  border: 1px solid #b6e7da; font-family: var(--font-body); font-weight: 700;
  padding: 6px 15px; border-radius: 999px; font-size: 13.5px; margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.virada .highlight {
  position: relative;
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow); padding: 22px 24px;
  border-radius: var(--radius); font-family: var(--font-display);
  font-weight: 600; font-size: 1.18rem; line-height: 1.4; letter-spacing: -0.015em;
  color: var(--ink); margin: 14px 0 24px;
}

/* prova — navy, autoridade */
.prova {
  background:
    radial-gradient(70% 100% at 0% 0%, var(--primary-dark) 0%, transparent 55%),
    var(--primary-deep);
  color: #cdd9ec;
}
.prova .eyebrow { color: var(--accent-bright); }
.prova h2 { color: #fff; }
.prova p { color: #b3c2dc; }
.prova .signature {
  font-family: var(--font-display); font-weight: 800;
  color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-top: 32px;
  letter-spacing: -0.03em; line-height: 1.15;
}
.prova .signature span { color: var(--accent-bright); }

/* oferta + form */
.oferta {
  background:
    radial-gradient(80% 100% at 100% 0%, var(--accent-light) 0%, transparent 60%),
    var(--bg-warm);
}
.oferta .recebe { list-style: none; padding: 0; margin: 22px 0 34px; display: grid; gap: 14px; }
.oferta .recebe li { position: relative; padding-left: 34px; color: var(--text); font-size: 1.05rem; }
.oferta .recebe li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-light);
}
.oferta .recebe li::after {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 7px; height: 3.5px; border-left: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark);
  transform: rotate(-45deg);
}
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-lg); position: relative;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-dark));
  border-radius: 0 0 3px 3px;
}
.form-card h3 { margin: 0 0 6px; font-size: 1.4rem; color: var(--ink); letter-spacing: -0.02em; }
.form-card .form-hint { margin: 0 0 22px; font-size: 14px; color: var(--text-muted); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 15px 16px; font-size: 16px; font-family: var(--font-body);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  color: var(--text); background: var(--bg-warm);
  transition: border-color .14s, box-shadow .14s, background .14s;
}
.field input:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px var(--accent-light); }
.consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 12.5px; color: var(--text-muted); line-height: 1.55; margin: 20px 0;
}
.consent input { margin-top: 2px; width: 19px; height: 19px; flex: 0 0 19px; accent-color: var(--accent-dark); }
.consent a { color: var(--accent-dark); font-weight: 600; }
.form-msg { margin-top: 16px; font-size: 14px; font-weight: 600; text-align: center; }
.form-msg.ok { color: var(--accent-dark); }
.form-msg.err { color: #dc2626; }
.form-msg.preview { color: var(--text-muted); font-weight: 500; background: var(--primary-light); padding: 12px 14px; border-radius: var(--radius); }

/* ── Bio ───────────────────────────────────────────────── */
.bio { background: var(--white); }
.bio .wrap { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 44px; align-items: center; }
.bio-foto { position: relative; }
.bio-foto::before {
  content: ""; position: absolute; inset: 12px -12px -12px 12px;
  border: 2px solid var(--accent); border-radius: var(--radius-lg); z-index: 0;
}
.bio-foto img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 18%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.bio .eyebrow { color: var(--accent-dark); }
.bio h2 { margin-bottom: 6px; }
.bio .papel { font-weight: 600; color: var(--accent-dark); margin: 0 0 18px; font-size: 1rem; }
.bio p { color: var(--text-muted); }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: var(--primary-deep); color: #9fb0cc; padding: 44px 0 56px; }
.footer .ident { font-size: 13px; color: #e3ebf6; font-weight: 600; margin-bottom: 12px; }
.footer .disc { font-size: 12px; line-height: 1.65; color: #8295b4; }
.footer a { color: var(--accent-bright); font-weight: 600; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 760px) {
  .hero { padding: 48px 0 52px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-media::before { inset: 12px -12px -12px 12px; }
  .hero-media .stat-float { left: auto; right: 10px; }
  .hero .hero-copy .btn { width: 100%; min-width: 0; }
  section { padding: 56px 0; }
  .bio .wrap { grid-template-columns: 1fr; gap: 26px; }
  .bio-foto { max-width: 280px; }
  .statband { padding: 40px 0; }
  .statband .cell:first-child::after { display: none; }
  .statband .wrap { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ── Preview index page ────────────────────────────────── */
.idx { padding: 64px 0; max-width: var(--maxw); }
.idx h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 8px; color: var(--ink); letter-spacing: -0.03em; }
.idx > p { color: var(--text-muted); }
.idx .note {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  padding: 15px 18px; border-radius: var(--radius); font-size: 14px; margin: 20px 0 32px;
}
.idx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.idx-card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; transition: border-color .15s, box-shadow .2s, transform .12s;
}
.idx-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.idx-card .t { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 6px; color: var(--ink); letter-spacing: -0.02em; }
.idx-card .m { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.idx-card .arrow { float: right; color: var(--accent-dark); font-weight: 700; transition: transform .2s; }
.idx-card:hover .arrow { transform: translateX(4px); }

.idx-card.pendente { border-color: #fde68a; background: #fffdf5; }
.idx-card.pendente:hover { border-color: #f59e0b; box-shadow: 0 12px 28px -14px rgba(245,158,11,.45); }
.tag-pendente {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  background: #fef3c7; color: #92400e; border: 1px solid #fde68a;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}

/* per-LP review banner (preview only) */
.rev-banner { background: #fffbeb; border-bottom: 1px solid #fde68a; padding: 13px 0; position: relative; z-index: 25; }
.rev-banner .wrap { display: flex; flex-direction: column; gap: 3px; max-width: var(--maxw); }
.rev-banner strong { color: #92400e; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.rev-banner span { color: #b45309; font-size: 13px; line-height: 1.5; }

/* ── Privacy page ──────────────────────────────────────── */
.legal { padding: 52px 0 64px; max-width: var(--readw); }
.legal h1 { font-size: 1.8rem; margin: 0 0 8px; color: var(--ink); }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; color: var(--primary); }
.legal p, .legal li { color: var(--text-muted); font-size: 15px; }
.legal .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
