/* Site Dr. Vinícius Costa — doutorviniciuscosta.com.br
   Identidade "Medicina Personalizada" (Manual da Marca): azul petróleo #0F1D2E, azul-marinho #1E2C41,
   ouro champagne #DEB86D (só sobre fundo escuro), bronze #8C6B2F (ouro legível sobre claro), areia #FAF8F5 / #F2EDE6.
   Proporção 60 neutros claros / 30 azul / 10 ouro. Títulos em Montserrat, texto em Source Sans 3.
   Visual único e deliberado, sem modo escuro automático. (Os nomes das variáveis azul e verde vêm da versão anterior.) */


:root {
  /* Paleta do site atual (Elementor kit) */
  --azul-noite: #0F1D2E;    /* rodapé, faixas mais escuras */
  --azul-profundo: #1E2C41; /* faixas azuis, gradiente do hero */
  --azul: #1E2C41;          /* cor primária: títulos, botões */
  --azul-medio: #8C6B2F;    /* sobrelinhas e links sobre fundo claro */
  --azul-claro: #4F6F63;
  --azul-gelo: #F2EDE6;     /* faixas claras azuladas */
  --verde: #DEB86D;         /* destaque: CTA sobre azul, ícones de check */
  --verde-folha: #C9A35A;
  --verde-escuro: #8C6B2F;  /* verde legível sobre branco */
  --amarelo: #DEB86D;       /* realce de palavras no hero */
  --fundo: #FAF8F5;
  --fundo-2: #F2EDE6;
  --linha: #E4DBD0;
  --texto: #1E2C41;
  --texto-suave: #5A5C5E;
  --texto-claro: #FFFFFF;
  --texto-claro-suave: #D9D3C8;
  --branco: #FFFFFF;
  --whats: #1A7A43;
  --borda-campo: #9A8F80;   /* bordas de campos/opções (3,2:1 sobre branco) */
  --card-pad: 28px;

  --f-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-texto: "Source Sans 3", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --t-lg: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --t-h3: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --t-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem);
  --t-h1: clamp(2.1rem, 1.5rem + 2.7vw, 3.6rem);

  --raio: 16px;
  --raio-sm: 12px;
  --sombra: 0 1px 2px rgba(6, 33, 54, .06), 0 14px 34px -14px rgba(6, 69, 118, .28);
  --largura: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--fundo); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul-noite); outline-offset: 3px; border-radius: 4px; }
.faixa--escura :focus-visible, .faixa--marinho :focus-visible, .rodape :focus-visible { outline-color: var(--verde); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.sem-rolagem { overflow: hidden; }

.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--azul-noite); color: var(--texto-claro); padding: 10px 16px; border-radius: 8px; }
.pular:focus { left: 16px; }

/* ---------- estrutura ---------- */
.faixa { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: clamp(64px, 8vw, 112px); }
.faixa--alt { background: var(--fundo-2); }
.faixa--escura { background: var(--azul-noite); color: var(--texto-claro); padding-block: clamp(72px, 10vw, 136px); }
.faixa--marinho { background: var(--azul); color: var(--texto-claro); padding-block: clamp(72px, 10vw, 136px); }
.miolo { max-width: var(--largura); margin-inline: auto; }
.miolo--estreito { max-width: 760px; margin-inline: auto; }

.cabeca-secao { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.cabeca-secao--centro { margin-inline: auto; text-align: center; justify-items: center; }

/* Sobrelinha com filete dourado, como "— MEDICINA PERSONALIZADA —" do logo */
.sobrelinha {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--azul-medio);
}
.sobrelinha::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.faixa--escura .sobrelinha, .faixa--marinho .sobrelinha { color: var(--verde); }

.titulo {
  font-family: var(--f-display); font-weight: 500; font-size: var(--t-h2);
  line-height: 1.1; letter-spacing: -0.015em;
}
.titulo em { font-style: italic; font-weight: 400; color: var(--azul); }
.faixa--escura .titulo em, .faixa--marinho .titulo em { color: var(--verde); }
.lead { font-size: var(--t-lg); color: var(--texto-suave); max-width: 62ch; }
.faixa--escura .lead, .faixa--marinho .lead { color: var(--texto-claro-suave); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--azul-noite); --fg: var(--texto-claro);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(6, 33, 54, .45); } }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ouro { --bg: var(--verde); --fg: var(--azul-noite); }
.btn--ouro:hover { box-shadow: 0 10px 28px -10px rgba(97, 206, 112, .7); }
.btn--contorno { --bg: transparent; --fg: var(--azul-noite); border-color: rgba(6, 33, 54, .25); }
.btn--contorno:hover { border-color: var(--azul-noite); box-shadow: none; }
.faixa--escura .btn--contorno, .faixa--marinho .btn--contorno { --fg: var(--texto-claro); border-color: rgba(255, 255, 255, .3); }
.btn--grande { min-height: 60px; padding-inline: 34px; font-size: 1.0625rem; }
.btn--bloco { width: 100%; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.micro { font-size: var(--t-xs); color: var(--texto-suave); }
.faixa--escura .micro, .faixa--marinho .micro { color: var(--texto-claro-suave); }

/* ---------- cabeçalho ---------- */
.topo {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.topo.rolou { border-bottom-color: var(--linha); box-shadow: 0 6px 20px -16px rgba(6, 33, 54, .35); }
.topo__miolo { max-width: var(--largura); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.topo__logo { display: flex; align-items: center; flex: none; }
.topo__logo img { height: 62px; width: auto; }
.topo__nav { display: flex; gap: 26px; margin-left: auto; }
.topo__nav a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--texto-suave); transition: color .2s; }
.topo__nav a:hover { color: var(--texto); }
.topo .btn { min-height: 44px; padding: 10px 20px; font-size: var(--t-sm); }
.topo .btn--ouro { --bg: var(--azul-noite); --fg: var(--texto-claro); }
.topo__menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.topo__menu span { display: block; width: 22px; height: 2px; background: var(--azul-noite); margin: 5px auto; transition: transform .25s, opacity .25s; }
.topo__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topo__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topo__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .topo__menu { display: block; }
  .topo__nav {
    position: absolute; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    background: var(--fundo); border-bottom: 1px solid var(--linha);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .topo__nav.aberto { transform: none; opacity: 1; visibility: visible; }
  .topo__nav a { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--linha); }
  .topo__cta { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-top: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.hero::after { /* arco do "C" do logotipo, como marca d'água */
  content: ""; position: absolute; width: min(70vw, 760px); aspect-ratio: 1; right: -12vw; top: -8%;
  border-radius: 50%; border: 1.5px solid rgba(97, 206, 112, .45); border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(-20deg); pointer-events: none;
}
.hero__miolo { max-width: var(--largura); margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: end; position: relative; z-index: 1; }
.hero__texto { display: grid; gap: 24px; padding-bottom: clamp(40px, 6vw, 88px); min-width: 0; }
.hero h1 { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h1); line-height: 1.06; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--azul); }
.hero__sub { font-size: var(--t-lg); color: var(--texto-suave); max-width: 54ch; }
.hero__foto { position: relative; align-self: end; justify-self: center; width: 100%; max-width: 460px; }
.hero__foto::before { content: ""; position: absolute; inset: 14% 0 0; background: linear-gradient(180deg, var(--fundo-2), #C8DFF5); border-radius: 220px 220px 0 0; }
.hero__foto img { position: relative; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent); }
.selo {
  position: absolute; right: -4%; bottom: 20%; background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); border-top: 2px solid var(--verde);
  padding: 14px 18px; display: grid; gap: 2px; max-width: 230px;
}
.selo strong { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: var(--azul-noite); }
.selo span { font-size: var(--t-xs); color: var(--texto-suave); line-height: 1.35; }

.credenciais { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--t-sm); color: var(--texto-suave); }
.credenciais li { display: inline-flex; align-items: center; gap: 8px; }
.credenciais svg { width: 16px; height: 16px; color: var(--verde-escuro); flex: none; }

@media (max-width: 860px) {
  .hero__miolo { grid-template-columns: 1fr; }
  .hero__texto { padding-bottom: 8px; }
  .hero__foto { max-width: 340px; }
  .selo { right: 0; bottom: 12%; }
}

/* ---------- "Para quem é" ---------- */
.perfis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perfil {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: var(--card-pad); display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
@media (hover: hover) { .perfil:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: transparent; } }
.perfil__icone { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #E6F6E8; color: var(--verde-escuro); }
.perfil__icone svg { width: 22px; height: 22px; }
.perfil h3 { font-size: var(--t-h3); font-weight: 650; line-height: 1.3; }
.perfil p { color: var(--texto-suave); font-size: var(--t-sm); }
@media (max-width: 900px) { .perfis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .perfis { grid-template-columns: 1fr; } }

/* ---------- Livro-caixa "Menos / Mais" ---------- */
.balanco { border-top: 1px solid rgba(255, 255, 255, .18); }
.balanco__linha {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.balanco__menos, .balanco__mais { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.15; }
.balanco__menos { color: var(--texto-claro-suave); text-align: right; }
.balanco__menos small, .balanco__mais small { display: block; font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.balanco__menos small { color: rgba(201, 220, 238, .75); }
.balanco__mais small { color: var(--verde); }
.balanco__seta { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(97, 206, 112, .5); display: grid; place-items: center; color: var(--verde); }
.balanco__seta svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .balanco__linha { grid-template-columns: 1fr; gap: 6px; }
  .balanco__menos { text-align: left; }
  .balanco__seta { display: none; }
  .balanco__menos s { text-decoration-thickness: 1px; }
}

/* ---------- áreas de atuação ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.area { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--linha); }
.area__num { font-family: var(--f-display); font-size: 1.1rem; color: var(--azul-medio); font-weight: 600; grid-row: span 2; padding-top: 2px; min-width: 2ch; }
.area h3 { font-size: var(--t-h3); font-weight: 650; line-height: 1.3; }
.area p { color: var(--texto-suave); font-size: var(--t-sm); }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* ---------- método (sequência real: 3 etapas) ---------- */
.etapas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: etapa; position: relative; }
.etapa { position: relative; display: grid; gap: 12px; align-content: start; padding: var(--card-pad); border-radius: var(--raio); background: var(--branco); border: 1px solid var(--linha); }
.etapa__num {
  font-family: var(--f-display); font-size: 3.2rem; line-height: .9; font-weight: 500; color: var(--verde-escuro);
}
.etapa__prazo { font-size: var(--t-xs); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--verde-escuro); }
.etapa h3 { font-size: var(--t-h3); font-weight: 650; line-height: 1.3; }
.etapa p { color: var(--texto-suave); font-size: var(--t-sm); }
@media (max-width: 860px) { .etapas { grid-template-columns: 1fr; } }

/* ---------- oferta ---------- */
.oferta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.oferta__texto { display: grid; gap: 20px; min-width: 0; }
.cartao-oferta {
  background: var(--fundo); color: var(--texto); border-radius: 20px; padding: clamp(26px, 4vw, 40px);
  display: grid; gap: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); position: relative; overflow: hidden;
}
.cartao-oferta::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--verde), #70B246); }
.cartao-oferta__rotulo { font-size: var(--t-xs); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-medio); }
.cartao-oferta h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.1; }
.inclui { display: grid; gap: 12px; }
.inclui li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--t-sm); }
.inclui svg { width: 22px; height: 22px; color: var(--verde-escuro); margin-top: 1px; }
.preco { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 18px; border-top: 1px dashed var(--linha); }
.preco__valor { font-family: var(--f-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.preco__detalhe { font-size: var(--t-sm); color: var(--texto-suave); }
.lista-check { display: grid; gap: 12px; }
.lista-check li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.lista-check svg { width: 22px; height: 22px; color: var(--verde); margin-top: 2px; }
@media (max-width: 900px) { .oferta { grid-template-columns: 1fr; } }

/* ---------- para quem é / não é ---------- */
.filtro-perfil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.filtro-perfil__col { border-radius: var(--raio); padding: var(--card-pad); display: grid; gap: 16px; align-content: start; }
.filtro-perfil__col--sim { background: var(--branco); border: 1px solid var(--linha); }
.filtro-perfil__col--nao { background: transparent; border: 1px dashed #B7C6D6; }
.filtro-perfil__col h3 { font-size: var(--t-h3); font-weight: 650; }
.filtro-perfil__col li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: var(--t-sm); padding: 4px 0; }
.filtro-perfil__col svg { width: 20px; height: 20px; margin-top: 2px; }
.filtro-perfil__col--sim svg { color: var(--verde-escuro); }
.filtro-perfil__col--nao svg { color: #B23A3A; }
.filtro-perfil__col--nao li { color: var(--texto-suave); }
@media (max-width: 760px) { .filtro-perfil { grid-template-columns: 1fr; } }

/* ---------- sobre ---------- */
.sobre { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sobre__foto { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.sobre__foto::before { content: ""; position: absolute; inset: 12% 0 0; border-radius: 220px 220px 24px 24px; background: linear-gradient(180deg, var(--azul), var(--azul-noite)); }
.sobre__foto img { position: relative; }
.sobre__texto { display: grid; gap: 18px; min-width: 0; }
.sobre__texto p { color: var(--texto-suave); }
.formacao { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.formacao li { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-sm); padding: 14px 16px; font-size: var(--t-sm); line-height: 1.4; }
.formacao strong { display: block; font-weight: 650; color: var(--texto); }
.formacao span { color: var(--texto-suave); font-size: var(--t-xs); }
.citacao { font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.3; color: var(--azul-noite); border-left: 2px solid var(--verde); padding-left: 20px; }
@media (max-width: 860px) { .sobre { grid-template-columns: 1fr; } .sobre__foto { max-width: 320px; } }
@media (max-width: 460px) { .formacao { grid-template-columns: 1fr; } }

/* ---------- depoimentos ---------- */
.depoimentos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.depoimento { background: rgba(255, 255, 255, .06); border: 1px solid rgba(97, 206, 112, .24); border-radius: var(--raio); padding: 28px 26px; display: grid; gap: 18px; align-content: space-between; }
.depoimento blockquote { margin: 0; font-size: var(--t-base); line-height: 1.6; color: var(--texto-claro); }
.depoimento blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 3.4rem; line-height: .6; color: var(--verde); margin-bottom: 8px; }
.depoimento figcaption { font-size: var(--t-sm); color: var(--texto-claro-suave); }
.depoimento figcaption strong { color: var(--texto-claro); font-weight: 650; }
.aviso-etico { margin-top: 28px; font-size: var(--t-xs); color: var(--texto-claro-suave); max-width: 80ch; }
@media (max-width: 900px) { .depoimentos { grid-template-columns: 1fr; } }

/* ---------- além do consultório ---------- */
.frentes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.frente { border-radius: var(--raio); padding: var(--card-pad); display: grid; gap: 14px; align-content: start; background: var(--branco); border: 1px solid var(--linha); }
.frente__tag { font-size: var(--t-xs); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-escuro); }
.frente h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); font-weight: 600; line-height: 1.15; }
.frente p { color: var(--texto-suave); font-size: var(--t-sm); }
.frente ul { display: grid; gap: 6px; font-size: var(--t-sm); }
.frente li { padding-left: 18px; position: relative; }
.frente li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--azul-medio); }
.link-seta { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 650; font-size: var(--t-sm); color: var(--azul-noite); text-decoration: none; border-bottom: 1px solid var(--verde); padding-bottom: 2px; justify-self: start; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.link-seta:hover { color: var(--azul-medio); }
@media (max-width: 760px) { .frentes { grid-template-columns: 1fr; } }

/* ---------- conteúdo / podcast ---------- */
.videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.video { text-decoration: none; display: grid; gap: 10px; }
.video__capa { position: relative; border-radius: var(--raio-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--azul); max-width: 100%; }
.video__capa img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(.95); transition: transform .5s ease; }
.video:hover .video__capa img { transform: scale(1.04); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play span { width: 48px; height: 48px; border-radius: 50%; background: rgba(6, 33, 54, .78); display: grid; place-items: center; color: var(--branco); transition: background .2s; }
.video:hover .video__play span { background: var(--verde); color: var(--azul-noite); }
.video__play svg { width: 18px; height: 18px; margin-left: 3px; }
.video__titulo { font-size: var(--t-sm); font-weight: 600; line-height: 1.35; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 650; font-size: var(--t-lg); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--azul-medio); border-bottom: 2px solid var(--azul-medio); transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: var(--texto-suave); max-width: 68ch; display: grid; gap: 10px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta-final .titulo { max-width: 18ch; }

/* ---------- rodapé ---------- */
.rodape { background: var(--azul-noite); color: var(--texto-claro-suave); padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: var(--t-sm); }
.rodape__miolo { max-width: var(--largura); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.rodape img { height: 74px; width: auto; }
.rodape h2 { color: var(--texto-claro); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.rodape ul { display: grid; gap: 0; }
.rodape li { padding: 4px 0; }
.rodape ul a { display: inline-block; padding: 6px 0; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--verde); }
.rodape__base { max-width: var(--largura); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 8px; font-size: var(--t-xs); }
@media (max-width: 760px) { .rodape__miolo { grid-template-columns: 1fr; } }

/* ---------- barra fixa no celular ---------- */
.barra-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--linha); transform: translateY(110%); transition: transform .35s ease;
  display: none;
}
.barra-cta.visivel { transform: none; }
.barra-cta .btn { width: 100%; min-height: 50px; }
@media (max-width: 760px) { .barra-cta { display: block; } body.tem-barra { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- botão flutuante WhatsApp (abre o filtro) ---------- */
.flutuante {
  position: fixed; z-index: 44; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--whats); color: var(--branco); display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(31, 143, 78, .65); transition: transform .2s;
}
.flutuante:hover { transform: scale(1.06); }
.flutuante svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .flutuante { display: none; } }

/* ---------- animação de entrada (parte de um estado visível) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .revela { opacity: .001; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .revela.visto { opacity: 1; transform: none; }
  .hero__texto > * { animation: sobe .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__texto > *:nth-child(2) { animation-delay: .08s; }
  .hero__texto > *:nth-child(3) { animation-delay: .16s; }
  .hero__texto > *:nth-child(4) { animation-delay: .24s; }
  .hero__texto > *:nth-child(5) { animation-delay: .32s; }
  .hero__foto { animation: aparece 1s ease .1s both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@keyframes sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ======================================================================
   FILTRO ANTES DO WHATSAPP
   ====================================================================== */
.filtro-dialogo {
  border: 0; padding: 0; margin: auto; width: min(560px, calc(100vw - 24px)); max-height: min(92vh, 760px); max-height: min(92dvh, 760px);
  border-radius: 20px; background: var(--fundo); color: var(--texto); box-shadow: 0 40px 80px -20px rgba(6, 33, 54, .5);
  overflow: hidden;
}
.filtro-dialogo::backdrop { background: rgba(6, 33, 54, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.filtro-dialogo[open] { animation: aparece .35s cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 560px) {
  .filtro-dialogo { position: fixed; inset: 0; width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
}

.filtro { display: flex; flex-direction: column; height: 100%; max-height: inherit; }
.filtro--pagina { background: var(--branco); border: 1px solid var(--linha); border-radius: 20px; box-shadow: var(--sombra); max-width: 600px; margin-inline: auto; overflow: hidden; }
.filtro__topo { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px 22px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
.filtro--pagina .filtro__topo { padding-top: 16px; }
.filtro__progresso { flex: 1; height: 4px; border-radius: 4px; background: var(--linha); overflow: hidden; }
.filtro__progresso span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--verde-escuro), var(--verde)); border-radius: 4px; transition: width .4s ease; }
.filtro__passo-n { font-size: var(--t-xs); color: var(--texto-suave); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
.filtro__fechar, .filtro__voltar { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--texto-suave); flex: none; }
.filtro__fechar:hover, .filtro__voltar:hover { background: var(--fundo-2); color: var(--texto); }
.filtro__fechar svg, .filtro__voltar svg { width: 20px; height: 20px; }
.filtro__voltar[hidden] { display: none; }
.filtro__corpo { padding: 8px 24px calc(28px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; flex: 1; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.filtro__pergunta:focus { outline: none; }
.campo__opcional { font-weight: 400; color: var(--texto-suave); }
.nota-privacidade a { color: inherit; }
.filtro__tela { display: grid; gap: 18px; animation: tela .35s ease both; }
@keyframes tela { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.filtro__rotulo { font-size: var(--t-xs); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-medio); }
.filtro__pergunta { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); line-height: 1.12; }
.filtro__ajuda { color: var(--texto-suave); font-size: var(--t-sm); }
.opcoes { display: grid; gap: 10px; }
.opcao {
  display: grid; grid-template-columns: 1fr 22px; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 15px 18px; min-height: 58px; border-radius: 14px; border: 1.5px solid var(--borda-campo); background: var(--branco); cursor: pointer; text-decoration: none; color: var(--texto);
  font-size: 1rem; font-weight: 550; line-height: 1.35; transition: border-color .15s, background-color .15s, transform .15s;
}
.opcao small { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--texto-suave); margin-top: 2px; }
.opcao::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--borda-campo); transition: all .15s; }
@media (hover: hover) { .opcao:hover { border-color: var(--azul-noite); } }
.opcao:active { transform: scale(.99); }
.opcao--marcada { border-color: var(--azul-noite); background: #EEF5FD; }
.opcao--marcada::after { background: var(--azul-noite); border-color: var(--azul-noite); box-shadow: inset 0 0 0 4px var(--branco); }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 600; font-size: var(--t-sm); }
.campo input, .campo select {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--borda-campo); background: var(--branco);
  font: inherit; font-size: 1rem; color: var(--texto);
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--azul-noite); box-shadow: 0 0 0 4px rgba(97, 206, 112, .35); }
.campo__erro { color: #9B2C2C; font-size: var(--t-xs); }
.resumo { background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; font-size: var(--t-sm); }
.resumo div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.resumo dt { color: var(--texto-suave); }
.resumo dd { margin: 0; font-weight: 600; }
.nota-privacidade { font-size: var(--t-xs); color: var(--texto-suave); display: flex; gap: 8px; align-items: flex-start; }
.nota-privacidade svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--verde-escuro); }
.btn--whats { --bg: var(--whats); --fg: var(--branco); }
.btn--whats:hover { box-shadow: 0 10px 24px -10px rgba(31, 143, 78, .7); }
.numero-whats { font-size: var(--t-xs); color: var(--texto-suave); text-align: center; }
.numero-whats strong { user-select: all; color: var(--texto); }
.destaque-suave { background: #E6F6E8; border-radius: 14px; padding: 16px 18px; font-size: var(--t-sm); color: #1F5A2A; }

/* ---------- faixa de autoridade ---------- */
.autoridade { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 22px; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--fundo); }
.autoridade ul { max-width: var(--largura); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.autoridade li { display: flex; align-items: baseline; gap: 8px; font-size: var(--t-sm); color: var(--texto-suave); }
.autoridade strong { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; color: var(--azul-noite); }
.perfil .link-seta { margin-top: 4px; }
.micro-cta { font-size: var(--t-sm); color: var(--texto-suave); }

/* ---------- livros (prova de autoria) ---------- */
.livros { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--linha); }
.livros p { font-size: var(--t-sm); }

/* ---------- página de instituições ---------- */
.frente--grande { gap: 16px; }
.cabeca-pagina { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px); }
.texto-legal { display: grid; gap: 16px; color: var(--texto-suave); }
.texto-legal h2 { font-size: var(--t-h3); color: var(--texto); margin-top: 12px; }
.texto-legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- ajustes de celular ---------- */
@media (max-width: 560px) {
  :root { --t-xs: .875rem; --card-pad: 22px; }
  .faixa { padding-block: 56px; }
  .faixa--escura, .faixa--marinho { padding-block: 64px; }
  .hero__foto { max-width: 250px; }
  .hero .btn--contorno { display: none; }
  .hero__texto { gap: 18px; }
  .sobrelinha { letter-spacing: .1em; }
  .selo { padding: 10px 14px; }
  .selo strong { font-size: 1.5rem; }
  .resumo div { grid-template-columns: 90px 1fr; }
  .autoridade ul { justify-content: flex-start; }
  .topo__logo img { height: 54px; }
  :root { --header-h: 72px; }
}


/* ======================================================================
   IDENTIDADE "MEDICINA PERSONALIZADA" — azul-marinho + ouro + areia
   ====================================================================== */
h1, h2, h3, .titulo, .filtro__pergunta { font-family: var(--f-display); }
.titulo { font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.titulo em, .hero h1 em { font-style: normal; font-weight: 600; }
.titulo em { color: var(--azul-medio); }
.faixa--escura .titulo em, .faixa--marinho .titulo em { color: var(--verde); }
.perfil h3, .etapa h3, .area h3, .filtro-perfil__col h3, .frente h3, .cartao-oferta h3 { font-weight: 600; }
.frente h3, .cartao-oferta h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.citacao { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); color: var(--azul); border-left-color: var(--verde); }
.faixa--escura { background: linear-gradient(165deg, var(--azul-noite) 0%, #16263A 100%); }
.faixa--marinho { background: linear-gradient(160deg, var(--azul-profundo) 0%, var(--azul-noite) 100%); }
.faixa--alt, .faixa--gelo { background: var(--fundo-2); }
body::before { background: var(--fundo); }

/* topo claro com o logo horizontal */
.topo { background: rgba(250, 248, 245, .94); }
.topo__logo img { height: 44px; }
.topo__nav a { font-family: var(--f-display); font-weight: 500; font-size: .875rem; letter-spacing: .01em; }
.topo .btn--ouro { --bg: var(--azul); --fg: var(--fundo); }

/* botões: azul-marinho sobre claro; ouro sobre escuro */
.btn { --bg: var(--azul); --fg: var(--fundo); font-family: var(--f-display); font-weight: 600; letter-spacing: .02em; font-size: .95rem; }
.btn--ouro { --bg: var(--verde); --fg: var(--azul-noite); }
.btn--ouro:hover { box-shadow: 0 10px 28px -10px rgba(222, 184, 109, .7); }
.btn--contorno { --bg: transparent; --fg: var(--azul); border-color: rgba(30, 44, 65, .3); }
.btn--whats { --bg: var(--whats); --fg: #fff; }
.faixa--escura .btn:not(.btn--contorno):not(.btn--ouro), .faixa--marinho .btn:not(.btn--contorno):not(.btn--ouro) { --bg: var(--verde); --fg: var(--azul-noite); }

/* hero claro (areia), foto do Dr. sobre arco azul, filetes dourados */
.hero { background: linear-gradient(180deg, var(--fundo) 0%, var(--fundo-2) 100%); color: var(--texto); }
.hero::after { border-color: rgba(222, 184, 109, .55); border-left-color: transparent; border-bottom-color: transparent; }
.hero h1 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--azul); }
.hero h1 em { color: var(--azul-medio); }
.hero .sobrelinha { color: var(--azul-medio); }
.hero__sub { color: var(--texto-suave); }
.hero .micro-cta, .hero .credenciais { color: var(--texto-suave); }
.hero .credenciais svg { color: var(--azul-medio); }
.hero__foto::before { inset: 10% 4% 0; background: linear-gradient(180deg, var(--azul-profundo), var(--azul-noite)); border-radius: 240px 240px 0 0; }
.hero__foto::after { content: ""; position: absolute; inset: 7% 0 0; border: 1px solid var(--verde); border-bottom: 0; border-radius: 260px 260px 0 0; pointer-events: none; }
.hero__foto img { -webkit-mask-image: none; mask-image: none; }

.selo { background: var(--azul-noite); border-top: 2px solid var(--verde); box-shadow: 0 16px 30px -12px rgba(15, 29, 46, .45); }
.selo strong { color: var(--verde); font-weight: 600; }
.selo span { color: var(--texto-claro-suave); }
.autoridade { background: var(--fundo); }
.autoridade strong { color: var(--azul-medio); font-weight: 600; }

/* cards e ícones */
.perfil, .etapa, .frente, .formacao li { background: #FFFFFF; }
.perfil__icone { background: var(--fundo-2); color: var(--azul-medio); }
.etapa__num { color: var(--azul-medio); font-weight: 500; }
.area__num { color: var(--azul-medio); font-weight: 600; }
.lista-check svg { color: var(--verde); }
.inclui svg { color: var(--azul-medio); }
.cartao-oferta { background: var(--fundo); }
.cartao-oferta::before { background: linear-gradient(90deg, var(--verde), var(--azul-medio)); }
.cartao-oferta__rotulo { color: var(--azul-medio); }
.preco__valor { font-weight: 600; color: var(--azul); }
.balanco__menos small { color: rgba(217, 211, 200, .7); }
.balanco__mais small, .balanco__seta { color: var(--verde); }
.balanco__seta { border-color: rgba(222, 184, 109, .5); }
.depoimento { background: rgba(255, 255, 255, .04); border-color: rgba(222, 184, 109, .22); }
.depoimento blockquote::before { color: var(--verde); font-family: Georgia, serif; }
.frente__tag, .etapa__prazo { color: var(--azul-medio); }
.link-seta { color: var(--azul); border-bottom-color: var(--verde); }
.link-seta:hover { color: var(--azul-medio); }
.faq summary { font-family: var(--f-display); font-weight: 500; font-size: var(--t-base); }
.faq summary::after { border-color: var(--azul-medio); }
.rodape { background: var(--azul-noite); }
.rodape img { height: 46px; }
.rodape a:hover { color: var(--verde); }
.filtro__progresso span { background: linear-gradient(90deg, var(--azul-medio), var(--verde)); }
.filtro__rotulo { color: var(--azul-medio); }
.opcao { background: #FFFFFF; }
.opcao--marcada { border-color: var(--azul); background: var(--fundo-2); }
.opcao--marcada::after { background: var(--azul); border-color: var(--azul); }
.destaque-suave { background: var(--fundo-2); color: var(--azul); }
.campo input:focus, .campo select:focus { box-shadow: 0 0 0 4px rgba(222, 184, 109, .35); }
.cartao-oferta .micro { color: var(--texto-suave); }

/* "Quem vai cuidar de você": foto inteira, enquadramento natural (sem zoom) */
.sobre__foto { max-width: 420px; }
.sobre__foto::before { inset: 18px -18px -18px 18px; border-radius: 20px; background: none; border: 1px solid var(--verde); }
.sobre__foto img { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(15, 29, 46, .45); }
@media (max-width: 860px) { .sobre__foto { max-width: 360px; } .sobre__foto::before { inset: 12px -12px -12px 12px; } }
@media (max-width: 560px) { .topo__logo img { height: 34px; } }

.selo strong { font-size: 1.35rem; }
.selo { right: 0; max-width: 240px; }
@media (max-width: 560px) { .selo strong { font-size: 1.1rem; } }

/* hero: foto inteira de terno azul, sem recorte nem máscara */
.hero__foto { max-width: 420px; padding: 0 6%; }
.hero__foto::before { inset: 16% 0 0; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #EDE5D9 0%, #E2D6C5 100%); }
.hero__foto::after { inset: 13% -12px 0 12px; border: 1px solid var(--verde); border-bottom: 0; border-radius: 30px 30px 0 0; }
.hero__foto img { width: 100%; height: auto; }
@media (max-width: 860px) { .hero__foto { max-width: 320px; } }
@media (max-width: 560px) { .hero__foto { max-width: 270px; } }

/* palestras: um cartão só, centralizado */
.frentes:has(> .frente:only-child) { grid-template-columns: minmax(0, 640px); }

/* sem linhas douradas sobre a foto do topo (pedido 2026-11-13) */
.hero__foto::after, .hero::after { display: none; }
/* sem contornos dourados (pedido 2026-11-13) */
.sobre__foto::before { display: none; }
.depoimento { border-color: rgba(255, 255, 255, .12); }
.selo { border-top: 0; }
.cartao-oferta::before { display: none; }
.balanco__seta { border-color: rgba(255, 255, 255, .25); }
.citacao { border-left-color: var(--linha); }
