/* Hospital das Clínicas de Nova Iguaçu — cores do logo: azul-índigo (HC) + azul-claro (NI). */
:root {
  --indigo: #2b3192;
  --indigo-2: #1d2270;
  --azul: #6b8cd6;
  --ciano: #19a7e0;
  --vermelho: #e5384f;
  --verde: #1fbf75;
  --fundo: #f4f7fc;
  --fundo-2: #e9effa;
  --cartao: #ffffff;
  --texto: #141a3c;
  --texto-2: #56607f;
  --borda: rgba(43, 49, 146, .12);
  --sombra: 0 20px 44px -24px rgba(29, 34, 112, .35);
  --raio: 20px;
  --topo-fundo: rgba(255, 255, 255, .94);
  --topo-h: 84px;
  --titulo: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); color: var(--texto); background: var(--fundo); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
h2 em, h1 em { font-style: normal; background: linear-gradient(90deg, var(--indigo), var(--ciano)); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; }
.cont { width: min(1160px, 100% - 32px); margin-inline: auto; }
.selo { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ciano); margin-bottom: .9em; }
.selo::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo), var(--ciano)); }
.texto { color: var(--texto-2); font-size: 1.06rem; }
.secao { padding: clamp(72px, 9vw, 112px) 0; }
.secao-azul { background: var(--fundo-2); }
.dois { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.cab { text-align: center; margin-bottom: 44px; }
.cab .selo { justify-content: center; }
@media (max-width: 880px) { .dois { grid-template-columns: 1fr; } }

/* ---------- Botões ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-prim { color: #fff; background: linear-gradient(135deg, var(--indigo), #3d47c4 55%, var(--ciano)); box-shadow: 0 14px 30px -14px rgba(43, 49, 146, .8); }
.btn-prim:hover { box-shadow: 0 18px 36px -12px rgba(43, 49, 146, .9); }
.btn-prim::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); animation: brilho 5s ease-in-out infinite; }
@keyframes brilho { 0%, 60% { transform: translateX(-120%); } 90%, 100% { transform: translateX(120%); } }
.btn-sec { color: var(--indigo); background: var(--cartao); border: 1px solid var(--borda); }
.btn-sec:hover { border-color: var(--ciano); }
.btn-vidro { color: var(--texto); background: rgba(255,255,255,.7); border: 1px solid var(--borda); }
.btn-vidro:hover { border-color: var(--ciano); }
.btn-vidro.copiado { background: var(--verde); border-color: var(--verde); color: #fff; }

/* ---------- Topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--topo-fundo); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--borda); transition: box-shadow .3s; }
.topo.rolou { box-shadow: 0 12px 30px -20px rgba(29, 34, 112, .5); }
.topo-in { width: min(1200px, 100% - 32px); margin-inline: auto; height: var(--topo-h); display: flex; align-items: center; gap: 12px; }
.marca { margin-right: auto; display: block; }
.marca img { height: 54px; width: auto; transition: transform .35s; }
.marca:hover img { transform: scale(1.04); }
.menu { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 22px); white-space: nowrap; }
.menu a { position: relative; text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 10px; color: var(--texto); }
.menu a:not(.menu-24h)::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo), var(--ciano)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.menu a:hover::after, .menu a.atual::after { transform: scaleX(1); }
.menu a.atual { color: var(--ciano); }
.menu-24h { display: inline-flex !important; align-items: center; gap: 8px; color: #fff !important; background: var(--vermelho); padding: 10px 16px !important; border-radius: 12px; box-shadow: 0 10px 22px -10px rgba(229, 56, 79, .8); transition: transform .25s, box-shadow .25s; }
.menu-24h i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: piscar 1.4s infinite; }
.menu-24h:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(229, 56, 79, .95); }
@keyframes piscar { 50% { opacity: .3; } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn i { display: block; height: 2px; background: var(--texto); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  :root { --topo-h: 72px; }
  .marca img { height: 44px; }
  .menu-btn { display: block; }
  .menu { position: fixed; top: var(--topo-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: var(--fundo); border-bottom: 1px solid var(--borda); box-shadow: 0 20px 30px -20px rgba(0,0,0,.4);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .menu.aberto { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 14px 8px; font-size: 1rem; }
  .menu a::after { display: none; }
  .menu-24h { justify-content: center; margin-top: 8px; }
}

/* ---------- Banner (eletrocardiograma + cruzes) ---------- */
.heroi { position: relative; margin-top: var(--topo-h); overflow: hidden; color: #fff; padding: clamp(64px, 9vw, 110px) 0 clamp(110px, 12vw, 150px);
  background: radial-gradient(ellipse 70% 80% at 85% 20%, rgba(25, 167, 224, .45), transparent 60%), radial-gradient(ellipse 60% 70% at 10% 90%, rgba(107, 140, 214, .5), transparent 60%), linear-gradient(135deg, #1d2270, #2b3192 50%, #2a3fae); }
.heroi-fundo { position: absolute; inset: 0; pointer-events: none; }
.cruz { position: absolute; width: 60px; height: 60px; opacity: .08; animation: flutua 9s ease-in-out infinite; }
.cruz::before, .cruz::after { content: ''; position: absolute; background: #fff; border-radius: 6px; }
.cruz::before { left: 38%; right: 38%; top: 0; bottom: 0; }
.cruz::after { top: 38%; bottom: 38%; left: 0; right: 0; }
.c1 { left: 6%; top: 18%; } .c2 { left: 46%; top: 8%; width: 36px; height: 36px; animation-delay: -3s; } .c3 { right: 8%; bottom: 22%; width: 90px; height: 90px; animation-delay: -5s; } .c4 { left: 30%; bottom: 12%; width: 28px; height: 28px; animation-delay: -7s; }
@keyframes flutua { 50% { transform: translateY(-18px) rotate(8deg); } }
.ecg { position: absolute; left: 0; right: 0; bottom: 70px; width: 100%; height: 120px; pointer-events: none; opacity: .5; }
.ecg path { fill: none; stroke: #7fe3ff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; filter: drop-shadow(0 0 6px rgba(127, 227, 255, .9)); animation: ecg 4.5s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 1600; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.heroi-in { position: relative; width: min(1160px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.heroi-selo { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .85rem; backdrop-filter: blur(6px); }
.heroi-selo i { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(31, 191, 117, .7); animation: pulso-v 2s infinite; }
@keyframes pulso-v { 70% { box-shadow: 0 0 0 10px rgba(31, 191, 117, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 191, 117, 0); } }
.heroi h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 800; margin: .5em 0 .4em; }
.heroi h1 em { background-image: linear-gradient(90deg, #9fe7ff, #ffffff) !important; }
.heroi-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.85); max-width: 560px; }
.heroi-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.heroi .btn-prim { background: #fff; color: var(--indigo); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.heroi .btn-prim::after { background: linear-gradient(115deg, transparent 35%, rgba(43, 49, 146, .15) 50%, transparent 65%); }
.heroi .btn-sec { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.heroi .btn-sec:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.heroi-cartao { justify-self: end; width: min(320px, 100%); padding: 26px; border-radius: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); animation: flutua-c 6s ease-in-out infinite; }
@keyframes flutua-c { 50% { transform: translateY(-10px); } }
.hc-topo { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #bfeeff; }
.hc-topo i { width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); animation: piscar 1.2s infinite; }
.hc-grande { font-family: var(--titulo); font-size: 5.5rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.hc-grande small { font-size: 2.2rem; color: #bfeeff; }
.hc-txt { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0 0 14px; }
.hc-pulso svg { width: 100%; height: 40px; }
.hc-pulso path { fill: none; stroke: #7fe3ff; stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: ecg-p 2.2s linear infinite; }
@keyframes ecg-p { to { stroke-dashoffset: -260; } }
@media (max-width: 880px) { .heroi-in { grid-template-columns: 1fr; } .heroi-cartao { justify-self: start; } }

/* ---------- Banner com a foto real do hospital (vista aérea) ---------- */
.heroi { background:
    linear-gradient(90deg, rgba(20, 24, 88, .96) 0%, rgba(33, 39, 130, .9) 38%, rgba(43, 49, 146, .55) 68%, rgba(43, 49, 146, .25) 100%),
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(25, 167, 224, .35), transparent 60%),
    url("../img/fotos/fachada.webp") center 40% / cover no-repeat, #1d2270; }
.heroi::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, rgba(20, 24, 88, .55)); pointer-events: none; }
.heroi-in { z-index: 1; }
.heroi .cruz { opacity: .06; }
.heroi-foto-tag { position: absolute; right: 18px; bottom: 82px; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: rgba(10, 14, 50, .55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
@media (max-width: 880px) { .heroi { background:
    linear-gradient(180deg, rgba(20, 24, 88, .92) 0%, rgba(33, 39, 130, .86) 60%, rgba(43, 49, 146, .8) 100%),
    url("../img/fotos/fachada.webp") 30% 40% / cover no-repeat, #1d2270; } .heroi-foto-tag { display: none; } }

/* ---------- Faixa rápida (sobe por cima do banner) ---------- */
.rapido { position: relative; z-index: 2; margin-top: -64px; }
.rapido-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rap { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); text-decoration: none; color: var(--texto); transition: transform .3s, border-color .3s; }
a.rap:hover { transform: translateY(-4px); border-color: var(--ciano); }
.rap-ico { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); box-shadow: 0 10px 22px -12px rgba(43, 49, 146, .9); }
.rap-ico svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rap small { display: block; font-size: .78rem; color: var(--texto-2); }
.rap b { font-size: 1.05rem; }
@media (max-width: 880px) { .rapido-grade { grid-template-columns: 1fr; } }

/* ---------- O hospital ---------- */
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.numeros div { padding: 18px; border-radius: 16px; background: var(--cartao); border: 1px solid var(--borda); text-align: center; }
.numeros b { display: block; font-family: var(--titulo); font-size: 2.4rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--indigo), var(--ciano)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numeros b::after { content: '+'; font-size: 1.4rem; }
.numeros div:nth-child(n+2) b::after { content: ''; }
.numeros span { font-size: .85rem; color: var(--texto-2); }
.pilares { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pilares li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); transition: transform .3s, border-color .3s; }
.pilares li:hover { transform: translateX(6px); border-color: var(--ciano); }
.pil-ico { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(43, 49, 146, .08); }
.pil-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.pilares li:hover .pil-ico svg { transform: scale(1.15) rotate(-6deg); }
.pilares b { font-family: var(--titulo); font-size: 1.2rem; }
.pilares li > span:last-child { color: var(--texto-2); font-size: .95rem; }

/* ---------- Atendimento ---------- */
.servicos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.servico { position: relative; padding: 32px 28px; border-radius: 24px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); overflow: hidden; transition: transform .35s, border-color .35s; }
.servico:hover { transform: translateY(-6px); border-color: var(--ciano); }
.servico::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--indigo), var(--ciano)); }
.servico-destaque::before { background: linear-gradient(90deg, var(--vermelho), #ff8a5b); }
.sv-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); margin-bottom: 18px; box-shadow: 0 12px 26px -14px rgba(43, 49, 146, .9); }
.servico-destaque .sv-ico { background: linear-gradient(135deg, var(--vermelho), #ff7a59); box-shadow: 0 12px 26px -14px rgba(229, 56, 79, .9); }
.sv-ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.servico-destaque .sv-ico { animation: bate 1.6s ease-in-out infinite; }
@keyframes bate { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(.97); } 45% { transform: scale(1.06); } }
.sv-etq { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ciano); margin-bottom: 6px; }
.servico-destaque .sv-etq { color: var(--vermelho); }
.sv-etq i { width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); animation: piscar 1.2s infinite; }
.servico h3 { font-size: 1.5rem; }
.servico p { color: var(--texto-2); }
.sv-link { font-weight: 800; color: var(--indigo); text-decoration: none; }
.sv-link:hover { text-decoration: underline; }

/* ---------- Como chegar ---------- */
.local { position: relative; border-radius: 28px; overflow: hidden; min-height: 500px; box-shadow: 0 40px 80px -40px rgba(29, 34, 112, .55); border: 1px solid var(--borda); background: var(--cartao); }
.local-mapa { position: absolute; left: 0; top: -170px; width: 100%; height: calc(100% + 170px); border: 0; }
.local-painel { position: relative; z-index: 1; width: min(410px, calc(100% - 32px)); margin: 24px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 24px 50px -24px rgba(29, 34, 112, .6); }
.local-pino { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); margin-bottom: 14px; animation: pino 2.4s ease-in-out infinite; }
.local-pino svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pino { 50% { transform: translateY(-5px); } }
.local-nome { font-family: var(--titulo); font-size: 1.3rem; font-weight: 800; margin: 0 0 .3em; }
.local-end { font-style: normal; color: var(--texto-2); line-height: 1.6; margin-bottom: 14px; }
.local-foto { position: relative; display: block; width: 100%; height: 110px; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.local-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform .6s; }
.local-foto:hover img { transform: scale(1.06); }
.local-foto span { position: absolute; left: 10px; bottom: 8px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: #fff; background: rgba(20, 24, 88, .75); }.local-horas { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.local-horas li { padding: 6px 12px; border-radius: 999px; font-size: .85rem; background: rgba(25, 167, 224, .12); border: 1px solid rgba(25, 167, 224, .3); }
.local-horas b { color: var(--indigo); }
.local-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.local-acoes .btn { min-height: 44px; padding: 0 16px; font-size: .9rem; }
@media (max-width: 640px) {
  .local { min-height: 0; display: flex; flex-direction: column-reverse; }
  .local-mapa { position: relative; top: 0; height: 450px; margin-top: -150px; clip-path: inset(150px 0 0 0); }
  .local-painel { width: auto; margin: 0; border-radius: 0; box-shadow: none; }
}

/* ---------- Contato ---------- */
.tel-grande { display: inline-flex; align-items: center; gap: 16px; margin-top: 8px; padding: 16px 24px 16px 16px; border-radius: 20px; text-decoration: none; color: var(--texto); background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); transition: transform .3s, border-color .3s; }
.tel-grande:hover { transform: translateY(-4px); border-color: var(--ciano); }
.tg-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); animation: toca 3s ease-in-out infinite; }
.tg-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes toca { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-12deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(6deg); } }
.tel-grande small { display: block; font-size: .8rem; color: var(--texto-2); }
.tel-grande b { font-family: var(--titulo); font-size: 1.6rem; }
.redes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rede { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; text-decoration: none; color: var(--texto); background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); transition: transform .3s, box-shadow .3s, border-color .3s; }
.rede:hover { transform: translateY(-4px); }
.rede-ig:hover { border-color: #d6249f; box-shadow: 0 20px 40px -18px rgba(214, 36, 159, .6); }
.rede-in:hover { border-color: #0a66c2; box-shadow: 0 20px 40px -18px rgba(10, 102, 194, .6); }
.rede-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.rede-ig .rede-ico { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 95%); }
.rede-in .rede-ico { background: #0a66c2; }
.rede-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rede-ico .cheio { fill: #fff; stroke: none; }
.rede-txt { flex: 1; min-width: 0; }
.rede-txt b { display: block; }
.rede-txt small { color: var(--texto-2); }
.rede-seta { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fundo-2); font-weight: 800; transition: background .3s, color .3s, transform .35s; }
.rede:hover .rede-seta { background: var(--indigo); color: #fff; transform: rotate(45deg); }

/* ---------- Rodapé ---------- */
.rodape { position: relative; color: #b7bfe4; padding-top: 64px; background: radial-gradient(ellipse 60% 60% at 10% 0%, rgba(25, 167, 224, .2), transparent 70%), linear-gradient(180deg, #1d2270, #0d1140); }
.rodape::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ciano), #ffffff, var(--ciano), transparent); background-size: 200% 100%; animation: linha 6s linear infinite; }
@keyframes linha { to { background-position: -200% 0; } }
.rod-grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 32px; }
.rod-marca img { height: 70px; width: auto; }
.rod-marca p { margin: 14px 0 0; font-size: .95rem; }
.rod-col h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 1em; }
.rod-col p { margin: 0 0 10px; font-size: .92rem; }
.rod-col b { color: #fff; display: block; }
.rod-col a { color: #b7bfe4; text-decoration: none; transition: color .2s; }
.rod-col a:hover { color: #fff; }
.rod-aviso { margin: 0; text-align: center; padding: 14px 16px; font-size: .88rem; font-weight: 600; color: #fff; background: rgba(229, 56, 79, .18); border-top: 1px solid rgba(229, 56, 79, .35); }
.rod-base { background: rgba(0,0,0,.25); border-top: 1px solid rgba(255,255,255,.08); }
.rod-base-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: .85rem; }
.rod-base-in p { margin: 0; color: #8d96c4; }
.rod-cands { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #c7cdee; text-decoration: none; transition: border-color .3s, background .3s; }
.rod-cands img { width: 22px; height: auto; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.rod-cands b { color: #fff; }
.rod-cands:hover { border-color: #33a0db; background: rgba(51,160,219,.12); }
.rod-cands:hover img { transform: rotate(-20deg) scale(1.2); }
@media (max-width: 900px) { .rod-grade { grid-template-columns: 1fr 1fr; } .rod-marca { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rod-grade { grid-template-columns: 1fr; } .rod-base-in { justify-content: center; text-align: center; padding-bottom: 84px; } }

/* ---------- Extras: progresso, voltar ao topo, abertura ---------- */
.progresso { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--indigo), var(--ciano)); box-shadow: 0 0 10px rgba(25, 167, 224, .6); pointer-events: none; }
.topo-btn { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); color: #fff; box-shadow: 0 12px 26px -10px rgba(43, 49, 146, .8); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.topo-btn.ver { opacity: 1; transform: none; pointer-events: auto; }
.topo-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.abertura { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: grid; place-items: center; align-content: center; gap: 22px; background: radial-gradient(circle at 50% 45%, #2b3192, #12164a 70%); animation: ab-sai .7s cubic-bezier(.7,0,.2,1) 1.6s forwards; }
.abertura img { width: min(300px, 70vw); height: auto; animation: ab-logo 1.3s cubic-bezier(.2,.8,.2,1) both; }
.abertura-ecg { display: block; width: min(280px, 64vw); height: 36px; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 36'%3E%3Cpath d='M0 18 H95 L105 18 L113 4 L124 33 L134 1 L144 26 L152 18 H280' fill='none' stroke='%237fe3ff' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  clip-path: inset(0 100% 0 0); animation: ab-ecg 1.2s ease .2s forwards; filter: drop-shadow(0 0 6px rgba(127, 227, 255, .9)); }
@keyframes ab-logo { from { opacity: 0; transform: scale(.88); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ab-ecg { to { clip-path: inset(0 0 0 0); } }
@keyframes ab-sai { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
.abertura.pular { display: none; }

/* ---------- Campanha do mês (Novembro Azul etc.) ---------- */
/* ---------- Campanha do mês: Novembro Azul (clara, moderna) ---------- */
.campanha[hidden] { display: none; }
@keyframes laco { 50% { transform: rotate(12deg) scale(1.1); } }
@keyframes sino { 0%, 70%, 100% { transform: none; } 76% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 88% { transform: rotate(8deg); } 94% { transform: rotate(-4deg); } }
.na { position: relative; overflow: hidden; isolation: isolate; color: var(--texto); background: radial-gradient(ellipse 60% 70% at 15% 30%, rgba(25, 167, 224, .18), transparent 65%), linear-gradient(180deg, #eef7fe, #dbeefc); }
.na-fundo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.na-aur { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: na-flut 16s ease-in-out infinite alternate; }
.na-aur.a1 { width: 480px; height: 480px; left: -140px; top: 10%; background: #8fd0ff; }
.na-aur.a2 { width: 420px; height: 420px; right: -120px; top: -100px; background: #a9ecf7; animation-duration: 20s; }
.na-aur.a3 { width: 360px; height: 360px; right: 25%; bottom: -170px; background: #c1cdff; opacity: .5; animation-duration: 24s; }
@keyframes na-flut { to { transform: translate(60px, -40px) scale(1.15); } }
.na-marca { position: absolute; left: 50%; bottom: -.12em; transform: translateX(-50%); white-space: nowrap; font-family: var(--titulo); font-weight: 900; font-size: clamp(4rem, 14vw, 13rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(21, 101, 192, .12); text-transform: uppercase; }
.na::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(21, 101, 192, .16) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 25% 50%, #000, transparent 75%); }
.na-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.na-palco { position: relative; perspective: 1100px; padding: 18px; }
.na-halo { position: absolute; inset: 8% 4%; border-radius: 40px; background: conic-gradient(from 0deg, #19c3e6, #3b7bff, #9ec5ff, #19c3e6); filter: blur(46px); opacity: .35; animation: na-gira 12s linear infinite; }
@keyframes na-gira { to { transform: rotate(360deg); } }
.na-arte { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 26px; overflow: hidden; cursor: zoom-in; background: none; box-shadow: 0 44px 80px -34px rgba(13, 80, 160, .65); transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .25s ease-out; }
.na-arte img { display: block; width: 100%; height: auto; }
.na-arte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); animation: brilho 6s ease-in-out infinite; pointer-events: none; }
.na-lupa { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(21, 101, 192, .55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.5); opacity: 0; transform: scale(.8); transition: .3s; }
.na-lupa svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.na-arte:hover .na-lupa, .na-arte:focus-visible .na-lupa { opacity: 1; transform: none; }
.na-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--texto); background: rgba(255,255,255,.82); border: 1px solid rgba(21, 101, 192, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 36px -18px rgba(13, 80, 160, .55); animation: na-boia 5s ease-in-out infinite; }
.na-chip svg { width: 18px; height: 18px; fill: none; stroke: #1565c0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.na-chip.na-c1 { left: -14px; top: 8%; white-space: nowrap; }
.na-chip.na-c2 { right: -10px; bottom: 2%; white-space: nowrap; animation-delay: -2.5s; }
.na-chip.na-c2 i { width: 9px; height: 9px; border-radius: 50%; background: #1faa59; animation: na-pulso 1.8s infinite; }
@keyframes na-boia { 50% { transform: translateY(-10px); } }
@keyframes na-pulso { 0% { box-shadow: 0 0 0 0 rgba(31,170,89,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(31,170,89,0); } }
.na-selo { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 6px 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; background: linear-gradient(135deg, #1565c0, var(--ciano)); box-shadow: 0 10px 22px -10px rgba(21, 101, 192, .8); }
.na-selo svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: laco 4s ease-in-out infinite; }
.na-selo b { padding: 4px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .08em; background: rgba(255,255,255,.22); }
.na h2 { margin: .45em 0 .35em; color: var(--texto); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; }
.na h2 em { font-style: normal; background: linear-gradient(90deg, #1565c0, #19a7e0, #3b5bff, #1565c0); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: na-grad 6s linear infinite; }
@keyframes na-grad { to { background-position: 200% center; } }
.na p { color: var(--texto-2); }
.na-lead { font-size: 1.08rem; max-width: 58ch; }
.na-sub { display: flex; align-items: center; gap: 8px; margin: 24px 0 12px; font-family: var(--titulo); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #1565c0 !important; }
.na-sub svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 10%; animation: sino 3s ease-in-out infinite; }
.na-sint { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.na-sint li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; font-weight: 700; color: var(--texto); background: rgba(255,255,255,.85); border: 1px solid rgba(21, 101, 192, .14); box-shadow: 0 14px 30px -22px rgba(13, 80, 160, .6); transition: transform .3s, border-color .3s, box-shadow .3s; overflow: hidden; }
.na-sint li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(#19a7e0, #1565c0); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.na-sint li:hover { transform: translateY(-4px); border-color: rgba(25, 167, 224, .5); box-shadow: 0 20px 36px -20px rgba(13, 80, 160, .7); }
.na-sint li:hover::after { transform: scaleY(1); }
.na-sint span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--titulo); font-weight: 900; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #1565c0, var(--ciano)); box-shadow: 0 8px 18px -8px rgba(21, 101, 192, .9); }
.na-diag { margin: 18px 0 0; }
.na-frase { margin: 20px 0 24px; padding: 4px 0 4px 18px; border-left: 3px solid var(--ciano); font-family: var(--titulo); font-weight: 800; font-size: 1.2rem; line-height: 1.35; color: var(--texto); }
.na-frase span { display: block; color: #1565c0; }
.na-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.na-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.na-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.na-btn-a { color: #fff; background: linear-gradient(135deg, #1565c0, #1e88e5 55%, var(--ciano)); box-shadow: 0 16px 32px -14px rgba(21, 101, 192, .85); }
.na-btn-a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); animation: brilho 5s ease-in-out infinite; }
.na-btn-b { color: #1565c0; border: 1px solid rgba(21, 101, 192, .25); background: rgba(255,255,255,.8); }
.na-btn:hover { transform: translateY(-3px); }
.na-btn-b:hover { background: #fff; border-color: rgba(21, 101, 192, .5); }
@media (max-width: 880px) {
  .na-grade { grid-template-columns: 1fr; }
  .na-palco { max-width: 380px; margin: 0 auto; }
  .na-chip.na-c1 { left: -6px; } .na-chip.na-c2 { right: -6px; }
}
@media (max-width: 520px) { .na-sint { grid-template-columns: 1fr; } .na-btn { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .na-aur, .na-halo, .na-chip, .na h2 em, .na-arte::after { animation: none; } .na-arte { transform: none; } }
@media (max-width: 520px) { .sintomas ul { grid-template-columns: 1fr; } }

/* ---------- Convênios: busca, cartões com inicial e faixa correndo ---------- */
.convenios { position: relative; overflow: hidden; padding-bottom: 0; }
.conv-busca { position: relative; max-width: 520px; margin: 0 auto 30px; }
.conv-busca svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.conv-busca input { width: 100%; height: 56px; padding: 0 20px 0 50px; border-radius: 16px; border: 1px solid var(--borda); background: var(--cartao); color: var(--texto); font: 600 1rem var(--sans); box-shadow: var(--sombra); outline: none; transition: border-color .25s, box-shadow .25s; }
.conv-busca input:focus { border-color: var(--ciano); box-shadow: 0 0 0 4px rgba(25, 167, 224, .18), var(--sombra); }
.conv-grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.conv { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--cartao); border: 1px solid var(--borda); transition: transform .3s, border-color .3s, box-shadow .3s, opacity .3s; }
.conv:hover { transform: translateY(-4px); border-color: var(--c, var(--ciano)); box-shadow: var(--sombra); }
.conv[hidden] { display: none; }
.conv-ini { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--titulo); font-weight: 800; font-size: 1.15rem; color: var(--t, #fff); background: var(--c); box-shadow: 0 8px 18px -10px var(--c); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.conv:hover .conv-ini { transform: rotate(-8deg) scale(1.1); }
.conv b { font-size: .95rem; line-height: 1.25; }
.conv-novo { grid-column: span 2; padding: 0; border: 2px solid #f6c445; background: linear-gradient(135deg, #fff8e1, var(--cartao)); }
.conv-novo a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-decoration: none; color: inherit; flex-wrap: wrap; }
.conv-novo small { display: block; width: 100%; margin-left: 54px; margin-top: -10px; font-weight: 700; font-size: .8rem; color: #b37d00; }
@media (max-width: 520px) { .conv-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .conv-novo { grid-column: 1 / -1; } .conv-logo { height: 58px; } .conv-logo img { max-height: 50px; } .conv:not(.conv-novo) b { font-size: .78rem; } }
/* cartões com logo: logo em cima, nome embaixo */
.conv:not(.conv-novo) { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding: 18px 14px 14px; }
.conv-logo { width: 100%; height: 74px; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.conv-logo img { max-width: 92%; max-height: 64px; width: auto; height: auto; object-fit: contain; transition: transform .45s cubic-bezier(.34,1.56,.64,1), filter .3s; filter: saturate(.92); }
.conv:hover .conv-logo img { transform: scale(1.08); filter: saturate(1.05); }
.conv:not(.conv-novo) b { font-size: .85rem; color: var(--texto-2); font-weight: 700; }
.conv-novo { align-self: stretch; }
.conv-novo a { height: 100%; align-content: center; }
.conv-arte-link { text-align: center; margin: 24px 0 0; }.conv-vazio, .conv-nota { text-align: center; color: var(--texto-2); margin: 22px auto 0; max-width: 720px; font-size: .95rem; }
.conv-vazio { padding: 14px 18px; border-radius: 14px; background: rgba(229, 56, 79, .08); border: 1px solid rgba(229, 56, 79, .25); color: var(--texto); }
.conv-vazio a, .conv-nota a { color: var(--indigo); font-weight: 800; }
.conv-aviso { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 28px auto 0; padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, #fff6d6, #ffe9a6); border: 2px solid #f6c445; box-shadow: 0 18px 36px -22px rgba(184, 121, 10, .6); }
.ca-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #1d2270; animation: bate 2.4s ease-in-out infinite; }
.ca-ico svg { width: 28px; height: 28px; fill: none; stroke: #ffe08a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.conv-aviso p { margin: 0; color: #4a3500; font-size: .95rem; }
.conv-aviso .ca-tit { font-family: var(--titulo); font-weight: 800; font-size: 1.1rem; color: #2a1f00; margin-bottom: 2px; }
.ca-btn { flex: none; white-space: nowrap; }
@media (max-width: 720px) { .conv-aviso { flex-direction: column; text-align: center; } .ca-btn { width: 100%; } }.conv-faixa { margin-top: 52px; padding: 18px 0; overflow: hidden; background: linear-gradient(90deg, var(--indigo), #3d47c4, var(--ciano)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.conv-trilho { display: flex; width: max-content; animation: corre 40s linear infinite; }
.conv-faixa:hover .conv-trilho { animation-play-state: paused; }
.conv-trilho span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; color: #fff; font-family: var(--titulo); font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.conv-trilho span::after { content: '✦'; color: rgba(255,255,255,.55); font-size: .8rem; }
@keyframes corre { to { transform: translateX(-50%); } }
/* ---------- Novidade: Postal Saúde + Amil ---------- */
.parceria-cartao { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: 0 40px 80px -44px rgba(29, 34, 112, .55); }
.parceria-cartao::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #f6c445, #ffdd75, var(--indigo), #7c3aed); background-size: 200% 100%; animation: linha 6s linear infinite; }
.parceria-selo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #5b3f00; background: linear-gradient(135deg, #ffe08a, #f6c445); box-shadow: 0 8px 18px -8px rgba(246, 196, 69, .9); }
.parceria-selo i { width: 8px; height: 8px; border-radius: 50%; background: #e5384f; animation: piscar 1.2s infinite; }
.parceria h2 { margin: .6em 0 .5em; max-width: 820px; }
.parceria-lead { color: var(--texto-2); font-size: 1.05rem; max-width: 860px; }
.parceria-lead b { color: var(--texto); }
.parceria-aviso { display: flex; align-items: flex-start; gap: 14px; margin: 22px 0 30px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #fff4cf, #ffe7a3); border: 1px solid #f6c445; color: #4a3500; }
.parceria-aviso p { margin: 0; }
.pa-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #1d2270; animation: bate 2.4s ease-in-out infinite; }
.pa-ico svg { width: 24px; height: 24px; fill: none; stroke: #ffe08a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.passos-tit { display: flex; align-items: center; gap: 14px; font-family: var(--titulo); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texto); }
.passos-tit::before, .passos-tit::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--borda), transparent); }
.passos { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; position: relative; }
.passos::before { content: ''; position: absolute; top: 18px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--azul) 0 8px, transparent 8px 16px); opacity: .5; animation: tracejado 1.2s linear infinite; }
@keyframes tracejado { to { background-position: 16px 0; } }
.passos li { position: relative; text-align: center; padding: 50px 16px 20px; border-radius: 20px; background: var(--fundo); border: 1px solid var(--borda); transition: transform .35s, border-color .35s, box-shadow .35s; }
.passos li:hover { transform: translateY(-6px); border-color: var(--ciano); box-shadow: var(--sombra); }
.ps-n { position: absolute; top: -2px; left: 50%; transform: translate(-50%, 0); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titulo); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--indigo), #6d4fe0); box-shadow: 0 0 0 5px var(--cartao), 0 10px 20px -8px rgba(43, 49, 146, .8); }
.ps-ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; background: rgba(43, 49, 146, .08); }
.ps-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.passos li:hover .ps-ico svg { transform: scale(1.15) rotate(-6deg); }
.passos b { display: block; font-family: var(--titulo); font-size: 1.02rem; }
.passos li > span:last-child { font-size: .9rem; color: var(--texto-2); }
.parceria-rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--borda); }
.parceria-frase { margin: 0; font-family: var(--titulo); font-weight: 800; color: var(--indigo); }
@media (max-width: 880px) { .passos { grid-template-columns: 1fr 1fr; row-gap: 30px; } .passos::before { display: none; } }
@media (max-width: 480px) { .passos { grid-template-columns: 1fr; } }
/* ---------- Fotos: cartões de atendimento e colagem do "O hospital" ---------- */
.sv-foto { margin: -32px -28px 22px; height: 190px; overflow: hidden; position: relative; }
.sv-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sv-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 26, 60, .35)); }
.servico:hover .sv-foto img { transform: scale(1.07); }
.servico .sv-foto + .sv-ico { margin-top: -54px; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--cartao), 0 12px 26px -14px rgba(43, 49, 146, .9); }
.servico-destaque .sv-foto + .sv-ico { box-shadow: 0 0 0 5px var(--cartao), 0 12px 26px -14px rgba(229, 56, 79, .9); }
.servico::before { z-index: 2; }
.hosp-topo { margin-bottom: 44px; }
.colagem { position: relative; aspect-ratio: 1 / .92; }
.colagem > div:not(.col-selo) { position: absolute; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(29, 34, 112, .6); }
.colagem img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.colagem > div:hover img { transform: scale(1.06); }
.col-a { left: 0; top: 0; width: 66%; height: 78%; }
.col-b { right: 0; bottom: 0; width: 50%; height: 56%; border: 6px solid var(--fundo); animation: flutua-c 7s ease-in-out infinite; }
.col-selo { position: absolute; left: 6%; bottom: 4%; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--ciano)); box-shadow: 0 20px 40px -18px rgba(43, 49, 146, .9); }
.col-selo b { font-family: var(--titulo); font-size: 2rem; line-height: 1; }
.col-selo span { font-size: .8rem; line-height: 1.3; font-weight: 600; }
.pilares-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .pilares-3 { grid-template-columns: 1fr; } .colagem { max-width: 520px; width: 100%; margin: 0 auto; } }

/* ---------- Calendário do cuidado v2 (linha do tempo + cartões) ---------- */
.calendario { position: relative; overflow: hidden; background: radial-gradient(ellipse 50% 60% at 85% 10%, rgba(25, 167, 224, .10), transparent 70%), radial-gradient(ellipse 45% 55% at 10% 90%, rgba(43, 49, 146, .08), transparent 70%), linear-gradient(180deg, var(--fundo), #edf1fb); }
.cal-topo { display: flex; align-items: center; gap: 18px; margin: 6px 0 22px; }
.cal-meses { position: relative; flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); padding: 6px 0 0; }
.cal-meses::before, .cal-meses::after { content: ""; position: absolute; left: calc(100% / 24); top: 18px; height: 3px; border-radius: 3px; }
.cal-meses::before { right: calc(100% / 24); background: rgba(43, 49, 146, .12); }
.cal-meses::after { width: calc((100% - 100% / 12) * var(--prog, 0)); background: linear-gradient(90deg, var(--indigo), var(--ciano)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.cal-mes { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: 800 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); opacity: .55; cursor: default; }
.cal-mes i { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: #fff; border: 3px solid rgba(43, 49, 146, .2); transition: transform .3s, box-shadow .3s; }
.cal-mes.tem { opacity: 1; cursor: pointer; color: var(--texto); }
.cal-mes.tem i { border-color: var(--cor); background: var(--cor); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor) 18%, transparent); }
.cal-mes.tem:hover i, .cal-mes.tem:focus-visible i { transform: scale(1.35); }
.cal-mes.tem:hover { color: var(--cor); }
.cal-mes.hoje { opacity: 1; color: var(--indigo); }
.cal-mes.hoje i { width: 22px; height: 22px; margin-top: 1px; border-color: #fff; background: var(--cor, var(--indigo)); box-shadow: 0 0 0 0 color-mix(in srgb, var(--cor, #2b3192) 55%, transparent), 0 6px 16px -4px var(--cor, #2b3192); animation: cal-pulso 2s ease-out infinite; }
.cal-mes.hoje::after { content: "Hoje"; position: absolute; top: -18px; padding: 1px 7px; border-radius: 999px; font-size: .6rem; letter-spacing: .06em; color: #fff; background: var(--indigo); }
@keyframes cal-pulso { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cor, #2b3192) 55%, transparent), 0 6px 16px -4px var(--cor, #2b3192); } 70%, 100% { box-shadow: 0 0 0 12px transparent, 0 6px 16px -4px var(--cor, #2b3192); } }
.cal-nav { display: flex; gap: 10px; margin: 0; flex: none; }
.cal-seta { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--borda); background: #fff; color: var(--indigo); cursor: pointer; box-shadow: 0 10px 22px -14px rgba(20, 24, 88, .5); transition: background .25s, color .25s, transform .25s, opacity .25s; }
.cal-seta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cal-seta:hover:not(:disabled) { background: var(--indigo); color: #fff; transform: translateY(-2px); }
.cal-seta:disabled { opacity: .35; cursor: default; }
.cal-lista { list-style: none; margin: 0 -10px; padding: 14px 10px 30px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 10px; scrollbar-width: none; position: relative; }
.cal-lista::-webkit-scrollbar { display: none; }
.cal-barra { height: 4px; border-radius: 4px; background: rgba(43, 49, 146, .1); overflow: hidden; }
.cal-barra i { display: block; height: 100%; width: var(--w, 30%); margin-left: var(--x, 0); border-radius: 4px; background: linear-gradient(90deg, var(--indigo), var(--ciano)); transition: margin-left .15s linear; }
.cal { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid rgba(43, 49, 146, .08); box-shadow: 0 18px 40px -28px rgba(20, 24, 88, .45); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.cal:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--cor) 45%, transparent); box-shadow: 0 34px 60px -30px color-mix(in srgb, var(--cor) 75%, transparent); }
.cal.foco { animation: cal-foco 1.4s ease; }
@keyframes cal-foco { 30% { transform: translateY(-10px) scale(1.02); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor) 40%, transparent), 0 30px 60px -30px var(--cor); } }
.cal-arte { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px 24px 0 0; }
.cal-arte img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.cal-arte::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, color-mix(in srgb, var(--cor) 30%, transparent)); opacity: .7; pointer-events: none; }
.cal:hover .cal-arte img { transform: scale(1.06); }
.cal-status { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--texto); background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.cal-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa3c0; }
.cal-status:empty { display: none; }
.cal.agora .cal-status { color: #fff; background: var(--cor); border-color: transparent; }
.cal.agora .cal-status::before { background: #fff; animation: piscar-suave 1.6s ease-in-out infinite; }
.cal.breve .cal-status::before { background: var(--ciano); }
.cal.passou .cal-arte img { filter: saturate(.6); }
.cal.passou:hover .cal-arte img { filter: none; }
.cal.agora { border: 2px solid var(--cor); box-shadow: 0 0 0 6px color-mix(in srgb, var(--cor) 14%, transparent), 0 30px 56px -26px var(--cor); }
.cal-tile { position: absolute; z-index: 3; top: 0; left: 18px; width: 58px; overflow: hidden; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 14px 28px -14px rgba(20, 24, 88, .55); transform: translateY(-50%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.cal:hover .cal-tile { transform: translateY(-58%) rotate(-4deg); }
.cal-tile b { display: block; padding: 4px 0 3px; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--cor); }
.cal-tile span { display: block; padding: 3px 0 5px; font-family: var(--titulo); font-weight: 900; font-size: 1.45rem; line-height: 1.1; color: var(--texto); }
.cal-tile span.todo { font-size: .66rem; font-weight: 800; letter-spacing: .06em; line-height: 1.25; padding: 7px 0 8px; text-transform: uppercase; color: var(--cor); }
.cal-info { position: relative; padding: 46px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cal-data { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cor); }
.cal h3 { font-size: 1.12rem; line-height: 1.25; margin: 2px 0 6px; }
.cal-info > p:not(.cal-data) { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--texto-2); }
.cal-ajuda { margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: rgba(232, 177, 0, .12); border: 1px solid rgba(232, 177, 0, .3); color: var(--texto) !important; font-weight: 600; }
.cal-ajuda a { color: #8a6500; font-weight: 800; }
.cal-foto { margin-top: 14px; padding: 6px; border: 1px solid var(--borda); background: #fff; cursor: zoom-in; border-radius: 14px; display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; transition: border-color .3s, transform .3s; }
.cal-foto img { flex: none; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cal-foto span { font-size: .82rem; font-weight: 700; color: var(--texto); }
.cal-foto span small { display: block; font-weight: 600; font-size: .74rem; color: var(--cor); }
.cal-foto:hover { border-color: var(--cor); transform: translateY(-2px); }
.cal-link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--cor); text-decoration: none; }
.cal-link:hover { gap: 10px; }
@media (max-width: 980px) { .cal-lista { grid-auto-columns: calc((100% - 20px - 22px) / 2); } }
@media (max-width: 760px) { .cal-topo { flex-direction: column; align-items: stretch; } .cal-nav { justify-content: center; } .cal-mes { font-size: .58rem; letter-spacing: 0; } }
@media (max-width: 560px) { .cal-lista { grid-auto-columns: 80%; } }
@media (prefers-reduced-motion: reduce) { .cal-mes.hoje i, .cal.foco { animation: none; } }
/* ---------- Arte ampliada ---------- */
.lupa { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(6, 10, 34, .88); backdrop-filter: blur(6px); cursor: zoom-out; }
.lupa[hidden] { display: none; }
.lupa img { max-width: min(92vw, 640px); max-height: 88vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lupa-fechar { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lupa-fechar:hover { background: var(--ciano); }

/* ---------- Aviso: telefone novo (faixa no topo + etiquetas) ---------- */
:root { --faixa-h: 40px; }
.aviso-tel { height: var(--faixa-h); display: flex; align-items: center; color: #3d2c00; background: linear-gradient(90deg, #ffe08a, #f6c445, #ffe08a); background-size: 200% 100%; animation: linha 8s linear infinite; font-size: .9rem; }
.aviso-in { width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 10px; }
.aviso-in a { color: #1d2270; font-weight: 800; }
.aviso-ico { display: inline-block; animation: toca 3s ease-in-out infinite; }
.aviso-btn { padding: 4px 12px; border-radius: 999px; background: #1d2270; color: #fff !important; text-decoration: none; font-size: .8rem; }
.aviso-btn:hover { background: var(--indigo); }
.heroi { margin-top: calc(var(--topo-h) + var(--faixa-h)); }
html { scroll-padding-top: calc(96px + var(--faixa-h)); }
@media (max-width: 1180px) { .menu { top: calc(var(--topo-h) + var(--faixa-h)); } }
@media (max-width: 560px) { :root { --faixa-h: 46px; } .aviso-tel { font-size: .78rem; line-height: 1.25; } .aviso-btn { display: none; } .aviso-in { justify-content: flex-start; } }
.tag-novo { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #3d2c00; background: #f6c445; animation: piscar-suave 2.4s ease-in-out infinite; vertical-align: middle; }
@keyframes piscar-suave { 50% { box-shadow: 0 0 0 4px rgba(246, 196, 69, .35); } }
.aviso-mudou { padding: 12px 16px; border-radius: 14px; background: #fff4cf; border: 1px solid #f6c445; color: #4a3500 !important; font-size: .95rem; }

/* ===================== v2: Convênios / Como chegar / Rodapé modernizados ===================== */
/* Convênios */
.conv-conta { display: inline-flex; align-items: baseline; gap: 6px; margin: 4px auto 0; padding: 6px 16px; border-radius: 999px; background: rgba(43, 49, 146, .07); color: var(--texto-2); font-weight: 600; }
.conv-conta b { font-family: var(--titulo); font-size: 1.3rem; color: var(--indigo); }
.conv-conta span { color: var(--texto-2); font-weight: 500; }
.conv:not(.conv-novo) { position: relative; overflow: hidden; }
.conv:not(.conv-novo)::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--indigo), var(--ciano)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.conv:not(.conv-novo):hover::after { transform: scaleX(1); }
.conv:not(.conv-novo):hover { box-shadow: 0 22px 40px -24px rgba(43, 49, 146, .6); }
.conv-novo { background: linear-gradient(135deg, #ffe08a, #f6c445 60%, #f0a500) !important; border: 0 !important; box-shadow: 0 20px 40px -22px rgba(240, 165, 0, .9); }
.conv-novo a { position: relative; display: grid !important; grid-template-columns: 1fr auto; align-content: center; gap: 2px 14px; padding: 22px 24px !important; color: #2a1f00 !important; overflow: hidden; }
.conv-novo a::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.25); }
.cn-selo { grid-column: 1; justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #1d2270; }
.cn-nome { grid-column: 1; font-family: var(--titulo); font-size: 1.5rem; font-weight: 800; line-height: 1.1; margin-top: 6px; }
.cn-sub { grid-column: 1; font-size: .9rem; }
.cn-seta { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; background: #1d2270; color: #fff; transition: transform .35s; position: relative; }
.conv-novo:hover .cn-seta { transform: translateX(5px); }
.conv-faixa { background: #fff; border-block: 1px solid var(--borda); padding: 16px 0; }
.conv-trilho span { gap: 0; padding: 0 30px; height: 56px; display: inline-flex; align-items: center; }
.conv-trilho span::after { display: none; }
.conv-trilho img { height: 42px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter .3s; }
.conv-trilho span:hover img { filter: none; }

/* Como chegar */
.chegar-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.chegar-info { display: flex; flex-direction: column; gap: 16px; }
.chegar-foto { position: relative; display: block; height: 220px; padding: 0; border: 0; border-radius: 24px; overflow: hidden; cursor: zoom-in; box-shadow: var(--sombra); }
.chegar-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.chegar-foto:hover img { transform: scale(1.06); }
.chegar-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 24, 88, .7)); }
.cf-tag { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-family: var(--titulo); font-weight: 800; font-size: 1.1rem; }
.cf-tag svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cf-zoom { position: absolute; right: 14px; top: 14px; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: rgba(10, 14, 50, .55); backdrop-filter: blur(6px); }
.chegar-itens { list-style: none; margin: 0; padding: 6px; display: grid; border-radius: 22px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); }
.chegar-itens li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; transition: background .25s; }
.chegar-itens li + li { border-top: 1px dashed var(--borda); }
.chegar-itens li:hover { background: var(--fundo); }
.ci-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); box-shadow: 0 10px 20px -12px rgba(43, 49, 146, .9); }
.ci-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chegar-itens small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ciano); }
.chegar-itens b { display: block; font-family: var(--titulo); font-size: 1.05rem; }
.chegar-itens b a { color: inherit; text-decoration: none; }
.chegar-itens span { font-size: .88rem; color: var(--texto-2); }
.chegar-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.chegar-acoes .btn { flex: 1 1 auto; }
.chegar-mapa { position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; border: 1px solid var(--borda); box-shadow: 0 40px 80px -44px rgba(29, 34, 112, .6); background: var(--cartao); }
.chegar-mapa iframe { position: absolute; left: 0; top: -170px; width: 100%; height: calc(100% + 170px); border: 0; }
.cm-selo { position: absolute; left: 16px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--ciano)); box-shadow: 0 12px 24px -12px rgba(43, 49, 146, .9); pointer-events: none; }
.cm-selo i { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulso-b 2s infinite; }
@keyframes pulso-b { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (max-width: 900px) { .chegar-grade { grid-template-columns: 1fr; } .chegar-mapa { min-height: 360px; } }

/* Rodapé */
.rodape.rf { padding-top: 0; position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 60% at 0% 0%, rgba(25, 167, 224, .22), transparent 70%), linear-gradient(180deg, #1d2270, #0b0f3a); }
.rf .cont { position: relative; z-index: 1; }
.rf-convite { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 56px 0 48px; padding: 26px 30px; border-radius: 24px; background: linear-gradient(120deg, rgba(25, 167, 224, .22), rgba(255,255,255,.05)); border: 1px solid rgba(127, 227, 255, .3); }
.rf-pulso { flex: none; width: 110px; height: 40px; }
.rf-pulso svg { width: 100%; height: 100%; }
.rf-pulso path { fill: none; stroke: #7fe3ff; stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: ecg-p 2.2s linear infinite; filter: drop-shadow(0 0 5px rgba(127, 227, 255, .8)); }
.rf-pre { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #7fe3ff; }
.rf-tit { margin: 0; font-family: var(--titulo); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: #fff; }
.rf-tit em { font-style: normal; color: #9fe7ff; }
.rf-acoes { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.rf-btn-branco { background: #fff; color: var(--indigo); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.rf-btn-vidro { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); }
.rf-btn-vidro:hover { background: rgba(255,255,255,.16); }
.rf-grade { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 34px; padding-bottom: 32px; color: #b7bfe4; }
.rf-marca img { height: 74px; width: auto; }
.rf-marca p { margin: 14px 0 16px; font-size: .92rem; max-width: 320px; }
.rf-redes { display: flex; gap: 10px; }
.rf-redes a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .25s, transform .25s; }
.rf-redes a:hover { background: var(--ciano); transform: translateY(-3px); }
.rf-redes svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rf-redes .cheio { fill: currentColor; stroke: none; }
.rf-col h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0 0 1.1em; }
.rf-col { display: flex; flex-direction: column; gap: 10px; }
.rf-col > a { color: #b7bfe4; text-decoration: none; font-size: .93rem; width: fit-content; transition: color .2s, transform .2s; }
.rf-col > a:hover { color: #fff; transform: translateX(4px); }
.rf-col p { margin: 0; font-size: .9rem; }
.rf-col p b { display: block; color: #fff; }
.rf-col p a { color: #7fe3ff; text-decoration: none; }
.rf-contato > a { display: flex; align-items: center; gap: 10px; }
.rf-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(25, 167, 224, .16); border: 1px solid rgba(127, 227, 255, .25); }
.rf-ico svg { width: 17px; height: 17px; fill: none; stroke: #7fe3ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rf-emerg { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding: 14px 18px; border-radius: 18px; background: rgba(229, 56, 79, .16); border: 1px solid rgba(229, 56, 79, .4); }
.rf-emerg-n { flex: none; padding: 6px 14px; border-radius: 12px; font-family: var(--titulo); font-size: 1.4rem; font-weight: 800; color: #fff; background: var(--vermelho); animation: bate 1.8s ease-in-out infinite; }
.rf-emerg p { margin: 0; color: #fff; font-size: .95rem; }
.rf-emerg a { color: #ffb3bd; font-weight: 800; }
.rf-gigante { pointer-events: none; position: relative; z-index: 0; margin: 0 0 -.14em; text-align: center; font-family: var(--titulo); font-weight: 800; line-height: .8; letter-spacing: .04em; user-select: none; font-size: clamp(90px, 22vw, 300px); background: linear-gradient(180deg, rgba(127, 227, 255, .2), rgba(127, 227, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rf-base { position: relative; background: rgba(0,0,0,.28); border-top: 1px solid rgba(255,255,255,.08); }
.rf-base-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: .85rem; }
.rf-base-in p { margin: 0; color: #8d96c4; }
@media (max-width: 900px) { .rf-grade { grid-template-columns: 1fr 1fr; } .rf-marca { grid-column: 1 / -1; } .rf-acoes { margin-left: 0; } }
@media (max-width: 520px) { .rf-grade { grid-template-columns: 1fr; } .rf-convite { padding: 22px; } .rf-pulso { display: none; } .rf-base-in { justify-content: center; text-align: center; padding-bottom: 84px; } }
/* ===================== v3: layout institucional (referência Caxias D'Or) ===================== */
/* Barra de utilidades */
.util { height: var(--faixa-h); background: #141a5c; color: #dbe2ff; font-size: .85rem; }
.util-in { width: min(1200px, 100% - 32px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.util-novo { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; padding: 4px 12px 4px 8px; border-radius: 999px; background: rgba(246, 196, 69, .18); border: 1px solid rgba(246, 196, 69, .55); }
.util-novo svg { width: 16px; height: 16px; fill: none; stroke: #ffd76a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: toca 3s ease-in-out infinite; }
.util-novo b { color: #ffd76a; }
.util-links { display: flex; gap: 4px; }
.util-links a { color: #dbe2ff; text-decoration: none; padding: 4px 10px; border-radius: 8px; font-weight: 600; transition: background .2s, color .2s; }
.util-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 760px) { .util-links { display: none; } .util-in { justify-content: center; } }

/* Carrossel de tela inteira */
.hero { position: relative; margin-top: calc(var(--topo-h) + var(--faixa-h)); height: min(640px, calc(100svh - var(--topo-h) - var(--faixa-h))); min-height: 460px; overflow: hidden; background: #141a5c; }
.hero-slides, .sl { position: absolute; inset: 0; }
.sl { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.sl.ativo { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.sl[hidden] { display: none; }
.sl-img { position: absolute; inset: 0; background-size: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.sl.ativo .sl-img { transform: scale(1); }
.sl::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 24, 88, .94) 0%, rgba(29, 34, 112, .78) 42%, rgba(29, 34, 112, .15) 75%, transparent 100%); }
.sl-azul::before { background: linear-gradient(90deg, rgba(13, 71, 161, .95) 0%, rgba(21, 101, 192, .78) 42%, rgba(21, 101, 192, .12) 80%); }
.sl-ouro::before { background: linear-gradient(90deg, rgba(20, 24, 88, .95) 0%, rgba(29, 34, 112, .82) 45%, rgba(246, 196, 69, .25) 100%); }
.sl-txt { position: relative; z-index: 2; height: 100%; width: min(1160px, 100% - 32px); margin-inline: auto; display: flex; flex-direction: column; justify-content: center; color: #fff; padding-bottom: 40px; }
.sl-txt > * { max-width: 600px; opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.sl.ativo .sl-txt > * { opacity: 1; transform: none; }
.sl.ativo .sl-txt > :nth-child(2) { transition-delay: .12s; } .sl.ativo .sl-txt > :nth-child(3) { transition-delay: .24s; } .sl.ativo .sl-txt > :nth-child(4) { transition-delay: .36s; }
.sl-pre { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.sl-pre i { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); animation: pulso-v 2s infinite; }
.sl-tit { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.08; margin: .45em 0 .35em; color: #fff; }
.sl-tit em { font-style: normal; color: #9fe7ff; }
.sl-ouro .sl-tit em { color: #ffd76a; }
.sl-p { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255,255,255,.88); margin: 0 0 24px; }
.sl-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-branco { background: #fff; color: var(--indigo); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.btn-linha { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); }
.btn-linha:hover { background: rgba(255,255,255,.18); }
.hero .ecg { z-index: 2; bottom: 70px; opacity: .35; }
.hero-ctrl { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(1160px, 100% - 32px); display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: .9rem; }
.hero-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .25s; }
.hero-ctrl button:hover { background: #fff; color: var(--indigo); }
.hero-barra { flex: 0 1 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero-barra i { display: block; height: 100%; width: 0; background: #fff; }
.hero-barra i.corre { animation: encher var(--espera, 6s) linear forwards; }
@keyframes encher { to { width: 100%; } }
@media (max-width: 760px) { .sl::before { background: linear-gradient(180deg, rgba(20, 24, 88, .7), rgba(20, 24, 88, .92) 60%); } .hero { height: auto; min-height: 560px; } }

/* Slide com arte (Novembro Azul): pôster inteiro à direita, sem cortar o texto da arte */
.sl-img-azul { background: radial-gradient(ellipse 60% 80% at 75% 50%, rgba(95, 208, 255, .35), transparent 65%), linear-gradient(120deg, #0b2d6b, #1565c0 60%, #1e88e5); }
.sl-arte::before { background: linear-gradient(90deg, rgba(8, 35, 90, .55), transparent 60%); }
.sl-poster { position: absolute; z-index: 5; right: max(16px, calc((100% - 1160px) / 2 + 40px)); top: 50%; height: 82%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; transform: translateY(-50%) rotate(3deg) scale(.92); opacity: 0; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65); transition: transform 1s cubic-bezier(.2,.7,.2,1) .2s, opacity .8s .2s; }
.sl-poster img { width: 100%; height: 100%; object-fit: cover; }
.sl.ativo .sl-poster { opacity: 1; transform: translateY(-50%) rotate(3deg); }
.sl-poster:hover { transform: translateY(-50%) rotate(0) scale(1.03) !important; }
@media (max-width: 900px) { .sl-poster { display: none; } }/* Slide 1: foto da entrada só no lado direito (a placa do hospital não fica atrás do texto) */
.sl-foto-dir { background: linear-gradient(120deg, #141a5c, #2b3192 70%); }
.sl-foto-dir .sl-img { left: 36%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.sl-foto-dir::before { background: linear-gradient(90deg, rgba(26, 32, 112, .5) 0%, rgba(26, 32, 112, .2) 45%, rgba(26, 32, 112, 0) 60%); }
@media (max-width: 760px) { .sl-foto-dir .sl-img { left: 0; -webkit-mask-image: none; mask-image: none; } .sl-foto-dir::before { background: linear-gradient(180deg, rgba(20, 24, 88, .7), rgba(20, 24, 88, .92) 60%); } }/* Logo do topo: marca (estrelas + HCNI) + nome em texto real, nítido em qualquer tamanho */
.marca { display: flex !important; align-items: center; gap: 12px; text-decoration: none; }
.marca .marca-img { height: 46px; width: auto; }
.marca-txt { display: flex; flex-direction: column; align-items: center; text-align: center; padding-left: 12px; border-left: 2px solid rgba(43, 49, 146, .18); line-height: 1.15; }
.marca-txt b { white-space: nowrap; font-family: var(--titulo); font-size: 1.02rem; font-weight: 800; color: var(--indigo); letter-spacing: -.01em; }
.marca-txt span { font-size: .86rem; font-weight: 600; color: #6b8cd6; }
.marca:hover .marca-img { transform: scale(1.05); }
@media (max-width: 1180px) { .marca .marca-img { height: 38px; } .marca-txt b { font-size: .9rem; } .marca-txt span { font-size: .76rem; } }
@media (max-width: 380px) { .marca-txt { display: none; } }
.rf-logo { display: flex; align-items: center; gap: 14px; }
.rf-logo img { height: 52px; width: auto; }
.rf-logo span { display: flex; flex-direction: column; align-items: center; text-align: center; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.25); color: #c9d4ff; font-size: .9rem; line-height: 1.2; }
.rf-logo b { font-family: var(--titulo); font-size: 1.08rem; color: #fff; }/* Slide Dezembro Vermelho (1º/12 — Dia Mundial de Luta contra a AIDS) */
.sl-img-vermelho { background: radial-gradient(ellipse 50% 70% at 78% 45%, rgba(255, 120, 120, .35), transparent 65%), linear-gradient(120deg, #6d0a12, #b3121f 55%, #d62839); }
.sl-vermelho::before { background: linear-gradient(90deg, rgba(80, 6, 14, .55), transparent 65%); }
.sl-vermelho .sl-tit em { color: #ffd1d6; }
.sl-laco { position: absolute; right: max(30px, calc((100% - 1160px) / 2 + 90px)); top: 50%; width: min(340px, 30vw); aspect-ratio: 1; transform: translateY(-50%) rotate(-8deg); opacity: .9; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.sl-laco svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sl.ativo .sl-laco { animation: laco-sl 6s ease-in-out infinite; }
@keyframes laco-sl { 50% { transform: translateY(-53%) rotate(-3deg); } }
@media (max-width: 900px) { .sl-laco { opacity: .18; width: 60vw; } }/* Atendimento com 4 serviços */
.servicos-4 { max-width: none; grid-template-columns: repeat(4, 1fr); }
.servicos-4 .servico { padding: 28px 22px; }
.servicos-4 .sv-foto { margin: -28px -22px 20px; height: 160px; }
.servicos-4 .servico h3 { font-size: 1.3rem; }
.servicos-4 .servico p { font-size: .92rem; }
@media (max-width: 1100px) { .servicos-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .servicos-4 { grid-template-columns: 1fr; } }

/* Especialidades e exames */
.ee-grade { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.ee-bloco { padding: 30px; border-radius: 26px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); }
.ee-bloco-ex { background: linear-gradient(160deg, #1d2270, #2b3192 70%, #2f4fbf); color: #fff; border: 0; }
.ee-bloco h3 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 20px; }
.ee-bloco h3 span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--ciano)); }
.ee-bloco-ex h3 span { background: rgba(255,255,255,.16); }
.ee-lista { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ee-lista li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--fundo); border: 1px solid var(--borda); font-weight: 700; font-size: .95rem; transition: transform .3s, border-color .3s, background .3s; }
.ee-lista li:hover { transform: translateX(4px); border-color: var(--ciano); }
.ee-bloco-ex .ee-lista { grid-template-columns: 1fr; }
.ee-bloco-ex .ee-lista li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.ee-bloco-ex .ee-lista li:hover { background: rgba(255,255,255,.14); border-color: #7fe3ff; }
.ee-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(43, 49, 146, .08); }
.ee-bloco-ex .ee-ico { background: rgba(127, 227, 255, .16); }
.ee-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.ee-bloco-ex .ee-ico svg { stroke: #7fe3ff; }
.ee-lista li:hover .ee-ico svg { transform: scale(1.15) rotate(-6deg); }
.ee-obs { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); }
.ee-obs a { color: #9fe7ff; font-weight: 800; }
@media (max-width: 900px) { .ee-grade { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ee-lista { grid-template-columns: 1fr; } .ee-bloco { padding: 22px; } }
/* ---------- Vitrine: especialidades e exames (abas + bento + luz do mouse) ---------- */
.vitrine { position: relative; overflow: hidden; }
.vitrine::before { content: ''; position: absolute; width: 700px; height: 700px; left: -250px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(25, 167, 224, .12), transparent 65%); pointer-events: none; }
.vt-abas { position: relative; display: flex; width: fit-content; margin: 0 auto 34px; padding: 6px; border-radius: 999px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra); }
.vt-abas button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 0; border-radius: 999px; background: none; font: 800 .98rem var(--titulo); color: var(--texto-2); cursor: pointer; transition: color .3s; }
.vt-abas button i { font-style: normal; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; font-size: .78rem; background: rgba(43, 49, 146, .08); color: var(--indigo); transition: background .3s, color .3s; }
.vt-abas button[aria-selected="true"] { color: #fff; }
.vt-abas button[aria-selected="true"] i { background: rgba(255,255,255,.22); color: #fff; }
.vt-marca { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: var(--w, 50%); transform: translateX(var(--x, 0)); border-radius: 999px; background: linear-gradient(135deg, var(--indigo), #3d47c4 55%, var(--ciano)); box-shadow: 0 10px 24px -10px rgba(43, 49, 146, .8); transition: transform .45s cubic-bezier(.2,.8,.2,1), width .45s; }
.vt-painel[hidden] { display: none; }
.vt-painel.ativo .vt { animation: vt-entra .55s cubic-bezier(.2,.8,.2,1) both; }
.vt-painel.ativo .vt:nth-child(2) { animation-delay: .03s; } .vt-painel.ativo .vt:nth-child(3) { animation-delay: .06s; } .vt-painel.ativo .vt:nth-child(4) { animation-delay: .09s; }
.vt-painel.ativo .vt:nth-child(5) { animation-delay: .12s; } .vt-painel.ativo .vt:nth-child(6) { animation-delay: .15s; } .vt-painel.ativo .vt:nth-child(7) { animation-delay: .18s; }
.vt-painel.ativo .vt:nth-child(8) { animation-delay: .21s; } .vt-painel.ativo .vt:nth-child(9) { animation-delay: .24s; }
@keyframes vt-entra { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.vt-grade { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 16px; }
.vt-destaque { grid-column: span 2; grid-row: span 2; position: relative; border-radius: 24px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 28px; color: #fff; box-shadow: 0 30px 60px -30px rgba(20, 24, 88, .7); animation: vt-entra .55s both; }
.vt-destaque::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 88, .1) 20%, rgba(20, 24, 88, .9)); }
.vt-destaque > div { position: relative; }
.vt-d-pre { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #9fe7ff; }
.vt-d-tit { margin: .2em 0 .8em; font-family: var(--titulo); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.1; }
.vt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px; border-radius: 20px; text-decoration: none; color: var(--texto); background: var(--cartao); border: 1px solid var(--borda); overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.vt::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 167, 224, .16), transparent 65%); opacity: 0; transition: opacity .3s; }
.vt:hover { transform: translateY(-6px); border-color: rgba(25, 167, 224, .6); box-shadow: 0 24px 44px -24px rgba(43, 49, 146, .55); }
.vt:hover::before { opacity: 1; }
.vt-ico { position: absolute; top: 16px; left: 16px; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo), var(--ciano)); box-shadow: 0 10px 20px -10px rgba(43, 49, 146, .9); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.vt-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt:hover .vt-ico { transform: rotate(-8deg) scale(1.08); }
.vt-tag { position: absolute; top: 18px; right: 16px; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); background: rgba(43, 49, 146, .07); }
.vt b { font-family: var(--titulo); font-size: 1.08rem; line-height: 1.2; }
.vt em { font-style: normal; font-size: .82rem; font-weight: 800; color: var(--ciano); max-height: 0; opacity: 0; transform: translateY(6px); transition: max-height .35s, opacity .3s, transform .35s; }
.vt:hover em, .vt:focus-visible em { max-height: 24px; opacity: 1; transform: none; }
.vt-obs { text-align: center; margin: 22px 0 0; color: var(--texto-2); }
.vt-obs a { color: var(--indigo); font-weight: 800; }
@media (max-width: 1000px) { .vt-grade { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .vt-destaque { grid-column: 1 / -1; grid-row: span 2; } }
@media (max-width: 520px) { .vt-abas button { padding: 10px 16px; font-size: .9rem; } .vt-grade { gap: 10px; grid-auto-rows: 140px; } .vt { padding: 14px; } .vt b { font-size: .95rem; } .vt-tag { display: none; } .vt em { max-height: 24px; opacity: 1; transform: none; } }
/* Slide Postal Saúde + Amil: sem foto genérica; passos em cartão de vidro */
.sl-img-postal { background: radial-gradient(ellipse 45% 70% at 80% 40%, rgba(246, 196, 69, .35), transparent 65%), radial-gradient(ellipse 50% 60% at 15% 90%, rgba(25, 167, 224, .3), transparent 65%), linear-gradient(120deg, #141a5c, #2b3192 55%, #3a2d8f); }
.sl-postal::before { background: none; }
.sl-duo { gap: 6px !important; padding: 5px 6px 5px 6px !important; text-transform: none !important; letter-spacing: 0 !important; }
.pill-ps { padding: 3px 10px; border-radius: 999px; background: #ffd76a; color: #2a1f00; font-weight: 800; }
.pill-amil { padding: 3px 10px; border-radius: 999px; background: #fff; color: #3a2d8f; font-weight: 800; }
.sl-duo > b { color: #ffd76a; }
.sl-pre i.sl-novo { width: auto; height: auto; display: inline-block; line-height: 1.4; font-weight: 800; font-style: normal; margin-left: 4px; padding: 3px 8px; border-radius: 999px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--vermelho); color: #fff; animation: piscar-suave 2s infinite; }
.sl-postal .sl-tit { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.sl-postal .sl-tit em { color: #ffd76a; }
.btn-ouro { color: #2a1f00; background: linear-gradient(135deg, #ffe08a, #f6c445); box-shadow: 0 14px 30px -12px rgba(246, 196, 69, .8); }
.sl-passos { position: absolute; z-index: 5; right: max(16px, calc((100% - 1160px) / 2 + 20px)); top: 50%; width: 330px; margin: 0; padding: 22px; list-style: none; display: grid; gap: 4px; border-radius: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); color: #fff; opacity: 0; transform: translate(30px, -50%); transition: opacity .8s .25s, transform 1s cubic-bezier(.2,.7,.2,1) .25s; }
.sl.ativo .sl-passos { opacity: 1; transform: translate(0, -50%); }
.sl-passos li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 6px; }
.sl-passos li + li::before { content: ''; position: absolute; left: 23px; top: -10px; height: 20px; border-left: 2px dashed rgba(255,215,106,.5); }
.sl-passos span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titulo); font-weight: 800; color: #2a1f00; background: #ffd76a; box-shadow: 0 0 0 4px rgba(255,215,106,.2); }
.sl-passos div { font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.3; }
.sl-passos b { display: block; font-size: 1rem; color: #fff; }
.sl.ativo .sl-passos li { animation: passo-in .6s both; }
.sl.ativo .sl-passos li:nth-child(1) { animation-delay: .5s; } .sl.ativo .sl-passos li:nth-child(2) { animation-delay: .65s; } .sl.ativo .sl-passos li:nth-child(3) { animation-delay: .8s; } .sl.ativo .sl-passos li:nth-child(4) { animation-delay: .95s; }
@keyframes passo-in { from { opacity: 0; transform: translateX(16px); } }
@media (max-width: 1000px) { .sl-passos { display: none; } }/* ===================== HERO v4 — carrossel moderno (texto + visual por slide) ===================== */
.hx { position: relative; margin-top: calc(var(--topo-h) + var(--faixa-h)); min-height: min(680px, calc(100svh - var(--topo-h) - var(--faixa-h))); overflow: hidden; color: #fff;
  --c1: #141a5c; --c2: #2b3192; --c3: #19a7e0; background: linear-gradient(125deg, var(--c1), var(--c2) 60%, color-mix(in srgb, var(--c2) 70%, var(--c3))); transition: --c1 1s, --c2 1s, --c3 1s; }
@property --c1 { syntax: "<color>"; inherits: true; initial-value: #141a5c; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #2b3192; }
@property --c3 { syntax: "<color>"; inherits: true; initial-value: #19a7e0; }
.hx-fundo { position: absolute; inset: 0; pointer-events: none; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hx-blob.b1 { width: 560px; height: 560px; right: -120px; top: -140px; background: radial-gradient(circle, var(--c3), transparent 65%); animation: blob 14s ease-in-out infinite alternate; }
.hx-blob.b2 { width: 480px; height: 480px; left: -160px; bottom: -200px; background: radial-gradient(circle, color-mix(in srgb, var(--c3) 60%, #fff), transparent 65%); opacity: .3; animation: blob 18s ease-in-out infinite alternate-reverse; }
@keyframes blob { to { transform: translate(-60px, 50px) scale(1.15); } }
.hx-grade { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%); }
.hx-ecg { position: absolute; left: 0; right: 0; bottom: 96px; width: 100%; height: 110px; opacity: .3; pointer-events: none; }
.hx-ecg path { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg 5s linear infinite; }
.hx-slides { position: relative; height: 100%; min-height: inherit; }
.hs { position: absolute; inset: 0 0 96px; width: min(1180px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; visibility: hidden; pointer-events: none; }
.hs.ativo { visibility: visible; pointer-events: auto; }
.hs[hidden] { display: none; }
/* texto */
.hs-txt > * { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1); }
.hs.ativo .hs-txt > * { opacity: 1; transform: none; }
.hs.ativo .hs-txt > :nth-child(1) { transition-delay: .05s; } .hs.ativo .hs-txt > :nth-child(3) { transition-delay: .45s; } .hs.ativo .hs-txt > :nth-child(4) { transition-delay: .6s; }
.hs-pre { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.pt-verde, .pt-vermelho { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); animation: pulso-v 2s infinite; }
.pt-vermelho { background: #ff5a6e; }
.hs-tit { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: .4em 0 .35em; color: #fff; }
.hs-tit em { font-style: normal; background: linear-gradient(90deg, #fff, var(--c3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-tit .pal { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hs-tit .pal > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.12s + var(--i) * 55ms); }
.hs.ativo .hs-tit .pal > span { transform: none; }
.hs-tit em .pal > span { background: inherit; -webkit-background-clip: text; background-clip: text; }
.hs-p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.85); max-width: 540px; margin: 0 0 26px; }
.hs-p b { color: #fff; }
.hs-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hs-duo { gap: 6px; padding: 5px 6px; letter-spacing: 0; text-transform: none; }
.hs-duo > b { color: #ffd76a; }
.hs-novo { font-style: normal; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--vermelho); color: #fff; }
/* visual à direita */
.hs-vis { position: relative; display: grid; place-items: center; height: 100%; max-height: 540px; opacity: 0; transform: translateX(60px) scale(.95); transition: opacity .8s .15s, transform 1s cubic-bezier(.2,.8,.2,1) .15s; }
.hs.ativo .hs-vis { opacity: 1; transform: none; }
.hv-foto { width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.15); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.hv-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.hs.ativo .hv-foto img { transform: scale(1); }
.hv-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .7s cubic-bezier(.2,.8,.2,1); animation: flutua-c 6s ease-in-out infinite; }
.hs.ativo .hv-chip { opacity: 1; transform: none; }
.hv-chip b { font-family: var(--titulo); font-size: 1.7rem; line-height: 1; }
.hv-chip span { font-size: .8rem; font-weight: 700; line-height: 1.2; max-width: 90px; }
.hv-chip.c1 { left: -26px; top: 14%; transition-delay: .6s; }
.hv-chip.c2 { right: -18px; top: 46%; transition-delay: .75s; animation-delay: -2s; }
.hv-chip.c3 { left: 8%; bottom: 4%; transition-delay: .9s; animation-delay: -4s; }
.hv-chip.c3 span { max-width: none; }
.hv-poster { height: min(500px, 100%); aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.15); transform: rotate(3deg); transition: transform .5s; }
.hv-poster img { width: 100%; height: 100%; object-fit: cover; }
.hv-poster:hover { transform: rotate(0) scale(1.03); }
.hv-passos { width: min(380px, 100%); margin: 0; padding: 24px; list-style: none; display: grid; gap: 4px; border-radius: 26px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hv-passos li { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 6px; opacity: 0; transform: translateX(20px); transition: opacity .5s, transform .6s; }
.hs.ativo .hv-passos li { opacity: 1; transform: none; }
.hs.ativo .hv-passos li:nth-child(1) { transition-delay: .5s; } .hs.ativo .hv-passos li:nth-child(2) { transition-delay: .65s; } .hs.ativo .hv-passos li:nth-child(3) { transition-delay: .8s; } .hs.ativo .hv-passos li:nth-child(4) { transition-delay: .95s; }
.hv-passos li + li::before { content: ''; position: absolute; left: 25px; top: -10px; height: 20px; border-left: 2px dashed rgba(255,215,106,.55); }
.hv-passos span { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titulo); font-weight: 800; color: #2a1f00; background: #ffd76a; box-shadow: 0 0 0 5px rgba(255,215,106,.18); }
.hv-passos div { font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.3; }
.hv-passos b { display: block; font-size: 1.02rem; color: #fff; }
.hv-logos { width: min(460px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; border-radius: 26px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hv-logos span { display: grid; place-items: center; height: 70px; padding: 8px 10px; border-radius: 14px; background: #fff; opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.hs.ativo .hv-logos span { opacity: 1; transform: none; }
.hv-logos span:nth-child(3n+1) { transition-delay: .4s; } .hv-logos span:nth-child(3n+2) { transition-delay: .5s; } .hv-logos span:nth-child(3n) { transition-delay: .6s; }
.hv-logos img { max-width: 100%; max-height: 48px; object-fit: contain; }
.hv-mais { font-family: var(--titulo); font-weight: 800; font-size: .85rem; color: #3d2c00; background: linear-gradient(135deg, #ffe08a, #f6c445) !important; text-align: center; }
/* controles: abas com barra de tempo */
.hx-ctrl { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(1180px, 100% - 32px); display: flex; align-items: center; gap: 16px; z-index: 6; }
.hx-abas { flex: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.hx-abas::-webkit-scrollbar { display: none; }
.hx-aba { flex: 1 1 0; min-width: 120px; position: relative; padding: 12px 14px 14px; border: 0; border-radius: 14px; text-align: left; cursor: pointer; color: rgba(255,255,255,.65); background: rgba(255,255,255,.07); backdrop-filter: blur(8px); font: 700 .85rem var(--sans); transition: background .3s, color .3s; overflow: hidden; }
.hx-aba small { display: block; font-size: .68rem; letter-spacing: .14em; opacity: .7; }
.hx-aba:hover { background: rgba(255,255,255,.14); color: #fff; }
.hx-aba[aria-selected="true"] { background: rgba(255,255,255,.18); color: #fff; }
.hx-aba i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #fff, var(--c3)); }
.hx-aba[aria-selected="true"] i { animation: encher var(--espera, 6s) linear forwards; }
.hx.pausado .hx-aba i { animation-play-state: paused; }
.hx-setas { display: flex; gap: 8px; }
.hx-setas button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.hx-setas button:hover { background: #fff; color: var(--indigo); transform: scale(1.06); }
@media (max-width: 980px) {
  .hx { min-height: 620px; }
  .hs { grid-template-columns: 1fr; inset: 0 0 92px; align-content: center; }
  .hs-vis { display: none; }
  .hs-vis-foto { display: grid; position: absolute; inset: 0; opacity: .25 !important; transform: none !important; max-height: none; z-index: -1; }
  .hs-vis-foto .hv-foto { border-radius: 0; transform: none; height: 100%; aspect-ratio: auto; box-shadow: none; }
  .hs-vis-foto .hv-chip { display: none; }
  .hx-setas { display: none; }
  .hx-aba { min-width: 110px; padding: 10px 12px 12px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { .hs-tit .pal > span { transform: none; } }
.hv-chip { background: rgba(255,255,255,.94); color: var(--indigo); border-color: rgba(255,255,255,.6); }
.hv-chip b { color: var(--indigo); }
.hv-chip span { max-width: 110px; color: #3a4170; }
.hv-chip.c2 { right: -24px; top: 52%; }
.hv-chip.c3 { left: -14px; bottom: 8%; background: var(--vermelho); color: #fff; border-color: transparent; }
.hv-chip.c3 span { color: #fff; }
.hv-chip.c3 .pt-vermelho { background: #fff; }
.numeros b::after { content: none !important; }
.manifesto { position: relative; margin: 26px 0 0; padding: 22px 24px 20px 58px; border-radius: 20px; background: linear-gradient(135deg, rgba(43, 49, 146, .07), rgba(25, 167, 224, .08)); border: 1px solid rgba(43, 49, 146, .14); }
.manifesto::before { content: '\201C'; position: absolute; left: 16px; top: 2px; font-family: Georgia, serif; font-size: 4.2rem; line-height: 1; color: var(--ciano); }
.manifesto p { margin: 0 0 8px; font-family: var(--titulo); font-size: 1.18rem; font-weight: 700; line-height: 1.4; color: var(--texto); }
.manifesto b { color: var(--indigo); }
.manifesto em { font-style: normal; background: linear-gradient(90deg, var(--indigo), var(--ciano)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto cite { font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ciano); }.util-links a.util-res { background: rgba(127, 227, 255, .16); color: #fff; border: 1px solid rgba(127, 227, 255, .4); }
.trilho .trilho-res { background: #2f4fbf; }
.trilho .trilho-res:hover { background: var(--ciano); }
.rf-col > a b { color: #7fe3ff; }
.vt-obs a { color: var(--indigo); font-weight: 800; }
@media (max-width: 760px) { .util-links { display: flex !important; } .util-links a:not(.util-res) { display: none; } .util-in { justify-content: space-between !important; } .util-novo span b { display: none; } }/* Intranet (Cands Connect) — botão e janela "em breve" com telas */
.menu-intra { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; border: 1.5px solid rgba(43, 49, 146, .25); background: #fff; color: var(--indigo); font: 800 .9rem var(--sans); cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.menu-intra svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.menu-intra:hover { border-color: var(--indigo); background: rgba(43, 49, 146, .06); transform: translateY(-1px); }
.util-intra { border: 0; background: none; color: #dbe2ff; font: 600 .85rem var(--sans); padding: 4px 10px; border-radius: 8px; cursor: pointer; }
.util-intra:hover { background: rgba(255,255,255,.1); color: #fff; }
.intra { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(6, 10, 34, .78); backdrop-filter: blur(8px); animation: in-fade .25s; }
.intra[hidden] { display: none; }
@keyframes in-fade { from { opacity: 0; } }
.intra-caixa { position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px; border-radius: 26px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7); animation: in-sobe .4s cubic-bezier(.2,.8,.2,1); }
@keyframes in-sobe { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.intra-fechar { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--fundo-2); color: var(--texto); font-size: 1.5rem; cursor: pointer; }
.intra-fechar:hover { background: var(--indigo); color: #fff; }
.intra-selo { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #3d2c00; background: linear-gradient(135deg, #ffe08a, #f6c445); }
.intra-selo i { width: 8px; height: 8px; border-radius: 50%; background: #e5384f; animation: piscar 1.2s infinite; }
.intra-topo h3 { margin: 12px 0 6px; font-size: 1.8rem; }
.intra-topo h3 small { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 700; color: #2ba6df; letter-spacing: .02em; }
.intra-topo p { color: var(--texto-2); margin: 0 0 18px; }
.intra-abas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.intra-abas button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--borda); background: #fff; color: var(--texto-2); font: 700 .88rem var(--sans); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.intra-abas button:hover { border-color: var(--indigo); color: var(--indigo); }
.intra-abas button[aria-selected="true"] { background: linear-gradient(135deg, var(--indigo), var(--ciano)); color: #fff; border-color: transparent; }
.intra-tela { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--borda); box-shadow: var(--sombra); background: #f4f7fc; }
.intra-janela { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: #e9eef8; border-bottom: 1px solid var(--borda); }
.ij-pontos { display: flex; gap: 6px; }
.ij-pontos i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .ij-pontos i:nth-child(2) { background: #febc2e; } .ij-pontos i:nth-child(3) { background: #28c840; }
.ij-url { flex: 1; padding: 3px 12px; border-radius: 8px; background: #fff; font-size: .78rem; color: var(--texto-2); }
.intra-tela img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: opacity .25s; }
.intra-tela img.troca { opacity: 0; }
.intra-tela figcaption { padding: 12px 16px; font-weight: 600; color: var(--texto); background: #fff; border-top: 1px solid var(--borda); }
.intra-nota { margin: 14px 0 0; font-size: .82rem; color: var(--texto-2); text-align: center; }
@media (max-width: 1180px) { .menu-intra { justify-content: center; margin-top: 8px; } }
@media (max-width: 560px) { .intra-caixa { padding: 22px 16px; } .intra-topo h3 { font-size: 1.4rem; } }.hv-chip { width: max-content; }
.hv-chip span { white-space: nowrap; max-width: none !important; }
.menu { gap: clamp(2px, 1vw, 16px); }
.menu a { padding: 8px 8px; }
.util-novo em { font-style: normal; white-space: nowrap; }
.so-cel { display: none; }
@media (max-width: 760px) { .util-intra { display: none; } .so-pc { display: none; } .so-cel { display: inline; } .util-novo { padding: 3px 10px 3px 8px; } .util-links a.util-res { padding: 3px 10px; } }/* Atalhos flutuantes */
.trilho { position: fixed; right: 0; top: 50%; z-index: 45; transform: translateY(-50%); display: flex; flex-direction: column; border-radius: 16px 0 0 16px; overflow: hidden; box-shadow: -10px 14px 30px -14px rgba(20, 24, 88, .6); }
.trilho a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 78px; padding: 12px 6px; background: var(--indigo); color: #fff; text-decoration: none; font-size: .7rem; font-weight: 700; text-align: center; transition: background .25s, width .25s; }
.trilho a + a { border-top: 1px solid rgba(255,255,255,.14); }
.trilho a:hover { background: var(--ciano); }
.trilho svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .trilho { display: none; } }

/* Dois cartões grandes */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo-card { display: flex; flex-direction: column; text-decoration: none; color: var(--texto); }
.duo-img { display: block; height: 280px; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra); }
.duo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.duo-card:hover .duo-img img { transform: scale(1.06); }
.duo-txt { padding: 20px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.duo-txt b { font-family: var(--titulo); font-size: 1.5rem; color: var(--indigo); }
.duo-txt span { color: var(--texto-2); }
.duo-txt em { font-style: normal; font-weight: 800; color: var(--ciano); transition: transform .3s; }
.duo-card:hover em { transform: translateX(6px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo-img { height: 220px; } }

/* Três faixas de imagem (tela inteira) */
.tiras { display: grid; grid-template-columns: repeat(3, 1fr); margin: 64px 0; }
.tira { position: relative; height: 440px; display: flex; align-items: flex-end; justify-content: space-between; padding: 28px; background-size: cover; background-position: center; color: #fff; text-decoration: none; overflow: hidden; }
.tira::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 88, .15), rgba(20, 24, 88, .85)); transition: background .4s; }
.tira:hover::before { background: linear-gradient(180deg, rgba(25, 167, 224, .25), rgba(20, 24, 88, .9)); }
.tira b, .tira i { position: relative; }
.tira b { font-family: var(--titulo); font-size: 1.4rem; }
.tira i { font-style: normal; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); transition: background .3s, transform .3s; }
.tira:hover i { background: #fff; color: var(--indigo); transform: translateX(4px); }
@media (max-width: 760px) { .tiras { grid-template-columns: 1fr; } .tira { height: 220px; } }

/* Serviços mais procurados */
.cab-esq { text-align: left; margin-bottom: 26px; }
.servs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.servs a { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 12px; border-radius: 16px; border: 1.5px solid var(--borda); background: var(--cartao); text-align: center; text-decoration: none; color: var(--indigo); transition: border-color .3s, transform .3s, box-shadow .3s, background .3s; }
.servs a:hover { border-color: var(--indigo); transform: translateY(-4px); box-shadow: var(--sombra); }
.sv2 { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(43, 49, 146, .08); transition: background .3s; }
.servs a:hover .sv2 { background: linear-gradient(135deg, var(--indigo), var(--ciano)); }
.sv2 svg { width: 24px; height: 24px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.servs a:hover .sv2 svg { stroke: #fff; }
.servs b { font-size: .92rem; }
@media (max-width: 980px) { .servs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .servs { grid-template-columns: repeat(2, 1fr); } }
/* WhatsApp de agendamento (21) 99116-1851 */
.trilho .trilho-zap { background: #1faa59; }
.trilho .trilho-zap:hover { background: #25d366; }
.trilho svg .cheio, .sv2-zap svg .cheio, .tg-ico svg .cheio, .rf-ico-zap svg .cheio, .zap-flutua svg .cheio { fill: currentColor; stroke: none; }
.trilho .trilho-zap svg { color: #fff; }
.sv2-zap { background: rgba(31, 170, 89, .12) !important; color: #1faa59; }
.servs a:hover .sv2-zap { background: #1faa59 !important; color: #fff; }
.zap-grande { margin-top: 12px; }
.zap-grande .tg-ico { background: #1faa59; color: #fff; animation: none; }
.zap-grande:hover { border-color: #1faa59; }
.zap-obs { margin: 8px 0 0; font-size: .88rem; color: var(--texto-2); }
.zap-obs a { color: var(--indigo); font-weight: 800; }
.rf-ico-zap { background: rgba(37, 211, 102, .16); border-color: rgba(37, 211, 102, .4); color: #6ee7a0; }
.zap-flutua { display: none; position: fixed; right: 18px; bottom: 80px; z-index: 56; width: 56px; height: 56px; border-radius: 50%; place-items: center; background: #1faa59; color: #fff; box-shadow: 0 14px 28px -10px rgba(31, 170, 89, .9); animation: pulso-zap 2.4s infinite; }
.zap-flutua svg { width: 30px; height: 30px; }
@keyframes pulso-zap { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (max-width: 760px) { .zap-flutua { display: grid; } }
/* ---------- Entrada suave ---------- */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--ordem, 0) * 110ms); }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
  .abertura { display: none; }
  .ecg path, .hc-pulso path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
/* selo 32 anos fora da placa do hospital (canto superior direito da foto) */
.hv-chip.c2 { right: -18px !important; top: 6% !important; left: auto !important; }
.hv-chip.c1 { left: -18px; top: 40%; }

/* Intranet: no celular, abas numa linha que rola para o lado */
@media (max-width: 600px) {
  .intra-abas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px 6px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .intra-abas::-webkit-scrollbar { display: none; }
  .intra-abas button { flex: none; }
}


/* ---------- Atalhos flutuantes v2: dock de vidro ---------- */
.trilho { right: 14px; gap: 6px; padding: 8px; border-radius: 24px; overflow: visible; background: rgba(255,255,255,.92); border: 1px solid rgba(43,49,146,.12); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 24px 50px -22px rgba(20,24,88,.55), inset 0 1px 0 rgba(255,255,255,.8); animation: trilho-entra .7s cubic-bezier(.2,.8,.2,1) .4s both; }
@keyframes trilho-entra { from { opacity: 0; transform: translate(40px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
.trilho a, .trilho .trilho-zap, .trilho .trilho-res { position: relative; width: 70px; gap: 6px; padding: 8px 4px 9px; border-radius: 16px; background: transparent; color: var(--texto); font-size: .68rem; font-weight: 700; letter-spacing: .01em; transition: background .25s, transform .25s, color .25s; }
.trilho a + a { border-top: 0; }
.trilho a::before { content: ""; width: 42px; height: 42px; border-radius: 14px; background: var(--tr, linear-gradient(135deg, var(--indigo), #4a55d6)); box-shadow: 0 10px 20px -10px var(--trs, rgba(43,49,146,.9)); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.trilho a svg, .trilho .trilho-zap svg { position: absolute; top: 18px; left: 50%; margin-left: -11px; width: 22px; height: 22px; stroke: #fff; color: #fff; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.trilho a:nth-child(1) { --tr: linear-gradient(135deg, #1faa59, #25d366); --trs: rgba(31,170,89,.9); }
.trilho a:nth-child(2) { --tr: linear-gradient(135deg, #2f4fbf, #19a7e0); --trs: rgba(47,79,191,.9); }
.trilho a:nth-child(3) { --tr: linear-gradient(135deg, #2b3192, #5560e0); }
.trilho a:nth-child(4) { --tr: linear-gradient(135deg, #e0466a, #ff8a5c); --trs: rgba(224,70,106,.85); }
.trilho a:nth-child(5) { --tr: linear-gradient(135deg, #0f8fa8, #19c3e6); --trs: rgba(15,143,168,.85); }
.trilho a:hover, .trilho .trilho-zap:hover, .trilho .trilho-res:hover { background: rgba(43,49,146,.07); color: var(--indigo); transform: translateX(-3px); }
.trilho a:hover::before { transform: translateY(-2px) scale(1.08); }
.trilho a:hover svg { transform: translateY(-2px) scale(1.08); }
.trilho a:focus-visible { outline: 2px solid var(--ciano); outline-offset: 2px; }
.trilho .trilho-zap::after { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 42px; margin-left: -21px; border-radius: 14px; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: trilho-pulso 2.4s ease-out infinite; pointer-events: none; }
@keyframes trilho-pulso { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .trilho, .trilho .trilho-zap::after { animation: none; } }

/* ---------- Slide: Comunicado importante (golpe do falso pagamento) ---------- */
.hs-alerta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; color: #3d2c00 !important; background: #f6c445; box-shadow: 0 10px 24px -10px rgba(246, 196, 69, .8); }
.hs-alerta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: alerta-tremer 3s ease-in-out infinite; }
@keyframes alerta-tremer { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-12deg); } 88% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } }
.hs-comunicado .hs-p b { color: #fff; }
.hs-comunicado .hs-vis { position: relative; }
.hv-poster.hv-poster-com { aspect-ratio: 577 / 1024; height: min(540px, 100%); transform: rotate(-2deg); }
.hv-poster-com img { width: 100%; height: 100%; object-fit: cover; }
.hv-selo-of { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; font-size: .8rem; font-weight: 800; color: #fff; background: rgba(12, 35, 71, .55); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.hv-selo-of i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 3px rgba(62, 224, 143, .25); }
.hs-comunicado .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .hs-alerta svg { animation: none; } }
/* ---------- Serviços mais procurados v2: mosaico (bento) ---------- */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.bt { --a: #2b3192; --b: #5560e0; }
.bt-res { grid-column: span 2; grid-row: span 2; }
.bt-zap { grid-column: span 2; --a: #1faa59; --b: #25d366; }
.bt-tel { --a: #2b3192; --b: #5560e0; }
.bt-conv { --a: #0f8fa8; --b: #19c3e6; }
.bt-ps { grid-column: span 2; --a: #3a2d8f; --b: #f6a623; }
.bt-mapa { --a: #e0466a; --b: #ff8a5c; }
.bt-camp { --a: #1565c0; --b: #19a7e0; }
.bt a { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 24px; text-decoration: none; color: var(--texto); background: #fff; border: 1px solid rgba(43, 49, 146, .09); box-shadow: 0 16px 36px -28px rgba(20, 24, 88, .5); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.bt a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--b) 16%, transparent), transparent 60%); opacity: 0; transition: opacity .35s; }
.bt a:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--a) 35%, transparent); box-shadow: 0 28px 50px -30px color-mix(in srgb, var(--a) 80%, transparent); }
.bt a:hover::before { opacity: 1; }
.bt a:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; }
.bt-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 12px 24px -12px var(--a); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.bt-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bt-ico svg .cheio { fill: currentColor; stroke: none; }
.bt a:hover .bt-ico { transform: rotate(-8deg) scale(1.08); }
.bt-txt { display: flex; flex-direction: column; gap: 4px; }
.bt-txt b { font-family: var(--titulo); font-size: 1.12rem; line-height: 1.2; letter-spacing: -.01em; }
.bt-txt small { font-size: .86rem; color: var(--texto-2); }
.bt-seta { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--a); background: color-mix(in srgb, var(--a) 9%, #fff); transform: scale(.7) rotate(-45deg); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.bt-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bt a:hover .bt-seta, .bt a:focus-visible .bt-seta { opacity: 1; transform: none; }
/* Destaque: resultado de exames */
.bt-res a { padding: 30px; color: #fff; border: 0; background: radial-gradient(circle at 85% 15%, rgba(25, 167, 224, .55), transparent 55%), linear-gradient(140deg, #141a5c, #2b3192 55%, #1d6fc0); box-shadow: 0 30px 60px -30px rgba(43, 49, 146, .9); }
.bt-res a::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,255,255,.18), transparent 60%); }
.bt-res .bt-ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); box-shadow: none; backdrop-filter: blur(8px); }
.bt-res .bt-ico svg { width: 30px; height: 30px; }
.bt-res .bt-txt b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bt-res .bt-txt small { font-size: 1rem; color: rgba(255,255,255,.8); max-width: 30ch; }
.bt-res .bt-seta { width: 48px; height: 48px; top: 26px; right: 26px; opacity: 1; transform: none; color: #2b3192; background: #fff; }
.bt-res a:hover .bt-seta { transform: rotate(45deg); }
.bt-fundo { position: absolute; right: -40px; bottom: -50px; z-index: -1; color: rgba(255,255,255,.08); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.bt-fundo svg { width: 260px; height: 260px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.bt-res a:hover .bt-fundo { transform: rotate(-8deg) scale(1.06); }
.bt-tag { position: absolute; top: 34px; left: 108px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(62, 224, 143, .18); color: #9ff5c9; border: 1px solid rgba(62, 224, 143, .35); }
.bt-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; animation: piscar-suave 1.6s ease-in-out infinite; }
/* Destaque: agendar (WhatsApp) */
.bt-zap a { flex-direction: row; align-items: center; color: #fff; border: 0; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.25), transparent 50%), linear-gradient(135deg, #14894a, #1faa59 55%, #25d366); box-shadow: 0 26px 50px -28px rgba(31, 170, 89, .9); }
.bt-zap a::before { background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255,255,255,.2), transparent 60%); }
.bt-zap .bt-ico { width: 60px; height: 60px; color: #1faa59; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: bt-pulso 2.4s ease-out infinite; }
.bt-zap .bt-ico svg { width: 30px; height: 30px; }
@keyframes bt-pulso { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.bt-zap .bt-txt b { font-size: 1.35rem; }
.bt-zap .bt-txt small { color: rgba(255,255,255,.85); }
.bt-zap .bt-seta { position: static; margin-left: auto; color: #1faa59; background: #fff; opacity: 1; transform: none; flex: none; }
.bt-zap a:hover .bt-seta { transform: rotate(45deg); }
.bt-ps a { flex-direction: row; align-items: center; }
.bt-zap a, .bt-ps a { justify-content: flex-start; }
.bt-ps .bt-seta { top: 50%; margin-top: -18px; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bt-res { grid-column: span 2; grid-row: span 1; }
  .bt-res a { min-height: 220px; }
}
@media (max-width: 560px) {
  .bento { grid-auto-rows: auto; gap: 12px; }
  .bt a { padding: 18px; gap: 14px; }
  .bt-ps, .bt-zap { grid-column: span 2; }
  .bt-txt b { font-size: 1rem; }
  .bt-txt small { font-size: .8rem; }
  .bt-seta { display: none !important; }
  .bt-tag { top: 28px; left: 96px; }
}
@media (prefers-reduced-motion: reduce) { .bt-zap .bt-ico, .bt-tag::before { animation: none; } }

/* ---------- Revisão geral de layout (2026-11-21) ---------- */
/* Seções seguidas com o mesmo fundo: menos vão entre elas. */
#hospital, #especialidades { padding-bottom: clamp(36px, 4vw, 56px); }
#destaques, #convenios { padding-top: clamp(36px, 4vw, 56px); }
/* Convênios: Postal Saúde em bloco 2x2, linhas sempre completas. */
@media (min-width: 981px) { .conv-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); } .conv-novo { grid-row: span 2; } .conv-novo a { height: 100%; align-content: center; } }
/* Contato: canais numa coluna só, mesma largura. */
.ct-canais { display: grid; gap: 14px; align-content: center; }
.ct-canais .tel-grande { display: flex; width: 100%; margin: 0; }
.ct-canais .zap-obs { margin: -6px 0 4px 6px; }
.ct-canais .redes { margin-top: 6px; }
/* Links com seta não quebram a seta sozinha. */
.sv-link, .servico a { text-wrap: balance; }
/* ---------- Topo v2: barra azul enxuta, menu com pílula, topo que encolhe ---------- */
.util-esq { display: flex; align-items: center; gap: 14px; }
.util-aberto { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .78rem; letter-spacing: .02em; color: #bff3d6; white-space: nowrap; }
.util-aberto i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; animation: util-pulso 2s ease-out infinite; }
@keyframes util-pulso { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(62, 224, 143, 0); } }
.util-links { align-items: center; }
.util-sep { width: 1px; height: 16px; margin: 0 6px; background: rgba(255,255,255,.2); }
.util-links a.util-ig { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; }
.util-links a.util-ig svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.util-links a.util-ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; }
.menu-24h { background: linear-gradient(135deg, #e5384f, #ff6b5b) !important; }
.menu-pill { display: none; }
@media (min-width: 1181px) {
  .menu { position: relative; gap: 2px; }
  .menu a:not(.menu-24h)::after { display: none; }
  .menu a:not(.menu-24h) { z-index: 1; padding: 9px 15px; border-radius: 999px; transition: color .25s; }
  .menu a:not(.menu-24h):hover, .menu a.atual { color: var(--indigo); }
  .menu-pill { display: block; position: absolute; z-index: 0; left: 0; top: 50%; width: 0; height: 38px; margin-top: -19px; border-radius: 999px; background: linear-gradient(135deg, rgba(43, 49, 146, .08), rgba(25, 167, 224, .1)); box-shadow: inset 0 0 0 1px rgba(43, 49, 146, .1); opacity: 0; pointer-events: none; transition: transform .4s cubic-bezier(.2,.8,.2,1), width .4s cubic-bezier(.2,.8,.2,1), opacity .25s; }
  .menu-pill.on { opacity: 1; }
  .menu-intra, .menu-24h { position: relative; z-index: 1; margin-left: 8px; }
  .topo-in { transition: height .35s cubic-bezier(.2,.8,.2,1); }
  .topo.rolou .topo-in { height: calc(var(--topo-h) - 14px); }
  .marca .marca-img, .marca-txt { transition: height .35s, transform .35s; }
  .topo.rolou .marca .marca-img { height: 38px; }
  .topo.rolou .marca-txt { transform: scale(.94); transform-origin: left center; }
}
@media (max-width: 760px) { .util-aberto, .util-sep, .util-ig { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .util-aberto i { animation: none; } .menu-pill { transition: opacity .2s; } }
/* ---------- Nossa história ---------- */
.historia { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 55% 60% at 0% 30%, rgba(25, 167, 224, .12), transparent 70%), radial-gradient(ellipse 45% 50% at 100% 90%, rgba(43, 49, 146, .10), transparent 70%), linear-gradient(180deg, #f6f8fe, #eaf0fb); }
.hist-marca { position: absolute; z-index: -1; right: -2%; top: 4%; font-family: var(--titulo); font-weight: 900; font-size: clamp(7rem, 22vw, 20rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(43, 49, 146, .08); pointer-events: none; }
.hist-grade { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.hist-foto { position: sticky; top: calc(var(--topo-h) + var(--faixa-h) + 24px); margin: 0; }
.hist-img { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 28px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(20, 24, 88, .6); }
.hist-img img { display: block; width: 100%; height: auto; aspect-ratio: 818 / 1024; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hist-img:hover img { transform: scale(1.05); }
.hist-selo { position: absolute; right: -18px; top: 9%; display: flex; flex-direction: column; align-items: center; padding: 14px 20px 12px; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(140deg, #141a5c, #2b3192 60%, #1d6fc0); box-shadow: 0 24px 44px -20px rgba(20, 24, 88, .8); animation: hist-boia 6s ease-in-out infinite; }
.hist-selo small { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9fd8ff; }
.hist-selo b { font-family: var(--titulo); font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; }
.hist-selo span { margin-top: 4px; font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.75); }
@keyframes hist-boia { 50% { transform: translateY(-8px); } }
.hist-end { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--texto); background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 30px -16px rgba(20, 24, 88, .6); }
.hist-end svg { width: 16px; height: 16px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hist-txt h2 em { white-space: nowrap; }
.hist-linha { --fill: 0; position: relative; list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.hist-linha::before, .hist-linha::after { content: ""; position: absolute; left: 35px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; }
.hist-linha::before { background: rgba(43, 49, 146, .12); }
.hist-linha::after { bottom: auto; height: calc((100% - 56px) * var(--fill)); background: linear-gradient(180deg, var(--indigo), var(--ciano)); transition: height .2s linear; }
.hist-linha li { position: relative; z-index: 1; display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; opacity: .45; transform: translateX(10px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.hist-linha li.aceso { opacity: 1; transform: none; }
.hl-ano { display: grid; place-items: center; width: 74px; height: 56px; border-radius: 18px; font-family: var(--titulo); font-weight: 900; font-size: 1.15rem; letter-spacing: -.02em; color: var(--indigo); background: #fff; border: 2px solid rgba(43, 49, 146, .15); box-shadow: 0 12px 26px -18px rgba(20, 24, 88, .6); transition: background .5s, color .5s, border-color .5s, box-shadow .5s; }
.hl-ico { font-size: 1.6rem; }
.hist-linha li.aceso .hl-ano { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--indigo), var(--ciano)); box-shadow: 0 14px 28px -14px rgba(43, 49, 146, .9); }
.hl-txt { padding: 16px 20px; border-radius: 20px; background: #fff; border: 1px solid rgba(43, 49, 146, .08); box-shadow: 0 16px 36px -30px rgba(20, 24, 88, .6); transition: box-shadow .4s, transform .4s; }
.hist-linha li:hover .hl-txt { transform: translateY(-3px); box-shadow: 0 24px 44px -28px rgba(20, 24, 88, .6); }
.hl-txt h3 { margin: 0 0 4px; font-size: 1.12rem; }
.hl-txt p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--texto-2); }
.hl-hoje .hl-txt { color: #fff; border: 0; background: radial-gradient(circle at 90% 0%, rgba(25, 167, 224, .5), transparent 55%), linear-gradient(140deg, #141a5c, #2b3192); }
.hl-hoje .hl-txt p { color: rgba(255,255,255,.8); }
.hl-hoje .hl-ano { font-size: .95rem; }
.hist-curio { display: flex; gap: 16px; align-items: flex-start; margin-top: 26px; padding: 20px 22px; border-radius: 22px; background: linear-gradient(135deg, #fff8e1, #fff); border: 1px solid rgba(246, 196, 69, .55); box-shadow: 0 18px 40px -30px rgba(179, 125, 0, .6); }
.hc-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #3d2c00; background: #f6c445; box-shadow: 0 10px 22px -10px rgba(246, 196, 69, .9); }
.hc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hist-curio b { display: block; margin-bottom: 4px; font-family: var(--titulo); font-size: 1.05rem; color: var(--texto); }
.hist-curio p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--texto-2); }
@media (max-width: 880px) {
  .hist-grade { grid-template-columns: 1fr; }
  .hist-foto { position: relative; top: 0; max-width: 460px; width: 100%; margin: 0 auto; }
  .hist-img img { aspect-ratio: 4 / 3; }
  .hist-selo { right: -6px; }
}
@media (max-width: 520px) {
  .hist-linha li { grid-template-columns: 58px 1fr; gap: 12px; }
  .hl-ano { width: 58px; height: 48px; font-size: .95rem; border-radius: 14px; }
  .hist-linha::before, .hist-linha::after { left: 27px; top: 24px; }
  .hl-txt { padding: 14px 16px; }
  .hist-txt h2 em { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .hist-selo { animation: none; } .hist-linha li { opacity: 1; transform: none; } }
/* Menu compacto: o topo tem no máximo 1200px, então "História" só cabe com folga assim. */
@media (min-width: 1181px) {
  .menu a:not(.menu-24h) { padding: 8px 10px; font-size: .86rem; }
  .menu-intra, .menu-24h { margin-left: 4px; }
  .menu-24h { padding: 10px 13px !important; }
  .marca-txt b { font-size: .95rem; }
  .marca { gap: 10px; }
}

/* Intranet: telas passam sozinhas, com barra de progresso; mouse em cima pausa. */
.intra-prog { display: block; height: 3px; background: rgba(43, 49, 146, .1); }
.intra-prog i { display: block; height: 100%; width: 0; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--indigo), var(--ciano)); }
.intra-auto .intra-prog i { animation: intra-prog 5s linear forwards; }
.intra-auto.intra-pausa .intra-prog i { animation-play-state: paused; }
@keyframes intra-prog { from { width: 0; } to { width: 100%; } }
