/* =========================================================
   Template "Site Médico" — design original
   As cores e fontes vêm de variáveis definidas no <head>
   (--primaria, --primaria-escura, --escuro, --escuro-2,
    --claro, --texto, --fonte-titulo, --fonte-texto)
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  color: var(--texto);
  background: #fff;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--primaria); text-decoration: none; transition: color .25s; }
a:hover { color: var(--primaria-escura); }

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 .6em;
  color: #1f2a37;
}

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.6em;
  border-radius: 4px;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  background: var(--primaria); color: #fff;
  border: 2px solid var(--primaria);
  transition: transform .25s, background .25s, box-shadow .25s, color .25s;
  cursor: pointer;
}
.btn:hover { background: var(--primaria-escura); border-color: var(--primaria-escura); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); }
.btn--sm { padding: .5em 1.1em; font-size: .85rem; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.9); }
.btn--ghost:hover { background: #fff; color: var(--escuro); border-color: #fff; }
.btn--whats { background: #25d366; border-color: #25d366; }
.btn--whats:hover { background: #1ebe5a; border-color: #1ebe5a; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }

/* ---------- Títulos de seção ---------- */
.sec { padding: 90px 0; position: relative; }
.sec--tight { padding: 60px 0; }
.sec-head { text-align: center; margin-bottom: 55px; }
.sec-head .eyebrow { display: block; color: #666; font-size: .95rem; margin-bottom: .2em; }
.sec-head h2 {
  color: var(--primaria);
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: .03em;
  margin: 0;
}
.sec-head .linha { display: block; width: 56px; height: 3px; background: var(--primaria); margin: 18px auto 0; border-radius: 3px; }

/* ---------- Topbar + Header fixo ---------- */
.topbar {
  background: var(--escuro);
  color: rgba(255,255,255,.85);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: flex-end; gap: 1.2em; padding: 6px 0; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8ecf1;
  transition: box-shadow .3s, padding .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15,27,45,.35); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.header.is-scrolled .container { height: 62px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--escuro); }
.logo img { height: 46px; width: auto; transition: height .3s; }
.header.is-scrolled .logo img { height: 38px; }
.logo-text strong { display: block; font-family: var(--fonte-titulo); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--primaria-escura); line-height: 1.1; }
.logo-text small { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #6b7785; }
.logo-mono {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primaria), var(--primaria-escura));
  color: #fff; font-family: var(--fonte-titulo); font-weight: 600; letter-spacing: .03em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 26px 12px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #4b5563;
}
.header.is-scrolled .nav a { padding-block: 19px; }
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: var(--primaria); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover, .nav a.is-active { color: var(--escuro); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.social { display: flex; gap: 12px; padding-left: 18px; margin-left: 10px; border-left: 1px solid #e3e7ec; }
.social a { color: #8a94a1; display: grid; place-items: center; }
.social a:hover { color: var(--primaria); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--escuro); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--escuro);
  min-height: clamp(460px, 78vh, 640px);
  display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 22s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,23,39,.92) 0%, rgba(13,23,39,.65) 45%, rgba(13,23,39,.15) 100%); }
.hero-banda {
  position: absolute; left: 0; right: 0; top: 18%; bottom: 18%;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(220,228,238,.75));
  transform: scaleX(0); transform-origin: left; animation: banda 1.1s .2s cubic-bezier(.7,0,.2,1) forwards;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 30px; }
.hero-text { align-self: center; padding: 60px 0; }
.hero-text .tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--primaria); margin-bottom: 10px; }
.hero-text h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); color: var(--primaria-escura); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15em; }
.hero-text .esp { font-size: clamp(1rem, 1.8vw, 1.3rem); letter-spacing: .26em; text-transform: uppercase; color: #3c4a5c; border-top: 2px solid var(--primaria); display: inline-block; padding-top: .35em; }
.hero-text p.chamada { max-width: 480px; color: #374151; margin: 1.1em 0 1.6em; }
.hero-text .acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foto { justify-self: center; }
.hero-foto img { max-height: 560px; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); animation: sobe 1.2s .5s cubic-bezier(.2,.8,.2,1) both; }
.hero--sem-banda .hero-text h1 { color: #fff; }
.hero--sem-banda .hero-text .esp, .hero--sem-banda .hero-text p.chamada { color: rgba(255,255,255,.88); }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes banda { to { transform: scaleX(1); } }
@keyframes sobe { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: sobe .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .5s; }
.hero-text > *:nth-child(3) { animation-delay: .65s; }
.hero-text > *:nth-child(4) { animation-delay: .8s; }
.hero-text > *:nth-child(5) { animation-delay: .95s; }
.hero-text > *:first-child { animation-delay: .35s; }

/* ---------- Faixa de afiliações ---------- */
.afiliacoes { background: var(--escuro-2); padding: 34px 0; }
.afiliacoes .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 30px 50px; }
.afiliacoes img { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .8; transition: opacity .3s, transform .3s; }
.afiliacoes img:hover { opacity: 1; transform: scale(1.05); }
.afiliacoes .nome-afil { color: #fff; font-family: var(--fonte-titulo); letter-spacing: .08em; opacity: .85; text-transform: uppercase; font-size: .95rem; }

/* ---------- Áreas (2 cards com mídia) ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; }
.area-card { text-align: center; }
.area-midia { overflow: hidden; border-radius: 4px; aspect-ratio: 16/9; background: var(--escuro); margin-bottom: 28px; box-shadow: 0 25px 45px -30px rgba(13,23,39,.6); }
.area-midia video, .area-midia img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.area-card:hover .area-midia video, .area-card:hover .area-midia img { transform: scale(1.06); }
.area-card h3 { text-transform: uppercase; font-size: 1.55rem; letter-spacing: .02em; }
.area-card p { color: #5b6573; max-width: 560px; margin: 0 auto; }

/* ---------- Grade de doenças ---------- */
.doencas { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 50px 34px; margin-top: 80px; }
.doenca {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  padding: 26px 14px 30px; border-radius: 6px;
  transition: background .35s, box-shadow .35s, transform .35s;
}
.doenca:hover { background: var(--claro); box-shadow: 0 18px 40px -26px rgba(13,23,39,.45); transform: translateY(-6px); }
.doenca .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--claro); color: var(--primaria); margin-bottom: 16px; transition: background .35s, color .35s; }
.doenca:hover .ico { background: var(--primaria); color: #fff; }
.doenca .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.doenca h4 { text-transform: uppercase; font-size: 1.05rem; margin-bottom: .25em; color: #222; }
.doenca .sub { font-size: .9rem; color: #555; margin-bottom: .6em; line-height: 1.35; }
.doenca p { font-size: .88rem; color: #6b7280; flex: 1; margin: 0 0 20px; }

/* ---------- FAQ com fundo em parallax ---------- */
.parallax { position: relative; overflow: hidden; }
.parallax-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; will-change: transform; z-index: 0; }
.parallax > .container { position: relative; z-index: 1; }
.faq { background: #eef1f4; }
.faq .parallax-bg { opacity: .55; }
.acordeao { max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid #e3e7ec; border-radius: 4px; }
.acc-item + .acc-item { border-top: 1px solid #e3e7ec; }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: none; border: 0; padding: 15px 18px; cursor: pointer;
  font: inherit; font-size: .95rem; color: #4b5563; transition: color .25s, background .25s;
}
.acc-btn:hover { color: var(--primaria); background: #fafbfc; }
.acc-btn .mais { flex: none; width: 18px; height: 18px; border: 1px solid #c9d0d8; position: relative; transition: transform .35s, border-color .25s; }
.acc-btn .mais::before, .acc-btn .mais::after { content: ""; position: absolute; background: #9aa4af; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.acc-btn .mais::before { width: 8px; height: 1px; }
.acc-btn .mais::after { width: 1px; height: 8px; transition: transform .35s; }
.acc-item.is-open .acc-btn { color: var(--primaria); }
.acc-item.is-open .mais { border-color: var(--primaria); transform: rotate(180deg); }
.acc-item.is-open .mais::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-panel { height: 0; overflow: hidden; transition: height .4s cubic-bezier(.2,.8,.2,1); }
.acc-panel > div { padding: 2px 18px 18px 50px; color: #5b6573; }

/* ---------- Sobre (fundo escuro) ---------- */
.sobre { background: var(--escuro); color: #e6ebf1; }
.sobre .parallax-bg { opacity: .14; }
.sobre .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sobre-foto { border-radius: 4px; overflow: hidden; box-shadow: 0 40px 60px -35px rgba(0,0,0,.8); }
.sobre-foto img { width: 100%; height: auto; transition: transform 1.5s; }
.sobre-foto:hover img { transform: scale(1.04); }
.sobre-texto { text-align: center; }
.sobre-texto h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .1em; }
.sobre-texto .esp { text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: #c7d2de; }
.sobre-texto .registro { display: inline-block; margin: 14px 0 22px; padding: 4px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; font-size: .78rem; letter-spacing: .08em; color: #c7d2de; }
.sobre-texto ul { list-style: none; padding: 0; margin: 0 0 30px; }
.sobre-texto li { margin: 0 0 12px; font-size: .93rem; line-height: 1.55; }
.sobre-texto p { font-size: .95rem; color: #d3dbe4; }

/* ---------- Avaliações ---------- */
.avaliacoes { background: #fff; }
.nota-resumo { text-align: center; margin-bottom: 34px; }
.nota-resumo strong { display: block; font-size: 1.6rem; font-family: var(--fonte-titulo); color: var(--primaria-escura); letter-spacing: .04em; text-transform: uppercase; }
.estrelas { display: inline-flex; gap: 3px; color: #f6b400; }
.estrelas svg { width: 30px; height: 30px; fill: currentColor; }
.estrelas--sm svg { width: 17px; height: 17px; }
.nota-resumo .base { color: #333; font-size: .98rem; }
.carrossel { position: relative; }
.trilho { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 14px; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.depo { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; background: #f4f5f7; border-radius: 12px; padding: 20px 20px 22px; min-height: 220px; }
.depo-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primaria); color: #fff; font-weight: 700; flex: none; }
.depo-top b { display: block; font-size: .95rem; color: #111; line-height: 1.2; }
.depo-top small { color: #777; font-size: .8rem; }
.depo p { font-size: .92rem; color: #222; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; z-index: 2; transition: transform .2s; }
.car-btn:hover { transform: translateY(-50%) scale(1.08); }
.car-btn svg { width: 16px; height: 16px; stroke: #333; fill: none; stroke-width: 2.4; }
.car-prev { left: -16px; }
.car-next { right: -16px; }
.ver-google { text-align: center; margin-top: 24px; }

/* ---------- Galeria do consultório ---------- */
.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: #e9ebee; }
.galeria a { position: relative; overflow: hidden; height: clamp(200px, 20vw, 300px); display: block; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.galeria a::after { content: ""; position: absolute; inset: 0; background: var(--primaria); opacity: 0; transition: opacity .4s; mix-blend-mode: multiply; }
.galeria a:hover img { transform: scale(1.1); }
.galeria a:hover::after { opacity: .35; }

.lightbox { position: fixed; inset: 0; background: rgba(8,14,24,.92); display: none; place-items: center; z-index: 200; padding: 4vw; cursor: zoom-out; }
.lightbox.is-open { display: grid; animation: fade .3s; }
.lightbox img { max-height: 88vh; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Locais / mapas ---------- */
.locais { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.local { background: #fff; border: 1px solid #e3e7ec; border-radius: 6px; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.local:hover { box-shadow: 0 22px 44px -28px rgba(13,23,39,.5); transform: translateY(-4px); }
.local iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.25); }
.local-info { padding: 22px 24px 26px; }
.local-info h3 { font-size: 1.1rem; text-transform: uppercase; color: var(--primaria-escura); }
.local-info p { margin: 0 0 14px; color: #5b6573; font-size: .93rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--escuro); color: #c3ccd6; font-size: .9rem; padding: 60px 0 40px; }
.footer .container { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1.2fr; gap: 40px; }
.footer a { color: #e6ebf1; }
.footer a:hover { color: #fff; }
.footer b { color: #fff; }
.footer .f-marca { text-align: center; }
.footer .f-marca img { height: 80px; width: auto; margin: 0 auto 12px; filter: brightness(0) invert(1); opacity: .9; }
.footer .f-marca .logo-mono { margin: 0 auto 12px; width: 70px; height: 70px; font-size: 1.4rem; }
.footer p { margin: 0 0 10px; }
.footer .contato a { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer .contato svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.footer .f-afil img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 22px; }
.socket { background: #22272e; color: #9aa4af; font-size: .8rem; padding: 14px 0; }
.socket .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.socket .social { border: 0; padding: 0; margin: 0; }

/* ---------- Flutuantes ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45);
  transition: transform .25s;
}
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulso 2.4s infinite; z-index: -1; }
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

.topo {
  position: fixed; right: 30px; bottom: 96px; z-index: 89;
  width: 44px; height: 44px; border-radius: 4px; border: 0; background: rgba(40,48,58,.75); cursor: pointer;
  display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, background .3s;
}
.topo.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.topo:hover { background: var(--primaria); }
.topo svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; }

/* ---------- Página interna (doença) ---------- */
.page-title { background: var(--claro); border-bottom: 1px solid #e3e7ec; }
.page-title .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; font-size: .78rem; color: #6b7280; }
.page-title a { color: #6b7280; }
.artigo { padding: 60px 0 90px; }
.artigo h1 { color: var(--primaria); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .02em; display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.artigo h1::after { content: ""; flex: 1; height: 1px; background: #e3e7ec; min-width: 40px; }
.artigo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.artigo-corpo h2 { color: var(--primaria); text-transform: uppercase; font-size: 1.5rem; margin-top: 1.4em; }
.artigo-corpo p, .artigo-corpo li { color: #4b5563; }
.artigo-corpo ul { padding-left: 1.2em; }
.artigo-corpo li { margin-bottom: .55em; }
.artigo-lado { position: sticky; top: 100px; display: grid; gap: 24px; }
.artigo-lado img { border-radius: 4px; width: 100%; box-shadow: 0 25px 45px -30px rgba(13,23,39,.6); }
.cta-box { background: var(--escuro); color: #dbe3ec; border-radius: 6px; padding: 26px; }
.cta-box h3 { color: #fff; text-transform: uppercase; font-size: 1.1rem; }
.cta-box p { font-size: .9rem; }
.outras { border: 1px solid #e3e7ec; border-radius: 6px; padding: 20px 22px; }
.outras h4 { text-transform: uppercase; font-size: .9rem; color: var(--primaria-escura); }
.outras ul { list-style: none; padding: 0; margin: 0; }
.outras li { border-top: 1px solid #eef1f4; }
.outras a { display: block; padding: 8px 0; font-size: .88rem; color: #4b5563; transition: color .2s, padding .2s; }
.outras a:hover { color: var(--primaria); padding-left: 6px; }
.aviso-medico { margin-top: 36px; padding: 14px 18px; background: var(--claro); border-left: 3px solid var(--primaria); font-size: .85rem; color: #5b6573; }

/* ---------- Animações de entrada no scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .depo { flex-basis: calc((100% - 18px) / 2); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 90px 24px 30px; box-shadow: -20px 0 40px -20px rgba(0,0,0,.35);
    transform: translateX(105%); visibility: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s .4s;
  }
  .menu-open .nav { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .nav a { padding: 14px 6px !important; border-bottom: 1px solid #eef1f4; }
  .nav a::after { display: none; }
  .nav .social { border: 0; padding: 20px 6px 0; margin: 0; }
  .menu-toggle { position: relative; z-index: 60; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text { padding: 50px 0 10px; }
  .hero-text .acoes { justify-content: center; }
  .hero-text p.chamada { margin-inline: auto; }
  .hero-foto img { max-height: 380px; }
  .hero-banda { top: 6%; bottom: 40%; }
  .sobre .container, .artigo-grid { grid-template-columns: 1fr; gap: 40px; }
  .artigo-lado { position: static; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .depo { flex-basis: 88%; }
  .car-prev, .car-next { display: none; }
  .footer .container { grid-template-columns: 1fr; text-align: center; }
  .footer .contato a { justify-content: center; }
  .socket .container { justify-content: center; text-align: center; }
  .topbar .container { justify-content: center; }
}

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

/* =========================================================
   V2 — refinamentos visuais, hero animado, modal de temas
   ========================================================= */
:root { --acento: #9cc3e6; --raio: 14px; }
body { font-size: 16px; }
.sec-head .eyebrow { color: var(--primaria); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .6em; }
.sec-head--sub { margin: 100px auto 46px; max-width: 680px; }
.sec-head--sub h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); text-transform: uppercase; letter-spacing: .03em; color: var(--escuro); margin-bottom: .5em; }
.sec-head--sub p { color: #6b7280; margin: 0; }

/* Logo (marca em SVG) */
.logo-mono { background: none; width: 48px; height: 48px; border-radius: 0; flex: none; }
.logo-mono svg { width: 100%; height: 100%; display: block; }
.footer .f-marca .logo-mono { width: 76px; height: 76px; background: none; }

/* ---------- Hero v2 ---------- */
.hero { min-height: clamp(580px, 90vh, 780px); align-items: center; background: radial-gradient(120% 90% at 85% 10%, #1f4266 0%, var(--escuro) 55%); }
.hero-bg { opacity: .55; }
.hero-bg::after { background: linear-gradient(90deg, rgba(13,23,39,.9) 0%, rgba(13,23,39,.55) 55%, rgba(13,23,39,.25) 100%); }
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: orbita 16s ease-in-out infinite alternate; }
.hero-orbs span:nth-child(1) { width: 420px; height: 420px; background: #2d5c88; top: -120px; right: 8%; }
.hero-orbs span:nth-child(2) { width: 300px; height: 300px; background: #3f7fb8; bottom: -100px; left: 30%; animation-duration: 20s; opacity: .35; }
.hero-orbs span:nth-child(3) { width: 220px; height: 220px; background: #9cc3e6; top: 30%; left: -60px; animation-duration: 24s; opacity: .18; }
@keyframes orbita { to { transform: translate(40px, 30px) scale(1.12); } }
.hero-grade { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%, transparent 100%); opacity: .7; }
.hero-ecg { position: absolute; left: 0; bottom: 9%; width: 125%; height: 130px; z-index: 1; animation: ecg-desliza 7s linear infinite; pointer-events: none; }
.hero-ecg path { fill: none; stroke: var(--acento); stroke-opacity: .35; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 5200; stroke-dashoffset: 5200; animation: ecg-desenha 3.2s .4s cubic-bezier(.4,0,.2,1) forwards; filter: drop-shadow(0 0 6px rgba(156,195,230,.6)); }
@keyframes ecg-desenha { to { stroke-dashoffset: 0; } }
@keyframes ecg-desliza { to { transform: translateX(-20%); } }

.hero .container { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; padding: 70px 0 100px; }
.hero-text { padding: 0; }
.hero-text .tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 40px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #d6e5f3; font-size: .72rem; margin-bottom: 22px; backdrop-filter: blur(4px); }
.hero-text .tag i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ponto 2s infinite; }
@keyframes ponto { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero .hero-text h1 { animation: none; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 600; letter-spacing: .02em; line-height: 1.08; margin-bottom: .35em; }
.hero-text h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-text h1 .ln > span { display: inline-block; transform: translateY(110%); animation: linha 1.1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.35s + var(--i) * .16s); }
@keyframes linha { to { transform: none; } }
.hero .hero-text .esp { color: var(--acento); border-top: 0; padding: 0 0 0 54px; position: relative; letter-spacing: .2em; font-size: clamp(.82rem, 1.4vw, 1rem); font-weight: 600; }
.hero .hero-text .esp::before { content: ""; position: absolute; left: 0; top: 50%; width: 40px; height: 2px; background: var(--acento); transform-origin: left; animation: traco .9s 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes traco { from { transform: scaleX(0); } }
.hero .hero-text p.chamada { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 520px; margin: 1.2em 0 2em; }
.hero .btn--ghost { border-color: rgba(255,255,255,.55); }

.hero-foto { position: relative; justify-self: end; width: min(100%, 500px); animation: none; }
.hf-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); clip-path: inset(100% 0 0 0 round 20px); animation: revela 1.3s .55s cubic-bezier(.7,0,.2,1) forwards; }
.hf-img img { width: 100%; height: auto; max-height: none; filter: none; animation: foto-zoom 2s .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes revela { to { clip-path: inset(0 0 0 0 round 20px); } }
@keyframes foto-zoom { from { transform: scale(1.18); } to { transform: none; } }
.hf-frame { position: absolute; inset: 26px -26px -26px 26px; border: 2px solid rgba(156,195,230,.4); border-radius: 22px; animation: sobe 1.2s 1s cubic-bezier(.2,.8,.2,1) both; }
.hf-selo { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--escuro); border-radius: 14px; padding: 12px 18px 12px 12px; box-shadow: 0 22px 40px -18px rgba(0,0,0,.55); animation: selo-entra .9s cubic-bezier(.2,.8,.2,1) both, flutua 6s ease-in-out infinite; }
.hf-selo--1 { left: -46px; bottom: 34px; animation-delay: 1.5s, 2.4s; }
.hf-selo--2 { right: -30px; top: 28px; animation-delay: 1.75s, 2.8s; }
.hf-selo strong { display: block; font-family: var(--fonte-titulo); font-size: .85rem; line-height: 1.2; }
.hf-selo small { display: block; font-size: .74rem; color: #6b7280; line-height: 1.3; }
.hs-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--claro); color: var(--primaria); flex: none; }
@keyframes selo-entra { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes flutua { 50% { transform: translateY(-8px); } }
.scroll-ind { position: absolute; left: 50%; bottom: 24px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; animation: sobe 1s 2s both; }
.scroll-ind span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rolar 1.8s infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ícones mini */
.mini { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Destaques (faixa abaixo do hero) ---------- */
.afiliacoes { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.06); }
.afiliacoes .container { justify-content: space-between; }
.destaque { display: flex; align-items: center; gap: 14px; color: #fff; }
.d-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(156,195,230,.4); color: var(--acento); flex: none; }
.destaque small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #8fa6bf; line-height: 1.3; }
.destaque strong { display: block; font-family: var(--fonte-titulo); font-weight: 500; font-size: .98rem; letter-spacing: .02em; line-height: 1.35; }

/* ---------- Áreas ---------- */
.areas { gap: 40px; }
.area-card { text-align: left; background: #fff; border: 1px solid #e6ebf1; border-radius: var(--raio); overflow: hidden; box-shadow: 0 30px 60px -45px rgba(13,23,39,.6); transition: transform .4s, box-shadow .4s; }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(13,23,39,.6); }
.area-midia { border-radius: 0; margin: 0; box-shadow: none; aspect-ratio: 16/8; }
.area-txt { padding: 28px 32px 32px; }
.area-card h3 { font-size: 1.3rem; color: var(--escuro); }
.area-card p { margin: 0; }

/* ---------- Cards de temas ---------- */
.doencas { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 0; }
.doenca { position: relative; text-align: left; align-items: flex-start; background: #fff; border: 1px solid #e6ebf1; border-radius: var(--raio); padding: 30px 26px 26px; overflow: hidden; box-shadow: 0 20px 40px -38px rgba(13,23,39,.5); }
.doenca::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primaria), var(--acento)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.doenca:hover { background: #fff; border-color: #d3dde8; box-shadow: 0 30px 50px -30px rgba(13,23,39,.45); transform: translateY(-6px); }
.doenca:hover::before { transform: scaleX(1); }
.doenca .ico { width: 68px; height: 68px; border-radius: 18px; background: var(--claro); margin-bottom: 20px; }
.doenca .ico svg, .ico-tema { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-tema .f { fill: currentColor; fill-opacity: .14; stroke: none; }
.ico-tema .s { fill: currentColor; stroke: none; }
.doenca:hover .ico { background: var(--primaria); color: #fff; }
.doenca:hover .ico .f { fill-opacity: .25; }
.doenca:hover .ico svg { animation: icone-pula .6s cubic-bezier(.2,.8,.2,1); }
@keyframes icone-pula { 40% { transform: scale(1.15) rotate(-4deg); } }
.doenca h4 { font-size: 1.02rem; color: var(--escuro); letter-spacing: .02em; }
.doenca .sub { color: var(--primaria); font-weight: 600; font-size: .85rem; }
.doenca p { font-size: .92rem; line-height: 1.6; }
.saiba { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primaria); padding: 6px 0; }
.saiba svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.doenca:hover .saiba svg, .saiba:hover svg { transform: translateX(5px); }

/* ---------- Modal "Saiba mais" ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 4vh 16px; }
.modal[hidden] { display: none; }
.modal-fundo { position: absolute; inset: 0; background: rgba(8,14,24,.72); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-caixa { position: relative; width: min(880px, 100%); max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); animation: modal-in .45s cubic-bezier(.2,.8,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal-fechar { position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; display: grid; place-items: center; transition: transform .25s; }
.modal-fechar:hover { transform: rotate(90deg); }
.modal-fechar svg { width: 18px; height: 18px; stroke: var(--escuro); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.tm-topo { position: relative; aspect-ratio: 1200/520; overflow: hidden; background: var(--escuro); }
.tm-topo img { width: 100%; height: 100%; object-fit: cover; }
.tm-topo-txt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 18px; padding: 70px 40px 28px; background: linear-gradient(180deg, transparent, rgba(10,18,32,.85)); color: #fff; }
.tm-ico { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; flex: none; color: #fff; backdrop-filter: blur(4px); }
.tm-ico .ico-tema { width: 36px; height: 36px; }
.tm-eyebrow { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--acento); font-weight: 700; }
.tm-topo-txt h3 { color: #fff; margin: .2em 0 0; font-size: clamp(1.25rem, 2.6vw, 1.8rem); text-transform: uppercase; letter-spacing: .02em; }
.tm-corpo { padding: 34px 44px 40px; }
.tm-corpo .intro, .artigo-corpo .intro { font-size: 1.08rem; color: #374151; }
.tm-corpo h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primaria); margin: 1.8em 0 .6em; padding-left: 14px; border-left: 3px solid var(--primaria); }
.tm-corpo p, .tm-corpo li { color: #4b5563; }
.tm-corpo ul, .artigo-corpo ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.tm-corpo li, .artigo-corpo li { position: relative; padding-left: 30px; margin: 0; }
.tm-corpo li::before, .artigo-corpo li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5c88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.tm-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn--linha { background: transparent; color: var(--primaria); }
.btn--linha:hover { color: #fff; }
.modal-aberto { overflow: hidden; }

/* ---------- Sobre v2 ---------- */
.sobre { overflow: hidden; }
.sobre-deco { position: absolute; width: 640px; height: 640px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(45,92,136,.45), transparent 70%); pointer-events: none; }
.sobre .container { display: block; position: relative; }
.sobre-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.sobre-foto { position: relative; overflow: visible; box-shadow: none; border-radius: 18px; }
.sobre-foto img { position: relative; z-index: 1; border-radius: 18px; box-shadow: 0 40px 70px -35px rgba(0,0,0,.85); }
.sobre-foto:hover img { transform: none; }
.sf-frame { position: absolute; inset: -22px 22px 22px -22px; border: 2px solid rgba(156,195,230,.3); border-radius: 22px; }
.sf-tag { position: absolute; z-index: 2; left: 22px; bottom: 22px; padding: 8px 16px; border-radius: 30px; background: rgba(15,27,45,.82); backdrop-filter: blur(6px); color: #e6eef6; font-size: .78rem; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.16); }
.sobre-texto { text-align: left; }
.sobre-texto .eyebrow { display: block; color: var(--acento); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.sobre-texto h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.15; }
.sobre-texto .esp { color: var(--acento); margin-bottom: 26px; font-weight: 600; letter-spacing: .14em; font-size: .9rem; }
.sobre-texto p { font-size: 1.02rem; line-height: 1.85; color: #d3dbe4; margin: 0 0 1.1em; }
.sobre-texto .btn { margin-top: 14px; }
.formacao { margin-top: 90px; }
.formacao h3 { display: flex; align-items: center; gap: 22px; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: 1.15rem; margin-bottom: 34px; }
.formacao h3::before, .formacao h3::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.form-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid li { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--raio); transition: border-color .3s, background .3s, transform .3s; }
.form-grid li:hover { border-color: rgba(156,195,230,.45); background: rgba(255,255,255,.06); transform: translateY(-3px); }
.f-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(156,195,230,.12); color: var(--acento); flex: none; }
.form-grid strong { display: block; color: #fff; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.05rem; line-height: 1.4; margin-bottom: 4px; }
.form-grid li span:not(.f-ico) { display: block; color: #aebccb; font-size: .98rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.acordeao { border-radius: var(--raio); overflow: hidden; box-shadow: 0 30px 60px -45px rgba(13,23,39,.5); }
.acc-btn { padding: 19px 24px; font-size: 1.02rem; color: #374151; font-weight: 500; }
.acc-panel > div { padding: 0 24px 22px 56px; }

/* ---------- Faixa de chamada ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primaria) 0%, var(--primaria-escura) 60%, var(--escuro) 100%); padding: 64px 0; color: #fff; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 560px; }
.btn--lg { padding: 1.05em 2.1em; font-size: 1rem; border-radius: 6px; flex: none; }

/* páginas internas */
.artigo-lado img { border-radius: var(--raio); }

/* ---------- Responsivo v2 ---------- */
@media (max-width: 1100px) {
  .doencas { grid-template-columns: repeat(3, 1fr); }
  .hf-selo--1 { left: -20px; }
  .hf-selo--2 { right: -14px; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .header .container { height: 66px; }
  .logo-mono { width: 42px; height: 42px; }
  .logo-text strong { font-size: .84rem; letter-spacing: .03em; }
  .logo-text small { font-size: .62rem; letter-spacing: .18em; }
  .hero { min-height: 0; }
  .hero .container { grid-template-columns: 1fr; gap: 56px; padding: 56px 0 80px; text-align: center; }
  .hero .hero-text .esp { padding: 0; }
  .hero .hero-text .esp::before { display: none; }
  .hero .hero-text p.chamada { margin-inline: auto; }
  .hero-text .acoes { justify-content: center; }
  .hero-foto { justify-self: center; width: min(88%, 440px); }
  .hf-frame { inset: 16px -16px -16px 16px; }
  .hf-selo--1 { left: -14px; bottom: -22px; }
  .hf-selo--2 { right: -14px; top: -18px; }
  .hero-ecg { bottom: 34%; opacity: .6; }
  .scroll-ind { display: none; }
  .doencas { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .sobre-foto { width: min(88%, 460px); margin: 22px auto 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .afiliacoes .container { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: auto; margin-inline: 18px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head--sub { margin: 64px auto 30px; }
  .hero .container { padding: 42px 0 70px; gap: 48px; }
  .hero-text .tag { font-size: .66rem; letter-spacing: .12em; padding: 6px 13px; }
  .hero .hero-text h1 { font-size: clamp(1.75rem, 8.4vw, 2.3rem); }
  .hero .hero-text p.chamada { font-size: 1rem; }
  .hero-text .acoes { flex-direction: column; align-items: stretch; }
  .hero-text .acoes .btn { justify-content: center; padding: .95em 1.4em; }
  .hf-selo { padding: 9px 13px 9px 9px; gap: 9px; border-radius: 12px; }
  .hs-ico { width: 32px; height: 32px; border-radius: 8px; }
  .hs-ico .mini { width: 18px; height: 18px; }
  .hf-selo strong { font-size: .76rem; }
  .hf-selo small { font-size: .68rem; }
  .afiliacoes .container { flex-direction: column; align-items: flex-start; gap: 20px; width: fit-content; margin-inline: auto; }
  .areas { gap: 24px; grid-template-columns: 1fr; }
  .area-txt { padding: 22px 22px 26px; }
  .area-card h3 { font-size: 1.12rem; }
  .doencas { grid-template-columns: 1fr; gap: 16px; }
  .doenca { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px 20px; }
  .doenca .ico { width: 56px; height: 56px; border-radius: 15px; margin: 0; grid-row: span 4; }
  .doenca .ico svg { width: 32px; height: 32px; }
  .doenca h4, .doenca .sub, .doenca p, .doenca .saiba { grid-column: 2; }
  .doenca p { margin-bottom: 10px; }
  .modal { padding: 0; place-items: end center; }
  .modal-caixa { max-height: 94dvh; border-radius: 20px 20px 0 0; animation: modal-sobe .45s cubic-bezier(.2,.8,.2,1); }
  @keyframes modal-sobe { from { transform: translateY(100%); } }
  .tm-topo { aspect-ratio: 16/10; }
  .tm-topo-txt { padding: 50px 20px 20px; gap: 14px; }
  .tm-ico { width: 48px; height: 48px; border-radius: 13px; }
  .tm-ico .ico-tema { width: 28px; height: 28px; }
  .tm-corpo { padding: 24px 20px 32px; }
  .tm-acoes .btn { width: 100%; justify-content: center; }
  .sf-frame { inset: -14px 14px 14px -14px; }
  .formacao { margin-top: 64px; }
  .formacao h3 { font-size: 1rem; gap: 14px; }
  .form-grid li { padding: 18px; gap: 14px; }
  .f-ico { width: 40px; height: 40px; }
  .form-grid strong { font-size: 1rem; }
  .form-grid li span:not(.f-ico) { font-size: .93rem; }
  .acc-btn { padding: 16px 16px; font-size: .97rem; }
  .acc-panel > div { padding: 0 16px 18px 48px; }
  .cta-band { padding: 52px 0; }
  .cta-band .btn--lg { width: 100%; justify-content: center; }
  .whats-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .whats-float svg { width: 28px; height: 28px; }
  .topo { right: 21px; bottom: 82px; }
  .local iframe { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text h1 .ln > span, .hf-img { transform: none; clip-path: none; }
  .hero-ecg path { stroke-dashoffset: 0; }
}
/* ajustes finais */
.hero .hero-text .esp { padding: 0; display: block; }
.hero .hero-text .esp::before { display: none; }
.hf-selo { text-align: left; }
.form-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 900px) { .hero-ecg { bottom: auto; top: 46%; } }
.tm-topo { aspect-ratio: 1200/460; }
.tm-topo img { transform: translateX(22%) scale(1.5); transform-origin: center; }
.tm-topo-txt { top: 0; align-items: flex-end; background: linear-gradient(90deg, rgba(10,18,32,.92) 0%, rgba(10,18,32,.6) 45%, transparent 75%); padding-right: 40%; }
@media (max-width: 640px) {
  .tm-topo { aspect-ratio: auto; display: flex; flex-direction: column; }
  .tm-topo img { aspect-ratio: 16/8; transform: none; }
  .tm-topo-txt { position: relative; top: auto; padding: 18px 20px 20px; background: var(--escuro); }
}

/* ---------- V3: nova logo + monitor de ECG interativo ---------- */
.logo-mono { color: var(--primaria); width: 46px; height: 46px; }
.footer .f-marca .logo-mono { color: #fff; width: 72px; height: 72px; opacity: .92; }
.logo { gap: 14px; }
.logo-text { padding-left: 14px; border-left: 1px solid #dfe5ec; }

.hero-ecg { display: none; }
.hero .container { padding-bottom: 190px; }
.hero-monitor { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 2; border-top: 1px solid rgba(156,195,230,.12); background: linear-gradient(180deg, rgba(8,14,24,0) 0%, rgba(8,14,24,.45) 100%); }
.hero-monitor::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(156,195,230,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(156,195,230,.05) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); pointer-events: none; }
.ecg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.ecg-info { position: absolute; top: 50%; left: max(4%, calc((100% - 1180px) / 2)); transform: translateY(-50%); display: flex; align-items: baseline; gap: 6px; padding: 10px 16px; border-radius: 12px; background: rgba(15,27,45,.72); border: 1px solid rgba(156,195,230,.18); backdrop-filter: blur(6px); color: #e6eef6; font-family: var(--fonte-titulo); }
.ecg-coracao { align-self: center; width: 18px; height: 18px; color: #ff6b81; margin-right: 4px; transition: transform .12s ease-out; }
.ecg-coracao svg { width: 100%; height: 100%; fill: currentColor; display: block; filter: drop-shadow(0 0 6px rgba(255,107,129,.6)); }
.ecg-coracao.bate { transform: scale(1.35); }
.ecg-bpm { font-size: 1.5rem; font-weight: 600; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; line-height: 1; }
.ecg-info small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); }
.hero { cursor: default; }
@media (max-width: 900px) {
  .hero .container { padding-bottom: 150px; }
  .hero-monitor { height: 110px; }
  .hf-selo--1 { bottom: -18px; }
}
@media (max-width: 640px) {
  .logo { gap: 10px; }
  .logo-text { padding-left: 10px; }
  .logo-mono { width: 40px; height: 40px; }
  .hero .container { padding-bottom: 150px; }
  .hero-monitor { height: 104px; }
  .hero-monitor { height: 96px; }
  .ecg-info { padding: 7px 11px; left: 14px; }
  .ecg-bpm { font-size: 1.15rem; }
}

/* ---------- V4: logo no estilo serifado ---------- */
.logo .logo-img { height: 54px; width: auto; }
.header.is-scrolled .logo .logo-img { height: 46px; }
.footer .f-marca .logo-img { height: auto; width: min(230px, 100%); filter: none; opacity: 1; margin: 0 auto 18px; }
.footer .f-marca > p:first-of-type { display: none; }
@media (max-width: 900px) { .logo .logo-img { height: 46px; } }
@media (max-width: 640px) { .logo .logo-img { height: 40px; } .header.is-scrolled .logo .logo-img { height: 38px; } }
.logo .logo-img { height: 62px; }
.header.is-scrolled .logo .logo-img { height: 52px; }
@media (max-width: 900px) { .logo .logo-img { height: 52px; } }
@media (max-width: 640px) { .logo .logo-img, .header.is-scrolled .logo .logo-img { height: 46px; } }
