/* Corpo clínico (/corpo-clinico). Prefixo gc-cc. Abertura com o cartão "Os registros de cada médico" (CRM e RQE)
   sobre um fundo pautado de livro de registro; diretório com filtro por área que acende as fichas sem rolar a página;
   cada médico numa ficha horizontal em três zonas (monograma e CRM | nome, RQE e agendamento | formação);
   faixa das siglas e fecho petróleo. Sem fotos: o monograma ocupa o lugar do retrato. */

.gc.gc-cc{background:#fff}
.gc .gc-cc__in{width:100%;max-width:var(--gc-max);margin-inline:auto;padding-inline:var(--gc-gutter)}

/* ---------- abertura ---------- */
.gc .gc-cc__ab{position:relative;overflow:hidden;background:var(--gc-bg);border-bottom:1px solid var(--gc-border)}
/* pauta de livro de registro, só atrás do cartão */
.gc .gc-cc__ab::before{content:"";position:absolute;inset:0 0 0 52%;background:repeating-linear-gradient(180deg,rgba(16,73,86,0) 0 35px,rgba(16,73,86,.07) 35px 36px);-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,0),#000 30%);mask-image:linear-gradient(90deg,rgba(0,0,0,0),#000 30%);pointer-events:none}
.gc .gc-cc__abg{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:84px;align-items:center;padding-block:44px 84px}
.gc .gc-cc__eye{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-weight:700;font-size:13.5px;line-height:1.2;letter-spacing:.24em;text-transform:uppercase;color:#86692a}
.gc .gc-cc__eye::before{content:"";flex:none;width:34px;height:1px;background:var(--gc-straw)}
.gc .gc-cc__h1{margin:0 0 22px;font-family:inherit;font-weight:700;font-size:clamp(42px,5.2vw,72px);line-height:1;letter-spacing:-.01em;color:var(--gc-petrol-deep);text-wrap:balance}
.gc .gc-cc__ld{max-width:590px;margin:0 0 34px;font-size:19.5px;line-height:1.6;color:#3f5259;text-wrap:pretty}
.gc .gc-cc__acoes{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}

/* cartão de credencial */
.gc .gc-cc__cred{position:relative;margin:0;background:#fff;border:1px solid var(--gc-border);border-radius:16px;box-shadow:0 40px 70px -48px rgba(9,47,57,.6);overflow:hidden}
.gc .gc-cc__credt{display:flex;align-items:center;gap:14px;padding:22px 30px;background:var(--gc-petrol-deep);box-shadow:inset 0 -2px 0 var(--gc-straw)}
.gc .gc-cc__credt svg{flex:none;width:30px;height:30px;color:var(--gc-straw-light)}
.gc .gc-cc__credh{margin:0;padding:0;font-family:inherit;font-weight:700;font-size:21px;line-height:1.2;color:#fff;text-wrap:balance}
.gc .gc-cc__credl{margin:0;padding:8px 30px}
.gc .gc-cc__credl>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px;align-items:center;padding:22px 0}
.gc .gc-cc__credl>div+div{border-top:1px dashed rgba(16,73,86,.2)}
.gc .gc-cc__credl dt{display:grid;place-items:center;height:52px;border:1px solid var(--gc-straw);border-radius:10px;background:var(--gc-straw-soft);font-weight:700;font-size:16px;letter-spacing:.08em;color:var(--gc-petrol-deep)}
.gc .gc-cc__credl dd{margin:0;font-size:16.5px;line-height:1.55;color:#3f5259}
.gc .gc-cc__credn{margin:0;padding:16px 30px 18px;background:var(--gc-petrol-soft);font-size:14.5px;line-height:1.5;color:var(--gc-petrol);text-wrap:balance}

/* ---------- diretório ---------- */
.gc .gc-cc__dir{padding:90px 0 74px}
.gc .gc-cc__hd{max-width:760px;margin:0 auto 34px;text-align:center}
.gc .gc-cc__h2{position:relative;margin:0 0 14px;padding:20px 0 0;font-family:inherit;font-weight:700;font-size:clamp(30px,3vw,42px);line-height:1.1;color:var(--gc-petrol-deep);text-wrap:balance}
.gc .gc-cc__h2::before{content:"";position:absolute;left:50%;top:0;width:44px;height:2px;margin-left:-22px;background:var(--gc-straw)}
.gc .gc-cc__lead{margin:0;font-size:17.5px;line-height:1.6;color:#3f5259;text-wrap:pretty}

/* filtro por área (sem JS, todas as fichas aparecem e o filtro fica oculto) */
.gc .gc-cc__fil{display:none;margin:0 0 30px;text-align:center}
.gc .gc-cc__fil.is-js{display:block}
.gc .gc-cc__chs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:1060px;margin:0 auto}
.gc button.gc-cc__ch{display:inline-flex;align-items:center;gap:10px;min-height:46px;margin:0;padding:0 8px 0 16px;border:1px solid rgba(16,73,86,.22);border-radius:10px;background:#fff;font:inherit;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:.01em;color:var(--gc-petrol);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .35s var(--gc-ease),border-color .35s var(--gc-ease),color .35s var(--gc-ease)}
.gc button.gc-cc__ch b{display:grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:7px;background:var(--gc-petrol-soft);font-size:13.5px;color:var(--gc-petrol-deep);transition:background-color .35s var(--gc-ease)}
.gc button.gc-cc__ch[aria-pressed="true"]{border-color:var(--gc-petrol-deep);background:var(--gc-petrol-deep);color:#fff}
.gc button.gc-cc__ch[aria-pressed="true"] b{background:var(--gc-straw)}
.gc button.gc-cc__ch:focus-visible{outline:2px solid var(--gc-straw);outline-offset:3px}
.gc .gc-cc__st{margin:16px 0 0;font-size:15px;line-height:1.4;color:var(--gc-muted)}
.gc .gc-cc__st strong{color:var(--gc-petrol-deep)}

/* fichas */
.gc .gc-cc__lst{display:grid;gap:16px;margin:0;padding:0;list-style:none}
.gc .gc-cc__f{display:grid;grid-template-columns:188px minmax(0,1.12fr) minmax(0,1fr);margin:0;scroll-margin-top:110px;background:#fff;border:1px solid var(--gc-border);border-radius:16px;overflow:hidden;transition:opacity .45s var(--gc-ease),filter .45s var(--gc-ease),border-color .45s var(--gc-ease),box-shadow .45s var(--gc-ease)}
.gc .gc-cc__fa{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px 16px;background:radial-gradient(120% 80% at 50% 0,#0f4553 0,rgba(15,69,83,0) 70%),var(--gc-petrol-deep);text-align:center}
.gc .gc-cc__f--fu .gc-cc__fa{box-shadow:inset 0 3px 0 var(--gc-straw)}
.gc .gc-cc__mo{display:grid;place-items:center;width:94px;height:94px;border:1px solid rgba(211,179,105,.6);border-radius:14px;box-shadow:inset 0 0 0 6px var(--gc-petrol-deep),inset 0 0 0 7px rgba(211,179,105,.22);font-weight:700;font-size:34px;line-height:1;letter-spacing:.05em;color:var(--gc-straw-light)}
.gc .gc-cc__crm{margin:0;font-weight:700;font-size:21px;line-height:1.1;letter-spacing:.04em;color:#fff}
.gc .gc-cc__crm span{display:block;margin-bottom:5px;font-size:12px;letter-spacing:.2em;color:rgba(252,251,248,.62)}
.gc .gc-cc__fb{display:flex;flex-direction:column;align-items:flex-start;padding:30px 34px}
.gc .gc-cc__sf{margin:0 0 12px;padding:5px 10px;border-radius:6px;background:var(--gc-straw-soft);border:1px solid rgba(211,179,105,.65);font-weight:700;font-size:12px;line-height:1.1;letter-spacing:.14em;text-transform:uppercase;color:#7a5f22}
.gc .gc-cc__nm{margin:0 0 16px;padding:0;font-family:inherit;font-weight:700;font-size:25px;line-height:1.15;color:var(--gc-petrol-deep);text-wrap:balance}
.gc .gc-cc__rq{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.gc .gc-cc__rq li{display:inline-flex;align-items:center;gap:10px;margin:0;padding:4px 12px 4px 4px;border:1px solid var(--gc-border);border-radius:9px;font-size:15px;line-height:1.3;color:#24363c;transition:border-color .4s var(--gc-ease),background-color .4s var(--gc-ease)}
.gc .gc-cc__rq--n li{padding-right:4px}
.gc .gc-cc__rq b{flex:none;padding:5px 8px;border-radius:6px;background:var(--gc-petrol-soft);font-weight:700;font-size:13px;line-height:1.1;letter-spacing:.05em;color:var(--gc-petrol-deep);transition:background-color .4s var(--gc-ease)}
.gc .gc-cc__ar{margin:12px 0 0;font-weight:700;font-size:15.5px;line-height:1.45;color:var(--gc-petrol)}
.gc .gc-cc__ag{display:inline-flex;align-items:center;gap:9px;min-height:46px;margin-top:auto;padding:0 18px;border:1px solid var(--gc-petrol);border-radius:10px;font-weight:700;font-size:14px;line-height:1.1;letter-spacing:.08em;text-transform:uppercase;color:var(--gc-petrol);transition:background-color .35s var(--gc-ease),color .35s var(--gc-ease),border-color .35s var(--gc-ease)}
.gc .gc-cc__fb>.gc-cc__ag{margin-top:auto}
.gc .gc-cc__fb>:nth-last-child(2){margin-bottom:24px}
.gc .gc-cc__ag svg{width:18px;height:18px}
.gc .gc-cc__fm{display:flex;flex-direction:column;justify-content:center;gap:16px;margin:0;padding:28px 32px;background:var(--gc-bg);border-left:1px solid var(--gc-border)}
.gc .gc-cc__fm>div{margin:0}
.gc .gc-cc__fm dt{margin:0 0 4px;font-weight:700;font-size:12.5px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;color:#86692a}
.gc .gc-cc__fm dd{margin:0;font-size:16px;line-height:1.55;color:#3f5259;text-wrap:pretty}
.gc .gc-cc abbr{text-decoration:underline dotted rgba(168,135,60,.8);text-underline-offset:3px;cursor:help}

/* filtro ativo: as fichas da área acendem, as outras recuam (a página não muda de altura) */
.gc .gc-cc__lst.is-fil .gc-cc__f:not(.is-on){opacity:.38;filter:grayscale(.7)}
.gc .gc-cc__lst.is-fil .gc-cc__f.is-on{border-color:rgba(211,179,105,.85);box-shadow:0 26px 46px -36px rgba(9,47,57,.6)}
.gc .gc-cc__rq li.is-on{border-color:var(--gc-straw);background:var(--gc-straw-soft)}
.gc .gc-cc__rq li.is-on b{background:var(--gc-straw)}
.gc .gc-cc__dir .gc-tr__nt{margin-top:28px}

/* ---------- siglas ---------- */
.gc .gc-cc__sg{padding:58px 0 62px;background:var(--gc-bg);border-top:1px solid var(--gc-border)}
.gc .gc-cc__sgh{display:flex;align-items:center;justify-content:center;gap:14px;text-align:center;margin:0 0 30px;padding:0;font-family:inherit;font-weight:700;font-size:14px;line-height:1.2;letter-spacing:.22em;text-transform:uppercase;color:#86692a}
.gc .gc-cc__sgh::before,.gc .gc-cc__sgh::after{content:"";flex:none;width:34px;height:1px;background:var(--gc-straw)}
.gc .gc-cc__sgl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0}
.gc .gc-cc__sgl>div{margin:0;padding:4px 22px;border-left:1px solid var(--gc-border);text-align:center}
.gc .gc-cc__sgl>div:first-child{border-left:0}
.gc .gc-cc__sgl dt{margin:0 0 6px;font-weight:700;font-size:21px;line-height:1.1;letter-spacing:.06em;color:var(--gc-petrol-deep)}
.gc .gc-cc__sgl dd{margin:0;font-size:15px;line-height:1.45;color:var(--gc-muted);text-wrap:balance}

/* ---------- fecho ---------- */
.gc .gc-cc__fim{position:relative;background:radial-gradient(70% 120% at 0 0,#0f4553 0,rgba(15,69,83,0) 60%),var(--gc-petrol-deep)}
.gc .gc-cc__fim::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--gc-straw)}
.gc .gc-cc__fimg{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px 64px;align-items:center;padding-block:66px 70px}
.gc .gc-cc__fimh{margin:0 0 12px;padding:0;font-family:inherit;font-weight:700;font-size:clamp(28px,2.8vw,38px);line-height:1.12;color:#fff;text-wrap:balance}
.gc .gc-cc__fimp{max-width:620px;margin:0;font-size:17.5px;line-height:1.6;color:rgba(252,251,248,.78);text-wrap:pretty}
.gc .gc-cc__fimb{display:flex;flex-direction:column;align-items:center;gap:18px}
.gc .gc-cc__fiml{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:14.5px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--gc-straw-light)}
.gc .gc-cc__fiml span{padding-bottom:3px;border-bottom:1px solid rgba(230,207,148,.55);transition:border-color .3s var(--gc-ease)}
.gc .gc-cc__fiml svg{width:17px;height:17px;transition:transform .4s var(--gc-ease)}

/* ---------- desktop ---------- */
@media (hover:hover) and (pointer:fine){
  .gc button.gc-cc__ch:hover{border-color:var(--gc-straw)}
  .gc button.gc-cc__ch[aria-pressed="false"]:hover b{background:var(--gc-straw-soft)}
  .gc .gc-cc__f:hover{border-color:rgba(211,179,105,.75);box-shadow:0 26px 46px -36px rgba(9,47,57,.55)}
  .gc .gc-cc__ag:hover{background:var(--gc-petrol);color:#fff}
  .gc .gc-cc__fiml:hover span{border-color:var(--gc-straw-light)}
  .gc .gc-cc__fiml:hover svg{transform:translateX(4px)}
}
/* entrada da abertura: só no carregamento, só no desktop */
@keyframes gc-cc-cartao{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
html.gc-fx .gc .gc-cc__abt>*{animation:gc-tr-sobe .9s var(--gc-ease) both}
html.gc-fx .gc .gc-cc__abt>:nth-child(2){animation-delay:.06s}
html.gc-fx .gc .gc-cc__abt>:nth-child(3){animation-delay:.12s}
html.gc-fx .gc .gc-cc__abt>:nth-child(4){animation-delay:.18s}
html.gc-fx .gc .gc-cc__abt>:nth-child(5){animation-delay:.24s}
html.gc-fx .gc .gc-cc__cred{animation:gc-cc-cartao 1.1s var(--gc-ease) .2s both}
@media (prefers-reduced-motion:reduce){
  html.gc-fx .gc .gc-cc__abt>*,html.gc-fx .gc .gc-cc__cred{animation:none}
  .gc .gc-cc__f{transition:none}
}

/* ---------- tablet ---------- */
@media (max-width:1099px){
  .gc .gc-cc__abg{gap:48px}
  .gc .gc-cc__f{grid-template-columns:168px minmax(0,1fr);grid-template-areas:"a b" "a c"}
  .gc .gc-cc__fa{grid-area:a}
  .gc .gc-cc__fb{grid-area:b}
  .gc .gc-cc__fm{grid-area:c;border-left:0;border-top:1px solid var(--gc-border);padding:22px 34px}
  .gc .gc-cc__sgl{display:flex;flex-wrap:wrap;justify-content:center;gap:24px 0}
  .gc .gc-cc__sgl>div{flex:0 0 33.333%}
  .gc .gc-cc__sgl>div:nth-child(4){border-left:0}
}
@media (max-width:899px){
  .gc .gc-cc__ab::before{inset:auto 0 0 0;height:52%;-webkit-mask-image:none;mask-image:none}
  .gc .gc-cc__abg{grid-template-columns:1fr;gap:44px;padding-block:36px 64px}
  .gc .gc-cc__abt{text-align:center}
  .gc .gc-cc__abt .gc-tr__tri,.gc .gc-cc__acoes{justify-content:center}
  .gc .gc-cc__eye{justify-content:center}
  .gc .gc-cc__eye::after{content:"";flex:none;width:34px;height:1px;background:var(--gc-straw)}
  .gc .gc-cc__ld{margin-inline:auto}
  .gc .gc-cc__cred{width:min(100%,560px);margin-inline:auto}
  .gc .gc-cc__fimg{grid-template-columns:1fr;text-align:center}
  .gc .gc-cc__fimp{margin-inline:auto}
}

/* ---------- celular ---------- */
@media (max-width:760px){
  .gc .gc-cc__abg{padding-block:26px 52px}
  .gc .gc-cc__eye{font-size:12.5px;letter-spacing:.2em}
  .gc .gc-cc__eye::before,.gc .gc-cc__eye::after{width:22px}
  .gc .gc-cc__ld{font-size:18px}
  .gc .gc-cc__acoes{flex-direction:column;gap:16px}
  .gc .gc-cc__acoes .gc-btn{width:100%;max-width:400px}
  .gc .gc-cc__credt{flex-direction:column;gap:10px;padding:20px 22px;text-align:center}
  .gc .gc-cc__credl{padding:4px 22px}
  .gc .gc-cc__credl>div{grid-template-columns:1fr;gap:12px;justify-items:center;padding:20px 0;text-align:center}
  .gc .gc-cc__credl dt{width:110px;height:46px}
  .gc .gc-cc__credn{padding:16px 22px;text-align:center}
  .gc .gc-cc__dir{padding:64px 0 56px}
  .gc .gc-cc__lead{font-size:17px}
  .gc .gc-cc__chs{gap:8px}
  .gc button.gc-cc__ch{min-height:44px;padding:0 6px 0 13px;font-size:14px;gap:8px}
  .gc button.gc-cc__ch b{min-width:26px;height:26px;font-size:13px}
  .gc .gc-cc__f{grid-template-columns:1fr;grid-template-areas:"a" "b" "c"}
  .gc .gc-cc__fa{flex-direction:row;gap:18px;padding:20px}
  .gc .gc-cc__mo{width:68px;height:68px;font-size:25px;border-radius:12px;box-shadow:inset 0 0 0 5px var(--gc-petrol-deep),inset 0 0 0 6px rgba(211,179,105,.22)}
  .gc .gc-cc__crm{text-align:left;font-size:20px}
  .gc .gc-cc__fb{align-items:center;padding:24px 20px 26px;text-align:center}
  .gc .gc-cc__sf{align-self:center}
  .gc .gc-cc__nm{font-size:22px}
  .gc .gc-cc__rq{justify-content:center}
  .gc .gc-cc__ag{width:100%;max-width:400px;justify-content:center}
  .gc .gc-cc__fm{padding:22px 20px 24px;text-align:center}
  .gc .gc-cc__sg{padding:50px 0 52px}
  .gc .gc-cc__sgh::before,.gc .gc-cc__sgh::after{width:22px}
  .gc .gc-cc__sgl{display:grid;grid-template-columns:1fr;gap:0}
  .gc .gc-cc__sgl>div{padding:14px 0;border-left:0;border-top:1px solid var(--gc-border)}
  .gc .gc-cc__sgl>div:first-child{border-top:0}
  .gc .gc-cc__fimg{padding-block:54px 58px}
  .gc .gc-cc__fimb{width:100%}
  .gc .gc-cc__fimb .gc-btn{width:100%;max-width:400px}
}
