/* =========================================================================
   VIVER ADIUM — Landing Page (UI / non-functional)
   Design system baseado na identidade "Programa Por Você" (Adium)
   Tokens Figma: RED #FF0032 · GREY #3B4A5C · CINZA CLARO #f7f7f9 · BRANCO #fff
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --red: #ff0032;
  --red-600: #e4002d;
  --red-700: #c30026;
  --pink: #ff4d6d;
  --pink-soft: #ffd8e0;
  --grad-red: linear-gradient(90deg, #ff0032 0%, #951a1f 100%);

  /* Neutrals */
  --slate: #3b4a5c;          /* headings + texto principal + footer */
  --slate-900: #232c36;      /* barra inferior do footer (Figma) */
  --slate-600: #5b6b7d;
  --muted: #97a1ad;
  --white: #ffffff;
  --bg-soft: #f7f7f9;        /* CINZA CLARO — fundo do header e seções */
  --field: #eef0f3;          /* fundo dos inputs pill */
  --field-2: #e9ebef;
  --line: #e7e9ee;

  /* Feedback */
  --green: #1faa6b;
  --amber: #f5a623;

  /* Type — Figma: Montserrat (títulos/UI) + Raleway (corpo) */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-sans: var(--font-head);
  --font-script: "Pacifico", "Caveat", "Brush Script MT", cursive;

  /* Radius */
  --r-sm: 8px;
  --r-btn: 8px;              /* botões — retângulo levemente arredondado (Figma ~6px) */
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 2px 8px rgba(59, 74, 92, .06);
  --sh-md: 0 12px 30px rgba(59, 74, 92, .10);
  --sh-lg: 0 24px 60px rgba(59, 74, 92, .16);
  --sh-red: 0 12px 26px rgba(255, 0, 50, .28);

  /* Layout */
  --maxw: 1180px;
  --header-h: 78px;

  /* Imagens (assets reais do Figma) */
  --hero-photo: url('img/hero-photo.png');
  --saude-photo: url('img/saude-photo.png');
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--slate); font-weight: 700; font-family: var(--font-head); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Utils ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.center { text-align: center; }
.hide { display: none !important; }
.text-red { color: var(--red); }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}

.script { font-family: var(--font-script); font-weight: 400; line-height: 1; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--red); }
.section-title.slate { color: var(--slate); }
.section-lead { color: var(--slate-600); max-width: 640px; margin-top: 14px; }
.center .section-lead { margin-inline: auto; }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; border-radius: var(--r-btn);
  padding: 14px 30px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn--cta { text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.btn--pill { border-radius: var(--r-pill); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(255, 0, 50, .22); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 10px 22px rgba(255, 0, 50, .30); transform: translateY(-1px); }
.btn--outline { border: 2px solid var(--red); color: var(--red); background: transparent; padding: 12px 28px; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost { color: var(--slate); background: var(--field); }
.btn--ghost:hover { background: var(--field-2); }
.btn--light { background: #fff; color: var(--red); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 40px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn[disabled], .btn.is-disabled { background: #dfe2e7; color: #a7aeb8; box-shadow: none; cursor: not-allowed; }
.btn.is-disabled { pointer-events: none; }
.btn .i { width: 18px; height: 18px; }

/* ============================ Header (Figma: bg cinza claro, nav Raleway) ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(59,74,92,.06);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Marca Adium */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__logo { height: 32px; width: auto; display: block; }
.brand__mark { flex: 0 0 26px; width: 26px; height: 29px; display: block; }
.brand__mark img { width: 100%; height: 100%; display: block; }
.brand__wordmark { flex: 0 0 102px; width: 102px; height: 24px; display: block; }
.brand__wordmark img { width: 100%; height: 100%; object-fit: contain; display: block; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width .2s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--red); }
.nav a.nav-cta { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 14px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--field); }
.burger span, .burger span::before, .burger span::after { content:""; display:block; width: 20px; height: 2px; background: var(--slate); border-radius: 2px; position: relative; margin-inline: auto; transition: .2s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ============================ Program logotype (Viver Adium) ============================ */
.logotype { display: inline-flex; flex-direction: column; align-items: center; line-height: .9; }
.logotype__kicker { font-family: var(--font-script); font-size: 26px; color: var(--slate); transform: rotate(-4deg); margin-bottom: -6px; }
.logotype__main {
  font-family: var(--font-script); font-size: clamp(46px, 8vw, 84px);
  background: linear-gradient(90deg, var(--pink), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: rotate(-3deg);
}
.logotype--sm .logotype__kicker { font-size: 16px; }
.logotype--sm .logotype__main { font-size: 40px; }
.logotype--slate .logotype__kicker { color: #fff; }

/* ============================ Hero (Home) — banner com KV (imagem oficial) ============================ */
.hero { padding: 0; }
.hero__banner { position: relative; border-radius: 0 0 24px 24px; overflow: hidden; background: #f1f2f4; }
.hero__img { display: block; width: 100%; height: auto; }
.hero__banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(244,245,247,.92) 0%, rgba(244,245,247,.5) 32%, rgba(244,245,247,0) 52%);
}
.hero__content { position: absolute; inset: 0 54% 0 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 0 clamp(28px, 4vw, 60px); }
.hero__logo-img { width: clamp(184px, 21.5vw, 264px); height: auto; display: block; margin-left: -.6%; }
.hero__logo-img--por-voce { width: clamp(150px, 15vw, 190px); max-height: 138px; object-fit: contain; object-position: left center; }
.hero__content p { color: var(--slate); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.4; max-width: 360px; }
.hero__content .btn { align-self: flex-start; }

/* logotipo do programa (seção central / auth) */
.program-logo { display: inline-block; }
.program-logo img { height: 52px; width: auto; display: block; margin-inline: auto; }
.program-logo--sm img { height: 40px; }

/* ============================ Intro / rich text ============================ */
.program-intro { background: linear-gradient(180deg, #fff 0%, #fff8f9 100%); }
.program-intro__copy { max-width: 820px; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; color: var(--red);
  font-family: var(--font-head); font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.program-intro__copy .section-title { max-width: 720px; margin-inline: auto; }
.richtext { max-width: 900px; margin-inline: auto; text-align: center; color: var(--slate); font-size: 17px; line-height: 1.5; }
.richtext strong { color: var(--slate); font-weight: 700; }
.richtext p + p { margin-top: 18px; }
.program-intro .richtext { margin-top: 22px; max-width: 760px; }

.support-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; max-width: 980px; margin: 44px auto 0;
}
.support-card {
  min-height: 196px; padding: 30px 24px; border: 1px solid rgba(255,0,50,.13);
  border-radius: 24px; background: #fff; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.support-card:hover { transform: translateY(-4px); border-color: rgba(255,0,50,.32); box-shadow: var(--sh-md); }
.support-card__icon {
  width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center;
  color: var(--red); background: #fff1f4;
}
.support-card__icon svg { width: 42px; height: 42px; }
.support-card h3 { color: var(--slate); font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.support-card p { margin-top: 6px; color: var(--slate-600); font-size: 14px; line-height: 1.45; }

/* ============================ Grid ============================ */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Benefícios — card branco, borda vermelha 3px, radius 25px, label UPPERCASE (Figma) */
.bene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 820px; margin-inline: auto; }
.feature {
  background: #fff; border: 3px solid var(--red); border-radius: 25px;
  padding: 30px 34px; display: flex; align-items: center; gap: 22px; min-height: 150px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature__icon { flex: 0 0 auto; width: 66px; height: 66px; display: grid; place-items: center; }
.feature__icon svg { width: 52px; height: 52px; stroke: var(--red); }
.feature h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.25; color: var(--slate); letter-spacing: .01em; }

/* Produtos participantes — lista suspensa compacta */
.section-heading { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-heading p { margin-top: 12px; color: var(--slate-600); font-size: 17px; }
.product-dropdown {
  max-width: 820px; margin-inline: auto; border: 1px solid var(--line);
  border-radius: 24px; background: #fff; box-shadow: var(--sh-sm); overflow: hidden;
}
.product-dropdown summary {
  min-height: 108px; padding: 22px 26px; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 18px; transition: background .2s ease;
}
.product-dropdown summary::-webkit-details-marker { display: none; }
.product-dropdown summary:hover { background: var(--bg-soft); }
.product-dropdown__icon {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 20px;
  display: grid; place-items: center; background: #fff1f4; color: var(--red);
}
.product-dropdown__icon svg { width: 40px; height: 40px; }
.product-dropdown__summary { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.product-dropdown__summary small {
  color: var(--muted); font-family: var(--font-head); font-size: 11px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.product-dropdown__summary strong { color: var(--slate); font-family: var(--font-head); font-size: 20px; }
.product-dropdown__chevron {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--field); color: var(--red); transition: transform .25s ease;
}
.product-dropdown__chevron svg { width: 20px; height: 20px; }
.product-dropdown[open] .product-dropdown__chevron { transform: rotate(180deg); }
.product-dropdown__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px; padding: 0 26px 24px; border-top: 1px solid var(--line);
}
.product-dropdown__list article {
  min-width: 0; display: flex; align-items: center; gap: 14px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.product-dropdown__list article:last-child { border-bottom: 0; }
.product-initial {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: var(--grad-red); font-family: var(--font-head); font-weight: 800;
}
.product-dropdown__list article div { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.product-dropdown__list strong { color: var(--slate); font-family: var(--font-head); font-size: 16px; }
.product-dropdown__list small { color: var(--slate-600); font-size: 13px; line-height: 1.35; }

/* Cards de produto mantidos para outras telas */
.product-card {
  background: var(--bg-soft); border-radius: 25px;
  padding: 40px 30px; text-align: center; transition: .2s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 230px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.product-card__icon { width: 96px; height: 84px; margin: 0 auto 6px; display: grid; place-items: center; }
.product-card__icon svg { width: 72px; height: 72px; stroke: var(--red); }
.product-card__tag { font-family: var(--font-body); font-size: 12px; color: var(--muted); }
.product-card h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--slate); }
.product-card h3 sup { font-size: .6em; }
.placeholder-note { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 26px; }

/* Adium Saúde split banner — foto real, cantos 40px (Figma) */
.split {
  position: relative; border-radius: 40px; overflow: hidden; min-height: 430px;
  display: flex; align-items: center;
  background-color: #b9c2cb; background-image: var(--saude-photo);
  background-size: cover; background-position: 75% center;
}
.split::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(247,247,249,.97) 0%, rgba(247,247,249,.9) 30%, rgba(247,247,249,.4) 46%, rgba(247,247,249,0) 60%);
}
.split__text { position: relative; z-index: 2; padding: clamp(34px, 5vw, 64px); max-width: 500px; }
.split__text h2 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.split__text p { margin-top: 16px; color: var(--slate); font-size: 18px; line-height: 1.35; }
.split__text p b { font-weight: 700; }

/* ============================ FAQ ============================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq__item.is-open { box-shadow: var(--sh-md); border-color: transparent; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--slate); }
.faq__q .plus { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--field); display: grid; place-items: center; transition: .25s; color: var(--red); }
.faq__item.is-open .plus { background: var(--red); color: #fff; transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 26px 24px; color: var(--slate-600); }
.faq__a-inner a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ============================ Registration (short form / Home) ============================ */
.form-block { background: var(--bg-soft); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); }
.form-block__head { background: var(--grad-red); color: #fff; text-align: center; padding: 22px; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: clamp(24px, 4vw, 46px); margin: clamp(20px, 3vw, 40px); }

.form-group-title { color: var(--red); font-size: 20px; font-weight: 800; margin: 28px 0 16px; }
.form-group-title:first-child { margin-top: 0; }

.beneficiary-type { border: 0; margin: 0 0 18px; padding: 0; }
.beneficiary-type legend, .contact-channels legend {
  margin-bottom: 10px; color: var(--slate); font-size: 13px; font-weight: 700;
}
.beneficiary-type label { display: inline-flex; margin-right: 10px; cursor: pointer; }
.beneficiary-type input { position: absolute; opacity: 0; }
.beneficiary-type span {
  min-width: 122px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  color: var(--slate-600); text-align: center; font-size: 14px; font-weight: 700; transition: .15s;
}
.beneficiary-type input:checked + span { border-color: var(--red); background: #fff1f4; color: var(--red); }

.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.field-row--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.input-pill {
  display: flex; align-items: center; gap: 10px; background: var(--field);
  border: 2px solid transparent; border-radius: var(--r-pill); padding: 4px 22px; min-height: 58px;
  transition: border-color .15s, background .15s;
}
.input-pill:focus-within { border-color: var(--red); background: #fff; }
.input-pill label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto; }
.input-pill input, .input-pill select {
  border: none; background: transparent; outline: none; width: 100%; font-family: inherit;
  font-size: 15px; color: var(--slate); padding: 12px 0;
}
.input-pill select { cursor: pointer; appearance: none; }
.input-pill--select::after { content: "▾"; color: var(--muted); font-size: 12px; }

.consents { margin-top: 26px; display: grid; gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--slate-600); cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box { flex: 0 0 auto; width: 24px; height: 24px; border: 2px solid var(--red); border-radius: 7px; display: grid; place-items: center; transition: .15s; }
.check__box svg { width: 14px; height: 14px; stroke: #fff; opacity: 0; }
.check input:checked + .check__box { background: var(--red); }
.check input:checked + .check__box svg { opacity: 1; }
.check strong { color: var(--slate); }
.contact-channels { border: 0; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.contact-channels > div { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.contact-channels .check { align-items: center; }
.form-actions { margin-top: 30px; text-align: center; }
.req { color: var(--red); }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

.field-spinner {
  display: none; flex: 0 0 auto; width: 16px; height: 16px;
  border: 2px solid var(--line); border-top-color: var(--red);
  border-radius: 50%; animation: field-spin .7s linear infinite;
}
.field-spinner.is-active { display: inline-block; }
@keyframes field-spin { to { transform: rotate(360deg); } }

/* ============================ Auth / centered card layout (token, wizard shell) ============================ */
.auth { min-height: calc(100vh - var(--header-h)); background: var(--bg-soft); display: flex; flex-direction: column; align-items: center; padding: 40px 20px 60px; }
.auth__logo { margin-bottom: 30px; }
.auth-card {
  width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: 38px 34px; border: 1px solid var(--line);
}
.auth-card h1 { font-size: 24px; font-weight: 800; }
.auth-card .sub { color: var(--slate-600); margin-top: 8px; font-size: 15px; }
.auth-help { margin-top: 26px; text-align: center; }
.auth-help p { color: var(--slate-600); font-size: 14px; margin-bottom: 12px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin: 20px 0 8px; }
.input-box {
  width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 15px 16px; font-family: inherit; font-size: 15px; color: var(--slate); outline: none; transition: border-color .15s, box-shadow .15s;
}
.input-box:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,0,50,.12); }
.select-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* Token inputs */
.token-inputs { display: flex; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.token-inputs input {
  width: 52px; height: 62px; text-align: center; font-size: 26px; font-weight: 700; color: var(--slate);
  border: 1.5px solid var(--line); border-radius: 12px; outline: none; background: #fff; transition: .15s;
}
.token-inputs input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,0,50,.12); }
.token-inputs input.filled { border-color: var(--red); background: #fff5f7; }
.token-meta { text-align: center; color: var(--slate-600); font-size: 14px; margin-top: 18px; }
.token-meta b { color: var(--slate); letter-spacing: .05em; }
.resend { text-align: center; margin-top: 16px; font-size: 14px; color: var(--slate-600); }
.resend button { color: var(--red); font-weight: 600; }
.resend button[disabled] { color: var(--muted); cursor: default; }

/* ============================ Wizard (cadastro completo) ============================ */
.wizard { background: var(--bg-soft); }
.stepper { display: flex; align-items: center; justify-content: center; gap: 0; margin: 8px auto 34px; max-width: 860px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.step__dot { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; transition: .2s; }
.step__label { font-size: 13px; font-weight: 600; }
.step.is-active .step__dot { background: var(--grad-red); border-color: transparent; color: #fff; box-shadow: var(--sh-red); }
.step.is-active { color: var(--slate); }
.step.is-done .step__dot { background: var(--slate); border-color: transparent; color: #fff; }
.step.is-done { color: var(--slate); }
.step__bar { width: 46px; height: 2px; background: var(--line); margin: 0 6px; }
.step.is-done + .step .step__bar, .step.is-done .step__bar { background: var(--slate); }

.wizard-card { max-width: 760px; margin-inline: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); border: 1px solid var(--line); padding: clamp(26px, 4vw, 46px); }
.wizard-step { display: none; animation: fade .35s ease; }
.wizard-step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard-step h2 { font-size: 24px; }
.wizard-step .step-sub { color: var(--slate-600); margin-top: 8px; margin-bottom: 24px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }

/* product option (radio cards) */
.option-list { display: grid; gap: 14px; }
.option {
  display: flex; align-items: center; gap: 16px; border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; cursor: pointer; transition: .15s; background: #fff;
}
.option:hover { border-color: var(--pink); }
.option input { position: absolute; opacity: 0; }
.option__radio { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; transition: .15s; }
.option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: .15s; }
.option input:checked ~ .option__radio { border-color: var(--red); }
.option input:checked ~ .option__radio::after { transform: scale(1); }
.option:has(input:checked) { border-color: var(--red); background: #fff5f7; }
.option__ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; }
.option__ico svg { width: 26px; height: 26px; stroke: var(--red); }
.option__body { flex: 1; }
.option__body h4 { font-size: 16px; }
.option__body p { font-size: 13px; color: var(--slate-600); }
.option__meta { font-size: 12px; color: var(--muted); }

.summary-list { display: grid; gap: 2px; background: var(--bg-soft); border-radius: var(--r-md); padding: 8px 20px; }
.summary-list .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-list .row:last-child { border-bottom: none; }
.summary-list .row span:first-child { color: var(--slate-600); }
.summary-list .row span:last-child { font-weight: 600; text-align: right; }

.success { text-align: center; padding: 20px 0; }
.success__badge { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: rgba(31,170,107,.12); display: grid; place-items: center; }
.success__badge svg { width: 46px; height: 46px; stroke: var(--green); }

/* ============================ Dashboard (área logada) ============================ */
.app-topbar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.app-topbar__inner { height: 72px; display: flex; align-items: center; gap: 20px; }
.app-search { flex: 1; max-width: 360px; display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: var(--r-pill); padding: 10px 18px; color: var(--muted); }
.app-search svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: var(--muted); }
.app-search input { border: none; background: transparent; outline: none; font-family: inherit; font-size: 14px; width: 100%; color: var(--slate); }
.app-nav { display: flex; gap: 26px; margin-left: 12px; }
.app-nav a { font-size: 14px; font-weight: 600; color: var(--slate); }
.app-nav a:hover { color: var(--red); }
.topbar-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; position: relative; }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--slate); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; border: 2px solid #fff; }

/* account dropdown */
.account { position: relative; }
.account__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-red); color: #fff; display: grid; place-items: center; font-weight: 700; }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 12px); width: 250px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); border: 1px solid var(--line); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.account.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--slate); }
.dropdown a svg { width: 18px; height: 18px; stroke: var(--slate); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a.active { color: var(--red); }
.dropdown a.active svg { stroke: var(--red); }
.dropdown hr { border: none; border-top: 1px solid var(--line); margin: 6px 4px; }

.app-body { background: var(--bg-soft); min-height: 100vh; }
.app-layout { display: grid; grid-template-columns: 258px 1fr; gap: 26px; padding-block: 30px; align-items: start; }
.app-layout > main { min-width: 0; }
.side {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 14px; position: sticky; top: 96px;
}
.side a { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--slate); margin-bottom: 3px; }
.side a svg { width: 20px; height: 20px; stroke: var(--slate); }
.side a:hover { background: var(--bg-soft); }
.side a.active { background: #fff5f7; color: var(--red); }
.side a.active svg { stroke: var(--red); }
.side__promo { margin-top: 14px; background: var(--grad-red); border-radius: var(--r-md); padding: 20px; color: #fff; }
.side__promo p { font-size: 13px; opacity: .95; }
.side__promo b { font-size: 15px; display: block; margin-bottom: 6px; }

.hello { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.hello span { color: var(--red); }
.subtle { color: var(--slate-600); }

.panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 26px; box-shadow: var(--sh-sm); }
.panel + .panel, .panel + .stack, .stack > * + * { margin-top: 22px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel__head h3 { font-size: 19px; }
.panel__head a { font-size: 13px; font-weight: 600; color: var(--red); }

/* highlight discount banner */
.promo-banner {
  border-radius: var(--r-lg); padding: 34px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #fff, #fff);
  border: 1px solid var(--line);
}
.promo-banner .emoji { font-size: 30px; }
.promo-banner h3 { font-size: 22px; margin-top: 6px; }
.promo-banner p { color: var(--slate-600); margin-top: 6px; }
.promo-banner .btn { margin-top: 18px; }

/* treatment card */
.treatment { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; }
.treatment__pill { width: 64px; height: 64px; border-radius: 18px; background: var(--grad-red); display: grid; place-items: center; }
.treatment__pill svg { width: 32px; height: 32px; stroke: #fff; }
.progress { height: 8px; background: var(--field); border-radius: 999px; overflow: hidden; margin-top: 12px; }
.progress > i { display: block; height: 100%; background: var(--grad-red); border-radius: 999px; }

.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mini { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; transition: .2s; }
.mini:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.mini__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 12px; }
.mini__ico svg { width: 24px; height: 24px; stroke: var(--red); }
.mini h4 { font-size: 15px; }
.mini p { font-size: 13px; color: var(--slate-600); margin-top: 4px; }
.mini .go { display:inline-flex; margin-top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--red); align-items:center; justify-content:center; }
.mini .go svg { width: 16px; height: 16px; stroke: var(--red); }

/* coupon / benefit cards */
.coupon { display: flex; align-items: center; gap: 16px; border: 1px dashed var(--pink); border-radius: var(--r-md); padding: 18px 20px; background: #fff8fa; }
.coupon__off { flex: 0 0 auto; text-align: center; }
.coupon__off b { display: block; font-size: 26px; font-weight: 800; color: var(--red); line-height: 1; }
.coupon__off span { font-size: 11px; color: var(--slate-600); text-transform: uppercase; letter-spacing: .08em; }
.coupon__body { flex: 1; }
.coupon__body h4 { font-size: 15px; }
.coupon__body p { font-size: 13px; color: var(--slate-600); }
.coupon .code { font-family: monospace; font-weight: 700; letter-spacing: .1em; color: var(--slate); background: #fff; border: 1px dashed var(--line); padding: 8px 14px; border-radius: 8px; font-size: 13px; }

.reminder { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reminder:last-child { border-bottom: none; }
.reminder__day { flex: 0 0 auto; width: 52px; text-align: center; }
.reminder__day b { display: block; font-size: 20px; font-weight: 800; color: var(--red); line-height: 1; }
.reminder__day span { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.reminder__body h4 { font-size: 15px; }
.reminder__body p { font-size: 13px; color: var(--slate-600); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.tag--green { background: rgba(31,170,107,.12); color: var(--green); }
.tag--amber { background: rgba(245,166,35,.14); color: #b9770a; }

/* ============================ WhatsApp float ============================ */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; box-shadow: var(--sh-red); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Widget interno de comentários/review (evolc.co, embed.js em todas as páginas) cria um
   botão flutuante preto no mesmo canto do WhatsApp. Ele vive em Shadow DOM, então não dá
   pra estilizar o botão em si daqui — mas ocultar o elemento-host (luz/fora da shadow)
   esconde a árvore inteira. */
[data-evolcco-review] { display: none !important; }

/* ============================ Modal (product change) ============================ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(44,56,68,.55); backdrop-filter: blur(3px); z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .2s; }
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal { width: 100%; max-width: 520px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 30px; transform: translateY(10px); transition: .2s; }
.modal--legal { max-width: 820px; }
.modal-backdrop.is-open .modal { transform: none; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.modal__head h3 { font-size: 20px; }
.modal__close { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--slate); font-size: 20px; }
.modal__actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.legal-copy { max-height: 52vh; overflow: auto; font-size: 14px; line-height: 1.7; color: var(--slate); display: grid; gap: 12px; padding-right: 8px; }
.legal-copy--locked { user-select: none; -webkit-user-select: none; }
.legal-document__title { color: var(--red); font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 18px; }
.legal-document__title:first-child { margin-top: 0; }
.legal-document__section { color: var(--slate); font-size: 15px; font-weight: 600; line-height: 1.4; margin-top: 12px; }
.legal-page { max-width: 880px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: clamp(22px, 4vw, 44px); }
.legal-page .legal-copy { max-height: none; overflow: visible; font-size: 15px; padding-right: 0; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-left: 34px; }
.legal-link { color: var(--red); font-family: var(--font-head); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notification-list { display: grid; gap: 4px; }
.notification-item { display: flex; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item__dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--line); }
.notification-item.is-unread .notification-item__dot { background: var(--red); box-shadow: 0 0 0 5px rgba(255,0,50,.09); }
.notification-item h4 { color: var(--slate); font-size: 15px; }
.notification-item p { margin-top: 4px; color: var(--slate-600); font-size: 14px; line-height: 1.5; }
.notification-item a { display: inline-block; margin-top: 8px; color: var(--red); font-size: 13px; font-weight: 700; }

/* ============================ Strip + Footer ============================ */
.strip { background: var(--grad-red); color: #fff; text-align: center; padding: 24px 20px; font-family: var(--font-head); font-size: clamp(16px, 2vw, 20px); font-weight: 400; }
.strip b { font-weight: 700; }

.footer { background: var(--slate); color: rgba(255,255,255,.82); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr; gap: 36px; padding-block: 50px; align-items: start; }
.footer__logo img { height: 40px; width: auto; display: block; }
.footer__logo--right img { height: 40px; margin-bottom: 16px; }
.footer__col h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.78); }
.footer__links a:hover { color: #fff; }
.footer__intro { max-width: 290px; margin-top: 18px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.6; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: .2s; }
.footer__social a:hover { background: var(--red); }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }
.footer__contact { font-size: 14px; }
.footer__contact .phone { display: block; width: fit-content; margin-bottom: 10px; font-size: 18px; font-weight: 700; color: #fff; }
.footer__contact .phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__channel-label { margin-bottom: 3px; color: rgba(255,255,255,.6); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.footer__contact .hours { color: rgba(255,255,255,.6); font-size: 13px; margin: 4px 0 14px; }
.footer__addr { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.62); }
.footer__bar { background: var(--slate-900); }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; font-size: 12.5px; flex-wrap: wrap; }
.footer__bar a { color: rgba(255,255,255,.7); margin-left: 22px; }
.footer__bar a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-family: var(--font-head); font-weight: 600; }
.to-top .circle { width: 34px; height: 34px; display: grid; place-items: center; }
.to-top .circle img { width: 34px; height: 34px; display: block; }
.footer__disclaimer { font-size: 11.5px; color: rgba(255,255,255,.5); padding-bottom: 22px; line-height: 1.6; }

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .container { padding-inline: 20px; }
  .site-header__inner { gap: 16px; }
  .nav { gap: 22px; }
}
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .app-layout { grid-template-columns: 1fr; }
  .side { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-nav, .app-search { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 6px; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 18px 24px 26px; box-shadow: var(--sh-md); border-bottom: 1px solid var(--line);
  }
  .nav.is-open a { padding: 12px 0; font-size: 15px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bene-grid { grid-template-columns: 1fr; max-width: 520px; }
  .hero__content { inset: 0 48% 0 0; padding-inline: 24px; gap: 14px; }
  .hero__content p { font-size: 14px; }
  /* Adium Saúde: sobreposição de cima p/ baixo no mobile, para o texto ficar legível sobre a foto */
  .split { min-height: auto; }
  .split::before { background: linear-gradient(180deg, rgba(247,247,249,.96) 0%, rgba(247,247,249,.72) 62%, rgba(247,247,249,.4) 100%); }
  .split__text { max-width: 100%; padding-block: 40px; }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .support-grid, .product-dropdown__list { grid-template-columns: 1fr; }
  .support-card { min-height: 0; flex-direction: row; text-align: left; align-items: center; }
  .product-dropdown__list article { border-bottom: 1px solid var(--line); }
  .product-dropdown__list article:last-child { border-bottom: 0; }
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 16px; }
  .stat b { font-size: 22px; }
  /* Hero: empilha — foto (KV+família) em cima, conteúdo embaixo */
  .hero__img { height: 230px; object-fit: cover; object-position: 74% center; }
  .hero__banner::before { display: none; }
  .hero__content { position: static; inset: auto; width: 100%; padding: 24px 22px 28px; background: #fff; }
  .hero__logo-img { width: 200px; }
  .hero__logo-img--por-voce { width: 160px; max-height: 118px; }
}
@media (max-width: 560px) {
  .section { padding-block: 48px; }
  .section--tight { padding-block: 36px; }
  .grid--2, .grid--3, .grid--4, .bene-grid, .mini-grid { grid-template-columns: 1fr; }
  .field-row, .field-row--3, .select-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__bar a { margin-left: 0; margin-right: 18px; }
  .stat-row { grid-template-columns: 1fr; }
  .hero__content { padding: 22px 20px 26px; }
  .page-head { align-items: flex-start; }
  .form-card { margin: 16px; padding: 22px; }
  .beneficiary-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .beneficiary-type legend { grid-column: 1 / -1; }
  .beneficiary-type label { margin: 0; }
  .beneficiary-type span { min-width: 0; width: 100%; }
  .wizard-card { padding: 24px 20px; }
  .auth-card { padding: 28px 22px; }
  .token-inputs { gap: 7px; }
  .token-inputs input { width: 42px; height: 52px; font-size: 21px; }
  .stepper .step__label { display: none; }
  .step__bar { width: 18px; margin: 0 4px; }
  .step__dot { width: 32px; height: 32px; }
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn { width: 100%; }
}

/* ============================ App pages (área logada — comuns) ============================ */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.page-head p { color: var(--slate-600); margin-top: 4px; }

/* segmented tabs */
.segmented { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.segmented button { padding: 9px 18px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--slate-600); }
.segmented button.active { background: var(--red); color: #fff; }

/* toggle switch */
.switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch .track { position: absolute; inset: 0; background: #d7dbe1; border-radius: 999px; transition: .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--red); }
.switch input:checked + .track::after { transform: translateX(20px); }

/* timeline (status do tratamento) */
.timeline { position: relative; padding-left: 8px; }
.tl-item { position: relative; padding: 0 0 24px 30px; border-left: 2px solid var(--line); }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -8px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.tl-item.done::before { background: var(--green); border-color: var(--green); }
.tl-item.current::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,0,50,.15); }
.tl-item h4 { font-size: 15px; }
.tl-item p { font-size: 13px; color: var(--slate-600); }

/* data rows (perfil / detalhes) */
.data-list { display: grid; gap: 0; }
.data-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.data-row:last-child { border-bottom: none; }
.data-row .k { color: var(--slate-600); font-size: 14px; }
.data-row .v { min-width: 0; font-weight: 600; font-size: 14px; text-align: right; overflow-wrap: anywhere; }

/* stat cards */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.treatment-detail-grid { display: grid; grid-template-columns: 1fr; margin-top: 22px; align-items: start; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.stat b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--red); line-height: 1; }
.stat span { font-size: 13px; color: var(--slate-600); }

/* doctor card */
.doc-card { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.doc-card + .doc-card { margin-top: 14px; }
.doc-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--red); }
.doc-card__body { flex: 1; }
.doc-card__body h4 { font-size: 15px; }
.doc-card__body p { font-size: 13px; color: var(--slate-600); }

/* article cards */
.article { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; transition: .2s; display: block; }
.article:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.article__cover { height: 130px; background: var(--grad-red); display: grid; place-items: center; }
.article__cover.alt1 { background: linear-gradient(120deg,#3b4a5c,#5b6b7d); }
.article__cover.alt2 { background: linear-gradient(120deg,#ff4d6d,#ff0032); }
.article__cover.alt3 { background: linear-gradient(120deg,#8a5cff,#5b6bff); }
.article__cover svg { width: 40px; height: 40px; stroke: rgba(255,255,255,.9); }
.article__body { padding: 18px; }
.article__tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.article__body h4 { font-size: 15px; margin: 6px 0; }
.article__body p { font-size: 13px; color: var(--slate-600); }

/* file / termo card */
.file-row { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.file-row .fico { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; }
.file-row .fico svg { width: 22px; height: 22px; stroke: var(--red); }
.file-row .fbody { flex: 1; }
.file-row .fbody h4 { font-size: 14px; }
.file-row .fbody p { font-size: 12px; color: var(--slate-600); }

/* upload dropzone */
.dropzone { border: 2px dashed var(--line); border-radius: var(--r-md); padding: 26px; text-align: center; color: var(--slate-600); cursor: pointer; transition: .15s; }
.dropzone:hover { border-color: var(--red); background: #fff5f7; }
.dropzone svg { width: 30px; height: 30px; stroke: var(--red); margin-bottom: 8px; }

/* editable panels (minha conta) */
.editable .when-edit { display: none; }
.editable.is-editing .when-view { display: none; }
.editable.is-editing .when-edit { display: block; }

/* ---------- Buscar farmácia ---------- */
.finder-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.finder-bar .input-box { flex: 1; min-width: 200px; }
.pharmacy-finder-public { max-width: 920px; margin-inline: auto; }
.pharmacy-location-field { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.pharmacy-location-field input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font: inherit; color: var(--slate); }
.pharmacy-radius { max-width: 180px; cursor: pointer; }
.pharmacy-empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-soft); color: var(--red); display: grid; place-items: center; margin: 0 auto 14px; }

/* Lista de resultados + mapa real (Google Maps), lado a lado */
.pharmacy-results-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 20px; align-items: stretch; }
.pharmacy-results-list { display: flex; flex-direction: column; min-height: 420px; max-height: 620px; }
.pharmacy-results-list .panel__head { flex: 0 0 auto; }
.pharmacy-list-scroll { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding-right: 4px; margin-right: -4px; scrollbar-width: thin; scrollbar-color: #c7cbd2 transparent; }
.pharmacy-list-scroll::-webkit-scrollbar { width: 8px; }
.pharmacy-list-scroll::-webkit-scrollbar-thumb { background: #c7cbd2; border-radius: 999px; }
.pharmacy-map-jump { display: none; width: 100%; margin: 4px 0 14px; flex: 0 0 auto; }
.pharmacy-map-col { min-height: 420px; }
.pharmacy-map {
  position: relative; height: 100%; min-height: 420px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft);
}
.pharmacy-map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }

.pharmacy-card { border: 2px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; transition: .15s; cursor: pointer; }
.pharmacy-card + .pharmacy-card { margin-top: 12px; }
.pharmacy-card:hover { box-shadow: var(--sh-md); border-color: transparent; }
.pharmacy-card.is-active { border-color: var(--red); }
.pharmacy-card__body h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pharmacy-card__body p { font-size: 13px; color: var(--slate-600); margin: 6px 0 10px; }
.pharmacy-card__actions { display: flex; flex-direction: column; gap: 2px; }
.pharmacy-action-link { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--slate); text-decoration: none; font-size: 13px; font-weight: 600; }
.pharmacy-action-link__icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: background-color .15s ease; }
.pharmacy-action-link__icon img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.pharmacy-action-link__label { min-width: 0; overflow-wrap: anywhere; }
.pharmacy-action-link:hover { color: var(--red); }
.pharmacy-action-link:hover .pharmacy-action-link__icon { background: var(--red-700); }

@media (max-width: 900px) {
  .pharmacy-results-grid { grid-template-columns: 1fr; }
  .pharmacy-map-jump { display: block; }
  .pharmacy-results-list { max-height: none; }
  .pharmacy-map-col { min-height: 320px; }
  .pharmacy-map { min-height: 320px; }
}

/* ---------- Leitura de conteúdo (artigo) ---------- */
.reader { max-width: 760px; margin-inline: auto; }
.reader .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--slate-600); margin-bottom: 18px; }
.reader .back svg { width: 18px; height: 18px; stroke: currentColor; }
.reader .back:hover { color: var(--red); }
.article-hero { height: 240px; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--grad-red); }
.article-hero.alt1 { background: linear-gradient(120deg,#3b4a5c,#5b6b7d); }
.article-hero.alt2 { background: linear-gradient(120deg,#ff4d6d,#ff0032); }
.article-hero.alt3 { background: linear-gradient(120deg,#8a5cff,#5b6bff); }
.article-hero svg { width: 58px; height: 58px; stroke: rgba(255,255,255,.92); }
.article-tag { display: inline-block; margin-top: 22px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.reader h1 { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-top: 8px; line-height: 1.15; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13px; margin: 14px 0 26px; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.prose p { margin-bottom: 16px; color: var(--slate); line-height: 1.75; font-size: 16px; }
.prose h3 { font-family: var(--font-head); font-size: 20px; margin: 26px 0 10px; }
.prose ul { padding-left: 20px; list-style: disc; color: var(--slate); display: grid; gap: 8px; margin-bottom: 16px; }
.prose .callout { border-left: 4px solid var(--red); background: var(--bg-soft); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 22px 0; color: var(--slate); font-style: italic; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.share span { font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-right: 4px; }
.share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate); }
.share a svg { width: 18px; height: 18px; }
.share a:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 560px) {
  .pharmacy-radius { max-width: none; }
  .finder-bar .btn { width: 100%; }
}

/* Responsivo dos componentes da área logada — DEVE vir após as definições base acima */
@media (max-width: 860px) {
  .page-head { align-items: flex-start; }
  .treatment-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .panel { padding: 20px; }
  .file-row { flex-wrap: wrap; }
  .file-row .fbody { min-width: calc(100% - 56px); }
  .file-row > :last-child { width: 100%; margin-left: 0 !important; justify-content: flex-end; }
  .stat-row, .stat-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px 12px; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 11px; }
  .coupon { flex-wrap: wrap; }
  .coupon__off { order: 0; }
  .coupon__body { order: 1; }
  .coupon .code, .coupon [data-copy] { order: 2; margin-left: auto; margin-top: 4px; }
  .doc-card { flex-wrap: wrap; }
  .doc-card .check, .doc-card__body { min-width: 60%; }
}
