/* ============================================================
   Hospital Unimed Governador Valadares - componentes proprios (apos pages.css)
   ============================================================ */

/* Bloco de números no estilo do site */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:1px;background:var(--ic-gray-200);border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);overflow:hidden;box-shadow:var(--ic-shadow-card)}
.stat-grid .s{background:#fff;padding:26px 24px}
.stat-grid .s b{display:block;font-family:var(--ic-font-display);font-weight:800;font-size:1.85rem;color:var(--ic-navy-900);line-height:1;margin-bottom:8px}
.stat-grid .s span{font-size:.82rem;color:var(--ic-gray-500)}

/* Chips de especialidades / planos */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.chip{display:inline-flex;align-items:center;background:var(--ic-primary-soft);color:var(--ic-primary);font-family:var(--ic-font-display);font-weight:600;font-size:.85rem;line-height:1;padding:11px 16px;border-radius:var(--ic-radius-pill)}
.chips-label{font-family:var(--ic-font-display);font-weight:700;color:var(--ic-navy-900);font-size:.9rem;margin:20px 0 12px}

/* Selos de certificação */
.selos{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.selo{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);padding:26px 30px;box-shadow:var(--ic-shadow-card)}
.selo img{width:96px;height:auto;flex:none}
.selo b{font-family:var(--ic-font-display);color:var(--ic-navy-900);font-size:1.1rem;display:block;margin-bottom:6px}
.selo span{font-size:.85rem;color:var(--ic-gray-500)}

/* Cartão de serviço (Pronto Atendimento) */
.svc-card{background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);padding:32px 30px;box-shadow:var(--ic-shadow-card)}
.svc-card .tag{display:inline-block;font-family:var(--ic-font-display);font-weight:700;font-size:.72rem;letter-spacing:1px;text-transform:uppercase;color:var(--ic-primary);background:var(--ic-primary-soft);padding:6px 14px;border-radius:var(--ic-radius-pill);margin-bottom:16px}
.svc-card h3{font-size:var(--ic-fs-h3);margin-bottom:12px}

/* ============================================================
   ACENTO DA MARCA UNIHEALTH (verde + laranja) para o CONTEUDO.
   O shell institucional (topbar/header/prefooter/footer) segue
   o azul ICDS e NAO deve ser recolorido.
   TODO: confirmar valores oficiais de cor da marca Unihealth
   (verde escuro e laranja) com o guia de marca.
   ============================================================ */
:root{--uh-green:#0E3D2A; --uh-green-dark:#0A2E20; --uh-orange:#E8791E; --uh-orange-dark:#C9640F; --uh-green-soft:#E7F0EB;}

/* Wrapper de conteudo: foco/acessibilidade com acento laranja */
.uh-scope a:focus-visible,.uh-scope button:focus-visible,.uh-scope iframe:focus-visible{outline:3px solid var(--uh-orange);outline-offset:2px;border-radius:4px}

/* Botoes de conteudo (reusam a base .ic-btn) */
.uh-btn-primary{background:var(--uh-orange);color:#fff;border-color:var(--uh-orange)}
.uh-btn-primary:hover{background:var(--uh-orange-dark);border-color:var(--uh-orange-dark);box-shadow:0 8px 20px rgba(232,121,30,.30)}
.uh-btn-outline{background:transparent;color:var(--uh-green);border-color:var(--uh-green)}
.uh-btn-outline:hover{background:var(--uh-green);color:#fff;border-color:var(--uh-green)}
.uh-btn-outline.on-dark-btn{color:#fff;border-color:rgba(255,255,255,.55)}
.uh-btn-outline.on-dark-btn:hover{background:#fff;color:var(--uh-green);border-color:#fff}

/* Eyebrow e caixa de icone com acento */
.uh-eyebrow{color:var(--uh-green)}
.ic-iconbox.uh-iconbox{background:var(--uh-orange)}
.ic-iconbox.uh-iconbox svg{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Decoracoes da media-frame com acento (dentro do conteudo) */
.uh-scope .media-frame .arc::before{background:var(--uh-green)}
.uh-scope .media-frame .arc::after{background:var(--uh-orange)}

/* ---- 2 · Hero (fundo verde escuro) ---- */
.uh-hero{background:linear-gradient(135deg,var(--uh-green) 0%,var(--uh-green-dark) 100%)}
.uh-hero .ic-eyebrow{color:var(--uh-orange);text-transform:none;letter-spacing:.4px;font-size:.82rem;line-height:1.5;max-width:520px}

/* ---- 3 · Barra de acesso rapido ---- */
.uh-quick-sec{background:var(--ic-gray-50);border-bottom:1px solid var(--ic-gray-200)}
.uh-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.uh-quick-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);padding:22px;box-shadow:var(--ic-shadow-card);transition:transform var(--ic-t-med) var(--ic-ease),box-shadow var(--ic-t-med) var(--ic-ease)}
.uh-quick-card:hover{transform:translateY(-6px);box-shadow:var(--ic-shadow-hover)}
.uh-quick-card .ic-iconbox{width:50px;height:50px;border-radius:12px;flex:none}
.uh-quick-card .ic-iconbox svg{width:24px;height:24px}
.uh-quick-txt{flex:1;min-width:0}
.uh-quick-txt b{display:block;font-family:var(--ic-font-display);color:var(--ic-navy-900);font-size:.98rem;line-height:1.25}
.uh-quick-txt small{display:block;color:var(--ic-gray-500);font-size:.74rem;margin-top:4px;line-height:1.35}
.uh-quick-arr{color:var(--uh-orange);font-size:1.15rem;flex:none;transition:transform var(--ic-t-fast) var(--ic-ease)}
.uh-quick-card:hover .uh-quick-arr{transform:translateX(4px)}
@media(max-width:1000px){.uh-quick{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.uh-quick{grid-template-columns:1fr}}

/* ---- 4 · Sobre (pills) ---- */
.uh-pills{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 26px}
.uh-pill{display:inline-flex;align-items:center;gap:9px;background:var(--uh-green-soft);color:var(--uh-green);font-family:var(--ic-font-display);font-weight:700;font-size:.85rem;padding:10px 18px;border-radius:var(--ic-radius-pill)}
.uh-pill::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--uh-orange);flex:none}

/* ---- 5 · Estrutura (cards com contador) ---- */
.uh-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}
.uh-stat{display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid var(--ic-gray-200);border-top:3px solid var(--uh-orange);border-radius:var(--ic-radius-card);padding:26px 24px;box-shadow:var(--ic-shadow-card);transition:transform var(--ic-t-med) var(--ic-ease),box-shadow var(--ic-t-med) var(--ic-ease)}
.uh-stat:hover{transform:translateY(-6px);box-shadow:var(--ic-shadow-hover)}
.uh-stat .ic-iconbox{width:48px;height:48px;border-radius:10px}
.uh-stat .ic-iconbox svg{width:22px;height:22px}
.uh-stat b{font-family:var(--ic-font-display);font-weight:800;font-size:2rem;color:var(--ic-navy-900);line-height:1}
.uh-stat span{font-size:.86rem;color:var(--ic-gray-500);line-height:1.4}
.uh-stat.is-text b{font-size:1.15rem;line-height:1.25}

/* ---- 6 · Servicos (cards foto + legenda) ---- */
.uh-svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.uh-svc{background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);overflow:hidden;box-shadow:var(--ic-shadow-card);transition:transform var(--ic-t-med) var(--ic-ease),box-shadow var(--ic-t-med) var(--ic-ease)}
.uh-svc:hover{transform:translateY(-6px);box-shadow:var(--ic-shadow-hover)}
.uh-svc .cover{aspect-ratio:16/10;overflow:hidden}
.uh-svc .cover img{width:100%;height:100%;object-fit:cover;transition:transform .55s var(--ic-ease-out)}
.uh-svc:hover .cover img{transform:scale(1.04)}
.uh-svc .body{padding:22px 24px}
.uh-svc h3{font-size:1.15rem;margin-bottom:8px}
.uh-svc p{font-size:.86rem}
@media(max-width:900px){.uh-svc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.uh-svc-grid{grid-template-columns:1fr}}

/* ---- 7 · Especialidades (duas colunas de chips) ---- */
.uh-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.uh-col{background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);padding:32px 30px;box-shadow:var(--ic-shadow-card)}
.uh-col-head{margin-bottom:18px}
.uh-col-tag{display:inline-block;font-family:var(--ic-font-display);font-weight:700;font-size:.72rem;letter-spacing:1px;text-transform:uppercase;padding:7px 15px;border-radius:var(--ic-radius-pill)}
.uh-col-tag.orange{background:rgba(232,121,30,.12);color:var(--uh-orange-dark)}
.uh-col-tag.green{background:var(--uh-green-soft);color:var(--uh-green)}
.uh-chip{background:var(--uh-green-soft);color:var(--uh-green)}
@media(max-width:820px){.uh-cols{grid-template-columns:1fr}}

/* ---- 8 · Producao 2025 (faixa verde) ---- */
.uh-band{background:linear-gradient(135deg,var(--uh-green) 0%,var(--uh-green-dark) 100%);color:#fff}
.uh-band::before{content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.06) 2px,transparent 2px);background-size:24px 24px;pointer-events:none}
.uh-band .container{position:relative}
.uh-band .sec-head h2{color:#fff}
.uh-band .sec-head p{color:rgba(255,255,255,.8)}
.uh-band .ic-eyebrow{color:var(--uh-orange)}
.uh-prod{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.uh-prod .s{border-top:2px solid rgba(255,255,255,.25);padding-top:20px}
.uh-prod .s b{display:block;font-family:var(--ic-font-display);font-weight:800;font-size:clamp(1.8rem,3vw,2.4rem);color:#fff;line-height:1;margin-bottom:10px}
.uh-prod .s span{font-size:.85rem;color:rgba(255,255,255,.82);line-height:1.4}
@media(max-width:1000px){.uh-prod{grid-template-columns:repeat(2,1fr);gap:28px}}
@media(max-width:520px){.uh-prod{grid-template-columns:1fr}}

/* ---- 9 · Linha do tempo ---- */
.uh-timeline{position:relative;display:grid;gap:26px;padding-left:40px}
.uh-timeline::before{content:'';position:absolute;left:11px;top:8px;bottom:8px;width:2px;background:var(--uh-green-soft)}
.uh-tl-item{position:relative}
.uh-tl-item::before{content:'';position:absolute;left:-40px;top:4px;width:24px;height:24px;border-radius:50%;background:var(--uh-orange);border:4px solid #fff;box-shadow:0 0 0 2px var(--uh-orange)}
.uh-tl-card{background:#fff;border:1px solid var(--ic-gray-200);border-left:3px solid var(--uh-green);border-radius:var(--ic-radius-card);padding:24px 26px;box-shadow:var(--ic-shadow-card)}
.uh-tl-year{font-family:var(--ic-font-display);font-weight:800;color:var(--uh-green);font-size:1.4rem;margin-bottom:14px;display:flex;align-items:center;gap:14px}
.uh-seals{display:inline-flex;gap:10px;margin-left:auto;flex-wrap:wrap}
.uh-seals img{height:46px;width:auto;border-radius:6px}
.uh-tl-list{list-style:none;display:grid;gap:9px}
.uh-tl-list li{display:flex;align-items:flex-start;gap:11px;font-size:.92rem;color:var(--ic-gray-500)}
.uh-tl-list li::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--uh-orange);margin-top:7px;flex:none}

/* ---- 10 · Indicadores e perfil epidemiologico ---- */
.uh-ind-sec{background:var(--ic-gray-50)}
.uh-ind-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.uh-ind-card{background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);padding:30px;box-shadow:var(--ic-shadow-card)}
.uh-ind-card h3{font-size:1.15rem;margin-bottom:20px;display:flex;align-items:center;gap:12px}
.uh-ind-card h3 .dot{width:10px;height:10px;border-radius:50%;background:var(--uh-orange);flex:none}
.uh-tiles{display:flex;flex-wrap:wrap;gap:16px}
.uh-tile{flex:1;min-width:120px;background:var(--uh-green-soft);border-radius:var(--ic-radius-card);padding:20px;text-align:center}
.uh-tile b{display:block;font-family:var(--ic-font-display);font-weight:800;font-size:1.65rem;color:var(--uh-green);line-height:1}
.uh-tile span{display:block;font-size:.8rem;color:var(--ic-gray-500);margin-top:8px;line-height:1.35}
.uh-bars{display:grid;gap:15px}
.uh-bar .lab{display:flex;justify-content:space-between;gap:12px;font-size:.86rem;margin-bottom:6px}
.uh-bar .lab b{font-family:var(--ic-font-display);color:var(--ic-navy-900);font-weight:700}
.uh-bar .lab span{color:var(--ic-gray-500);font-variant-numeric:tabular-nums;flex:none}
.uh-bar .track{height:10px;border-radius:10px;background:var(--ic-gray-100);overflow:hidden}
.uh-bar .fill{height:100%;min-width:4px;border-radius:10px;background:linear-gradient(90deg,var(--uh-green),var(--uh-orange));transform-origin:left;transform:scaleX(1);transition:transform 1s var(--ic-ease-out)}
.reveal:not(.in) .uh-bar .fill{transform:scaleX(0)}
.uh-ind-note{font-size:.82rem;color:var(--ic-gray-500);margin-top:14px}
.uh-cid{list-style:none;display:grid;gap:12px}
.uh-cid li{display:flex;align-items:flex-start;gap:14px}
.uh-cid .code{font-family:var(--ic-font-display);font-weight:800;color:var(--uh-green);background:var(--uh-green-soft);border-radius:8px;padding:6px 12px;font-size:.85rem;flex:none;min-width:66px;text-align:center}
.uh-cid .desc{font-size:.9rem;color:var(--ic-gray-500)}
@media(prefers-reduced-motion:reduce){.uh-bar .fill{transform:scaleX(1)!important}}
@media(max-width:820px){.uh-ind-grid{grid-template-columns:1fr}}

/* ---- 11 · Resultados de exame ---- */
.uh-results{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.uh-result-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;background:#fff;border:1px solid var(--ic-gray-200);border-radius:var(--ic-radius-card);padding:34px 32px;box-shadow:var(--ic-shadow-card)}
.uh-result-card h3{font-size:var(--ic-fs-h3)}
.uh-result-card p{font-size:.92rem;flex:1}
.uh-result-card .ic-btn{margin-top:4px}
.uh-note{font-size:.8rem;color:var(--ic-gray-500)}
@media(max-width:760px){.uh-results{grid-template-columns:1fr}}

/* ---- 12 · Localizacao e contato ---- */
.uh-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.uh-contact-list{list-style:none;display:grid;gap:20px;margin:4px 0 26px}
.uh-contact-list li{display:flex;gap:16px;align-items:flex-start}
.uh-contact-list .ic-iconbox{width:46px;height:46px;border-radius:10px;flex:none}
.uh-contact-list .ic-iconbox svg{width:20px;height:20px}
.uh-contact-list b{display:block;font-family:var(--ic-font-display);color:var(--ic-navy-900);font-size:.95rem;margin-bottom:3px}
.uh-contact-list span{font-size:.9rem;color:var(--ic-gray-500)}
.uh-contact-list a{color:var(--uh-green);font-weight:600}
.uh-contact-list a:hover{color:var(--uh-orange-dark)}
.uh-map{border-radius:var(--ic-radius-card);overflow:hidden;box-shadow:var(--ic-shadow-card);border:1px solid var(--ic-gray-200);min-height:380px}
.uh-map iframe{width:100%;height:100%;min-height:380px;border:0;display:block}
@media(max-width:820px){.uh-contact-grid{grid-template-columns:1fr;gap:28px}}
