/* ==========================================================================
   MedicGLOBAL 2.0 — Design System
   "Mesma essência. Nova experiência."
   Mobile first · 4 / 8 / 12 colunas · tokens de marca
   ========================================================================== */

/* Agenor Neue — fonte institucional. Coloque os arquivos licenciados em
   /assets/fonts/ para ativá-la; enquanto isso, Poppins assume os títulos. */
@font-face {
  font-family: "Agenor Neue";
  src: url("../fonts/AgenorNeue-Regular.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  /* Marca */
  --globo: #00626D;        /* Azul Globo — solidez, institucional */
  --medic: #008C8C;        /* Azul Medic — destaque, interação, tecnologia */
  --black: #000000;
  --white: #FFFFFF;

  /* Derivados controlados */
  --ink: #0B1B1D;
  --ink-2: #33474A;
  --ink-3: #5E7174;
  --mist: #F4F7F7;
  --mist-2: #E9EFEF;
  --tint: #E3F0F1;         /* azul-claro dos blocos de necessidade */
  --line: rgba(0, 98, 109, .14);
  --line-2: rgba(11, 27, 29, .08);
  --deep: #034F56;         /* fundo escuro editorial */
  --deep-2: #02454B;
  --glow: #4FC3C3;         /* tint do Azul Medic para leitura sobre fundo escuro */
  --on-deep: rgba(255,255,255,.92);
  --on-deep-2: rgba(255,255,255,.64);
  --line-deep: rgba(255,255,255,.12);

  /* Tipografia */
  --f-display: "Agenor Neue", "Poppins", system-ui, sans-serif;
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  --t-h4: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --t-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --t-h2: clamp(1.75rem, 1.25rem + 1.9vw, 3rem);
  --t-h1: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem);

  /* Espaço */
  --gutter: 16px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --section: clamp(64px, 2.5rem + 4.5vw, 136px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --max: 1440px;
  --read: 38rem;          /* largura confortável de leitura */

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; --header-h: 112px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: var(--t-md);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; margin: 0; color: var(--ink); }
h1 { font-family: var(--f-display); font-size: var(--t-h1); letter-spacing: -.035em; font-weight: 500; }
h2 { font-size: var(--t-h2); letter-spacing: -.03em; }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
::selection { background: var(--medic); color: var(--white); }

:focus-visible { outline: 3px solid var(--medic); outline-offset: 3px; border-radius: 4px; }
.on-deep :focus-visible, .deep :focus-visible { outline-color: var(--glow); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--globo); color: var(--white); padding: 12px 20px; border-radius: var(--r-sm);
  font-family: var(--f-head); font-weight: 500;
}
.skip-link:focus { top: 16px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Grid ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1760px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: var(--s-6); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; } }
.grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1100px) {
  .c-1-5 { grid-column: 1 / 6; } .c-1-6 { grid-column: 1 / 7; } .c-1-7 { grid-column: 1 / 8; } .c-1-8 { grid-column: 1 / 9; }
  .c-2-5 { grid-column: 2 / 6; } .c-2-6 { grid-column: 2 / 7; } .c-2-7 { grid-column: 2 / 8; } .c-2-8 { grid-column: 2 / 9; } .c-2-12 { grid-column: 2 / 12; }
  .c-6-13 { grid-column: 6 / 13; } .c-7-13 { grid-column: 7 / 13; } .c-8-13 { grid-column: 8 / 13; } .c-6-12 { grid-column: 6 / 12; }
  .c-5-13 { grid-column: 5 / 13; } .c-4-10 { grid-column: 4 / 10; } .c-3-11 { grid-column: 3 / 11; } .c-9-13 { grid-column: 9 / 13; }
  .c-1-4 { grid-column: 1 / 5; } .c-5-9 { grid-column: 5 / 9; } .c-7-12 { grid-column: 7 / 12; } .c-8-12 { grid-column: 8 / 12; }
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(48px, 2rem + 3vw, 96px); }
.section--flush-top { padding-top: 0; }
.mist { background: var(--mist); }
.deep { background: var(--deep); color: var(--on-deep); }
.deep h1, .deep h2, .deep h3, .deep h4 { color: var(--white); }
.deep .lead, .deep .muted { color: var(--on-deep-2); }
.deep .eyebrow { color: var(--glow); }
.deep .eyebrow::before { background: var(--glow); }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--medic);
  margin-bottom: var(--s-5);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--medic); }
.lead { font-size: var(--t-lg); font-weight: 300; line-height: 1.6; color: var(--ink-2); max-width: var(--read); }
.muted { color: var(--ink-3); }
.small { font-size: var(--t-sm); }
.xs { font-size: var(--t-xs); }
.measure { max-width: var(--read); }
.balance { text-wrap: balance; }
.accent { color: var(--medic); }
.deep .accent { color: var(--glow); }
.light { font-weight: 300; }
.stack > * + * { margin-top: var(--s-5); }
.stack-lg > * + * { margin-top: var(--s-6); }
.prose { max-width: var(--read); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose h2 { font-size: var(--t-h3); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--t-h4); margin: 1.8em 0 .5em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--globo); }
.prose a.btn { color: var(--b-fg); }
.prose .btn-row { margin-top: 24px; margin-bottom: 24px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--globo); --b-fg: var(--white); --b-bd: var(--globo);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-family: var(--f-head); font-size: .875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
/* CTAs só com texto: ícones dos botões ocultos (exceto os selos das lojas de app) */
.btn:not(.btn--store) > svg { display: none; }
/* Padrão de botões do site (exceto lojas de aplicativo, que têm estilo próprio):
   fundo claro — botão único ou 1º do par: azul que clareia; 2º do par (.btn--ghost): branco que fica azul-claro.
   fundo escuro (.btn--light): branco que fica transparente com contorno ciano.
   O hover só vale para mouse; no toque e no foco do teclado o mesmo estado aparece em :active/:focus-visible. */
.btn--ghost { --b-bg: var(--white); --b-fg: var(--globo); --b-bd: rgba(0,98,109,.28); }
.btn--light { --b-bg: var(--white); --b-fg: var(--deep); --b-bd: var(--white); }
@media (hover: hover) {
  .btn:not(.btn--store):hover { --b-bg: #007F87; --b-bd: #007F87; }
  .btn:hover svg { transform: translateX(3px); }
  .btn.btn--ghost:hover { --b-bg: var(--tint); --b-fg: var(--globo); --b-bd: rgba(0,98,109,.4); }
  .btn.btn--light:hover { --b-bg: transparent; --b-fg: var(--white); --b-bd: var(--glow); }
}
.btn:not(.btn--store):is(:active, :focus-visible) { --b-bg: #007F87; --b-bd: #007F87; }
.btn.btn--ghost:is(:active, :focus-visible) { --b-bg: var(--tint); --b-fg: var(--globo); --b-bd: rgba(0,98,109,.4); }
.btn.btn--light:is(:active, :focus-visible) { --b-bg: transparent; --b-fg: var(--white); --b-bd: var(--glow); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .78rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 500; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--globo);
  transition: color .25s, gap .25s var(--ease);
}
.link:hover { color: var(--medic); gap: 12px; }
.deep .link { color: var(--glow); }
.link svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line-2);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled, .site-header.is-solid, .site-header.is-open {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line-2);
}
.utility { display: none; }
@media (min-width: 1100px) {
  .utility { display: block; background: var(--mist); border-bottom: 1px solid var(--line-2); font-size: var(--t-xs); }
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.utility nav { display: flex; gap: 28px; }
.utility a { color: var(--ink-2); display: inline-flex; gap: 7px; align-items: center; transition: color .2s; }
.utility a:hover { color: var(--medic); }
.utility svg { width: 15px; height: 15px; color: var(--medic); }
.utility-label { color: var(--ink-3); font-family: var(--f-head); letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }

.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img, .brand svg { height: 40px; width: auto; }
@media (min-width: 1100px) { .brand img, .brand svg { height: 48px; } }
.logo-img--neg { display: none; }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .logo-img--pos { display: none; }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .logo-img--neg { display: block; }

.nav-main { display: none; }
@media (min-width: 1100px) {
  .nav-main { display: flex; align-items: center; gap: 4px; margin-left: 24px; margin-right: auto; }
}
.nav-main > li { list-style: none; position: static; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 10px 14px; border-radius: var(--r-pill);
  font-family: var(--f-head); font-size: .9375rem; font-weight: 400; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-trigger svg { width: 12px; height: 12px; transition: transform .3s var(--ease); opacity: .6; }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--mist); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-trigger.is-active { color: var(--globo); font-weight: 500; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(2,26,29,.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega .wrap { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 48px; padding-block: 48px 56px; }
.mega-intro h3 { font-size: 1.75rem; line-height: 1.12; margin-bottom: 12px; min-height: 2.24em; text-wrap: balance; }
.mega-intro p { color: var(--ink-3); font-size: var(--t-sm); max-width: 22rem; line-height: 1.6; min-height: 3.2em; text-wrap: balance; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 3), auto); grid-auto-flow: column; gap: 4px 24px; align-content: center; }
.mega-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line-2);
  font-family: var(--f-head); font-size: .975rem; color: var(--ink);
  transition: color .2s, padding .3s var(--ease);
}
.mega-links a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); color: var(--medic); }
.mega-links a:hover { color: var(--globo); padding-left: 6px; }
.mega-links a:hover::after { opacity: 1; transform: none; }
.mega-feature {
  border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 220px;
  background: var(--deep); color: var(--white); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mega-feature > * { position: relative; }
.mega-feature strong { font-family: var(--f-head); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }
.mega-feature span { font-size: var(--t-xs); color: rgba(255,255,255,.75); margin-top: 6px; }

.bar-actions { display: flex; align-items: center; gap: 10px; }
.bar-actions .btn { display: none; }
@media (min-width: 720px) { .bar-actions .btn--client { display: inline-flex; } }
@media (min-width: 1100px) { .bar-actions .btn { display: inline-flex; } }
.btn--benef svg { width: 17px; height: 17px; }
.btn--benef:hover svg { transform: none; }
.bar-actions .btn--sm { min-height: 38px; padding: 0 14px; gap: 6px; font-size: .7rem; letter-spacing: .03em; }
.bar-actions .btn--benef svg { width: 15px; height: 15px; }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white);
  display: inline-grid; place-items: center; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--mist); border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: inline-grid; }
@media (min-width: 1100px) { .menu-toggle { display: none; } }
.menu-toggle .l { transition: transform .3s var(--ease), opacity .2s; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }

/* Header transparente sobre heros escuros */
.site-header.on-dark:not(.is-scrolled):not(.is-open) {
  background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.on-dark:not(.is-scrolled):not(.is-open) .nav-trigger { color: var(--white); }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .nav-trigger:hover { background: rgba(255,255,255,.1); }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .brand .wordmark { fill: var(--white); }
/* sobre fundo escuro os dois botões do topo seguem o padrão branco → transparente com contorno ciano */
.site-header.on-dark:not(.is-scrolled):not(.is-open) .bar-actions .btn { --b-bg: var(--white); --b-fg: var(--deep); --b-bd: var(--white); }
@media (hover: hover) { .site-header.on-dark:not(.is-scrolled):not(.is-open) .bar-actions .btn:hover { --b-bg: transparent; --b-fg: var(--white); --b-bd: var(--glow); } }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .bar-actions .btn:is(:active, :focus-visible) { --b-bg: transparent; --b-fg: var(--white); --b-bd: var(--glow); }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--white); }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 72px 0 0 0; z-index: 99; background: var(--white);
  overflow-y: auto; padding: 24px var(--gutter) 120px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1100px) { .drawer { display: none; } }
.drawer-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.drawer-quick a {
  display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: var(--r-md);
  background: var(--mist); font-family: var(--f-head); font-weight: 500; font-size: .95rem; line-height: 1.25;
}
.drawer-quick a:first-child { grid-column: 1 / -1; background: var(--globo); color: var(--white); flex-direction: row; align-items: center; justify-content: space-between; }
.drawer-quick svg { width: 22px; height: 22px; color: var(--medic); }
.drawer-quick a:first-child svg { color: var(--white); }
.drawer-quick a:last-child:nth-child(even) { grid-column: 1 / -1; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-family: var(--f-head); font-size: 1.15rem; font-weight: 500; cursor: pointer;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; color: var(--medic); transition: transform .3s; }
.drawer details[open] summary::after { transform: rotate(45deg); }
.drawer details ul { list-style: none; padding: 0 0 16px; }
.drawer details li a { display: block; padding: 10px 0; color: var(--ink-2); }
.drawer-cta { margin-top: 32px; display: grid; gap: 10px; }
.drawer-cta .btn { width: 100%; }

/* Dock mobile persistente */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(2,26,29,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px; padding: 6px; box-shadow: 0 20px 40px -16px rgba(2,26,29,.5);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.dock.is-visible { transform: none; }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 12px; color: rgba(255,255,255,.85); font-size: .68rem; font-family: var(--f-head); text-align: center; line-height: 1.15; }
.dock a:active, .dock a:hover { background: rgba(255,255,255,.08); }
.dock svg { width: 20px; height: 20px; color: var(--glow); }
@media (min-width: 720px) { .dock { display: none; } }

/* ---------- Busca global (overlay) ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(2,26,29,.6); backdrop-filter: blur(6px);
  display: grid; align-items: start; padding: 10vh var(--gutter) 0;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-panel { background: var(--white); border-radius: var(--r-lg); max-width: 760px; width: 100%; margin-inline: auto; overflow: hidden; }
.search-panel form { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 24px; border-bottom: 1px solid var(--line-2); }
.search-panel input { flex: 1; border: 0; outline: 0; font-size: 1.25rem; padding: 16px 0; font-family: var(--f-head); background: transparent; min-width: 0; }
.search-panel input:focus-visible { outline: none; }
.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.search-results a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--r-md); align-items: center; }
.search-results a:hover, .search-results a:focus-visible { background: var(--mist); }
.search-results strong { font-family: var(--f-head); font-weight: 500; display: block; }
.search-results span { font-size: var(--t-xs); color: var(--ink-3); }
.search-results .tag { flex-shrink: 0; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--medic); font-family: var(--f-head); }
.search-hint { padding: 16px 24px 20px; font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- Globo / órbitas (elemento proprietário) ---------- */
.orbits { position: absolute; pointer-events: none; color: var(--medic); }
.orbits circle, .orbits ellipse, .orbits path { vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .spin-slow { animation: spin 120s linear infinite; transform-origin: center; transform-box: fill-box; }
  .spin-rev { animation: spin 160s linear infinite reverse; transform-origin: center; transform-box: fill-box; }
  .orbit-dot { animation: pulse 3.6s var(--ease) infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- HERO (home) ---------- */
/* Respiro de ~1 dedo entre o menu e o início do hero */
.hero { position: relative; padding-top: calc(var(--header-h) + 56px); overflow: hidden; }
@media (min-width: 1100px) { .hero { padding-top: calc(var(--header-h) + 56px); } }
.hero .grid { align-items: end; row-gap: 40px; }
.hero-copy { padding-bottom: 8px; position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy h1 em { font-style: normal; color: var(--medic); }
.hero-copy .lead { margin-bottom: 36px; max-width: 30rem; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 120px; overflow: hidden;
  aspect-ratio: 4 / 4.6; background: var(--mist-2);
}
@media (min-width: 720px) { .hero-media .frame { aspect-ratio: 16 / 12; border-radius: 24px 24px 24px 220px; } }
@media (min-width: 1100px) {
  /* A imagem vai até a borda direita da tela, também em telas mais largas que o conteúdo (--max) */
  .hero-media { --bleed: calc(var(--gutter) + max(0px, (100vw - var(--max)) / 2)); margin-right: calc(-1 * var(--bleed)); }
  .hero-media .frame { aspect-ratio: auto; height: min(78vh, 820px); border-radius: 0 0 0 320px; }
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2,26,29,.35)); }
.hero .orbits { width: 135%; left: -30%; top: -12%; opacity: .5; }
/* Desktop: globo maior, contornando a imagem por trás, e inteiro (sem corte).
   O hero só corta na horizontal, para o círculo poder fechar um pouco abaixo da base. */
@media (min-width: 1100px) {
  .hero { overflow: visible; overflow-x: clip; }
  .hero .orbits { top: calc(var(--header-h) + 8px); height: calc(100% - var(--header-h) + 140px); width: auto; aspect-ratio: 1; left: 37%; }
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--f-head); font-size: .85rem; font-weight: 500; color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(2,26,29,.3);
}
.chip i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--globo); color: var(--white); }
.chip i svg { width: 16px; height: 16px; }
.chip small { display: block; font-weight: 400; color: var(--ink-3); font-size: .72rem; font-family: var(--f-body); }
.hero-chips { position: absolute; z-index: 3; display: grid; gap: 10px; left: 16px; bottom: 16px; }
@media (min-width: 1100px) { .hero-chips { left: -64px; bottom: 96px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-chips .chip { animation: float 7s ease-in-out infinite; }
  .hero-chips .chip:nth-child(2) { animation-delay: -3.5s; margin-left: 40px; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: var(--t-sm); color: var(--ink-3); max-width: 34rem; }
.hero-foot b { font-family: var(--f-head); font-weight: 500; color: var(--ink); }

/* Carrossel do hero: slides empilhados na mesma célula; todos seguem o molde do slide 1 */
.hero-track { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; z-index: 1; }
.hero-slide .wrap { position: relative; height: 100%; }
.hero-slide .grid { height: 100%; align-content: start; }
@media (min-width: 1100px) {
  /* Mesma altura de moldura em todos os slides; chapéu alinhado ao topo da imagem */
  .hero-slide .grid { align-content: stretch; align-items: stretch; }
  /* Altura do banner cabe na tela abaixo do menu, para a imagem aparecer inteira */
  .hero-media .frame { height: 100%; min-height: min(calc(100svh - var(--header-h) - 112px), 640px); }
  .hero-copy { display: flex; flex-direction: column; }
  /* Texto um pouco mais compacto para não esticar a moldura além da tela */
  .hero-copy h1, .hero-title { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.75rem); margin-bottom: 20px; }
  .hero-copy .lead { margin-bottom: 28px; }
  .hero-foot { margin-top: 32px; padding-top: 20px; }
}
.hero-title { font-family: var(--f-display); font-size: var(--t-h1); letter-spacing: -.035em; margin-bottom: 28px; }
.hero-title em { font-style: normal; color: var(--medic); }

/* Slide 3 · Área de cobertura (mapa ilustrado na mesma moldura do slide 1) */
.hero-media .frame--map { background: #021A1D; color: #4FC3C3; } /* mapa do banner 3 mantém o tom original */
.frame--map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-border { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 2 7; opacity: .35; }
.hm-state { font-family: var(--f-head); font-size: 13px; letter-spacing: .3em; fill: currentColor; opacity: .45; }
.hm-route { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 5 9; }
.hm-pin { fill: var(--white); }
.hm-pin .hm-halo { fill: currentColor; opacity: .22; }
.hm-label { font-family: var(--f-head); font-size: 20px; font-weight: 500; fill: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .hm-route { animation: dash 2.4s linear infinite; }
  .hm-pin .hm-halo { animation: pulse 3.6s var(--ease) infinite; }
}
.hero-logo { position: absolute; z-index: 2; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 10px; }
.hero-logo svg { height: 32px; width: auto; }
.hero-logo .wordmark { fill: var(--white); }
.hero-logo span { font-family: var(--f-head); font-weight: 600; font-size: .7rem; letter-spacing: .3em; color: var(--glow); padding-left: 10px; border-left: 1px solid var(--line-deep); }
@media (min-width: 1100px) { .hero-logo { top: 32px; right: calc(var(--bleed) + 8px); } .hero-logo svg { height: 42px; } }

/* Navegação do carrossel: traços claros e discretos, centralizados na base da imagem */
.hero-nav {
  position: absolute; z-index: 4; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px;
}
@media (min-width: 1100px) { .hero-nav { bottom: 18px; } }
.hero-nav button {
  width: 22px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; transition: width .5s var(--ease);
}
.hero-nav button::before {
  content: ""; width: 100%; height: 4px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.45); box-shadow: 0 1px 4px rgba(2,26,29,.25); transition: background .4s var(--ease);
}
.hero-nav button:hover::before { background: rgba(255,255,255,.75); }
.hero-nav button[aria-current="true"] { width: 36px; }
.hero-nav button[aria-current="true"]::before { background: var(--white); }
.hero-nav button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 4px; }
html:not(.js) .hero-nav { display: none; }
/* No celular, as caixas sobre a imagem sobem um pouco para dar lugar aos traços */
@media (max-width: 1099px) { .hero-chips { bottom: 44px; } }

/* ---------- Intenção / "Como podemos ajudar?" ---------- */
.intent-search, .searchbar { position: relative; max-width: 640px; }
.intent-search input, .searchbar input {
  width: 100%; height: 64px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white);
  padding: 0 64px 0 56px; font-size: 1.05rem; font-family: var(--f-head); transition: border-color .2s, box-shadow .2s;
}
.intent-search input:focus, .searchbar input:focus { outline: none; border-color: var(--medic); box-shadow: 0 0 0 4px rgba(0,140,140,.12); }
.intent-search > svg, .searchbar > svg { position: absolute; left: 22px; top: 22px; width: 20px; height: 20px; color: var(--medic); }
.intent-search button, .searchbar button { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--globo); color: var(--white); display: grid; place-items: center; }
.intent-search button svg, .searchbar button svg { width: 18px; height: 18px; }
.intent-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--white); border-radius: var(--r-md); box-shadow: 0 24px 48px -20px rgba(2,26,29,.3); border: 1px solid var(--line-2); padding: 6px; z-index: 5; display: none; }
.intent-suggest.is-open { display: block; }
.intent-suggest a { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 8px; font-size: var(--t-sm); }
.intent-suggest a:hover, .intent-suggest a.is-active { background: var(--mist); }
.intent-suggest a span { color: var(--medic); font-family: var(--f-head); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

.needs { margin-top: var(--s-8); display: grid; gap: 12px; }
.need {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--r-lg); position: relative;
  background: var(--tint); color: var(--ink);
  transition: padding .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
@media (min-width: 720px) {
  .needs { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 1100px) {
  .needs { grid-template-columns: repeat(4, 1fr); }
  .need { grid-template-columns: 1fr; align-content: space-between; gap: 28px; min-height: 184px; padding: 24px; }
}
.need-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--globo); transition: background .3s, color .3s; }
.need-ico svg { width: 22px; height: 22px; }
.need strong { font-family: var(--f-head); font-weight: 500; font-size: 1.125rem; line-height: 1.3; display: block; letter-spacing: -.01em; }
.need small { display: block; color: var(--ink-3); font-size: var(--t-xs); margin-top: 4px; transition: color .4s var(--ease); }
/* Seta sempre visível, no mesmo padrão da caixa do ícone */
.need .arrow { width: 44px; height: 44px; display: grid; place-items: center; color: var(--globo); transition: color .3s; }
.need .arrow svg { width: 24px; height: 24px; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.need:hover .arrow svg, .need:focus-visible .arrow svg { transform: rotate(-45deg) translateX(3px); }
@media (min-width: 1100px) {
  .need .arrow { position: absolute; right: 16px; top: 24px; }
}
.need:hover, .need:focus-visible { background: var(--globo); color: var(--white); }
.need:hover small, .need:focus-visible small { color: rgba(255,255,255,.75); }
.need:hover .need-ico, .need:focus-visible .need-ico { background: rgba(255,255,255,.14); color: var(--white); }
.need:hover .arrow, .need:focus-visible .arrow { color: var(--glow); }

/* ---------- Rede de cuidado (hub orbital) ---------- */
.hub-section { overflow: hidden; }
.hub { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin-inline: auto; }
.hub .rings { position: absolute; inset: 0; }
.hub .rings circle { fill: none; stroke: var(--line-deep); }
.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #0b4c53, var(--deep-2) 70%);
  border: 1px solid rgba(79,195,195,.35); display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 80px -10px rgba(0,140,140,.45);
}
.hub-core svg { width: 46%; color: var(--glow); }
.hub-core span { position: absolute; bottom: -36px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep-2); font-family: var(--f-head); white-space: nowrap; }
.hub-node {
  position: absolute; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  font-family: var(--f-head); font-size: .78rem; color: var(--on-deep);
}
.hub-node i {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-deep); color: var(--white);
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
@media (min-width: 720px) { .hub-node i { width: 64px; height: 64px; } .hub-node { font-size: .85rem; } }
.hub-node i svg { width: 24px; height: 24px; }
.hub-node:hover i { border-color: var(--glow); background: rgba(79,195,195,.12); transform: translateY(-3px); }
.hub .spokes line { stroke: var(--line-deep); stroke-dasharray: 3 6; }
@media (prefers-reduced-motion: no-preference) { .hub .spokes line { animation: dash 2.4s linear infinite; } }
@keyframes dash { to { stroke-dashoffset: -18; } }

.finder {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-deep); border-radius: var(--r-lg); padding: 8px;
  display: grid; gap: 8px;
}
@media (min-width: 720px) { .finder { grid-template-columns: 1fr 1fr auto; } }
.field-dark { position: relative; }
.field-dark label { position: absolute; left: 18px; top: 10px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-2); font-family: var(--f-head); }
.field-dark select, .field-dark input {
  width: 100%; height: 64px; padding: 22px 18px 0; border-radius: 14px; border: 1px solid transparent;
  background: rgba(255,255,255,.06); color: var(--white); appearance: none; -webkit-appearance: none;
}
.field-dark select option { color: var(--ink); }
.field-dark select:focus, .field-dark input:focus { outline: none; border-color: var(--glow); }
.finder .btn { min-height: 64px; border-radius: 14px; }

/* Rede de cuidado (home): seletores compactos, com seta, e faixa de cidades encostada no fim da seção */
/* Seções "Como podemos ajudar?" e "Rede de cuidado" mais próximas; faixa de cidades quase colada ao fim */
.hub-section { padding-bottom: 12px; }
.hub-section .marquee { margin-top: var(--s-6); }
#especialidades { padding-bottom: 12px; }
#especialidades .marquee { margin-top: var(--s-6); }
.hub-section .finder { padding: 6px; gap: 6px; border-radius: var(--r-lg); }
.hub-section .field-dark label { left: 16px; top: 8px; font-size: .62rem; }
.hub-section .field-dark select {
  height: 52px; padding: 18px 40px 0 16px; border-radius: var(--r-md); border-color: transparent;
  font-family: var(--f-head); font-size: var(--t-sm); cursor: pointer; transition: background .2s, border-color .2s;
  background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FC3C3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.hub-section .field-dark select:hover { background-color: rgba(255,255,255,.09); border-color: var(--line-deep); }
.hub-section .field-dark select:focus-visible { border-color: var(--glow); }
.hub-section .finder .btn { min-height: 52px; padding-inline: 22px; border-radius: var(--r-md); }

/* Dropdown no padrão do site (montado por main.js sobre o <select>, que fica oculto) */
.hub-section .finder { position: relative; z-index: 5; }
/* Deixa a lista aberta passar do fim da seção sem ser cortada (o corte lateral continua) */
.hub-section { overflow: visible; overflow-x: clip; z-index: 2; }
.field-dark.has-dd select { display: none; }
.field-dark.has-dd label { z-index: 1; pointer-events: none; }
.dd-btn {
  position: relative; width: 100%; height: 52px; padding: 18px 40px 0 16px; text-align: left;
  border-radius: var(--r-md); border: 1px solid transparent; background: rgba(255,255,255,.06);
  color: var(--white); font-family: var(--f-head); font-size: var(--t-sm); cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s, border-color .2s;
}
.dd-btn::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FC3C3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .3s var(--ease);
}
.dd-btn:hover { background: rgba(255,255,255,.09); border-color: var(--line-deep); }
.dd-btn:focus-visible, .field-dark.is-open .dd-btn { outline: none; border-color: var(--glow); }
.field-dark.is-open .dd-btn::after { transform: rotate(180deg); }
.dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  max-height: 280px; overflow-y: auto; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: 0 24px 48px -20px rgba(2,26,29,.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.field-dark.is-open .dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
.dd-list li { position: relative; padding: 9px 14px 9px 36px; border-radius: 8px; font-size: var(--t-sm); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.dd-list li.is-active { background: var(--mist); color: var(--ink); }
.dd-list li[aria-selected="true"] { background: var(--tint); color: var(--globo); font-family: var(--f-head); font-weight: 500; }
.dd-list li[aria-selected="true"]::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300626D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain;
}

.type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: transparent; font-size: var(--t-sm); font-family: var(--f-head); color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover { border-color: var(--medic); color: var(--globo); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--globo); border-color: var(--globo); color: var(--white); }
.deep .pill { border-color: var(--line-deep); color: var(--on-deep-2); }
.deep .pill:hover { border-color: var(--glow); color: var(--white); }
.deep .pill[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--deep); }
.pill.esp { min-height: 32px; padding: 0 12px; font-size: .8rem; }

/* ---------- Institucional curto (glass + foto) ---------- */
.glass-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; display: grid; }
.glass-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,26,29,.75), rgba(2,26,29,.15) 70%); z-index: 1; }
.glass-feature .inner { position: relative; z-index: 2; display: grid; gap: 24px; padding: 24px; align-content: end; }
@media (min-width: 1100px) {
  .glass-feature { min-height: 640px; }
  .glass-feature .inner { grid-template-columns: 1fr 340px; align-items: end; padding: 48px; }
}
.glass-feature h2 { color: var(--white); max-width: 22ch; }
.glass-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-lg); padding: 28px; color: var(--white);
}
.glass-card .label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); font-family: var(--f-head); }
.stat-big { font-family: var(--f-head); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2vw, 3.75rem); line-height: 1; letter-spacing: -.04em; }
.stat-big + .xs { margin-top: 8px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
/* Números do cartão "Em números" com o mesmo peso do título da seção (h2 = 500) */
.glass-card .stat-big { font-weight: 500; }
.glass-card .row + .row { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }

/* ---------- Serviços (split headline + cards indexados) ---------- */
.indexed { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
@media (min-width: 720px) { .indexed { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .indexed { grid-template-columns: repeat(3, 1fr); } }
.indexed a {
  display: flex; flex-direction: column; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line-2);
  position: relative;
}
@media (min-width: 720px) { .indexed a { padding: 36px 32px 40px 0; } }
@media (min-width: 1100px) {
  .indexed a { padding: 40px 40px 48px; border-left: 1px solid var(--line-2); min-height: 320px; }
  .indexed a:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}
.indexed .num { font-family: var(--f-head); font-size: .8rem; color: var(--medic); letter-spacing: .1em; }
.indexed h3 { font-size: var(--t-h4); transition: color .3s; }
.indexed p { color: var(--ink-3); font-size: var(--t-sm); max-width: 30ch; }
.indexed .go { margin-top: auto; font-family: var(--f-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--globo); display: inline-flex; gap: 8px; align-items: center; }
.indexed .go svg { width: 16px; transition: transform .3s var(--ease); }
.indexed a:hover h3 { color: var(--globo); }
.indexed a:hover .go svg { transform: translateX(4px); }
.indexed a.is-focal { background: var(--globo); color: var(--white); border-radius: var(--r-lg); padding: 40px 32px; border: 0; }
.indexed a.is-focal h3, .indexed a.is-focal .go { color: var(--white); }
.indexed a.is-focal p { color: rgba(255,255,255,.75); }
.indexed a.is-focal .num { color: var(--glow); }

/* ---------- Planos ---------- */
.plan-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filters { display: grid; gap: 20px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); }
@media (min-width: 1100px) { .filters { grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 28px 32px; } }
.filters legend, .filter-label { font-family: var(--f-head); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 10px; padding: 0; }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--white); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 20px; position: relative;
  transition: border-color .3s, transform .4s var(--ease), opacity .3s, box-shadow .4s var(--ease);
}
.plan:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(2,26,29,.35); }
.plan.is-dim { opacity: .38; }
.plan.is-dim:hover { transform: none; }
.plan-name { font-family: var(--f-head); }
.plan-name small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.plan-name strong { display: block; font-weight: 500; font-size: 2.25rem; letter-spacing: -.04em; line-height: 1.05; color: var(--globo); }
.plan-tier { display: flex; gap: 4px; }
.plan-tier i { height: 4px; flex: 1; border-radius: 2px; background: var(--mist-2); }
.plan-tier i.on { background: var(--medic); }
.plan dl { margin: 0; display: grid; gap: 14px; font-size: var(--t-sm); }
.plan dt { font-family: var(--f-head); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.plan dd { margin: 2px 0 0; color: var(--ink-2); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.is-focal { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.plan.is-focal .plan-name strong { color: var(--white); }
.plan.is-focal dd { color: var(--on-deep); }
.plan.is-focal dt, .plan.is-focal .plan-name small { color: var(--on-deep-2); }
.plan.is-focal .plan-tier i { background: rgba(255,255,255,.14); }
.plan.is-focal .plan-tier i.on { background: var(--glow); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--mist); color: var(--globo); font-family: var(--f-head); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.plan.is-focal .badge { background: rgba(79,195,195,.16); color: var(--glow); }
.notice { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: var(--mist); font-size: var(--t-sm); color: var(--ink-2); }
.notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--medic); margin-top: 2px; }
.deep .notice { background: rgba(255,255,255,.05); color: var(--on-deep-2); }

/* Matriz de abrangência (heatmap) */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--white); }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--t-sm); }
.matrix th, .matrix td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
.matrix thead th { font-family: var(--f-head); font-weight: 500; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--mist); position: sticky; top: 0; }
.matrix tbody th { font-weight: 400; color: var(--ink); font-family: var(--f-body); }
.matrix td { text-align: center; }
/* Nomes dos planos centralizados sobre as colunas (a 1ª coluna, de cidades, segue à esquerda) */
.matrix thead th + th { text-align: center; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.cell { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.cell.yes { background: rgba(0,140,140,.14); color: var(--globo); }
.cell.no { color: var(--ink-3); opacity: .4; }
.cell svg { width: 16px; height: 16px; }
.matrix tr:hover > * { background: rgba(0,140,140,.04); }

/* ---------- Beneficiário (ecossistema + celular) ---------- */
.eco { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .eco { grid-template-columns: 5fr 7fr; gap: 64px; } }
.phone-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone-stage .orbits { inset: 0; width: 100%; height: 100%; color: var(--glow); opacity: .5; }
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: #0d1416; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.6);
  z-index: 2;
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; background: var(--white); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; }
.phone-top { background: var(--globo); color: var(--white); padding: 34px 18px 22px; }
.phone-top small { font-size: .62rem; opacity: .8; display: block; }
.phone-top strong { font-family: var(--f-head); font-weight: 500; font-size: 1rem; }
.phone-card { margin: -12px 14px 0; background: linear-gradient(135deg, #0a7d86, var(--globo)); color: #fff; border-radius: 14px; padding: 14px; font-size: .6rem; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); position: relative; overflow: hidden; }
.phone-card b { font-family: var(--f-head); font-size: .8rem; font-weight: 500; display: block; margin: 8px 0 2px; }
.phone-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 14px; }
.phone-grid span { display: grid; justify-items: center; gap: 6px; font-size: .55rem; text-align: center; color: var(--ink-2); line-height: 1.2; }
.phone-grid i { width: 38px; height: 38px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--globo); }
.phone-grid i svg { width: 17px; height: 17px; }
.phone-list { margin: auto 14px 16px; border-radius: 12px; background: var(--mist); padding: 12px; font-size: .58rem; color: var(--ink-2); }
.phone-list b { font-family: var(--f-head); font-weight: 500; color: var(--ink); display: block; font-size: .68rem; }
.float-tag { position: absolute; z-index: 3; }
/* Balões flutuantes no mesmo padrão dos do hero (fundo translúcido, desfoque e flutuação) */
@media (prefers-reduced-motion: no-preference) {
  .float-tag .chip { animation: float 7s ease-in-out infinite; }
  .float-tag + .float-tag .chip { animation-delay: -3.5s; }
}

.eco-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-deep); }
.eco-list a { display: flex; align-items: center; gap: 12px; padding: 18px 8px 18px 0; border-bottom: 1px solid var(--line-deep); font-family: var(--f-head); font-size: .95rem; color: var(--on-deep); transition: color .2s, padding .3s var(--ease); }
.eco-list a:hover { color: var(--glow); padding-left: 6px; }
.eco-list svg { width: 18px; height: 18px; color: var(--glow); flex-shrink: 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
  .marquee--rev .marquee-track { animation-direction: reverse; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-family: var(--f-head); font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--medic); }
.deep .marquee-item { border-color: var(--line-deep); color: var(--on-deep-2); }
.deep .marquee-item::before { background: var(--glow); }

/* ---------- Conteúdos ---------- */
.posts { display: grid; gap: 32px; }
@media (min-width: 1100px) { .posts { grid-template-columns: 7fr 5fr; gap: 64px; } }
.post-feature { display: grid; gap: 24px; }
.post-feature .img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--mist-2); }
.post-feature img, .card-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-feature:hover img, .card-post:hover img { transform: scale(1.04); }
.post-feature h3 { font-size: var(--t-h3); max-width: 22ch; }
.post-meta { display: flex; gap: 14px; align-items: center; font-size: var(--t-xs); color: var(--ink-3); flex-wrap: wrap; }
.post-meta .cat { color: var(--medic); font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.reading-list { border-top: 1px solid var(--line-2); }
.reading-list a { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.reading-list h4 { font-size: 1.15rem; line-height: 1.35; transition: color .2s; grid-column: 1; }
.reading-list .post-meta { grid-column: 1; }
.reading-list .n { grid-row: 1 / 3; grid-column: 2; font-family: var(--f-head); color: var(--ink-3); font-size: .8rem; }
.reading-list a:hover h4 { color: var(--globo); }

.card-grid { display: grid; gap: 40px 24px; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }
.card-post { display: grid; gap: 16px; align-content: start; }
.card-post .img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--mist-2); }
.card-post h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; }
.card-post p { font-size: var(--t-sm); color: var(--ink-3); }
.card-post[hidden] { display: none; }

/* ---------- CTA mosaico ---------- */
.mosaic { position: relative; overflow: hidden; border-radius: 0; }
.mosaic-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); grid-auto-rows: 72px; gap: 10px; padding: 10px; opacity: .9; -webkit-mask-image: radial-gradient(ellipse at center, transparent 22%, #000 70%); mask-image: radial-gradient(ellipse at center, transparent 22%, #000 70%); }
@media (min-width: 1100px) { .mosaic-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); grid-auto-rows: 88px; gap: 14px; padding: 14px; } }
.mosaic-grid span { border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); display: grid; place-items: center; color: rgba(255,255,255,.5); transition: background .6s, color .6s, border-color .6s; }
.mosaic-grid span.has svg { width: 26px; height: 26px; }
.mosaic-grid span.lit { background: rgba(79,195,195,.12); border-color: rgba(79,195,195,.35); color: var(--glow); }
.mosaic-content { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 24px; padding-block: clamp(64px, 3rem + 4vw, 136px) clamp(104px, 4.5rem + 5vw, 184px); }
.mosaic-content h2 { max-width: 24ch; }
.mosaic-content .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-2); position: relative; overflow: hidden; font-size: var(--t-sm); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-top { display: grid; gap: 40px; padding-block: clamp(56px, 2.5rem + 3vw, 80px) 48px; border-bottom: 1px solid var(--line-deep); }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 5fr 7fr; align-items: end; } }
.footer-top h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.5vw, 3.75rem); max-width: 20ch; }
.footer-contact { display: grid; gap: 16px; }
@media (min-width: 720px) { .footer-contact { grid-template-columns: repeat(2, 1fr); } }
.footer-contact a { display: block; padding: 22px; border: 1px solid var(--line-deep); border-radius: var(--r-md); }
.footer-contact a:hover { border-color: var(--glow); }
.footer-contact small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); font-family: var(--f-head); margin-bottom: 6px; }
.footer-contact strong { font-family: var(--f-head); font-weight: 500; color: var(--white); font-size: 1.05rem; word-break: break-word; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding-block: 64px; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .footer-cols { grid-template-columns: repeat(6, 1fr); } }
.footer-cols h3 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); font-weight: 500; margin-bottom: 18px; font-family: var(--f-head); }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
/* Rodapé legal: selo ANS + dados à esquerda, links à direita; copyright e crédito numa linha própria */
.footer-legal { display: grid; gap: 24px; padding-block: 48px 32px; border-top: 1px solid var(--line-deep); font-size: var(--t-xs); }
@media (min-width: 1100px) {
  .footer-legal { grid-template-columns: 1fr auto; column-gap: 48px; row-gap: 28px; align-items: center; }
  .footer-legal .legal-links { justify-content: flex-end; max-width: 560px; }
  .footer-legal .footer-credit { grid-column: 1 / -1; }
}
.footer-legal-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.footer-legal-info p + p { margin-top: 4px; }
.footer-legal .footer-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-deep); }

/* Selo de registro ANS no padrão da agência: caixa preta, fio branco interno, texto branco em negrito */
.ans-seal { display: inline-block; flex-shrink: 0; padding: 3px; background: #000; line-height: 1; }
.ans-seal span { display: block; padding: 6px 10px 5px; border: 1.5px solid #fff; color: #fff; font: 700 13px/1 Arial, Helvetica, sans-serif; letter-spacing: .01em; white-space: nowrap; }
.site-footer .ans-seal { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.site-footer a.ans-seal:hover span { color: #fff; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-deep); display: grid; place-items: center; }
.socials a:hover { border-color: var(--glow); color: var(--glow); }
.socials svg { width: 18px; height: 18px; }
.footer-globe { position: absolute; right: -200px; top: -200px; width: 700px; color: var(--glow); opacity: .1; pointer-events: none; }
.footer-word { font-family: var(--f-display); font-weight: 500; font-size: var(--fw); letter-spacing: -.05em; line-height: .8; color: rgba(255,255,255,.022); white-space: nowrap; user-select: none; text-align: center; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.footer-mid { --fw: clamp(4rem, 15vw, 15rem); position: relative; padding-bottom: max(0px, calc(var(--fw) * .4 - 64px)); }
.footer-mid .footer-cols { position: relative; z-index: 1; }
@media (max-width: 719px) { .site-footer { padding-bottom: 88px; } }

/* ---------- Page hero (internas) ---------- */
.page-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 2rem + 3vw, 88px); position: relative; overflow: hidden; }
.page-hero .orbits { width: 900px; right: -320px; top: -280px; opacity: .35; }
.page-hero h1 { max-width: 24ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero.deep .orbits { color: var(--glow); opacity: .25; }
.page-hero--media .grid { align-items: end; }
.page-hero-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--mist-2); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1100px) { .page-hero-img--bleed { margin-right: calc(-1 * var(--gutter)); border-radius: var(--r-lg) 0 0 var(--r-lg); aspect-ratio: 5/4; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-xs); color: var(--ink-3); margin-bottom: 40px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--globo); }
.crumbs [aria-current] { color: var(--ink); }
.deep .crumbs { color: var(--on-deep-2); }
.deep .crumbs [aria-current] { color: var(--white); }

/* Sub navegação por âncoras */
/* Barra de seções abaixo do banner: fica no lugar dela, sem acompanhar a rolagem */
.subnav { position: relative; z-index: 2; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
/* Links sublinhados para ficarem claramente clicáveis; o ativo/hover ganha cor e sublinhado mais forte */
.subnav a {
  flex-shrink: 0; padding: 16px 14px; font-family: var(--f-head); font-size: .875rem; color: var(--ink-2);
  text-decoration: none;
  transition: color .2s;
}
.subnav a:hover, .subnav a.is-active { color: var(--globo); }

/* ---------- Passos (how it works) ---------- */
.steps { display: grid; gap: 40px; position: relative; counter-reset: step; }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps-line { display: none; }
@media (min-width: 1100px) {
  .steps-line { display: block; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line-2); }
  .steps-line span { display: block; height: 100%; width: 0; background: var(--medic); transition: width 2s var(--ease); }
  .steps.is-in .steps-line span { width: 100%; }
}
.step { position: relative; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--globo); font-family: var(--f-head); font-weight: 500; position: relative; z-index: 1; margin-bottom: 24px; transition: background .5s, color .5s, border-color .5s; }
.steps.is-in .step .dot { background: var(--globo); color: var(--white); border-color: var(--globo); }
.steps.is-in .step:nth-child(3) .dot { transition-delay: .5s; } .steps.is-in .step:nth-child(4) .dot { transition-delay: 1s; } .steps.is-in .step:nth-child(5) .dot { transition-delay: 1.5s; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--ink-3); font-size: var(--t-sm); max-width: 30ch; }
/* Passos sobre fundo escuro: círculos em Azul Medic claro e textos em branco */
.deep .steps-line { background: var(--line-deep); }
.deep .steps-line span { background: var(--glow); }
.deep .step .dot { background: transparent; border-color: var(--line-deep); color: var(--glow); }
.deep .steps.is-in .step .dot { background: var(--glow); border-color: var(--glow); color: var(--deep); }
.deep .step p { color: var(--on-deep); }

/* ---------- Timeline (história) ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
@media (min-width: 1100px) { .timeline::before { left: 50%; } }
.timeline-progress { position: absolute; left: 11px; top: 8px; width: 1px; background: var(--medic); height: 0; transition: height .2s linear; }
@media (min-width: 1100px) { .timeline-progress { left: 50%; } }
.t-item { position: relative; padding: 0 0 72px 48px; }
.t-item::before { content: ""; position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 1px solid var(--medic); transition: background .4s; }
.t-item.is-in::before { background: var(--medic); box-shadow: 0 0 0 6px rgba(0,140,140,.12); }
@media (min-width: 1100px) {
  .t-item { width: 50%; padding: 0 72px 96px 0; text-align: right; }
  .t-item::before { left: auto; right: -8px; }
  .t-item:nth-of-type(even) { margin-left: 50%; padding: 0 0 96px 72px; text-align: left; }
  .t-item:nth-of-type(even)::before { right: auto; left: -7px; }
  .t-item p { margin-left: auto; }
  .t-item:nth-of-type(even) p { margin-left: 0; }
}
.t-when { font-family: var(--f-head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--medic); margin-bottom: 10px; display: block; }
.t-item h3 { font-size: var(--t-h3); margin-bottom: 14px; }
.t-item p { color: var(--ink-2); max-width: 30rem; font-weight: 300; }
/* Foco na rolagem (--tf: 0 longe da linha de leitura → 1 em foco, definido em main.js) */
@media (prefers-reduced-motion: no-preference) {
  .js .timeline .t-item { --tf: 1; transform-origin: left center; opacity: calc(.28 + .72 * var(--tf)); filter: blur(calc((1 - var(--tf)) * 1.5px)); transform: scale(calc(.97 + .03 * var(--tf))); transition: opacity .35s var(--ease), filter .35s var(--ease), transform .35s var(--ease); will-change: opacity, filter, transform; }
  .js .timeline .t-item.is-past { filter: blur(calc((1 - var(--tf)) * 4px)); transform: scale(calc(.94 + .06 * var(--tf))) translateY(calc((1 - var(--tf)) * -8px)); }
  .js .timeline .t-item::before { transition: background .4s, box-shadow .4s, transform .4s; }
  .js .timeline .t-item.is-active::before { transform: scale(1.25); box-shadow: 0 0 0 8px rgba(0,140,140,.12); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  .js .timeline .t-item:nth-of-type(odd) { transform-origin: right center; }
}


/* Comparação arrastável (Extremamedic → MedicGLOBAL) */
.wipe { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; user-select: none; touch-action: pan-y; background: var(--mist); }
@media (max-width: 719px) { .wipe { aspect-ratio: 4/5; } }
.wipe-pane { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; }
.wipe-before { background: #e9e6df; color: #6b6458; }
.wipe-after { background: var(--deep); color: var(--white); clip-path: inset(0 0 0 var(--pos, 50%)); }
.wipe-pane .tag { position: absolute; top: 20px; padding: 6px 12px; border-radius: var(--r-pill); font-family: var(--f-head); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.wipe-before .tag { left: 20px; border: 1px solid rgba(0,0,0,.15); }
.wipe-after .tag { right: 20px; border: 1px solid var(--line-deep); color: var(--glow); }
.wipe-word { font-family: var(--f-display); font-size: clamp(2.2rem, 1rem + 5vw, 6rem); letter-spacing: -.04em; line-height: 1; font-weight: 500; }
.wipe-pane p { margin-top: 16px; max-width: 28ch; margin-inline: auto; font-size: var(--t-sm); opacity: .8; }
.wipe-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--white); transform: translateX(-1px); }
.wipe-handle button { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--white); color: var(--globo); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0,0,0,.4); cursor: ew-resize; }
.wipe-handle svg { width: 22px; height: 22px; }
.wipe input[type=range] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: ew-resize; margin: 0; }

/* Stats */
.stats { display: grid; gap: 12px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 32px 28px; border-radius: var(--r-lg); background: var(--mist); display: flex; flex-direction: column; gap: 40px; min-height: 240px; justify-content: space-between; }
.stat:nth-child(2) { background: var(--globo); color: var(--white); }
.stat:nth-child(3) { background: var(--deep); color: var(--white); }
.stat .stat-big { color: inherit; }
.stat p { font-size: var(--t-sm); opacity: .8; max-width: 24ch; }
.stat .badge { align-self: flex-start; }
.stat:nth-child(2) .badge, .stat:nth-child(3) .badge { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Documentos ---------- */
.doc-layout { display: grid; gap: 40px; }
.doc-layout > *, .doc-side > * { min-width: 0; } /* a faixa de categorias rola de lado sem alargar a página no celular */
@media (min-width: 1100px) { .doc-layout { grid-template-columns: 280px 1fr; gap: 64px; align-items: start; } }
.doc-side { display: grid; gap: 24px; }
@media (min-width: 1100px) { .doc-side { position: sticky; top: 140px; } }
.doc-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 1100px) { .doc-cats { flex-direction: column; overflow: visible; } }
.doc-cats button { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--white); font-family: var(--f-head); font-size: .9rem; color: var(--ink-2); }
.doc-cats button span { font-size: .75rem; color: var(--ink-3); }
.doc-cats button:hover { border-color: var(--line); }
.doc-cats button[aria-pressed="true"] { background: var(--globo); border-color: var(--globo); color: var(--white); }
.doc-cats button[aria-pressed="true"] span { color: rgba(255,255,255,.7); }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-family: var(--f-head); font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; border-radius: var(--r-md); border: 1px solid rgba(11,27,29,.18); background: var(--white);
  padding: 12px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--medic); box-shadow: 0 0 0 4px rgba(0,140,140,.12); }
.field .hint { font-size: var(--t-xs); color: var(--ink-3); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.field .error { font-size: var(--t-xs); color: #B42318; display: none; }
.field .error.is-visible { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--globo); flex-shrink: 0; }
.check a { color: var(--globo); }

.doc-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.doc {
  display: grid; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line-2);
}
@media (min-width: 720px) { .doc { grid-template-columns: 48px 1fr auto; align-items: center; gap: 24px; padding: 24px 8px; } }
.doc[hidden] { display: none; }
.doc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--globo); font-family: var(--f-head); font-size: .62rem; font-weight: 600; letter-spacing: .06em; }
.doc h3 { font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.35; }
.doc p { font-size: var(--t-sm); color: var(--ink-3); margin-top: 4px; }
.doc .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--t-xs); color: var(--ink-3); margin-top: 8px; }
.doc .meta b { font-weight: 500; color: var(--medic); font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.doc-actions { display: flex; gap: 8px; }
.review-flag { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-family: var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #8A5A00; background: #FFF4DB; padding: 3px 8px; border-radius: 4px; }

/* ---------- FAQ ---------- */
.faq-tools { display: grid; gap: 16px; margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item[hidden] { display: none; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-family: var(--f-head); font-weight: 500; font-size: 1.1rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23008C8C' stroke-width='1.5'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans { padding: 0 56px 28px 0; color: var(--ink-2); max-width: 44rem; font-weight: 300; }
.faq-item .ans a { color: var(--globo); }
.faq-empty { padding: 32px 0; color: var(--ink-3); }

/* ---------- Atendimento ---------- */
.audience { display: flex; gap: 8px; flex-wrap: wrap; }
.support-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .support-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.support {
  padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--white);
  display: flex; flex-direction: column; gap: 18px; min-height: 260px;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease), opacity .3s;
}
.support:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(2,26,29,.35); }
.support[hidden] { display: none; }
.support .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--globo); display: grid; place-items: center; }
.support .ico svg { width: 22px; height: 22px; }
.support h3 { font-size: 1.25rem; }
.support p { font-size: var(--t-sm); color: var(--ink-3); }
.support ul { list-style: none; display: grid; gap: 8px; margin-top: auto; font-size: var(--t-sm); }
.support li a { display: flex; gap: 10px; align-items: center; color: var(--globo); font-weight: 500; word-break: break-word; }
.support li a:hover { color: var(--medic); }
.support li svg { width: 16px; height: 16px; flex-shrink: 0; }
.support .who { font-size: .7rem; font-family: var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* Local (contato) */
.place { display: grid; gap: 16px; }
@media (min-width: 1100px) { .place { grid-template-columns: 5fr 7fr; gap: 20px; } }
.place-card { background: var(--deep); color: var(--on-deep); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1100px) { .place-card { padding: 48px; } }
.place-card .eyebrow svg { width: 16px; height: 16px; flex-shrink: 0; }
.place-card h2 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
/* Contato (Onde estamos): card e mapa mais compactos */
.place > .place-card { padding: 28px; gap: 20px; }
@media (min-width: 1100px) { .place > .place-card { padding: 36px; } }
.place > .place-card h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
/* Contato: abas de cidade alternando quatro endereços (cartão + mapa) */
.places-tabs [role=tablist] { margin-bottom: 20px; }
.places-tabs [role=tab] { cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.places-tabs [role=tab]:not([aria-selected=true]):hover { border-color: var(--globo); color: var(--globo); }
.place-card .badge { align-self: flex-start; }
.place-card dl { margin: 0; display: grid; gap: 0; }
.place-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-deep); font-size: var(--t-sm); }
.place-card dt { color: var(--on-deep-2); }
.place-card dd { margin: 0; color: var(--white); text-align: right; font-family: var(--f-head); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.place-card dt { flex-shrink: 0; max-width: 45%; }
.place-media { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 320px; background: var(--deep-2); }
.place-media iframe, .place-media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.place-ctrl { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; border-radius: var(--r-pill); background: rgba(2,26,29,.7); backdrop-filter: blur(12px); color: var(--white); font-family: var(--f-head); font-size: .85rem; z-index: 2; }
.place-ctrl .btns { display: flex; gap: 6px; }
.place-ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: grid; place-items: center; }
.place-ctrl button:last-child { background: #fff; color: var(--deep); }
.place-ctrl svg { width: 18px; height: 18px; }
.place-media img { opacity: 0; transition: opacity .8s var(--ease); }
.place-media img.is-active { opacity: 1; }

/* Formulário em painel */
.form-panel { background: #EFF7F8; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; }
@media (min-width: 1100px) { .form-panel { padding: 48px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-ok { display: none; padding: 20px; border-radius: var(--r-md); background: rgba(0,140,140,.1); color: var(--globo); font-weight: 500; }
.form-ok.is-visible { display: block; }
.form-fail { background: rgba(180,35,24,.08); color: #B42318; }
.topic-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-grid input { position: absolute; opacity: 0; pointer-events: none; }
.topic-grid label { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--t-sm); cursor: pointer; transition: .2s; font-family: var(--f-head); color: var(--ink-2); }
.topic-grid input:checked + label { background: var(--globo); border-color: var(--globo); color: var(--white); }
.topic-grid input:focus-visible + label { outline: 3px solid var(--medic); outline-offset: 2px; }

/* Rede — mapa */
.map-shell { display: grid; gap: 16px; }
@media (min-width: 1100px) { .map-shell { grid-template-columns: 380px 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; min-height: 620px; } }
.map-side { padding: 24px; display: grid; gap: 20px; align-content: start; background: var(--white); }
@media (min-width: 1100px) { .map-side { padding: 32px; border-right: 1px solid var(--line-2); max-height: 720px; overflow-y: auto; } }
#map { min-height: 420px; border-radius: var(--r-lg); background: var(--mist-2); z-index: 1; }
@media (min-width: 1100px) { #map { border-radius: 0; min-height: 100%; } }
.city-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.city-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; background: none; border: 0; border-bottom: 1px solid var(--line-2); text-align: left; font-size: var(--t-sm); }
.city-list button:hover, .city-list button.is-active { color: var(--globo); }
.city-list button span { font-size: .7rem; color: var(--ink-3); font-family: var(--f-head); letter-spacing: .06em; }
.leaflet-container { font-family: var(--f-body) !important; }
.mg-pin { width: 18px; height: 18px; border-radius: 50%; background: var(--medic); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(0,140,140,.2); }
.mg-pin.hq { background: var(--globo); width: 22px; height: 22px; }

.search-big { display: grid; gap: 10px; padding: 10px; border-radius: 24px; background: var(--white); box-shadow: 0 30px 60px -40px rgba(2,26,29,.45); border: 1px solid var(--line-2); }
@media (min-width: 1100px) { .search-big { grid-template-columns: 1.2fr 1fr 1fr auto; } }
.search-big .f { position: relative; }
.search-big .f label { position: absolute; left: 18px; top: 10px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-family: var(--f-head); }
.search-big input, .search-big select { width: 100%; height: 66px; border: 1px solid transparent; border-radius: 16px; background: var(--mist); padding: 22px 18px 0; appearance: none; -webkit-appearance: none; }
.search-big input:focus, .search-big select:focus { outline: none; border-color: var(--medic); background: var(--white); }
.search-big .btn { min-height: 66px; border-radius: 16px; }

/* Split editorial genérico */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1100px) { .split { grid-template-columns: 1fr 1fr; gap: 96px; } .split--57 { grid-template-columns: 5fr 7fr; } .split--75 { grid-template-columns: 7fr 5fr; } }
.img-round { border-radius: var(--r-lg); overflow: hidden; background: var(--mist-2); }
.img-round img { width: 100%; height: 100%; object-fit: cover; }
.img-arch { border-radius: 400px 400px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--mist-2); }
.img-arch img { width: 100%; height: 100%; object-fit: cover; }
.bleed-right { margin-right: calc(-1 * var(--gutter)); }
@media (min-width: 1100px) { .bleed-right { border-radius: var(--r-lg) 0 0 var(--r-lg); } }

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(0,140,140,.12) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%2300626D' stroke-width='1.6'/%3E%3C/svg%3E"); }
.deep .checklist li::before { background-color: rgba(79,195,195,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%234FC3C3' stroke-width='1.6'/%3E%3C/svg%3E"); }

.feature-list { display: grid; gap: 32px; }
@media (min-width: 720px) { .feature-list { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
.feature-list > div { display: flex; gap: 16px; }
.feature-list .ico { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--globo); }
.deep .feature-list .ico { border-color: var(--line-deep); color: var(--glow); }
.feature-list .ico svg { width: 20px; height: 20px; }
.feature-list h3 { font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -.01em; }
.feature-list p { font-size: var(--t-sm); color: var(--ink-3); }
.deep .feature-list p { color: var(--on-deep-2); }

/* Grade de imagens rolando (marquee vertical) */
.vmarquee { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); }
.vcol { display: flex; flex-direction: column; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .vcol { animation: vscroll 50s linear infinite; }
  .vcol:nth-child(2) { animation-direction: reverse; }
}
@keyframes vscroll { to { transform: translateY(-50%); } }
.vcol img { border-radius: var(--r-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: saturate(.85); }

/* Tabs */
.tabs [role=tablist] { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.tabs [role=tab] { min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-family: var(--f-head); font-size: .9rem; color: var(--ink-2); }
.tabs [role=tab][aria-selected=true] { background: var(--globo); border-color: var(--globo); color: #fff; }
.tabs [role=tabpanel][hidden] { display: none; }

/* 404 radar */
.radar { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--deep-2); border: 1px solid var(--line-deep); overflow: hidden; }
.radar svg { position: absolute; inset: 8%; width: 84%; height: 84%; }
.radar .sweep { position: absolute; inset: 8%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(79,195,195,.35), transparent 22%); }
@media (prefers-reduced-motion: no-preference) { .radar .sweep { animation: spin 4s linear infinite; } }
.radar .lbl { position: absolute; font-family: var(--f-head); font-size: .62rem; letter-spacing: .18em; color: var(--on-deep-2); text-transform: uppercase; }

/* Revelação ao rolar */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .1s; } .js .reveal-d2 { transition-delay: .2s; } .js .reveal-d3 { transition-delay: .3s; }
}

/* Cookies */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 520px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px;
  box-shadow: 0 30px 60px -30px rgba(2,26,29,.45); display: none; gap: 16px; font-size: var(--t-sm);
}
@media (min-width: 720px) { .cookie { left: 24px; bottom: 24px; } }
.cookie.is-visible { display: grid; }
.cookie strong { font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; }
.cookie p { color: var(--ink-3); }
.cookie a { color: var(--globo); }
.cookie .btn-row .btn { flex: 1; min-height: 46px; }

/* Utilitários */
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); } .mt-9 { margin-top: var(--s-9); }
.mb-6 { margin-bottom: var(--s-6); } .mb-7 { margin-bottom: var(--s-7); } .mb-8 { margin-bottom: var(--s-8); } .mb-9 { margin-bottom: var(--s-9); }
.center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hide-sm { display: none; }
@media (min-width: 1100px) { .hide-sm { display: block; } .hide-lg { display: none; } }
.rule { height: 1px; background: var(--line-2); border: 0; margin: 0; }
.pending { outline: 1px dashed #D4A017; outline-offset: 4px; }

@media print {
  .site-header, .dock, .cookie, .site-footer, .search-overlay { display: none !important; }
  .page-hero { padding-top: 24px; }
}

/* Ajustes de densidade do header em telas médias */
.nav-trigger { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1379px) {
  .nav-main { margin-left: 12px; gap: 0; }
  .nav-trigger { padding: 8px 9px; font-size: .875rem; }
  .bar-actions .btn--sm { padding: 0 12px; font-size: .68rem; }
  .bar { gap: 12px; }
}
@media (min-width: 1100px) and (max-width: 1379px) {
  .btn--benef .benef-label { display: none; }
}
.bar-actions .btn svg, .lang-btn svg, .flag { flex-shrink: 0; }
.hub-node i { background: rgba(255,255,255,.1); }
.hub-node:hover i { background: rgba(255,255,255,.18); }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Plano em destaque (BLUE 300) mais alto que os vizinhos, sobressaindo para cima e alinhado pela base */
@media (min-width: 1100px) {
  .plans { padding-top: 64px; }
  .plan.is-focal { margin-top: -64px; }
}
/* Planos laterais (brancos): contorno e sombra suaves para destacar do fundo */
.plan:not(.is-focal) { border-color: rgba(0,98,109,.14); box-shadow: 0 1px 2px rgba(2,26,29,.04), 0 18px 40px -28px rgba(2,26,29,.28); }
.plan:not(.is-focal):hover { border-color: rgba(0,98,109,.26); box-shadow: 0 1px 2px rgba(2,26,29,.05), 0 30px 50px -32px rgba(2,26,29,.38); }
.plan .badge { align-self: flex-start; }
.plan .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }
.indexed > div { padding: 32px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: flex-start; }
.indexed > div .link { margin-top: auto; padding-top: 24px; border-bottom: 0; }
@media (min-width: 1100px) {
  .indexed > div { padding: 40px 40px 48px; border-left: 1px solid var(--line-2); }
  .indexed > div:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}
.pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.mg-pin { display: block; }
#map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.06); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.wipe-handle button { display: flex; align-items: center; justify-content: center; gap: 0; }
.wipe-handle button svg { width: 18px; height: 18px; }
.wipe-after .wipe-word, .wipe-before .wipe-word { white-space: nowrap; }

/* Serviços (home): cards separados em azul-escuro; no hover, azul-claro com texto escuro */
.indexed--cards { gap: 12px; border-top: 0; }
.indexed--cards a, .indexed--cards a.is-focal {
  padding: 32px 28px 36px; min-height: 0; border: 0; border-radius: var(--r-lg);
  background: var(--globo); color: var(--white); transition: background .4s var(--ease), color .4s var(--ease);
}
@media (min-width: 720px) { .indexed--cards { gap: 16px; } }
@media (min-width: 1100px) {
  .indexed--cards a, .indexed--cards a.is-focal { padding: 36px 32px 40px; min-height: 296px; }
  .indexed--cards a:nth-child(3n+1) { padding-left: 32px; }
}
.indexed--cards a h3, .indexed--cards a .go { color: var(--white); transition: color .4s var(--ease); }
.indexed--cards a p { color: rgba(255,255,255,.75); transition: color .4s var(--ease); }
.indexed--cards a .num { color: var(--glow); transition: color .4s var(--ease); }
.indexed--cards a:hover, .indexed--cards a:focus-visible { background: var(--tint); color: var(--ink); }
.indexed--cards a:hover h3, .indexed--cards a:focus-visible h3 { color: var(--ink); }
.indexed--cards a:hover p, .indexed--cards a:focus-visible p { color: var(--ink-2); }
.indexed--cards a:hover .num, .indexed--cards a:hover .go,
.indexed--cards a:focus-visible .num, .indexed--cards a:focus-visible .go { color: var(--globo); }
/* Mesmo padrão em blocos sem link (ex.: valores em Trabalhe conosco) */
.indexed--cards > div {
  padding: 32px 28px 36px; border: 0; border-radius: var(--r-lg);
  background: var(--globo); color: var(--white); transition: background .4s var(--ease), color .4s var(--ease);
}
@media (min-width: 1100px) {
  .indexed--cards > div, .indexed--cards > div:nth-child(3n+1) { padding: 36px 32px 40px; border-left: 0; }
}
.indexed--cards > div h3 { color: var(--white); transition: color .4s var(--ease); }
.indexed--cards > div p { color: rgba(255,255,255,.75); transition: color .4s var(--ease); }
.indexed--cards > div .num { color: var(--glow); transition: color .4s var(--ease); }
.indexed--cards > div:hover { background: var(--tint); color: var(--ink); }
.indexed--cards > div:hover h3 { color: var(--ink); }
.indexed--cards > div:hover p { color: var(--ink-2); }
.indexed--cards > div:hover .num { color: var(--globo); }

/* Etapas com 3 passos (Trabalhe conosco): mesmo padrão do "Como funciona", em 3 colunas */
@media (min-width: 1100px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }


/* ==========================================================================
   Central de acessibilidade (assets/js/a11y.js)
   Medidas do painel em px para ele não crescer junto com o "tamanho do texto".
   ========================================================================== */
/* Aba fixa no meio da lateral direita. Ao abrir o painel (ou o VLibras) ela desliza para o canto inferior
   só com transform, e volta exatamente ao centro ao fechar — sem mudar top/bottom, para não haver salto. */
.a11y { --a11y-tab-h: 80px; }
.a11y-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 2147483000;
  display: grid; gap: 2px; padding: 3px; border-radius: 12px 0 0 12px;
  background: var(--globo); box-shadow: 0 10px 26px -10px rgba(2,26,29,.45);
  transition: transform .35s var(--ease);
}
.a11y.is-open .a11y-tab, html.a11y-libras-open .a11y-tab { transform: translateY(calc(50vh - 100% - 16px)); }
@media (prefers-reduced-motion: reduce) { .a11y-tab { transition: none; } }
.a11y-fab {
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; display: grid; place-items: center;
  background: transparent; color: var(--white); cursor: pointer; transition: background .2s;
}
.a11y-fab:hover, .a11y.is-open .a11y-fab:first-child { background: rgba(255,255,255,.16); }
.a11y-fab svg { width: 20px; height: 20px; }
.a11y-fab:focus-visible { outline: 2px solid var(--white); outline-offset: -3px; }
/* O VLibras é aberto pelos botões da central; o botão próprio dele ficaria no mesmo lugar */
#vlibras-access-wrapper { display: none !important; }

/* Painel acima da aba (que fica no canto inferior enquanto ele está aberto) */
.a11y-panel {
  position: fixed; right: 12px; bottom: calc(16px + var(--a11y-tab-h) + 12px); z-index: 2147483001;
  width: 356px; max-height: min(660px, calc(100vh - var(--a11y-tab-h) - 44px)); display: flex; flex-direction: column;
  background: var(--white); color: var(--ink); border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 30px 80px -24px rgba(2,26,29,.5); font-family: var(--f-head); font-size: 14px; line-height: 1.35;
}
.a11y-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .a11y-panel { animation: a11y-in .2s var(--ease); } }
@keyframes a11y-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 719px) {
  .a11y-panel { left: 8px; right: 8px; width: auto; }
}
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 12px 20px; border-bottom: 1px solid var(--line-2); }
.a11y-head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--globo); }
.a11y-head h2 svg { width: 22px; height: 22px; }
.a11y-head h2:focus { outline: none; }
.a11y-head h2:focus-visible { outline: 3px solid var(--medic); outline-offset: 4px; }
.a11y-close { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer; }
.a11y-close:hover { background: var(--mist); }
.a11y-close svg { width: 18px; height: 18px; }
.a11y-body { overflow-y: auto; padding: 2px 16px 16px; overscroll-behavior: contain; }
.a11y-label { margin: 16px 4px 8px; font-family: var(--f-head); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px;
  min-height: 74px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--mist);
  color: var(--ink); text-align: left; font: 500 13px/1.25 var(--f-head); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.a11y-grid button svg { width: 22px; height: 22px; color: var(--globo); flex-shrink: 0; }
.a11y-grid button small { display: block; margin-top: 2px; font: 400 11px/1.3 var(--f-body); color: var(--ink-3); }
.a11y-grid button:hover { background: var(--tint); border-color: rgba(0,140,140,.4); }
.a11y-grid button[aria-pressed="true"] { background: var(--globo); border-color: var(--globo); color: var(--white); }
.a11y-grid button[aria-pressed="true"] svg { color: var(--white); }
.a11y-grid button:disabled { opacity: .45; cursor: not-allowed; }
.a11y-grid .is-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; min-height: 0; background: var(--tint); border-color: rgba(0,140,140,.3); }
.a11y-grid .is-wide svg { width: 26px; height: 26px; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--mist); font-size: 13px; font-weight: 500; }
.a11y-size button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--globo); cursor: pointer; }
.a11y-size button:hover { border-color: var(--medic); }
.a11y-size button:disabled { opacity: .4; cursor: not-allowed; }
.a11y-size button svg { width: 22px; height: 22px; }
.a11y-size output { margin-left: 4px; font-weight: 600; color: var(--globo); }
.a11y-reading { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--globo); color: var(--white); font-size: 13px; }
.a11y-reading[hidden] { display: none; }
.a11y-reading span { flex: 1; }
.a11y-reading button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: var(--white); cursor: pointer; }
.a11y-reading button:hover { background: rgba(255,255,255,.28); }
.a11y-reading button svg { width: 18px; height: 18px; }
.a11y-reading .is-paused { background: var(--white); color: var(--globo); }
.a11y-note { margin: 8px 4px 0; font: 400 11.5px/1.45 var(--f-body); color: var(--ink-3); }
.a11y-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line-2); }
.a11y-reset { width: 100%; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-pill); border: 1px solid rgba(11,27,29,.22); background: var(--white); color: var(--ink); font: 500 13px var(--f-head); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.a11y-reset:hover { background: var(--ink); color: var(--white); }
.a11y-reset svg { width: 18px; height: 18px; }
.a11y-panel :focus-visible { outline: 3px solid var(--medic); outline-offset: 2px; }

/* ---- Recursos aplicados ao site (classes em <html>) ---- */
html[data-a11y-size="-1"] { font-size: 90%; }
html[data-a11y-size="1"] { font-size: 112.5%; }
html[data-a11y-size="2"] { font-size: 125%; }
html[data-a11y-size="3"] { font-size: 137.5%; }
html[data-a11y-size="4"] { font-size: 150%; }

html.a11y-gray { filter: grayscale(1); }

html.a11y-links a:not(.a11y *) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; outline: 2px solid var(--medic) !important; outline-offset: 2px; }
html.a11y-headings :is(h1, h2, h3, h4, h5, h6):not(.a11y *) { outline: 2px dashed var(--medic); outline-offset: 6px; border-radius: 4px; }
html.a11y-noimg :is(img, picture, video):not(.a11y *) { visibility: hidden !important; }

/* Espaçamento conforme WCAG 1.4.12: linhas 1,5; letras 0,12em; palavras 0,16em; parágrafos 2em */
html.a11y-spacing body *:not(.a11y *):not(svg *) { line-height: 1.5 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing p:not(.a11y *) { margin-bottom: 2em !important; }

html.a11y-font body, html.a11y-font body *:not(svg *) { font-family: "Atkinson Hyperlegible", Verdana, Tahoma, sans-serif !important; }

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion.js .reveal { opacity: 1 !important; transform: none !important; }

/* Alto contraste: fundo preto, texto branco, links e controles em amarelo */
html.a11y-contrast body, html.a11y-contrast body *:not(svg *):not(#vlibras-app-root):not(#vlibras-app-root *) {
  background-color: #000 !important; background-image: none !important; color: #fff !important;
  border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-contrast :is(a, a *, button, button *, .btn, [role="button"]):not(#vlibras-app-root *) { color: #FFE14D !important; }
html.a11y-contrast :is(a.btn, button.btn, .a11y-grid button, .a11y-size button, .a11y-reset, .a11y-close) { border: 2px solid #FFE14D !important; }
html.a11y-contrast .a11y-grid button[aria-pressed="true"] { outline: 3px solid #FFE14D !important; outline-offset: 2px; text-decoration: underline; }
html.a11y-contrast :is(input, select, textarea) { border: 2px solid #fff !important; }
html.a11y-contrast ::placeholder { color: #ccc !important; }
html.a11y-contrast :focus-visible { outline: 3px solid #FFE14D !important; outline-offset: 3px; }
html.a11y-contrast .hero-media .frame::after { display: none; }

/* Guia de leitura */
.a11y-guide-bar { display: none; position: fixed; left: 0; right: 0; top: 0; height: 44px; z-index: 2147482999; pointer-events: none; background: rgba(79,195,195,.14); border-block: 2px solid var(--medic); }
html.a11y-guide .a11y-guide-bar { display: block; }

/* Trecho sendo lido em voz alta */
.a11y-speaking { background: #FFF3A3 !important; color: var(--ink) !important; outline: 2px solid #E0B400; outline-offset: 2px; border-radius: 4px; }

@media print { .a11y, .a11y-guide-bar { display: none !important; } }

/* Rodapé: crédito de desenvolvimento */
.footer-credit a { color: var(--white); }

/* Faixa de cidades da Rede de cuidado: itens menores e movimento mais lento e discreto */
.marquee--sm .marquee-item { padding: 8px 16px; font-size: .85rem; gap: 8px; }
.marquee--sm .marquee-item::before { width: 5px; height: 5px; }
@media (prefers-reduced-motion: no-preference) { .marquee--sm .marquee-track { animation-duration: 80s; } }

/* Área do Beneficiário (home): título em até duas linhas na coluna estreita */
.eco-title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem); }

/* Artes com texto (ex.: comunicados do site antigo): exibidas inteiras, sobre a mesma cor de fundo da arte */
.img--art { background: #F3FBFD !important; }
.img--art img { object-fit: contain !important; }
.post-feature:hover .img--art img, .card-post:hover .img--art img { transform: none; }


/* Parallax "Depois da contratação": os quadros esmaecem no fim da seção, sem corte seco, e emendam no rodapé */
.mosaic-grid {
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 22%, #000 70%), linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, transparent 22%, #000 70%), linear-gradient(180deg, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* Área do Beneficiário: a tela do celular ocupa o aparelho inteiro, sem a moldura escura em volta */
.phone { padding: 0; background: none; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.phone-screen { border-radius: 44px; }

/* Banners das páginas internas no molde do hero da home */
.hero--page .crumbs { margin-bottom: 32px; }
@media (min-width: 1100px) { .hero--page .grid { align-items: stretch; } }
@media (max-width: 1099px) { .hero--page .hero-chips { bottom: 16px; } }

/* Banners (home e páginas internas): conteúdo mais alto e compacto para caber inteiro em telas de notebook */
@media (min-width: 1100px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero--page { padding-top: calc(var(--header-h) + 20px); }
  .hero--page .crumbs { margin-bottom: 16px; }
  .hero-copy .lead { font-size: var(--t-md); margin-bottom: 24px; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-foot { margin-top: 24px; padding-top: 16px; gap: 8px 28px; }
  .hero--page .hero-copy h1 { font-size: clamp(2.375rem, 1rem + 2.3vw, 3.25rem); }
  .hero-media .frame { min-height: min(calc(100svh - var(--header-h) - 96px), 640px); }
}
@media (min-width: 1100px) and (max-height: 760px) {
  .hero-copy h1, .hero-title { margin-bottom: 14px; }
  .hero-copy .lead { margin-bottom: 20px; }
  .hero--page .hero-copy h1 { font-size: clamp(2.25rem, 1rem + 2vw, 2.875rem); }
}

/* Título em duas linhas fixas (cada metade numa linha) quando há espaço; no celular volta a quebrar livremente */
.title-2l { font-size: clamp(1.75rem, 0.9rem + 1.5vw, 2.375rem); }
@media (min-width: 1100px) { .title-2l span { display: block; } }

/* ==========================================================================
   Formulários no padrão do site: mesma fonte, altura, borda e seta em todos os campos
   ========================================================================== */
.field input, .field select, .field textarea { font: 400 var(--t-sm)/1.4 var(--f-body); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(0,140,140,.45); }
/* Seta própria no <select> (vale também em celular, onde a lista nativa do aparelho é mantida) */
.field select, .search-big select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300626D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
/* Mensagens de erro só aparecem depois da validação (antes, a do consentimento ficava sempre visível) */
.error:not(.is-visible) { display: none; }
.error { font-size: var(--t-xs); color: #B42318; }
.check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--globo); cursor: pointer; }

/* Dropdown customizado em fundo claro (formulários e busca da rede) */
.field .dd-btn {
  height: 52px; padding: 0 44px 0 16px; border-radius: var(--r-md); border: 1px solid rgba(11,27,29,.18);
  background: var(--white); color: var(--ink); font: 400 var(--t-sm)/1.4 var(--f-body);
  transition: border-color .2s, box-shadow .2s;
}
.search-big .dd-btn {
  height: 66px; padding: 22px 44px 0 18px; border-radius: 16px; border: 1px solid transparent;
  background: var(--mist); color: var(--ink); font: 400 1rem var(--f-body);
}
.field .dd-btn::after, .search-big .dd-btn::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300626D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field .dd-btn:hover { background: var(--white); border-color: rgba(0,140,140,.45); }
.search-big .dd-btn:hover { background: var(--mist-2); border-color: transparent; }
.field .dd-btn:focus-visible, .field.is-open .dd-btn,
.search-big .dd-btn:focus-visible, .search-big .f.is-open .dd-btn { outline: none; border-color: var(--medic); box-shadow: 0 0 0 4px rgba(0,140,140,.12); }
.dd-btn.is-empty { color: var(--ink-3); }
.dd-btn[aria-invalid="true"] { border-color: #B42318 !important; }
.field.has-dd { position: relative; }
.field .dd-list { top: calc(100% + 6px); }
.search-big .f.has-dd select, .field.has-dd select { display: none; }
.search-big .f.has-dd label { z-index: 1; pointer-events: none; }
.search-big { position: relative; z-index: 5; }
.has-dd.is-open .dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
.has-dd.is-open .dd-btn::after { transform: rotate(180deg); }
.search-big .dd-btn.is-empty { color: var(--ink); }
/* Banner com busca (Rede credenciada): deixa a lista aberta passar do fim do banner */
.page-hero:has(.search-big) { overflow: visible; overflow-x: clip; z-index: 3; }

/* Rodapé: links das páginas ficam no azul da marca ao passar o cursor (tom claro, legível sobre o fundo escuro) */
.site-footer nav a:hover, .site-footer nav a:focus-visible, .footer-legal .legal-links a:hover, .footer-legal .legal-links button:hover { color: var(--glow); }
.footer-legal .legal-links a, .footer-legal .legal-links button { transition: color .25s var(--ease); }

/* "Como podemos ajudar?": azul-escuro por padrão e azul-claro no hover */
.need { background: var(--globo); color: var(--white); }
.need small { color: rgba(255,255,255,.75); }
.need .need-ico { background: rgba(255,255,255,.14); color: var(--white); }
.need .arrow { color: var(--glow); }
.need:hover, .need:focus-visible { background: var(--tint); color: var(--ink); }
.need:hover small, .need:focus-visible small { color: var(--ink-3); }
.need:hover .need-ico, .need:focus-visible .need-ico { background: var(--white); color: var(--globo); }
.need:hover .arrow, .need:focus-visible .arrow { color: var(--globo); }

/* Rede de cuidado: filtros soltos na seção, sem o bloco de fundo */
.hub-section .finder { padding: 0; gap: 10px; background: none; border: 0; border-radius: 0; }
.hub-section .field-dark select, .hub-section .dd-btn { background-color: rgba(255,255,255,.07); border-color: var(--line-deep); }

/* Faixas rotativas: volta contínua — a distância percorrida (-50%) passa a incluir o espaço entre o último e o primeiro item */
.marquee-track { padding-right: 12px; }
/* Cidades da Rede de cuidado menores */
.marquee--sm .marquee-track { gap: 8px; padding-right: 8px; }
.marquee--sm .marquee-item { padding: 6px 12px; font-size: .75rem; letter-spacing: .02em; gap: 6px; }
.marquee--sm .marquee-item::before { width: 4px; height: 4px; }
.hub-section .dd-btn.is-empty, .field-dark .dd-btn.is-empty { color: var(--white); }

/* Selos oficiais das lojas (parallax "Depois da contratação") — mesma altura visível nos dois */
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin-top: 8px; }
.store-badge { --h: 48px; display: block; height: var(--h); border-radius: 8px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.store-badge img { display: block; height: 100%; width: auto; }
/* O PNG do Google tem margem transparente embutida (badge ocupa 168 de 250px de altura) */
.store-badge--google img { height: calc(var(--h) * 250 / 168); margin: calc(var(--h) * -41 / 168) calc(var(--h) * -41 / 168); }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.store-badge:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
@media (min-width: 720px) { .store-badge { --h: 54px; } }
.store-badge--google { width: calc(var(--h) * 564 / 168); }
.store-badge img { max-width: none; }

/* Home: títulos dos slides 2 e 3 no mesmo tamanho do slide 1, e textos um pouco mais para o centro (imagens intactas) */
@media (min-width: 1100px) {
  .hero-copy .hero-title { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.75rem); }
  /* Textos da home alinhados à mesma margem esquerda do menu (logo) */
  .hero:not(.hero--page) .hero-copy { padding-left: 0; }
}
/* Rodapé: "Grupo Awtech" sempre no azul da marca */
.footer-credit a, .footer-credit a:hover { color: var(--glow); }

/* Banners: bloco de textos (chapéu, título, descrição, botões) centralizado na altura da imagem */
@media (min-width: 1100px) {
  .hero-slide .hero-copy, .hero--page .hero-copy { justify-content: center; padding-bottom: 0; }
}
@media (min-width: 1100px) { .hero--page .hero-copy { padding-left: clamp(0px, 4vw - 24px, 48px); } }

/* Rede credenciada: busca logo abaixo do banner, com a lista aberta sem ser cortada */
.hero--search { overflow: visible; overflow-x: clip; z-index: 3; padding-bottom: 8px; }
.hero--search .search-big { margin-top: 40px; }

/* Dúvidas (Planos): perguntas em duas colunas, três em cada */
.faq-cols { display: grid; gap: 0 48px; align-items: start; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 1fr 1fr; } }
.faq-col .faq-item .ans { padding-right: 16px; }

/* Serviços · Aplicativo: cartão com texto, recursos e selos à esquerda; celular em painel escuro à direita */
.app-card { display: grid; gap: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line-2); margin-block: 24px; }
@media (min-width: 1100px) { .app-card { grid-template-columns: 7fr 5fr; gap: 56px; padding: 56px 0 56px 56px; align-items: center; } }
.app-card-copy { display: grid; gap: 20px; align-content: center; }
.app-card-copy .eyebrow { margin-bottom: 0; }
.app-features { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .app-features { grid-template-columns: 1fr 1fr; gap: 16px 24px; } }
.app-features li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-3); line-height: 1.45; }
.app-features i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--globo); border: 1px solid var(--line-2); }
.app-features i svg { width: 20px; height: 20px; }
.app-features b { display: block; font-family: var(--f-head); font-weight: 500; color: var(--ink); font-size: .95rem; }
.store-badges--start { justify-content: flex-start; margin-top: 0; }
.app-card-media { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 520px; padding: 32px 0; border-radius: var(--r-lg); }
@media (min-width: 1100px) { .app-card-media { border-radius: var(--r-lg) 0 0 var(--r-lg); min-height: 600px; } }
.app-card-media .orbits { inset: -10%; width: 120%; height: 120%; color: var(--glow); opacity: .35; }
.app-card .store-badge:hover { box-shadow: 0 10px 24px -12px rgba(2,26,29,.45); }

/* Beneficiário: Carteirinha / Plano / Exames em cartões no padrão do site, com botão na base */
.info-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-cards > div { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line-2); transition: background .4s var(--ease), border-color .4s var(--ease); }
.info-cards > div:hover { background: var(--tint); border-color: rgba(0,140,140,.25); }
.info-cards .num { font-family: var(--f-head); font-size: .8rem; letter-spacing: .1em; color: var(--medic); }
.info-cards h3 { font-size: var(--t-h4); }
.info-cards .btn { margin-top: auto; }
.info-cards p { margin-bottom: 28px; }

/* Faixa de cidades (Rede de cuidado): texto claro, sem contorno, separadas por um ponto */
.marquee--sm .marquee-track { gap: 0; padding-right: 0; }
.deep .marquee--sm .marquee-item, .marquee--sm .marquee-item {
  border: 0; border-radius: 0; padding: 4px 0; gap: 0; color: var(--on-deep); font-size: .82rem; letter-spacing: .04em;
}
.marquee--sm .marquee-item::before {
  width: 4px; height: 4px; margin: 0 18px; background: var(--glow); opacity: .9;
}
/* Cidades ainda mais claras: branco puro e peso médio */
.deep .marquee--sm .marquee-item, .marquee--sm .marquee-item { color: #fff; font-weight: 500; }
.hub-section .marquee--sm, #especialidades .marquee--sm { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* Cidades em cinza-claro */
.deep .marquee--sm .marquee-item, .marquee--sm .marquee-item { color: #C9D3D4; }
/* Rede de cuidado: cidades discretas, no estilo do rótulo "MedicGLOBAL" do diagrama (caixa-alta, fina, espaçada) */
.hub-section .marquee--sm .marquee-item, #especialidades .marquee--sm .marquee-item { font-family: var(--f-head); font-weight: 300; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.32); }
.hub-section .marquee--sm .marquee-item::before, #especialidades .marquee--sm .marquee-item::before { width: 3px; height: 3px; margin: 0 14px; background: rgba(255,255,255,.32); opacity: 1; }

/* Para você · Boleto: blocos no padrão do site, com botões no lugar dos links do texto */
.feature-list--actions { gap: 0; grid-auto-rows: 1fr; }
@media (min-width: 720px) { .feature-list--actions { gap: 0; } }
.feature-list--actions > div { gap: 16px; padding: 28px 24px; }
.feature-list--actions > div > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.feature-list--actions h3 { margin-bottom: 6px; }
.feature-list--actions p { max-width: 26ch; }
.feature-list--actions p { margin-bottom: 16px; }
.feature-list--actions .btn { margin-top: auto; }

/* Botões das lojas (Google Play / App Store): mesmo modelo em todo o site; cores seguem a seção */
.store-row { margin-top: 8px; }
.mosaic-content .store-row { justify-content: center; }
.btn--store { min-width: 196px; }
.btn--store svg { width: 20px; height: 20px; }
.btn--store:hover svg { transform: none; }
.btn--store:hover { --b-bg: var(--medic); --b-bd: var(--medic); }
de .btn--store-alt { --b-bg: transparent; --b-fg: var(--ink); --b-bd: rgba(11,27,29,.22); }
.btn--store-alt:hover { --b-bg: var(--ink); --b-fg: var(--white); --b-bd: var(--ink); }
.deep .btn--store { --b-bg: var(--white); --b-fg: var(--deep); --b-bd: var(--white); }
.deep .btn--store:hover { --b-bg: var(--glow); --b-fg: var(--deep); --b-bd: var(--glow); }
.deep .btn--store-alt { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(255,255,255,.3); }
.deep .btn--store-alt:hover { --b-bg: var(--white); --b-fg: var(--deep); --b-bd: var(--white); }
@media (max-width: 479px) { .store-row .btn--store { flex: 1 1 100%; } }

/* ===== Padrão único dos banners principais (Home como referência) =====
   Mesma tipografia e espaçamentos de chapéu, título, descrição e botões nos banners com e sem imagem. */
:is(.page-hero, .hero--page) { padding-top: calc(var(--header-h) + 40px); }
:is(.page-hero, .hero--page) .crumbs { margin-bottom: 32px; }
:is(.hero, .page-hero) .eyebrow { margin-bottom: 16px; }
:is(.page-hero, .hero--page) h1 { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.75rem); margin-bottom: 20px; }
.page-hero h1 { max-width: 24ch; }
.page-hero .lead { margin-top: 0; }
:is(.page-hero, .hero--page) .lead + .btn-row { margin-top: 0; }
.hero--page .hero-copy .lead { margin-bottom: 28px; }
@media (min-width: 1100px) {
  :is(.page-hero, .hero--page) { padding-top: calc(var(--header-h) + 32px); }
  :is(.page-hero, .hero--page) .crumbs { margin-bottom: 24px; }
  :is(.page-hero, .hero--page) h1, .hero--page .hero-copy h1 { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.75rem); }
  :is(.page-hero, .hero--page) .lead { font-size: var(--t-md); }
  .hero--page .hero-copy .lead { margin-bottom: 24px; }
  /* Banners com imagem: texto e imagem dentro da margem principal do site */
  .hero--page .hero-copy { padding-left: 0; }
  .hero--page .hero-media { margin-right: 0; }
  .hero--page .hero-media .frame { border-radius: 24px 24px 24px 220px; }
}
@media (min-width: 1100px) and (max-height: 760px) {
  :is(.page-hero, .hero--page) h1, .hero--page .hero-copy h1 { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.75rem); margin-bottom: 14px; }
}

/* Banners sem foto no mesmo molde dos banners com imagem: moldura com efeito da identidade (mosaico + órbitas) */
.hero--art { padding-bottom: clamp(40px, 2rem + 3vw, 88px); }
.hero-media .frame--art { display: grid; place-items: center; padding: 24px; aspect-ratio: auto; min-height: 340px; color: var(--glow);
  background: radial-gradient(120% 90% at 75% 15%, var(--medic) 0%, var(--globo) 38%, var(--deep) 70%, #021A1D 100%); }
@media (min-width: 720px) { .frame--art { min-height: 440px; } }
/* Mesma proporção das molduras com foto no celular e no tablet (as que trazem cartão crescem com o conteúdo) */
@media (max-width: 1099px) { .frame--art:not(.frame--card) { aspect-ratio: 4 / 4.6; min-height: 0; } }
@media (min-width: 720px) and (max-width: 1099px) { .frame--art:not(.frame--card) { aspect-ratio: 16 / 12; } }
@media (min-width: 1100px) { .hero--art .hero-media .frame--art { height: auto; min-height: min(calc(100svh - var(--header-h) - 96px), 640px); padding: 48px; } }
.frame--art .mosaic-grid { opacity: .75; -webkit-mask-image: radial-gradient(ellipse at center, transparent 18%, #000 75%); mask-image: radial-gradient(ellipse at center, transparent 18%, #000 75%); }
.frame--art::after { background: linear-gradient(180deg, transparent 60%, rgba(2,26,29,.3)); }
.art-emblem { position: relative; z-index: 2; width: clamp(112px, 9rem + 3vw, 184px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--glow);
  background: rgba(255,255,255,.07); border: 1px solid rgba(79,195,195,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 18px rgba(79,195,195,.07), 0 0 0 40px rgba(79,195,195,.035), 0 30px 60px -20px rgba(0,0,0,.5); }
.art-emblem svg { width: 42%; height: 42%; }
.art-card { position: relative; z-index: 2; width: min(100%, 460px); }
/* Banner com cartão próprio (Beneficiário): o cartão ocupa o espaço da imagem, sem moldura de fundo */
.hero-card { position: relative; z-index: 2; }
@media (min-width: 1100px) { .hero-media:has(> .hero-card) { display: flex; align-items: center; } .hero-card { width: 100%; } }
.frame--art .place-card { background: rgba(2,26,29,.72); border: 1px solid var(--line-deep); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
@media (max-width: 1099px) {
  .hero-media .frame--art:not(.frame--card) { min-height: 380px; place-items: start center; padding-top: 48px; }
  .hero-media .frame--card { padding: 16px; }
}

/* Notícias (referências informativas de fontes oficiais): cards e página interna */
.post-meta .src-tag { padding: 2px 8px; border-radius: var(--r-pill); background: var(--tint); color: var(--globo); font-size: .68rem; letter-spacing: .04em; }
.news-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: var(--t-xs); color: var(--ink-3); transition: color .2s, gap .25s var(--ease); }
.news-back svg { width: 16px; height: 16px; }
.news-back:hover { color: var(--globo); gap: 9px; }
.prose a.news-back { color: var(--ink-3); }
.prose a.news-back:hover { color: var(--globo); }
.news-src-line { margin-top: 16px; font-size: var(--t-sm); color: var(--ink-3); }
.news-src-line a { color: var(--globo); font-weight: 500; }
.news-figure { margin: 0; }
.news-figure figcaption { margin-top: 10px; font-size: var(--t-xs); color: var(--ink-3); text-align: right; }
.news-source { margin-top: 48px; padding: 24px 28px; border-radius: var(--r-md); background: var(--mist); border-left: 3px solid var(--medic); display: grid; gap: 12px; justify-items: start; }
.news-source p { margin: 0; }
.news-source-label { font-family: var(--f-head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--medic); }
.news-source .btn svg { width: 15px; height: 15px; }
/* título com área ampla, alinhado à margem do site; corpo em coluna única com largura de leitura confortável */
.page-hero h1.news-title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.5rem); max-width: none; text-wrap: pretty; }
.news-body, .prose--full { max-width: none; }
.news-body .lead, .prose--full .lead { max-width: none; }
.news-body p, .news-body li, .prose--full p, .prose--full li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* Conteúdo escrito no painel (páginas de cada ano da RN 565 e do IDSS): só usa a tipografia do site */
.doc-rich > *:first-child { margin-top: 0; }
.doc-rich > *:last-child { margin-bottom: 0; }
.doc-rich h2 { font-size: var(--t-h3); margin: 1.6em 0 .6em; }
.doc-rich h3 { font-size: var(--t-h4); margin: 1.5em 0 .5em; }
.doc-rich h4 { font-size: 1.125rem; letter-spacing: -.01em; margin: 1.3em 0 .4em; }
.doc-rich p, .doc-rich ul, .doc-rich ol { margin: 0 0 1em; }
.doc-rich ul, .doc-rich ol { padding-left: 1.2em; }
.doc-rich ul { list-style: disc; } .doc-rich ol { list-style: decimal; }
.doc-rich li + li { margin-top: .4em; }
.doc-rich li ul, .doc-rich li ol { margin: .4em 0 0; }
.doc-rich a { color: var(--globo); text-decoration: underline; text-underline-offset: 2px; }
.doc-rich strong { font-weight: 600; }
.doc-rich blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--medic); color: var(--ink-2); }
.doc-rich hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.doc-rich table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: var(--t-sm); }
.doc-rich th, .doc-rich td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.doc-rich th { background: var(--mist); font-family: var(--f-head); font-weight: 500; }
.doc-rich figure { margin: 1.4em 0; }
.doc-rich figure img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line-2); }
.doc-rich figure.img-half { width: 50%; }
@media (max-width: 640px) { .doc-rich figure.img-half { width: 100%; } }
.doc-rich figcaption { margin-top: 8px; font-size: var(--t-xs); color: var(--ink-3); }
.doc-rich .al-left { text-align: left; } .doc-rich .al-center { text-align: center; } .doc-rich .al-right { text-align: right; } .doc-rich .al-justify { text-align: justify; }
.doc-rich figure.al-center { margin-left: auto; margin-right: auto; } .doc-rich figure.al-right { margin-left: auto; }

/* "Depois da contratação" → rodapé: quadros um pouco mais visíveis, esmaecendo aos poucos até o azul do rodapé */
.mosaic .mosaic-grid span { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.mosaic .mosaic-grid {
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 78%), linear-gradient(180deg, #000 40%, rgba(0,0,0,.45) 70%, transparent 96%);
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 78%), linear-gradient(180deg, #000 40%, rgba(0,0,0,.45) 70%, transparent 96%);
}
/* Globo do rodapé: quando a página termina nessa seção, ele avança sobre ela em vez de ser cortado no limite.
   overflow-x: clip continua evitando rolagem lateral; no eixo vertical o globo pode sair do rodapé. */
main:has(> section.mosaic:last-child) + .site-footer { overflow-x: clip; overflow-y: visible; }
/* "Depois da contratação": respiro mais enxuto em cima, embaixo e entre os elementos */
.mosaic-content { gap: 18px; padding-block: clamp(64px, 2.5rem + 2.5vw, 88px) clamp(64px, 2.75rem + 2.5vw, 112px); }
.mosaic-content .eyebrow { margin-bottom: -4px; }
.mosaic-content .store-row { margin-top: 6px; }

/* Publicação sem foto cadastrada: o espaço da imagem recebe o fundo dos banners (degradê azul + órbitas animadas + globo da marca).
   Escala pelo menor lado do espaço (container query), então serve a cards 4:3 e ao destaque 21:9 sem deformar. */
.globe-art { position: absolute; inset: 0; overflow: hidden; container-type: size; display: grid; place-items: center; color: var(--glow);
  background: radial-gradient(120% 90% at 75% 15%, var(--medic) 0%, var(--globo) 38%, var(--deep) 70%, #021A1D 100%); }
.globe-art .orbits { width: 135cqmin; height: 135cqmin; left: 50%; top: 50%; margin: -67.5cqmin 0 0 -67.5cqmin; color: var(--glow); opacity: .55; }
.globe-art-emblem { position: relative; z-index: 1; width: 34cqmin; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(79,195,195,.4);
  box-shadow: 0 0 0 5cqmin rgba(79,195,195,.07), 0 0 0 11cqmin rgba(79,195,195,.035), 0 20px 50px -20px rgba(0,0,0,.5); }
.globe-art-emblem svg { width: 50%; height: 50%; }
.img--globe { position: relative; }
.card-post:hover .globe-art .orbits { opacity: .75; transition: opacity .6s; }

/* Central de Documentos · Reajustes: anos recentes em linhas, anos anteriores agrupados em <details> */
.rj { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.rj-head, .rj-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding-inline: clamp(20px, 1rem + 1vw, 32px); }
.rj-head { padding-block: 14px; background: var(--mist); border-bottom: 1px solid var(--line-2); font-family: var(--f-head); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rj-head span:last-child { text-align: right; }
.rj-list { list-style: none; margin: 0; padding: 0; }
.rj-row { padding-block: 22px; border-top: 1px solid var(--line-2); transition: background .25s; }
.rj-list > .rj-row:first-child { border-top: 0; }
.rj-row:not(.is-current):hover { background: rgba(227,240,241,.45); }
.rj-year { font-family: var(--f-head); font-weight: 500; font-size: 1.5rem; letter-spacing: -.02em; color: var(--globo); font-variant-numeric: tabular-nums; }
.rj-info { display: grid; gap: 6px; min-width: 0; }
.rj-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--f-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rj-badge { padding: 3px 9px; border-radius: var(--r-pill); background: rgba(79,195,195,.18); color: var(--glow); letter-spacing: .08em; }
.rj-period { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rj-period svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--medic); }
.rj-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rj-doc { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); color: var(--globo); font-size: .8rem; line-height: 1.3; transition: background .2s, border-color .2s; }
.rj-doc svg { width: 15px; height: 15px; flex-shrink: 0; }
.rj-doc:hover, .rj-doc:focus-visible { background: var(--tint); border-color: rgba(0,98,109,.35); }
.rj-pct { font-family: var(--f-head); font-weight: 500; font-size: 1.375rem; letter-spacing: -.01em; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rj-pct .review-flag { font-size: .68rem; }
/* Ano vigente em destaque, no azul-escuro do site */
.rj-row.is-current { background: var(--deep); border-top-color: var(--deep); padding-block: 28px; }
.rj-row.is-current .rj-year, .rj-row.is-current .rj-pct { color: var(--white); }
.rj-row.is-current .rj-year { font-size: 1.75rem; }
.rj-row.is-current .rj-pct { font-size: 1.75rem; }
.rj-row.is-current .rj-cat { color: var(--on-deep-2); }
.rj-row.is-current .rj-period { color: var(--on-deep); }
.rj-row.is-current .rj-period svg { color: var(--glow); }
/* Linha expansível "Anos anteriores" */
.rj-older { border-top: 1px solid var(--line-2); }
.rj-older > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(20px, 1rem + 1vw, 32px); background: var(--mist); cursor: pointer; list-style: none; transition: background .2s; }
.rj-older > summary::-webkit-details-marker { display: none; }
.rj-older > summary:hover { background: var(--tint); }
.rj-older > summary:focus-visible { outline: 2px solid var(--medic); outline-offset: -2px; }
.rj-older-title { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; color: var(--globo); }
.rj-older-title svg { width: 20px; height: 20px; color: var(--medic); }
.rj-older-title small { font-family: var(--f-body); font-weight: 400; font-size: var(--t-xs); color: var(--ink-3); }
.rj-chev { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--globo); transition: transform .35s var(--ease), background .2s; }
.rj-chev svg { width: 18px; height: 18px; }
.rj-older[open] > summary .rj-chev { transform: rotate(180deg); background: var(--globo); color: var(--white); border-color: var(--globo); }
.rj-older > .rj-list { border-top: 1px solid var(--line-2); }
@media (prefers-reduced-motion: no-preference) { .rj-older[open] > .rj-list { animation: rj-in .35s var(--ease); } }
@keyframes rj-in { from { opacity: 0; transform: translateY(-6px); } }
/* Celular: ano e percentual na primeira linha, detalhes embaixo */
@media (max-width: 719px) {
  .rj-head { display: none; }
  .rj-row { grid-template-columns: 1fr auto; grid-template-areas: "year pct" "info info"; padding-block: 18px; }
  .rj-year { grid-area: year; } .rj-pct { grid-area: pct; } .rj-info { grid-area: info; }
  .rj-row.is-current .rj-year, .rj-row.is-current .rj-pct { font-size: 1.5rem; }
}

/* Central de Documentos: busca e lista em cartões suaves (cantos arredondados, contornos leves, hover azul-claro) */
.doc-side { padding: 24px; border-radius: var(--r-lg); background: var(--mist); }
.doc-search-box { position: relative; }
.doc-search-box svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--medic); pointer-events: none; }
.doc-search .doc-search-box input { padding-left: 46px; border-radius: var(--r-pill); border-color: transparent; background: var(--white); box-shadow: 0 1px 2px rgba(2,26,29,.05); }
.doc-search .doc-search-box input:hover { border-color: rgba(0,140,140,.3); }
.doc-cats { gap: 4px; }
.doc-cats button { padding: 11px 14px; border-radius: var(--r-pill); border-color: transparent; background: transparent; transition: background .2s, color .2s; }
.doc-cats button:hover { background: var(--white); border-color: transparent; color: var(--globo); }
.doc-cats button span { min-width: 26px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--white); text-align: center; font-variant-numeric: tabular-nums; }
.doc-cats button:hover span { background: var(--tint); }
.doc-cats button[aria-pressed="true"] { background: var(--globo); border-color: var(--globo); box-shadow: 0 10px 24px -14px rgba(0,98,109,.7); }
.doc-cats button[aria-pressed="true"] span { background: rgba(255,255,255,.16); color: var(--white); }
.doc-cats button:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; }
@media (max-width: 1099px) { .doc-cats button { background: var(--white); } }
.doc-list { gap: 12px; border-top: 0; }
.doc { padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--white); transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
@media (min-width: 720px) { .doc { padding: 22px 24px; } }
.doc:hover { border-color: rgba(0,98,109,.2); box-shadow: 0 18px 40px -30px rgba(2,26,29,.35); }
.doc-ico { border-radius: 14px; background: var(--tint); }

/* Reajustes: mesma divisão e cores, em cartões arredondados em vez de uma tabela quadrada */
.rj { display: grid; gap: 10px; background: none; border: 0; border-radius: 0; overflow: visible; }
.rj-head { background: none; border: 0; padding-block: 0 2px; }
.rj > .rj-list { display: grid; gap: 10px; }
.rj > .rj-list > .rj-row { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--white); }
.rj > .rj-list > .rj-row:not(.is-current):hover { background: var(--white); border-color: rgba(0,98,109,.2); box-shadow: 0 18px 40px -30px rgba(2,26,29,.35); }
.rj > .rj-list > .rj-row.is-current { background: var(--deep); border-color: var(--deep); box-shadow: 0 24px 50px -30px rgba(2,26,29,.6); }
.rj-older { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.rj-older > summary { background: var(--white); }
.rj-older > summary:hover { background: rgba(227,240,241,.55); }
.rj-older[open] > summary { background: rgba(227,240,241,.55); }
.rj-older > .rj-list { padding: 8px; display: grid; gap: 2px; }
.rj-older .rj-row { border-top: 0; border-radius: 14px; }
.rj-older .rj-row + .rj-row { position: relative; }
.rj-older .rj-row + .rj-row::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 1px; background: var(--line-2); }
.rj-older .rj-row:hover { background: var(--mist); }
.rj-older .rj-row:hover::before, .rj-older .rj-row:hover + .rj-row::before { opacity: 0; }

/* Seletor de idioma (cabeçalho): bandeira + sigla, menu suspenso em cartão; no celular só a bandeira */
.flag { display: block; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(11,27,29,.12); }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 12px 0 10px; border-radius: var(--r-pill); border: 0; background: none; color: var(--globo); font-family: var(--f-head); font-size: .74rem; font-weight: 500; letter-spacing: .06em; cursor: pointer; transition: opacity .2s; }
.lang-btn > svg:last-child { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { opacity: .75; }
.lang-btn[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.lang-btn:focus-visible, .lang-menu a:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 196px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 24px 48px -20px rgba(2,26,29,.35); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; font-family: var(--f-head); font-size: .9rem; color: var(--ink); transition: background .2s, color .2s; }
.lang-menu a .flag { width: 22px; height: 22px; }
.lang-menu a > svg:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--medic); opacity: 0; }
.lang-menu a[aria-current="true"] { color: var(--globo); }
.lang-menu a[aria-current="true"] > svg:last-child { opacity: 1; }
.lang-menu a:hover { background: var(--mist); color: var(--globo); }
/* a sigla do idioma fica só para leitores de tela (o rótulo do botão já diz o idioma); na tela, bandeira + seta */
.lang-code { display: none; }
.lang-btn { padding: 0 9px; gap: 4px; }
.site-header.on-dark:not(.is-scrolled):not(.is-open) .lang-btn { color: var(--white); }
/* Menu mobile: os dois idiomas lado a lado */
.drawer-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.drawer-lang a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line); font-family: var(--f-head); font-size: .9rem; color: var(--ink-2); }
.drawer-lang a[aria-current="true"] { border-color: var(--globo); background: var(--tint); color: var(--globo); }
/* Cabeçalho com o seletor de idioma: em telas médias o seletor fica só com a bandeira e os espaços encolhem */
@media (min-width: 1100px) and (max-width: 1599px) {
  .nav-main { margin-left: 12px; gap: 0; }
  .nav-trigger { padding: 8px 10px; }
  .bar { gap: 12px; }
  .bar-actions { gap: 8px; }
}
.nav-main, .nav-trigger svg { flex-shrink: 0; }
@media (min-width: 1100px) and (max-width: 1239px) {
  .nav-main { margin-left: 4px; }
  .nav-trigger { padding: 8px 7px; font-size: .84rem; gap: 4px; }
  .bar-actions .btn--sm { padding: 0 10px; }
}
/* Aviso de ASL (versão em inglês): mesmo padrão dos cartões do painel */
.a11y-asl { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--tint); border: 1px solid rgba(0,98,109,.18); font-size: .82rem; line-height: 1.5; color: var(--ink-2); display: grid; gap: 8px; }
.a11y-asl strong { color: var(--globo); }
.a11y-asl a { color: var(--globo); font-weight: 500; }
.a11y-asl:focus { outline: none; }
.a11y-asl:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; }

/* MedicGLOBAL · Nossa atuação: faixa de cidades no rodapé da seção (fundo branco, caixa-alta, separadas por ponto) */
#atuacao { padding-bottom: 0; }
#atuacao .grid.mb-8 { margin-bottom: var(--s-9); }
.atuacao-tags { padding: 8px 0 12px; display: grid; gap: 8px; }
.atuacao-tags .marquee-track { gap: 0; padding-right: 0; }
.atuacao-tags .marquee-item { border: 0; border-radius: 0; padding: 0; gap: 0; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #A9B4B6; }
.atuacao-tags .marquee-item::before { width: 4px; height: 4px; margin: 0 18px; background: var(--medic); opacity: 1; }

/* Notícias e conteúdos: título fixo durante a leitura e botão de compartilhar */
.news-sticky { position: sticky; top: var(--header-h); z-index: 90; height: 0; }
.news-sticky-bar { background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line-2); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.news-sticky.is-visible .news-sticky-bar { opacity: 1; transform: none; }
.news-sticky p { margin: 0; padding: 12px 0; font-family: var(--f-head); font-weight: 500; font-size: var(--t-sm); color: var(--globo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.news-share .btn svg { width: 17px; height: 17px; }
.news-share-ok { color: var(--medic); }

/* Barras de pesquisa no padrão da busca da home (pílula branca, lupa à esquerda, botão redondo com seta) */
.searchbar input { -webkit-appearance: none; appearance: none; color: var(--ink); }
.searchbar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.searchbar button { cursor: pointer; transition: background .2s; }
.searchbar button:hover { background: var(--medic); }
.doc-search .searchbar { max-width: none; }
/* Busca global (Ctrl+K) */
.search-panel-bar { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line-2); }
.search-panel-bar .searchbar { flex: 1; max-width: none; padding: 0; border: 0; display: block; }
.search-panel .searchbar input { height: 64px; padding: 0 64px 0 56px; border: 1px solid var(--line); font-size: 1.05rem; }
.search-panel .searchbar input:focus { border-color: var(--medic); box-shadow: 0 0 0 4px rgba(0,140,140,.12); }
/* Rede credenciada: mesma linguagem, com os filtros dentro da pílula */
.search-big { background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.search-big .f--q > svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--medic); z-index: 1; pointer-events: none; }
.search-big .f--q label { left: 52px; }
.search-big .f--q input { padding-left: 52px; }
.search-go { justify-self: end; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--globo); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.search-go:hover { background: var(--medic); }
.search-go svg { width: 18px; height: 18px; }
@media (max-width: 1099px) { .search-go { width: 100%; height: 56px; border-radius: var(--r-pill); } }
@media (min-width: 1100px) {
  .search-big { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; gap: 0; padding: 8px; border-radius: var(--r-pill); }
  .search-big input, .search-big select, .search-big .dd-btn { background: transparent; border-radius: var(--r-pill); }
  .search-big .f + .f { border-left: 1px solid var(--line-2); }
  .search-big .search-go { margin-left: 8px; }
}

/* Para você · Boleto: cards clicáveis (o próprio card é o botão de acesso) */
.action-cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .action-cards { grid-template-columns: 1fr 1fr; } }
.action-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); color: var(--ink); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.action-card .ico { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--globo); background: var(--white); }
.action-card .ico svg { width: 20px; height: 20px; }
.action-card-txt { display: grid; gap: 4px; padding-right: 40px; }
.action-card-txt strong { font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }
.action-card-txt span { font-size: var(--t-sm); color: var(--ink-3); }
.action-card-go { position: absolute; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--globo); transition: background .25s, color .25s, transform .25s var(--ease); }
.action-card-go svg { width: 16px; height: 16px; }
.action-card:hover { border-color: rgba(0,140,140,.35); box-shadow: 0 20px 40px -28px rgba(2,26,29,.35); transform: translateY(-2px); }
.action-card:hover .action-card-go { background: var(--globo); color: var(--white); transform: translateX(2px); }
.action-card:focus-visible { outline: 2px solid var(--medic); outline-offset: 3px; }

/* Notícias e conteúdos: barra de compartilhar (redes + botão) */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px 14px 20px; border-radius: var(--r-md); background: #EFF7F8; border: 1px solid var(--line); }
.share-bar-label { font-family: var(--f-head); font-weight: 500; font-size: var(--t-sm); color: var(--globo); }
.share-bar-nets { display: flex; flex-wrap: wrap; gap: 8px; }
.share-net { width: 36px; height: 36px; border-radius: 10px; border: 0; display: grid; place-items: center; background: var(--tint); color: var(--globo); cursor: pointer; transition: background .2s, color .2s; }
.share-net svg { width: 17px; height: 17px; }
.share-net:hover { background: var(--globo); color: var(--white); }
.share-net:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; }
.share-bar .btn { margin-left: auto; }
.share-bar .btn svg { width: 16px; height: 16px; }
.share-bar .news-share-ok { flex-basis: 100%; color: var(--medic); }
.share-bar .news-share-ok:empty { display: none; }
@media (max-width: 559px) { .share-bar .btn { margin-left: 0; width: 100%; } }

/* Atendimento · Central de atendimento: card único em destaque (painel escuro + ações sobrepostas) */
.central-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%); }
.central-alias { position: absolute; top: 0; }
.central { position: relative; display: grid; gap: 0; }
.central-main {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: end; gap: 14px;
  min-height: 340px; padding: 40px 28px 88px; border-radius: 28px; color: var(--white);
  background: radial-gradient(120% 90% at 100% 0%, rgba(79,195,195,.38) 0%, rgba(79,195,195,0) 55%), linear-gradient(140deg, var(--deep) 0%, var(--globo) 62%, #0A7F88 100%);
}
.central-deco { position: absolute; right: -60px; top: -40px; width: 420px; height: 420px; stroke: rgba(255,255,255,.14); stroke-width: 1; z-index: -1; }
.central-deco circle:first-child { fill: rgba(255,255,255,.04); }
.central-bubbles { position: absolute; right: 32px; top: 36px; display: grid; gap: 8px; justify-items: end; z-index: -1; }
.central-bubbles i { display: block; height: 14px; border-radius: 10px 10px 10px 3px; background: rgba(255,255,255,.14); }
.central-bubbles i:nth-child(1) { width: 92px; }
.central-bubbles i:nth-child(2) { width: 62px; border-radius: 10px 10px 3px 10px; background: rgba(79,195,195,.45); }
.central-bubbles i:nth-child(3) { width: 40px; }
.central-ico { position: relative; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; display: grid; place-items: center; background: var(--white); color: var(--globo); box-shadow: 0 18px 36px -14px rgba(0,0,0,.45); }
.central-ico svg { width: 28px; height: 28px; }
.central-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 24px; border: 1px solid rgba(255,255,255,.45); }
.central-eyebrow { font-family: var(--f-head); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.central-main h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); letter-spacing: -.03em; }
.central-main p { max-width: 30ch; color: var(--on-deep-2); font-size: var(--t-lg); line-height: 1.5; }
.central-side { position: relative; z-index: 1; margin: -64px 14px 0; }
.central-actions { list-style: none; margin: 0; padding: 10px; display: grid; gap: 6px; border-radius: 24px; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(2,26,29,.45), 0 2px 6px rgba(2,26,29,.05); }
.central-act { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; color: var(--ink); transition: background .25s, transform .25s var(--ease); }
.central-act-ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; transition: transform .3s var(--ease); }
.central-act-ico svg { width: 22px; height: 22px; }
.central-act--phone .central-act-ico { background: var(--tint); color: var(--globo); }
.central-act--wa .central-act-ico { background: #E5F5EA; color: #1E8A4A; }
.central-act--area .central-act-ico { background: var(--deep); color: var(--white); }
.central-act-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.central-act-txt small { font-family: var(--f-head); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.central-act-txt strong { font-family: var(--f-head); font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); }
.central-act--phone strong { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); color: #000; }
.central-act-go { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--globo); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.central-act-go svg { width: 16px; height: 16px; }
.central-act + .central-act, .central-actions li + li { border-top: 1px solid var(--line-2); }
.central-act:hover { background: var(--mist); }
.central-act:hover .central-act-ico { transform: scale(1.06) rotate(-4deg); }
.central-act:hover .central-act-go { background: var(--globo); border-color: var(--globo); color: var(--white); transform: translateX(3px); }
.central-act:focus-visible { outline: 2px solid var(--medic); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .central-ico::after { animation: central-pulse 2.8s ease-out infinite; }
  .central-bubbles i { animation: central-float 6s ease-in-out infinite; }
  .central-bubbles i:nth-child(2) { animation-delay: -2s; }
  .central-bubbles i:nth-child(3) { animation-delay: -4s; }
}
@keyframes central-pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes central-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (min-width: 720px) {
  .central-main { padding: 56px 48px 104px; min-height: 380px; }
  .central-side { margin: -72px 40px 0; }
}
@media (min-width: 1100px) {
  .central { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .central-main { min-height: 460px; padding: 64px 140px 64px 56px; align-content: center; }
  .central-side { margin: 0 0 0 -112px; }
  .central-actions { padding: 14px; }
  .central-act { padding: 20px; }
}

/* Atendimento · Dúvidas frequentes: introdução fixa + perguntas em cartões numerados */
.faq-sec { position: relative; overflow: hidden; }
.faq-sec::before { content: ""; position: absolute; left: -180px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 70px rgba(0,140,140,.03), 0 0 0 140px rgba(0,140,140,.02); pointer-events: none; }
.faq-sec-grid { position: relative; display: grid; gap: 40px; }
.faq-sec-intro { display: grid; gap: 16px; align-content: start; }
.faq-sec-intro .lead { max-width: 40ch; }
.faq-sec-help { display: flex; gap: 16px; align-items: flex-start; margin-top: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); max-width: 26rem; }
.faq-sec-help-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, var(--deep), var(--medic)); color: var(--white); }
.faq-sec-help-ico svg { width: 20px; height: 20px; }
.faq-sec-help p { margin-bottom: 12px; font-family: var(--f-head); font-weight: 500; color: var(--ink); }
.faq-sec-list { display: grid; gap: 12px; counter-reset: faq; align-items: start; }
.faq-sec-col { display: grid; gap: 12px; }
@media (min-width: 900px) { .faq-sec-list { grid-template-columns: 1fr 1fr; gap: 16px; } .faq-sec-col { gap: 16px; } }
.faq-sec .faq-item { counter-increment: faq; border: 1px solid var(--line-2); border-radius: 18px; background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.faq-sec .faq-item summary { padding: 20px 20px 20px 18px; gap: 16px; justify-content: flex-start; }
.faq-sec .faq-item summary::before { content: counter(faq, decimal-leading-zero); flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--globo); font-family: var(--f-head); font-size: .8rem; font-weight: 600; letter-spacing: .04em; transition: background .25s, color .25s; }
.faq-sec .faq-item summary::after { margin-left: auto; transition: transform .3s var(--ease), background-color .25s, border-color .25s; }
.faq-sec .faq-item:hover { border-color: rgba(0,140,140,.3); box-shadow: 0 18px 40px -30px rgba(2,26,29,.4); }
.faq-sec .faq-item[open] { border-color: rgba(0,140,140,.35); box-shadow: 0 24px 48px -32px rgba(2,26,29,.45); }
.faq-sec .faq-item[open] summary::before { background: var(--globo); color: var(--white); }
.faq-sec .faq-item[open] summary::after { background-color: var(--tint); border-color: transparent; }
.faq-sec .faq-item .ans { padding: 0 24px 24px 74px; max-width: none; }
.faq-sec .faq-item summary:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; border-radius: 18px; }
@media (prefers-reduced-motion: no-preference) { .faq-sec .faq-item[open] .ans { animation: faq-in .35s var(--ease); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 559px) { .faq-sec .faq-item .ans { padding-left: 18px; } }
@media (min-width: 1100px) {
  .faq-sec-grid { gap: 48px; }
  .faq-sec-intro { grid-template-columns: 1fr auto; column-gap: 48px; align-items: end; }
  .faq-sec-intro .eyebrow, .faq-sec-intro h2, .faq-sec-intro .lead { grid-column: 1; }
  .faq-sec-help { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-top: 0; }
}

/* Rede credenciada: Busca combinada (profissional/prestadores) e Busca avançada (um critério), dados em assets/data/rede.json */
.rb { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) {
  .rb { grid-template-columns: minmax(340px, 400px) 1fr; gap: 40px; }
  /* painel fixo com rolagem própria: com o mouse em cima, a roda rola os filtros e não os resultados */
  .rb-side { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0,98,109,.3) transparent; }
}
.rb-side .dd-list { overscroll-behavior: contain; }
.rb-side { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: #EFF7F8; border: 1px solid var(--line); }
.rb-side .eyebrow { margin: 0; }
.rb-title { font-size: var(--t-h4, 1.375rem); }
.rb-tabs [role=tablist] { margin-bottom: 20px; gap: 6px; }
.rb-tabs [role=tab] { flex: 1 1 0; padding: 0 14px; background: var(--white); cursor: pointer; }
.rb-form { display: grid; gap: 14px; }
.rb-form[hidden], .rb-form [hidden] { display: none; }
.rb-group { display: grid; gap: 14px; }
.rb-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); }
.rb-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 0; border-radius: var(--r-pill); background: transparent; font-family: var(--f-head); font-size: .85rem; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.rb-seg button svg { width: 16px; height: 16px; }
.rb-seg button[aria-pressed="true"] { background: var(--globo); color: var(--white); }
.rb-form .btn-row { margin-top: 6px; }
.rb-form .btn svg { width: 18px; height: 18px; }
.field .dd-btn:disabled { opacity: .55; cursor: not-allowed; }
.rb .label { display: block; font-family: var(--f-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

.rb-main { display: grid; gap: 16px; min-width: 0; }
.rb-start { display: grid; gap: 10px; justify-items: start; padding: 32px; border-radius: var(--r-lg); border: 1px dashed rgba(0,98,109,.3); }
.rb-start-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--globo); }
.rb-start-ico svg { width: 24px; height: 24px; }
.rb-start h3 { font-size: var(--t-h4, 1.375rem); }
.rb-start p { max-width: 40rem; }
.rb-atalhos { margin-top: 12px; }
.rb-err { display: none; color: #B42318; }
.rb.is-error .rb-err { display: block; }
.rb.is-error .rb-stat { display: none; }
.rb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.rb-count { font-family: var(--f-head); }
.rb-count strong { font-size: 1.5rem; color: var(--globo); margin-right: 4px; }
.rb-params { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rb-params li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--tint); color: var(--globo); font-size: var(--t-xs); font-family: var(--f-head); }
.rb-params li span { color: var(--ink-3); }
.rb-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .rb-list { grid-template-columns: 1fr 1fr; } }
.rb-item { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.rb-item:hover { border-color: rgba(0,140,140,.45); }
.rb-item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rb-kind { font-family: var(--f-head); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--medic); margin-right: auto; }
.rb-item h3 { font-size: 1.0625rem; line-height: 1.3; color: var(--ink); }
.rb-reg { font-size: var(--t-xs); color: var(--ink-3); }
.rb-esp { font-size: var(--t-sm); color: var(--globo); font-family: var(--f-head); font-weight: 500; }
.rb-addr { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
.rb-addr strong { color: var(--ink); font-weight: 500; font-family: var(--f-head); }
.rb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.rb-qs { display: inline-flex; gap: 4px; }
.rb-q { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--globo); color: var(--white); font-family: var(--f-head); font-size: .7rem; font-weight: 600; cursor: help; flex-shrink: 0; }
.rb-urg { background: #FDECEA; color: #B42318; }
.rb-none { grid-column: 1 / -1; padding: 24px; border-radius: var(--r-lg); background: var(--mist); color: var(--ink-2); }
.rb-more { justify-self: center; }
.rb-more[hidden], .rb-start[hidden], .rb-head[hidden] { display: none; }
.rb-foot { display: grid; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.rb-legend ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--t-xs); color: var(--ink-2); }
.rb-legend li { display: inline-flex; align-items: center; gap: 8px; }


/* Guia médico (guia-medico.html): painel da marca (passos + destaques) à esquerda e formulário à direita */
.gm-sec { position: relative; overflow: hidden; background: radial-gradient(60% 50% at 100% 0%, rgba(79,195,195,.16), transparent 70%), var(--mist); min-height: 60vh; padding-top: calc(var(--header-h) + 32px); }
.gm-shell { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 960px) { .gm-shell { grid-template-columns: 5fr 6fr; gap: 0; align-items: center; } }

.gm-brand {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: start; gap: 28px;
  padding: 36px 28px; border-radius: 28px; color: var(--white);
  background: radial-gradient(120% 90% at 100% 0%, rgba(79,195,195,.38) 0%, rgba(79,195,195,0) 55%), linear-gradient(140deg, var(--deep) 0%, var(--globo) 62%, #0A7F88 100%);
}
@media (min-width: 960px) { .gm-brand { min-height: 600px; padding: 48px 120px 48px 48px; margin-right: -72px; } }
.gm-deco { position: absolute; right: -60px; top: -40px; width: 420px; height: 420px; stroke: rgba(255,255,255,.14); stroke-width: 1; z-index: -1; }
.gm-deco circle:first-child { fill: rgba(255,255,255,.04); }
.gm-logo { width: 168px; height: auto; }
.gm-intro { display: grid; gap: 12px; }
.gm-eyebrow { font-family: var(--f-head); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.gm-intro h1 { color: var(--white); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); letter-spacing: -.03em; line-height: 1.02; }
.gm-intro p { max-width: 34ch; color: var(--on-deep-2); font-size: var(--t-md); line-height: 1.55; }

.gm-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.gm-steps li { display: flex; align-items: center; gap: 14px; font-family: var(--f-head); font-size: .92rem; color: var(--on-deep-2); transition: color .3s; }
.gm-steps span { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); font-size: .72rem; letter-spacing: .04em; color: var(--white); transition: background-color .3s, border-color .3s, color .3s; }
.gm-steps li.is-done { color: var(--white); }
.gm-steps li.is-done span { background: var(--glow); border-color: var(--glow); color: var(--deep); }

.gm-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gm-facts li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gm-facts strong { font-family: var(--f-head); font-weight: 500; font-size: 1.1rem; color: var(--white); }
.gm-facts small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }

.gm-chip { display: none; position: absolute; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--f-head); font-size: .75rem; color: var(--white); white-space: nowrap; }
.gm-chip svg { width: 15px; height: 15px; color: var(--glow); }
@media (min-width: 1200px) {
  .gm-chip { display: inline-flex; }
  .gm-chip--a { right: 96px; top: 64px; }
  .gm-chip--b { right: 104px; bottom: 56px; }
}
@media (prefers-reduced-motion: no-preference) {
  .gm-chip { animation: gm-float 6s ease-in-out infinite; }
  .gm-chip--b { animation-delay: -3s; }
}
@keyframes gm-float { 50% { transform: translateY(-8px); } }

.gm-panel { position: relative; z-index: 1; display: grid; gap: 24px; padding: 32px 24px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,60,64,.35); }
@media (min-width: 760px) { .gm-panel { padding: 44px; } }
.gm-panel-head { display: grid; gap: 6px; }
.gm-panel-head h2 { font-size: var(--t-h3); letter-spacing: -.02em; }
.gm-form { display: grid; gap: 18px; }
@media (min-width: 600px) { .gm-form { grid-template-columns: 1fr 1fr; } .gm-tipo, .gm-go { grid-column: 1 / -1; } }
.gm-tipo { margin: 0; padding: 0; border: 0; min-width: 0; }
.gm-tipo legend { padding: 0; margin-bottom: 8px; font-family: var(--f-head); font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.gm-choices { display: grid; gap: 12px; }
@media (min-width: 600px) { .gm-choices { grid-template-columns: 1fr 1fr; } }
.gm-choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.gm-choice:hover { border-color: rgba(0,140,140,.45); }
.gm-choice input { position: absolute; opacity: 0; pointer-events: none; }
.gm-choice-ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--globo); transition: background-color .2s, color .2s; }
.gm-choice-ico svg { width: 22px; height: 22px; }
.gm-choice-txt { display: grid; gap: 2px; }
.gm-choice-txt strong { font-family: var(--f-head); font-weight: 500; font-size: .98rem; color: var(--ink); }
.gm-choice-txt small { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.35; }
.gm-choice:has(input:checked) { border-color: var(--medic); background: rgba(0,140,140,.05); box-shadow: 0 0 0 3px rgba(0,140,140,.12); }
.gm-choice:has(input:checked) .gm-choice-ico { background: var(--globo); color: var(--white); }
.gm-choice:has(input:focus-visible) { outline: 2px solid var(--medic); outline-offset: 2px; }
.gm-form select:disabled { opacity: .55; cursor: not-allowed; }
.gm-go { width: 100%; justify-content: center; min-height: 54px; }
.gm-go:disabled { opacity: .45; pointer-events: none; }
.gm-alt { padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-3); }
.gm-alt a { color: var(--globo); font-weight: 500; }
/* Manual gerado ao vivo (iframe via proxy /guia-api/) */
.gm-manual { position: relative; z-index: 1; margin-top: 24px; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,60,64,.35); scroll-margin-top: calc(var(--header-h) + 16px); }
.gm-manual[hidden] { display: none; }
.gm-manual-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--mist); }
.gm-manual-t { font-family: var(--f-head); font-size: var(--t-sm); color: var(--deep); }
.gm-manual-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gm-frame-wrap { position: relative; }
.gm-frame { display: block; width: 100%; height: min(78vh, 900px); border: 0; background: #f1f1f1; }
.gm-frame-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: var(--t-sm); color: var(--ink-3); background: var(--white); }
.gm-frame-load[hidden] { display: none; }

/* RN 565: histórico de reajustes (rn565.html) e páginas internas de cada agrupamento (rn565-agrupamento-AAAA.html) */
.rn-hero { background: var(--mist); }
.rn-hero-bg { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.rn-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.rn-hero .wrap { position: relative; }
.rn-hero .c-8-13 { margin-top: 32px; }
@media (min-width: 1100px) { .rn-hero .c-8-13 { margin-top: 0; } }
.rn-current { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--deep); color: var(--white); box-shadow: 0 24px 48px -28px rgba(2,26,29,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rn-current:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -28px rgba(2,26,29,.7); }
.rn-current-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-head); font-size: 1.25rem; color: var(--on-deep); }
.rn-current-top .rj-badge { font-size: .68rem; text-transform: uppercase; }
.rn-current-pct { font-family: var(--f-head); font-weight: 500; font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rn-current-period { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--on-deep-2); }
.rn-current-period svg { width: 16px; height: 16px; color: var(--glow); }
.rn-current-go { display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line-deep); font-family: var(--f-head); font-size: var(--t-sm); color: var(--glow); }
.rn-current-go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.rn-current:hover .rn-current-go svg { transform: translateX(4px); }
.agr-years a, .agr-years [aria-current] { padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--white); font-family: var(--f-head); font-size: .78rem; color: var(--globo); font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s; }
.agr-years a:hover { background: var(--tint); border-color: rgba(0,98,109,.35); }
.agr-years [aria-current] { background: var(--globo); border-color: var(--globo); color: var(--white); }
/* Lista de anos: coluna extra para o botão "Ver agrupamento" */
.rj--agr .rj-head, .rj--agr .rj-row { grid-template-columns: 96px minmax(0, 1fr) auto 230px; }
.rj--agr .rj-head span:nth-child(3) { text-align: right; }
.rj-row { scroll-margin-top: calc(var(--header-h) + 16px); }
.rj-desc { margin: 2px 0 0; font-size: var(--t-sm); color: var(--ink-3); max-width: 62ch; }
.rj-row.is-current .rj-desc { color: var(--on-deep-2); }
.rj-act { display: flex; justify-content: flex-end; }
.rj-act .btn { width: 100%; justify-content: center; }
.rj-row.is-current .rj-act .btn { --b-bg: var(--white); --b-fg: var(--deep); --b-bd: var(--white); }
@media (hover: hover) { .rj-row.is-current .rj-act .btn:hover { --b-bg: transparent; --b-fg: var(--white); --b-bd: var(--glow); } }
.rj-doc--static { cursor: default; }
.rj-doc--static:hover { background: var(--white); border-color: var(--line); }
@media (max-width: 1099px) {
  .rj--agr .rj-head, .rj--agr .rj-row { grid-template-columns: 80px minmax(0, 1fr) auto; }
  .rj--agr .rj-head span:last-child { display: none; }
  .rj--agr .rj-act { grid-column: 2 / -1; justify-content: flex-start; }
  .rj-act .btn { width: auto; }
}
@media (max-width: 719px) {
  .rj--agr .rj-row { grid-template-columns: 1fr auto; grid-template-areas: "year pct" "info info" "act act"; }
  .rj--agr .rj-act { grid-area: act; grid-column: auto; }
  .rj-act .btn { width: 100%; }
}
/* Capa: banner do site antigo com ano e percentual sobrepostos */
.agr-cover { position: relative; aspect-ratio: 21/9; background: var(--mist); }
.agr-cover img { width: 100%; height: 100%; object-fit: cover; }
.agr-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 75%); }
.agr-cover-txt { position: absolute; z-index: 1; left: clamp(20px, 1rem + 3vw, 72px); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; }
.agr-cover-eyebrow { font-family: var(--f-head); font-size: clamp(.6rem, .5rem + .3vw, .75rem); letter-spacing: .14em; text-transform: uppercase; color: var(--medic); }
.agr-cover-year { font-family: var(--f-head); font-weight: 500; font-size: clamp(3rem, 1.5rem + 7vw, 8rem); line-height: .95; letter-spacing: -.04em; color: var(--globo); }
.agr-cover-pct { font-family: var(--f-head); font-size: clamp(1.1rem, .8rem + 1.4vw, 2rem); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 719px) { .agr-cover { aspect-ratio: 16/10; } .agr-cover-eyebrow { max-width: 22ch; } }
.agr-stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (min-width: 1100px) { .agr-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.agr-stats > div { padding: 20px 22px; border-radius: var(--r-md); background: var(--mist); display: grid; gap: 8px; align-content: start; }
.agr-stats > div:first-child { background: var(--deep); color: var(--white); }
.agr-stats dt { font-family: var(--f-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.agr-stats > div:first-child dt { color: var(--on-deep-2); }
.agr-stats dd { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: clamp(1.05rem, .9rem + .7vw, 1.6rem); font-variant-numeric: tabular-nums; }
.news-body .agr-stats dd, .news-body .agr-plans, .news-body .agr-tbl { text-align: left; hyphens: manual; }
.agr-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 12px; }
.agr-search { flex: 1 1 280px; max-width: 420px; }
.agr-search .doc-search-box input { padding-left: 46px; border-radius: var(--r-pill); background: var(--white); }
#agr-count { margin-bottom: 16px; }
/* Tabela: cabeçalho fixo logo abaixo da barra com o título (overflow: clip mantém os cantos sem quebrar o sticky) */
.agr-tbl-wrap { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--white); overflow: clip; }
.agr-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-sm); }
.agr-tbl th, .agr-tbl td { padding: 12px clamp(12px, .5rem + 1vw, 24px); text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.agr-tbl thead th { position: sticky; top: calc(var(--header-h) + var(--sticky-title-h, 49px)); z-index: 2; background: var(--mist); font-family: var(--f-head); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.agr-tbl td:first-child { font-family: var(--f-head); font-weight: 500; color: var(--globo); font-variant-numeric: tabular-nums; width: 18%; }
.agr-tbl td:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); width: 26%; }
.agr-tbl tbody tr:last-child td { border-bottom: 0; }
.agr-tbl tbody tr:nth-child(even) td { background: rgba(227,240,241,.35); }
.agr-tbl tbody tr:hover td { background: var(--tint); }
@media (max-width: 719px) { .agr-tbl { font-size: .8rem; } .agr-tbl th, .agr-tbl td { padding: 10px; } .agr-tbl td:last-child { width: auto; } }
.agr-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agr-plans li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 24px; align-items: center; padding: 14px 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); font-size: var(--t-sm); }
.agr-plans li + li { margin-top: 0; }
.agr-plans strong { font-family: var(--f-head); font-weight: 500; color: var(--ink); }
.agr-plans span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.agr-plans .agr-plans-n { color: var(--globo); font-family: var(--f-head); }
@media (max-width: 719px) { .agr-plans li { grid-template-columns: 1fr auto; } .agr-plans strong { grid-column: 1 / -1; } }
.agr-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agr-nav-step { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); font-family: var(--f-head); font-size: 1.25rem; color: var(--globo); transition: background .2s, border-color .2s; }
.agr-nav-step span { display: grid; }
.agr-nav-step small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.agr-nav-step svg { width: 20px; height: 20px; flex-shrink: 0; }
.agr-nav-step--next { justify-content: flex-end; text-align: right; }
.agr-nav-step:hover { background: var(--tint); border-color: rgba(0,98,109,.35); }
.agr-years { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.agr-years-label { margin-right: 6px; font-size: var(--t-xs); color: var(--ink-3); }
/* Central de Documentos: categoria "RN 565" leva à página própria */
.doc-cats a.doc-cat-link { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-pill); font-family: var(--f-head); font-size: .9rem; color: var(--ink-2); transition: background .2s, color .2s; }
.doc-cats a.doc-cat-link svg { width: 16px; height: 16px; color: var(--medic); }
.doc-cats a.doc-cat-link:hover { background: var(--white); color: var(--globo); }
@media (max-width: 1099px) { .doc-cats a.doc-cat-link { background: var(--white); } }

/* RN 565 · agrupamentos: título fixo abaixo do menu durante a rolagem (compacto quando fixado) */
.agr-titlebar { position: sticky; top: var(--header-h); z-index: 90; padding-bottom: 48px; transition: background .25s, box-shadow .25s; }
.agr-title { margin: 0; max-width: none; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.5rem); text-wrap: pretty; }
.agr-titlebar.is-stuck { padding-block: 12px; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line-2), 0 10px 24px -20px rgba(2,26,29,.35); }
.agr-titlebar.is-stuck .agr-title { font-size: clamp(1rem, .9rem + .5vw, 1.375rem); letter-spacing: -.01em; color: var(--globo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* RN 565 · atalho de anos: os recentes num grupo único e os anteriores num painel ("Anteriores"), como na lista */
.rn-years { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rn-years-label { font-family: var(--f-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rn-years-seg { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--white); }
.rn-years-seg > a, .rn-years-more > summary { padding: 7px 14px; border-radius: var(--r-pill); font-family: var(--f-head); font-size: .82rem; color: var(--globo); font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.rn-years-seg > a:hover, .rn-years-more > summary:hover { background: var(--tint); }
.rn-years-more { position: relative; }
.rn-years-more > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; border-left: 1px solid var(--line-2); border-radius: 0 var(--r-pill) var(--r-pill) 0; margin-left: 4px; }
.rn-years-more > summary::-webkit-details-marker { display: none; }
.rn-years-more > summary svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.rn-years-more[open] > summary { background: var(--globo); color: var(--white); border-left-color: transparent; border-radius: var(--r-pill); }
.rn-years-more[open] > summary svg { transform: rotate(180deg); }
.rn-years-more > summary:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; }
.rn-years-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; width: 300px; max-width: calc(100vw - 32px); padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); box-shadow: 0 24px 48px -24px rgba(2,26,29,.35); display: grid; gap: 12px; }
.rn-years-pop-title { font-family: var(--f-head); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rn-years-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rn-years-grid a { padding: 8px 0; border-radius: var(--r-sm, 8px); background: var(--mist); text-align: center; font-family: var(--f-head); font-size: .82rem; color: var(--globo); font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.rn-years-grid a:hover { background: var(--globo); color: var(--white); }
@media (prefers-reduced-motion: no-preference) { .rn-years-more[open] .rn-years-pop { animation: rj-in .25s var(--ease); } }
@media (max-width: 719px) { .rn-years-label { width: 100%; } .rn-years-seg > a, .rn-years-more > summary { padding: 7px 10px; font-size: .78rem; } }

/* IDSS: histórico (idss.html) e páginas de cada ano (idss-AAAA.html), no mesmo modelo da RN 565 */
.idss-intro { margin-top: 16px; font-size: var(--t-sm); color: var(--ink-2); max-width: 60ch; }
.idss-intro .accent { font-weight: 500; }
.agr-sub { margin: 10px 0 0; font-size: var(--t-sm); color: var(--ink-3); }
.agr-titlebar.is-stuck .agr-sub { display: none; }
.agr-stats dd.idss-dd-sm { font-size: var(--t-sm); line-height: 1.4; }
.idss-dims { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.idss-dims li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); }
.idss-dims li + li { margin-top: 0; }
.idss-dim-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--globo); font-family: var(--f-head); font-weight: 500; }
.idss-dims strong { font-family: var(--f-head); font-weight: 500; color: var(--ink); }
.news-body .idss-dims p { margin: 4px 0 0; font-size: var(--t-sm); color: var(--ink-3); text-align: left; hyphens: manual; }
.idss-dim-v { font-family: var(--f-head); font-weight: 500; font-size: 1.5rem; color: var(--globo); font-variant-numeric: tabular-nums; }
@media (max-width: 719px) { .idss-dims li { grid-template-columns: 32px minmax(0, 1fr); padding: 16px; } .idss-dim-n { width: 32px; height: 32px; font-size: .85rem; } .idss-dim-v { grid-column: 2; font-size: 1.25rem; } }
.idss-orig { padding-top: 40px; border-top: 1px solid var(--line-2); }
.idss-orig > p + p { margin-top: 1em; }
.idss-orig a:not(.btn) { color: var(--globo); }
.idss-h2 { font-size: var(--t-h4); margin-bottom: 16px; }
.idss-h3 { font-size: var(--t-h4); margin: 40px 0 16px; }
.idss-fig { margin: 0 0 20px; }
.idss-fig a { display: block; border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; background: var(--white); transition: border-color .2s, box-shadow .3s var(--ease); }
.idss-fig a:hover { border-color: rgba(0,98,109,.35); box-shadow: 0 16px 32px -24px rgba(2,26,29,.4); }
.idss-fig img { display: block; width: 100%; height: auto; }
.idss-fig figcaption { margin-top: 8px; font-size: var(--t-xs); color: var(--ink-3); text-align: right; }
.idss-missing { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 16px 20px; border-radius: var(--r-md); border: 1px dashed #E0B860; background: #FFF8E6; color: #6B4A00; font-size: var(--t-sm); }
.idss-missing svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #B07A00; }
.news-body .idss-missing p { margin: 0; text-align: left; hyphens: manual; }
.idss-missing--sm { margin: 10px 0 0; padding: 10px 14px; font-size: var(--t-xs); }
.news-body .idss-dims li { text-align: left; hyphens: manual; }

/* Central de Documentos · busca: .field input (padding 12px 16px) sobrescrevia o recuo da lupa e o texto ficava embaixo do ícone */
.doc-search .searchbar input { height: 56px; min-height: 56px; padding: 0 56px 0 46px; font-size: .95rem; text-overflow: ellipsis; }
.doc-search .searchbar > svg { left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; }
.doc-search .searchbar button { top: 6px; right: 6px; width: 44px; height: 44px; }

.marquee-dup { display: contents; }
#especialidades a.marquee-item { text-decoration: none; transition: color .2s; }
#especialidades a.marquee-item:hover, #especialidades a.marquee-item:focus-visible { color: #fff; }

/* Rede credenciada: "Guia de serviços" e "No aplicativo" como os cards de contato do rodapé (contorno claro, rótulo em caixa-alta) */
.esp-grid { align-items: center; }
.feature-list--cards { gap: 16px; align-items: stretch; }
.feature-list--cards > div { padding: 22px; border: 1px solid var(--line-deep); border-radius: var(--r-md); transition: border-color .2s; }
.feature-list--cards > div:hover { border-color: var(--glow); }
.feature-list--cards .ico { display: none; }
.feature-list--cards > div > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.feature-list--cards h3 { font-size: .7rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); margin-bottom: 6px; }
.feature-list--cards p { font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; line-height: 1.35; color: var(--white); }
.deep .feature-list--cards p { color: var(--white); }
.feature-list--cards .btn-row { margin-top: auto; padding-top: 16px; }
/* RN 565 e IDSS: filtro de anos só com a lista suspensa (todos os anos dentro dela) */
.rn-years-seg > .rn-years-more:first-child > summary { margin-left: 0; border-left: 0; border-radius: var(--r-pill); }


/* Área do Beneficiário (area-do-beneficiario.html): cartão de login à esquerda e painel da marca à direita */
.ab-sec { position: relative; overflow: hidden; background: radial-gradient(55% 50% at 0% 100%, rgba(79,195,195,.16), transparent 70%), var(--mist); min-height: 60vh; padding-top: calc(var(--header-h) + 32px); }
.ab-shell { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 960px) { .ab-shell { grid-template-columns: 6fr 5fr; gap: 0; align-items: stretch; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,60,64,.35); } }
.ab-card { display: grid; gap: 24px; align-content: center; padding: 32px 24px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
@media (min-width: 760px) { .ab-card { padding: 48px; } }
@media (min-width: 960px) { .ab-card { border-radius: 0; border: 0; padding: 56px 64px; } }
.ab-card-head { display: flex; align-items: center; gap: 16px; }
.ab-lock { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: var(--tint); color: var(--globo); }
.ab-lock svg { width: 24px; height: 24px; }
.ab-card-head h1 { font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.1; }
.ab-card-head p { margin-top: 4px; font-size: var(--t-sm); }
.ab-form { display: grid; gap: 18px; }
.ab-input { position: relative; }
.ab-input > svg { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.field .ab-input input { padding-left: 46px; }
.field .ab-input #ab-senha { padding-right: 92px; }
.ab-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px 12px; border-radius: var(--r-pill); font-family: var(--f-head); font-size: .78rem; font-weight: 500; color: var(--globo); cursor: pointer; }
.ab-eye:hover { background: var(--mist); }
.ab-eye:focus-visible { outline: 2px solid var(--medic); outline-offset: 2px; }
.ab-input:focus-within > svg { color: var(--medic); }
.ab-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ab-row .check { align-items: center; }
.ab-row .check input { margin-top: 0; }
.ab-forgot { font-size: var(--t-sm); font-weight: 500; color: var(--globo); }
.ab-go { width: 100%; justify-content: center; min-height: 54px; }
.ab-status { padding: 12px 16px; border-radius: var(--r-md); background: var(--tint); color: var(--globo); font-size: var(--t-sm); }
.ab-status[hidden] { display: none; }
.ab-first { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-3); }
.ab-safe { display: flex; align-items: flex-start; gap: 10px; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.ab-safe svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--medic); }

.ab-brand {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: space-between; gap: 32px;
  padding: 36px 28px; border-radius: 24px; color: var(--white);
  background: radial-gradient(110% 80% at 0% 100%, rgba(79,195,195,.34) 0%, rgba(79,195,195,0) 55%), linear-gradient(200deg, var(--deep) 0%, var(--globo) 60%, #0A7F88 100%);
}
@media (min-width: 960px) { .ab-brand { border-radius: 0; padding: 56px 48px; min-height: 620px; } }
.ab-deco { position: absolute; left: -40px; bottom: -40px; width: 420px; height: 420px; stroke: rgba(255,255,255,.14); stroke-width: 1; z-index: -1; }
.ab-deco circle:first-child { fill: rgba(255,255,255,.05); }
.ab-logo { width: 156px; height: auto; }
.ab-intro { display: grid; gap: 12px; }
.ab-eyebrow { font-family: var(--f-head); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.ab-intro h2 { color: var(--white); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; }
.ab-intro p { max-width: 34ch; color: var(--on-deep-2); font-size: var(--t-md); line-height: 1.55; }
.ab-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ab-feats li { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ab-feats span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 10px; background: rgba(79,195,195,.18); color: var(--glow); }
.ab-feats span svg { width: 18px; height: 18px; }
.ab-feats strong { font-family: var(--f-head); font-weight: 500; font-size: .95rem; color: var(--white); }
.ab-feats small { font-size: var(--t-xs); color: var(--on-deep-2); line-height: 1.35; }
.ab-help { margin-top: 24px; text-align: center; font-size: var(--t-sm); color: var(--ink-3); }
.ab-help a { color: var(--globo); font-weight: 500; }
@media (max-width: 420px) { .ab-feats { grid-template-columns: 1fr; } }
