/* =====================================================================
   Site Médico Serrano — serranoweb.com.br/site-medico/
   Tokens primeiro. Nenhum componente usa cor, fonte ou raio literal.
   ===================================================================== */

:root {
  /* Tema escuro (identidade do serranoweb.com.br) */
  --background: #09090b;
  --foreground: #f4f4f5;
  --surface: #111114;
  --surface-2: #17171b;
  --surface-3: #1e1e23;
  --border: #27272a;
  --border-strong: #3a3a40;
  --muted-foreground: #a1a1aa;

  --primary: #0060f0;
  --primary-soft: #2b7cff;
  --primary-foreground: #ffffff;
  --primary-glow: rgba(0, 96, 240, 0.35);

  --accent: #ff6933;
  --accent-hover: #ff7f52;
  --accent-foreground: #140804;
  --accent-glow: rgba(255, 105, 51, 0.32);

  --success: #22c55e;
  --whatsapp: #25d366;
  --whatsapp-foreground: #062b14;

  /* "Papel": o site do médico dentro do mockup e os cards de plano */
  --paper: #fbfaf7;
  --paper-2: #f1efe9;
  --paper-border: #e2dfd6;
  --ink: #15161a;
  --ink-muted: #6b6f7a;
  --doctor: #0f6b5c; /* verde-petróleo do site fictício do médico */
  --doctor-soft: #d9efe9;

  --ring: var(--accent);

  /* Tipografia */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", var(--font-sans);
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --text-base: 1.0625rem;
  --leading: 1.65;

  /* Escalas */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-paper: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-accent: 0 10px 34px var(--accent-glow);
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
em.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
}
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Utilitários ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted-foreground); max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 18px; margin-bottom: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Reveal ao rolar (fallback: visível sem JS) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in, html.no-js .reveal { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-full); font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--accent-foreground); box-shadow: var(--shadow-accent); position: relative; overflow: hidden; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 14px 40px var(--accent-glow); }
.btn-accent.shine::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shine 4.5s 1.2s infinite;
}
@keyframes shine { 0% { transform: translateX(-120%) skewX(-18deg); } 25%, 100% { transform: translateX(220%) skewX(-18deg); } }
.btn-ghost { background: transparent; color: var(--foreground); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--foreground); background: var(--surface-2); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-soft); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 14px;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(9, 9, 11, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); padding-block: 10px; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 128px; height: auto; }
.brand-product { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--border-strong); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 1rem; }
.brand-product .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.nav { display: flex; gap: 30px; font-weight: 500; color: var(--muted-foreground); white-space: nowrap; }
.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--foreground); }
.header .btn { padding: 11px 20px; font-size: 0.95rem; }
.header .btn span { display: none; }
@media (min-width: 640px) { .header .btn span { display: inline; } }
@media (max-width: 1024px) { .nav { display: none; } .brand-product { font-size: 0.9rem; } }
@media (max-width: 480px) { .brand img { width: 104px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(130px, 16vw, 190px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow-a { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, var(--primary-glow), transparent 62%); filter: blur(40px); }
.hero-bg .glow-b { position: absolute; width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; left: -15vw; bottom: -10vw; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 60%); filter: blur(50px); opacity: 0.7; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.25;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero-content > * { animation: rise 1s var(--ease-out) both; }
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero h1 { margin: 22px 0 22px; font-size: clamp(2.5rem, 4.3vw, 3.9rem); text-wrap: balance; }
.hero h1 .line { display: inline; }
.hero .lead { margin-bottom: 34px; }
.hero .lead strong { color: var(--foreground); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--muted-foreground); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.hero-proof ul { display: contents; }
.hero-proof svg { width: 16px; height: 16px; color: var(--success); }
.hero-proof { padding: 0; margin: 0; }

/* Mockup (site do médico dentro de uma janela de navegador + celular) */
.mockup { position: relative; animation: rise 1.2s 0.35s var(--ease-out) both; perspective: 1600px; }
.browser {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-paper); transform: rotateY(-6deg) rotateX(3deg); transform-origin: 60% 50%;
  transition: transform 1.2s var(--ease-out);
}
@media (hover: hover) { .mockup:hover .browser { transform: rotateY(-2deg) rotateX(1deg); } }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--paper-border); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-border); }
.browser-bar .url { flex: 1; font-size: 0.72rem; color: var(--ink-muted); background: var(--paper); border-radius: var(--radius-full); padding: 5px 12px; display: flex; align-items: center; gap: 6px; }
.browser-bar .url svg { width: 11px; height: 11px; color: var(--doctor); }
.site { padding: 18px 20px 20px; font-size: 0.7rem; }
.site-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.site-nav .logo { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--doctor); letter-spacing: -0.02em; }
.site-nav .links { display: flex; gap: 12px; color: var(--ink-muted); }
.site-nav .cta { background: var(--doctor); color: var(--paper); padding: 5px 10px; border-radius: var(--radius-full); font-weight: 600; }
.site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.site-hero h4 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.site-hero p { color: var(--ink-muted); line-height: 1.5; }
.site-hero .pill { display: inline-block; background: var(--doctor-soft); color: var(--doctor); padding: 3px 8px; border-radius: var(--radius-full); font-weight: 600; margin-bottom: 8px; font-size: 0.62rem; }
.site-hero .photo { aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(145deg, var(--doctor-soft), var(--doctor)); position: relative; overflow: hidden; }
.site-hero .photo::after { content: ""; position: absolute; left: 50%; bottom: -10%; width: 60%; aspect-ratio: 1/1.4; border-radius: 40% 40% 8px 8px; background: rgba(255, 255, 255, 0.35); transform: translateX(-50%); }
.site-hero .photo::before { content: ""; position: absolute; left: 50%; top: 18%; width: 28%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.55); transform: translateX(-50%); }
.site-blog h5 { font-size: 0.72rem; font-weight: 700; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; }
.site-blog h5 small { font-weight: 500; color: var(--ink-muted); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.post { border: 1px solid var(--paper-border); border-radius: 8px; padding: 8px; background: var(--paper); min-height: 74px; }
.post .thumb { height: 28px; border-radius: 5px; background: var(--paper-2); margin-bottom: 6px; }
.post b { display: block; font-size: 0.62rem; line-height: 1.3; }
.post span { font-size: 0.56rem; color: var(--ink-muted); }
.post.new { position: relative; animation: post-in 9s infinite; border-color: var(--doctor); }
.post.new .thumb { background: var(--doctor-soft); }
.post.new::before { content: "Novo"; position: absolute; top: -7px; right: 8px; background: var(--accent); color: var(--accent-foreground); font-size: 0.5rem; font-weight: 700; padding: 1px 6px; border-radius: var(--radius-full); }
@keyframes post-in {
  0%, 46% { opacity: 0; transform: translateY(10px) scale(0.96); }
  54%, 100% { opacity: 1; transform: none; }
}

/* Celular com a aprovação pelo WhatsApp */
.phone {
  position: absolute; right: -8%; bottom: -12%; width: 40%; max-width: 230px;
  background: var(--ink); border-radius: 26px; padding: 8px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.phone-screen { background: #0b141a; border-radius: 20px; padding: 12px 10px 14px; min-height: 250px; color: var(--foreground); font-size: 0.62rem; display: flex; flex-direction: column; gap: 8px; }
.phone-top { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.phone-top .avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: 0.5rem; font-weight: 800; }
.phone-top b { display: block; font-size: 0.62rem; }
.phone-top span { font-size: 0.52rem; color: var(--muted-foreground); }
.bubble { background: #1f2c34; border-radius: 10px 10px 10px 2px; padding: 7px 9px; max-width: 92%; line-height: 1.4; animation: bubble 9s infinite both; }
.bubble b { color: var(--foreground); }
.bubble.me { align-self: flex-end; background: #005c4b; border-radius: 10px 10px 2px 10px; animation-delay: 0s; }
.bubble.sys { background: transparent; border: 1px solid rgba(255, 255, 255, 0.12); color: var(--muted-foreground); font-size: 0.56rem; }
.bubble:nth-child(2) { animation-name: bubble-1; }
.bubble:nth-child(3) { animation-name: bubble-2; }
.bubble:nth-child(4) { animation-name: bubble-3; }
@keyframes bubble-1 { 0%, 4% { opacity: 0; transform: translateY(6px); } 10%, 100% { opacity: 1; transform: none; } }
@keyframes bubble-2 { 0%, 26% { opacity: 0; transform: translateY(6px); } 32%, 100% { opacity: 1; transform: none; } }
@keyframes bubble-3 { 0%, 46% { opacity: 0; transform: translateY(6px); } 52%, 100% { opacity: 1; transform: none; } }
.bubble .check { color: var(--success); font-weight: 700; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .mockup { margin-top: 10px; margin-right: 8%; margin-bottom: 40px; }
  .browser { transform: none; }
  .phone { right: -10%; bottom: -8%; width: 44%; }
}
@media (max-width: 520px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post:nth-child(3) { display: none; }
  .site-nav .links { display: none; }
  .phone { width: 46%; }
}

/* ---------- Barra de confiança ---------- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 24px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: 0; }
.trust-item .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--foreground); }
.trust-item .num sup { font-size: 0.5em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.trust-item .num.small { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; padding-top: 6px; }
.trust-item p { color: var(--muted-foreground); font-size: 0.92rem; margin-top: 6px; }
@media (max-width: 900px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .trust-item { padding: 22px 18px; }
}

/* ---------- Problema ---------- */
.problem { background: var(--background); }
.problem-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.problem-card {
  grid-column: span 2; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.problem-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.problem-card:nth-child(4), .problem-card:nth-child(5) { grid-column: span 3; }
.problem-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-3); display: grid; place-items: center; color: var(--accent); }
.problem-card .icon svg { width: 22px; height: 22px; }
.problem-card p { font-size: 1.05rem; line-height: 1.5; }
.problem-card strong { color: var(--foreground); }
.problem-card p { color: var(--muted-foreground); }
.problem-close { margin-top: 44px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-align: center; color: var(--foreground); }
.problem-close span { color: var(--accent); }
@media (max-width: 900px) { .problem-card, .problem-card:nth-child(4), .problem-card:nth-child(5) { grid-column: span 3; } }
@media (max-width: 600px) { .problem-card, .problem-card:nth-child(4), .problem-card:nth-child(5) { grid-column: span 6; } }

/* ---------- Solução ---------- */
.solution { background: var(--surface); border-block: 1px solid var(--border); overflow: hidden; }
.solution .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.solution h2 { margin: 18px 0 22px; }
.solution .lead { margin-bottom: 26px; }
.solution p.body { color: var(--muted-foreground); font-size: 1.08rem; }
.solution p.body + p.body { margin-top: 16px; }
.search-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 30px; position: relative;
  box-shadow: var(--shadow);
}
.search-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--primary), transparent 40%, transparent 60%, var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.7; pointer-events: none; }
.search-card .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-soft); margin-bottom: 18px; }
.search-card .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-soft); box-shadow: 0 0 10px var(--primary-soft); }
.search-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; margin-bottom: 22px; }
.queries { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.queries li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 11px 16px; font-size: 0.98rem; color: var(--foreground); }
.queries li svg { width: 16px; height: 16px; color: var(--muted-foreground); flex: none; }
.queries li .arrow { margin-left: auto; color: var(--accent); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.queries li:nth-child(odd) { margin-left: 10px; }
.search-card .foot { margin-top: 20px; font-size: 0.92rem; color: var(--muted-foreground); }
@media (max-width: 960px) { .solution .container { grid-template-columns: minmax(0, 1fr); } .queries li:nth-child(odd) { margin-left: 0; } }
@media (max-width: 520px) { .queries li { flex-wrap: wrap; font-size: 0.92rem; } .queries li .arrow { margin-left: 28px; width: 100%; } }

/* ---------- Incluso ---------- */
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.inc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; transition: border-color 0.3s, background 0.3s; }
.inc:hover { border-color: var(--primary); background: var(--surface-2); }
.inc .icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(0, 96, 240, 0.14); color: var(--primary-soft); display: grid; place-items: center; margin-bottom: 18px; }
.inc .icon svg { width: 22px; height: 22px; }
.inc h3 { font-size: 1.05rem; margin-bottom: 8px; }
.inc p { color: var(--muted-foreground); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 1000px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .included-grid { grid-template-columns: 1fr; } }

/* ---------- Como funciona ---------- */
.how { background: var(--surface); border-block: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent); }
.step { padding: 0 22px; position: relative; }
.step .n { width: 60px; height: 60px; border-radius: 50%; background: var(--background); border: 1px solid var(--border-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 22px; position: relative; }
.step:first-child .n, .step.done .n { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px rgba(255, 105, 51, 0.12); }
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { color: var(--muted-foreground); font-size: 0.97rem; }
.step .time { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-soft); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { left: 29px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; background: linear-gradient(180deg, var(--border-strong), transparent); }
  .step { padding-left: 84px; padding-right: 0; }
  .step .n { position: absolute; left: 0; top: -4px; margin: 0; }
}

/* ---------- Planos ---------- */
.plans { position: relative; overflow: hidden; }
.plans-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 100%, var(--primary-glow), transparent 55%); opacity: 0.6; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; gap: 24px; align-items: stretch; position: relative; }
.plan {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-xl); padding: 38px 36px; position: relative;
  display: flex; flex-direction: column; box-shadow: var(--shadow-paper);
  transition: transform 0.5s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); }
.plan.featured { background: linear-gradient(180deg, #fffdfa, var(--paper)); outline: 2px solid var(--accent); outline-offset: 0; }
.plan .badge { position: absolute; top: -16px; left: 36px; background: var(--accent); color: var(--accent-foreground); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--radius-full); box-shadow: var(--shadow-accent); }
.plan .name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.plan .for { color: var(--ink-muted); margin: 6px 0 24px; font-size: 0.98rem; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan .price .cur { font-weight: 600; font-size: 1.1rem; color: var(--ink-muted); }
.plan .price .val { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; }
.plan .price .per { color: var(--ink-muted); font-weight: 500; }
.plan .price-note { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 26px; }
.plan .price-note b { color: var(--doctor); }
.plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--doctor); margin-top: 1px; }
.plan li.hl { font-weight: 700; }
.plan li.hl svg { color: var(--accent); }
.plan .btn-primary { background: var(--ink); color: var(--paper); }
.plan .btn-primary:hover { background: var(--doctor); }
.plan.featured .btn-primary { background: var(--accent); color: var(--accent-foreground); box-shadow: var(--shadow-accent); }
.plan.featured .btn-primary:hover { background: var(--accent-hover); }
.plan .after { margin-top: 14px; text-align: center; font-size: 0.85rem; color: var(--ink-muted); }
.plans-terms { margin: 34px auto 0; max-width: 820px; text-align: center; color: var(--muted-foreground); font-size: 0.95rem; }
.plans-terms b { color: var(--foreground); font-weight: 600; }
.compare { margin: 40px auto 0; max-width: 820px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.compare .c { text-align: center; }
.compare .c .big { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.compare .c.win .big { color: var(--accent); }
.compare .c p { font-size: 0.88rem; color: var(--muted-foreground); margin-top: 4px; }
.compare .vs { font-family: var(--font-serif); font-style: italic; color: var(--muted-foreground); font-size: 1.2rem; }
.compare-title { text-align: center; color: var(--muted-foreground); font-size: 0.95rem; margin-top: 40px; }
.compare-title + .compare { margin-top: 12px; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: minmax(0, 520px); } .plan.featured { order: -1; } .plan { padding: 32px 26px; } }

/* ---------- Autoridade ---------- */
.authority { background: var(--surface); border-block: 1px solid var(--border); overflow: hidden; }
.authority .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.authority h2 { margin: 18px 0 22px; }
.authority .lead { margin-bottom: 8px; }
.proofs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.proofs li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.proofs li:first-child { border-top: 1px solid var(--border); }
.proofs .k { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--accent); min-width: 78px; line-height: 1.1; }
.proofs .k.sm { font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 6px; }
.proofs b { display: block; font-size: 1.05rem; margin-bottom: 3px; }
.proofs p { color: var(--muted-foreground); font-size: 0.95rem; }
.quote { margin-top: 36px; background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 26px; }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; }
.quote footer { margin-top: 12px; font-size: 0.9rem; color: var(--muted-foreground); }
.marquee-wrap { margin-top: 60px; grid-column: 1 / -1; position: relative; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }
.marquee-label { text-align: center; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; gap: 14px; }
.marquee ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; flex: none; animation: marquee 48s linear infinite; }
.marquee li { padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--muted-foreground); font-size: 0.95rem; white-space: nowrap; background: var(--background); }
@keyframes marquee { to { transform: translateX(calc(-100% - 14px)); } }
@media (max-width: 960px) { .authority .container { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Garantias ---------- */
.guarantees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guar { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; background: linear-gradient(180deg, var(--surface), var(--background)); position: relative; }
.guar .seal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, 0.12); color: var(--success); margin-bottom: 20px; }
.guar .seal svg { width: 26px; height: 26px; }
.guar h3 { margin-bottom: 8px; }
.guar p { color: var(--muted-foreground); }
@media (max-width: 860px) { .guarantees-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
details.faq { border-bottom: 1px solid var(--border); }
details.faq:first-of-type { border-top: 1px solid var(--border); }
details.faq > summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; letter-spacing: -0.01em; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; font-weight: 400; font-size: 1.6rem; color: var(--accent); transition: transform 0.3s; flex: none; }
details.faq[open] > summary::after { transform: rotate(45deg); }
details.faq p { color: var(--muted-foreground); padding-bottom: 24px; max-width: 70ch; }

/* ---------- CTA final ---------- */
.final { padding-block: clamp(60px, 8vw, 100px); }
.final-box {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(50px, 7vw, 96px) clamp(24px, 5vw, 80px);
  background: linear-gradient(135deg, var(--primary) 0%, #0342a8 60%, #021c4d 100%); text-align: center;
}
.final-box::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%); }
.final-box h2 { max-width: 16ch; margin: 18px auto 18px; color: var(--primary-foreground); }
.final-box .lead { color: rgba(255, 255, 255, 0.82); margin-inline: auto; margin-bottom: 34px; }
.final-box .eyebrow { color: rgba(255, 255, 255, 0.75); }
.final-box .eyebrow::before { background: var(--accent); }
.final-box .btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--primary-foreground); }
.final-box .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary-foreground); }
.final-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0 120px; color: var(--muted-foreground); font-size: 0.92rem; }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer img { width: 120px; height: auto; opacity: 0.85; }
.footer a:hover { color: var(--foreground); }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }

/* ---------- WhatsApp flutuante ---------- */
.float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: var(--whatsapp-foreground); display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); transition: transform 0.25s var(--ease-out);
}
.float:hover { transform: scale(1.06); }
.float svg { width: 30px; height: 30px; }
.float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@media (min-width: 900px) { .float { display: none; } }
