/* Arthron Serviços Médicos. Cores vindas do site original. */
:root {
    --teal: #058690;
    --teal-escuro: #046a72;
    --petroleo: #2f484d;
    --ardosia: #3c5a60;
    --nevoa: #61949e;
    --gelo: #e9eeee;
    --gelo-claro: #f5f8f8;
    --texto: #33474b;
    --texto-suave: #5d6c6f;
    --ambar: #ffc77e;
    --serifa: "Source Serif 4", Georgia, "Times New Roman", serif;
    --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
    --bs-primary: #058690;
    --bs-primary-rgb: 5, 134, 144;
    --bs-link-color: #046a72;
    --bs-link-color-rgb: 4, 106, 114;
    --bs-link-hover-color: #2f484d;
    --bs-link-hover-color-rgb: 47, 72, 77;
    --bs-body-font-family: var(--sans);
    --bs-body-color: #33474b;
    --bs-body-bg: #fff;
    --bs-border-radius: 4px;
    --bs-border-radius-sm: 3px;
    --bs-border-radius-lg: 6px;
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-size: 1rem; line-height: 1.7; background: #fff; color: var(--texto); }
h1, h2, h3 { font-family: var(--serifa); color: var(--petroleo); font-weight: 600; line-height: 1.2; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; margin-bottom: .6rem; }
img { max-width: 100%; height: auto; }
.container { --bs-gutter-x: 2rem; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--ambar); outline-offset: 2px; }
.rotulo { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-escuro); margin-bottom: .6rem; }
.leitura { max-width: 68ch; }

.pular { position: absolute; left: -999px; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.pular:focus { left: 8px; top: 8px; }

/* Botões */
.btn { font-weight: 600; }
.btn-primary { --bs-btn-bg: var(--teal); --bs-btn-border-color: var(--teal); --bs-btn-hover-bg: var(--teal-escuro); --bs-btn-hover-border-color: var(--teal-escuro); --bs-btn-active-bg: var(--petroleo); --bs-btn-active-border-color: var(--petroleo); --bs-btn-disabled-bg: var(--nevoa); --bs-btn-disabled-border-color: var(--nevoa); }
.btn-outline-primary { --bs-btn-color: var(--teal-escuro); --bs-btn-border-color: var(--teal); --bs-btn-hover-bg: var(--teal); --bs-btn-hover-border-color: var(--teal); --bs-btn-active-bg: var(--teal-escuro); --bs-btn-active-border-color: var(--teal-escuro); }
.btn-ambar { background: var(--ambar); border-color: var(--ambar); color: var(--petroleo); }
.btn-ambar:hover, .btn-ambar:focus { background: #ffb95c; border-color: #ffb95c; color: var(--petroleo); }

/* Topo */
.topo { background: #fff; box-shadow: 0 1px 0 var(--gelo); }
.navbar { --bs-navbar-padding-y: .4rem; }
.navbar-brand { padding: 0; }
.navbar-brand img { height: 60px; width: auto; }
.navbar-toggler { border-color: var(--nevoa); }
.nav-link { color: var(--petroleo); font-weight: 600; font-size: .93rem; }
.nav-link:hover, .nav-link:focus { color: var(--teal); }
.dropdown-item { font-size: .93rem; }
.dropdown-item:active { background: var(--teal); }

/* Abertura */
.abertura { color: #fff; background: linear-gradient(100deg, rgba(4, 78, 85, .95) 0%, rgba(5, 134, 144, .86) 62%, rgba(5, 134, 144, .62) 100%), url(../img/clinica_fundo_sobre.jpg) center / cover no-repeat, var(--teal); }
.abertura .container { padding-block: clamp(3rem, 8vw, 5.5rem); }
.abertura h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.abertura p { font-size: 1.1rem; max-width: 56ch; }
.abertura .rotulo { color: var(--ambar); }
.abertura-foto { border: 6px solid rgba(255, 255, 255, .9); aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.fatos { background: var(--petroleo); color: #fff; }
.fatos ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 1.3rem 0; list-style: none; }
.fatos strong { display: block; font-family: var(--serifa); font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.fatos span { font-size: .9rem; color: #d6e3e4; }

/* Aviso do processo seletivo */
.aviso { background: var(--ambar); color: var(--petroleo); }
.aviso .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .8rem; }
.aviso a { color: var(--petroleo); font-weight: 700; white-space: nowrap; }

/* Seções */
.secao { padding-block: clamp(3rem, 7vw, 5rem); }
.secao-gelo { background: var(--gelo-claro); }
.secao-teal { background: var(--teal); color: #fff; }
.secao-teal h2, .secao-teal h3 { color: #fff; }
.secao-teal .rotulo { color: var(--ambar); }
.secao-petroleo { background: var(--petroleo); color: #e7efef; }
.secao-petroleo h2, .secao-petroleo h3 { color: #fff; }
.secao-petroleo .rotulo { color: var(--ambar); }

.principios { background: var(--teal); color: #fff; padding: 1.75rem; }
.principios h3 { color: #fff; font-size: .82rem; font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .25rem; }
.principios p { margin: 0; }
.principios > div + div { border-top: 1px solid rgba(255, 255, 255, .3); margin-top: 1.1rem; padding-top: 1.1rem; }

/* Sócios */
.socio { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.socio img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--gelo); }
.socio strong { display: block; margin-top: .8rem; font-family: var(--serifa); font-size: 1.15rem; color: var(--petroleo); }
.socio small { display: block; color: var(--texto-suave); }
.socio em { display: inline-block; margin-top: .25rem; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--teal-escuro); text-decoration: underline; }
.socio:hover img { filter: brightness(1.05); }
.modal-title { font-family: var(--serifa); color: var(--petroleo); font-weight: 600; }

/* Atuação */
.atuacao { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.link-seta { font-weight: 700; }

/* Pesquisa */
.pesquisadora img { width: 100%; max-width: 221px; display: block; margin-bottom: .9rem; }
.pesquisadora strong { font-family: var(--serifa); font-size: 1.15rem; color: var(--petroleo); display: block; }
.pesquisadora ul { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .9rem; color: var(--texto-suave); line-height: 1.5; }
.lema { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #cddada; }
.lema h3 { font-size: 1.2rem; }
.lema p { margin: 0; font-size: .95rem; }

/* Cursos */
.cursos { list-style: none; margin: 2rem 0 0; padding: 0; }
.cursos li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem; padding-block: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.cursos h3 { margin: 0; font-size: 1.2rem; }
.cursos p { margin: 0; }

/* Clientes */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem 1rem; }
.logos div { background: #fff; display: flex; align-items: center; justify-content: center; padding: 1.1rem; min-height: 104px; }
.logos img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }

/* Contato */
.contato-dados { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 1.1rem; }
.contato-dados li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.mapa { width: 100%; height: 260px; border: 0; display: block; background: var(--gelo); }
.form-control { padding: .6rem .75rem; border-color: #bccbcd; }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(5, 134, 144, .2); }
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .25rem; }
.grupo-form { font-family: var(--serifa); font-size: 1.15rem; color: var(--petroleo); font-weight: 600; margin: 1.5rem 0 .75rem; padding-bottom: .35rem; border-bottom: 1px solid var(--gelo); }
.msg { padding: .7rem .9rem; font-weight: 600; margin-top: 1rem; }
.msg-ok { background: #e2f3ec; color: #14573a; }
.msg-erro { background: #fbe6e4; color: #842018; }
.msg-campo { color: #842018; font-size: .88rem; }

/* Processo seletivo */
.ps-abertura { background: linear-gradient(100deg, rgba(4, 78, 85, .96), rgba(5, 134, 144, .88)), url(../img/clinica_fundo_sobre.jpg) center / cover no-repeat, var(--teal); color: #fff; }
.ps-abertura .container { padding-block: clamp(2.5rem, 6vw, 4rem); }
.ps-abertura h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: .5rem; }
.ps-abertura .rotulo { color: var(--ambar); }
.ps-abertura .lead { font-size: 1.2rem; }
.ps-resumo { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.ps-resumo strong { display: block; font-size: 1.1rem; }
.ps-resumo span { font-size: .85rem; color: #d6e8ea; }

.calendario { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: etapa; }
.calendario li { position: relative; padding: 1.4rem 1rem 0 0; border-top: 3px solid var(--teal); }
.calendario li::before { content: ""; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px #fff; }
.calendario strong { display: block; font-family: var(--serifa); font-size: 1.12rem; color: var(--petroleo); line-height: 1.25; }
.calendario time { display: block; font-weight: 700; font-size: .9rem; color: var(--teal-escuro); margin: .3rem 0; }
.calendario span { display: block; font-size: .85rem; color: var(--texto-suave); line-height: 1.4; }

.edital-grade { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; }
.indice { position: sticky; top: 96px; align-self: start; font-size: .9rem; }
.indice ol { list-style: none; padding: 0; margin: 0; counter-reset: i; }
.indice li { counter-increment: i; }
.indice a { display: block; padding: .28rem 0; color: var(--ardosia); text-decoration: none; }
.indice a::before { content: counter(i) ". "; color: var(--teal-escuro); font-weight: 700; }
.indice a:hover { color: var(--teal); text-decoration: underline; }
.edital section { margin-bottom: 2.25rem; }
.edital h3 { font-size: 1.3rem; }
.edital h3 b { color: var(--teal); font-weight: 600; }
.edital ol.romano { list-style: lower-roman; padding-left: 2.1rem; margin-bottom: 1rem; }
.edital ol.alfa { list-style: lower-alpha; padding-left: 1.6rem; }
.edital li { margin-bottom: .3rem; }
.ficha { background: #fff; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.ficha strong { color: var(--petroleo); }
.assinatura { margin-top: 2.5rem; }
.assinatura img { display: block; filter: brightness(.25); margin-bottom: .2rem; max-width: 200px; }
.assinatura .linha { border-top: 1px solid var(--texto); width: 320px; max-width: 100%; padding-top: .4rem; line-height: 1.45; }

.galeria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.galeria button { padding: 0; border: 0; background: var(--gelo); }
.galeria img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.galeria button:hover img { opacity: .88; }
#modalFoto .modal-body { padding: 0; }
#modalFoto img { display: block; width: 100%; }

.inscricao-caixa { max-width: 760px; margin-inline: auto; }

/* Rodapé */
.rodape { background: var(--petroleo); color: #d6e3e4; font-size: .9rem; padding-block: 1.5rem; }
.rodape a { color: #fff; }

@media (max-width: 1199.98px) {
    .calendario { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.75rem; }
    .navbar-nav .btn { display: inline-block; }
}
@media (max-width: 991.98px) {
    .edital-grade { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .indice { position: static; background: #fff; padding: 1rem 1.2rem; }
    .indice ol { columns: 2; column-gap: 1.5rem; }
    .atuacao { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
@media (max-width: 767.98px) {
    .fatos ul { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .fatos li { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
    .lema { grid-template-columns: minmax(0, 1fr); }
    .cursos li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
    .calendario { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-left: 3px solid var(--teal); margin-left: 6px; }
    .calendario li { border-top: 0; padding: 0 0 1.25rem 1.25rem; }
    .calendario li::before { top: 4px; left: -8px; }
    .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .indice ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.logo-parceiro { height: 56px; width: auto; margin-right: auto; padding-left: .75rem; border-left: 1px solid var(--gelo); box-sizing: content-box; }
@media (max-width: 359.98px) { .logo-parceiro { height: 46px; padding-left: .5rem; } }