/* Procedimentos (/procedimentos). Prefixo gc-pr. A abertura é o próprio tabuleiro: ladrilho escuro com o título
   e, em xadrez, ladrilhos de foto e de texto dos sete procedimentos (4 colunas no desktop, 2 no tablet, foto
   sobre texto no celular). Passar o mouse acende o par foto + texto. Depois, preparo e resultados em três
   cartões e fecho em barra escura com a borda quadriculada. A ordem do xadrez vem de --od (desktop) e --ot (tablet). */

.gc.gc-pr{background:#fff}
.gc .gc-pr__in{width:100%;max-width:var(--gc-max);margin-inline:auto;padding-inline:var(--gc-gutter)}

/* ---------- abertura em xadrez ---------- */
.gc .gc-pr__ab{padding:40px 0 96px;background:linear-gradient(var(--gc-bg),var(--gc-bg)) top/100% 380px no-repeat}
.gc .gc-pr__ab .gc-tr__tri{margin-bottom:26px}
.gc .gc-pr__gr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(300px,auto);overflow:hidden;border-radius:14px;background:var(--gc-bg);box-shadow:0 40px 80px -56px rgba(9,47,57,.6),0 0 0 1px var(--gc-border)}
.gc .gc-pr__ol,.gc .gc-pr__it{display:contents}
.gc .gc-pr__abt{grid-column:span 2;order:0;display:flex;flex-direction:column;justify-content:center;padding:46px 52px;background:var(--gc-petrol-deep);color:#fff}
.gc .gc-pr__eye{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-weight:700;font-size:13.5px;line-height:1.2;letter-spacing:.24em;text-transform:uppercase;color:var(--gc-straw-light)}
.gc .gc-pr__eye::before{content:"";flex:none;width:34px;height:1px;background:var(--gc-straw)}
.gc .gc-pr__h1{margin:0 0 18px;font-family:inherit;font-weight:700;font-size:clamp(44px,4.8vw,66px);line-height:1;letter-spacing:-.01em;color:#fff}
.gc .gc-pr__ld{margin:0 0 30px;font-size:18.5px;line-height:1.6;color:rgba(252,251,248,.8);text-wrap:pretty}
.gc .gc-pr__acoes{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}
.gc .gc-pr__abt .gc-tr__tel{color:#fff}
.gc .gc-pr__abt .gc-tr__tel svg{color:var(--gc-straw)}
.gc .gc-pr__abt .gc-tr__tel:hover{color:var(--gc-straw-light)}
.gc .gc-pr__abt .gc-tr__tel:hover span{border-color:var(--gc-straw-light)}

.gc .gc-pr__f,.gc .gc-pr__t{order:var(--od)}
.gc .gc-pr__f{position:relative;display:block;min-height:300px;overflow:hidden;background:var(--gc-petrol-deep)}
.gc .gc-pr__f img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1s var(--gc-ease),filter .6s var(--gc-ease)}
.gc .gc-pr__t{position:relative;container-type:inline-size;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:30px 28px;background:var(--gc-bg);color:inherit;transition:background-color .5s var(--gc-ease)}
.gc .gc-pr__n{margin:0 0 16px;font-weight:700;font-size:14px;line-height:1;letter-spacing:.18em;color:#a8873c;transition:color .5s var(--gc-ease)}
.gc .gc-pr__nm{margin:0 0 12px;font-family:inherit;font-weight:700;font-size:min(23px,calc(100cqi / 11.9));line-height:1.15;color:var(--gc-petrol-deep);text-wrap:balance;transition:color .5s var(--gc-ease)}
.gc .gc-pr__fr{display:block;margin:0 0 22px;font-size:16px;line-height:1.55;color:#3f5259;text-wrap:pretty;transition:color .5s var(--gc-ease)}
.gc .gc-pr__m{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:13.5px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--gc-petrol);transition:color .5s var(--gc-ease)}
.gc .gc-pr__m svg{width:16px;height:16px;transition:transform .45s var(--gc-ease)}
.gc .gc-pr__t:focus-visible{outline:2px solid var(--gc-straw);outline-offset:-6px}

/* ---------- antes e depois do exame ---------- */
.gc .gc-pr__an{padding:0 0 92px}
.gc .gc-pr__hd{display:flex;flex-direction:column;align-items:center;max-width:760px;margin:0 auto 40px;text-align:center}
.gc .gc-pr__h2{position:relative;margin:0 0 14px;padding-top:20px;font-family:inherit;font-weight:700;font-size:clamp(28px,2.8vw,40px);line-height:1.12;color:var(--gc-petrol-deep);text-wrap:balance}
.gc .gc-pr__h2::before{content:"";position:absolute;left:50%;top:0;width:44px;height:2px;margin-left:-22px;background:var(--gc-straw)}
.gc .gc-pr__sub{margin:0;font-size:17.5px;line-height:1.6;color:#3f5259;text-wrap:pretty}
.gc .gc-pr__cs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gc .gc-pr__c{display:flex;align-items:flex-start;gap:22px;padding:30px 28px 28px;background:#fff;border:1px solid var(--gc-border);border-radius:11px;color:inherit;transition:border-color .4s var(--gc-ease),box-shadow .4s var(--gc-ease),transform .4s var(--gc-ease)}
.gc .gc-pr__ci{display:grid;place-items:center;flex:none;width:62px;height:62px;border-radius:11px;background:var(--gc-straw-soft);color:var(--gc-petrol)}
.gc .gc-pr__ci svg{width:34px;height:34px}
.gc .gc-pr__cb{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;min-width:0}
.gc .gc-pr__ct{margin:4px 0 8px;font-family:inherit;font-weight:700;font-size:21px;line-height:1.2;color:var(--gc-petrol-deep)}
.gc .gc-pr__cp{display:block;margin:0 0 18px;font-size:16px;line-height:1.55;color:#3f5259}
.gc .gc-pr__cm{display:inline-flex;align-items:center;gap:9px;margin-top:auto;font-weight:700;font-size:13.5px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--gc-petrol)}
.gc .gc-pr__cm svg{width:16px;height:16px;transition:transform .45s var(--gc-ease)}
.gc .gc-pr__c--rs{background:var(--gc-petrol-deep);border-color:var(--gc-petrol-deep)}
.gc .gc-pr__c--rs .gc-pr__ci{background:rgba(211,179,105,.16);color:var(--gc-straw-light)}
.gc .gc-pr__c--rs .gc-pr__ct{color:#fff}
.gc .gc-pr__c--rs .gc-pr__cp{color:rgba(252,251,248,.78)}
.gc .gc-pr__c--rs .gc-pr__cm{color:var(--gc-straw-light)}

/* ---------- fecho: barra escura com a borda quadriculada ---------- */
.gc .gc-pr__fim{padding:0 0 92px}
.gc .gc-pr__fb{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px 56px;align-items:center;padding:42px 48px 42px 74px;overflow:hidden;border-radius:14px;background:var(--gc-petrol-deep)}
.gc .gc-pr__fb::before{content:"";position:absolute;left:0;top:0;bottom:0;width:24px;background:repeating-conic-gradient(var(--gc-straw) 0 25%,transparent 0 50%) 0 0/24px 24px;opacity:.9}
.gc .gc-pr__ft{margin:0 0 10px;font-family:inherit;font-weight:700;font-size:clamp(25px,2.4vw,32px);line-height:1.15;color:#fff;text-wrap:balance}
.gc .gc-pr__fp{margin:0;font-size:17px;line-height:1.6;color:rgba(252,251,248,.78);text-wrap:pretty}
.gc .gc-pr__fa{display:flex;flex-direction:column;align-items:center;gap:16px}
.gc .gc-pr__fa .gc-tr__tel{color:#fff}
.gc .gc-pr__fa .gc-tr__tel svg{color:var(--gc-straw)}
.gc .gc-pr__fa .gc-tr__tel:hover{color:var(--gc-straw-light)}

/* ---------- desktop ---------- */
@media (min-width:1024px){
  .gc .gc-pr__fp{text-align:justify;hyphens:auto}
}
@media (hover:hover) and (pointer:fine){
  .gc .gc-pr__it:hover .gc-pr__t{background:var(--gc-petrol)}
  .gc .gc-pr__it:hover .gc-pr__n,.gc .gc-pr__it:hover .gc-pr__m{color:var(--gc-straw-light)}
  .gc .gc-pr__it:hover .gc-pr__nm{color:#fff}
  .gc .gc-pr__it:hover .gc-pr__fr{color:rgba(252,251,248,.82)}
  .gc .gc-pr__it:hover .gc-pr__m svg{transform:translateX(4px)}
  .gc .gc-pr__it:hover .gc-pr__f img{transform:scale(1.06)}
  .gc .gc-pr__c:hover{border-color:rgba(211,179,105,.75);box-shadow:0 24px 44px -32px rgba(9,47,57,.5);transform:translateY(-3px)}
  .gc .gc-pr__c:hover .gc-pr__cm svg{transform:translateX(4px)}
  .gc .gc-pr__c--rs:hover .gc-pr__cm svg{transform:translate(3px,-3px)}
}

/* entrada: só no carregamento, só no desktop (o tabuleiro se compõe ladrilho a ladrilho) */
@keyframes gc-pr-sobe{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes gc-pr-lad{from{opacity:0}to{opacity:1}}
html.gc-fx .gc .gc-pr__abt>*{animation:gc-pr-sobe .85s var(--gc-ease) both}
html.gc-fx .gc .gc-pr__abt>:nth-child(2){animation-delay:.06s}
html.gc-fx .gc .gc-pr__abt>:nth-child(3){animation-delay:.12s}
html.gc-fx .gc .gc-pr__abt>:nth-child(4){animation-delay:.18s}
html.gc-fx .gc .gc-pr__f,html.gc-fx .gc .gc-pr__t{animation:gc-pr-lad .9s var(--gc-ease) both;animation-delay:calc(var(--od) * 55ms + .2s)}
@media (prefers-reduced-motion:reduce){
  html.gc-fx .gc .gc-pr__abt>*,html.gc-fx .gc .gc-pr__f,html.gc-fx .gc .gc-pr__t{animation:none}
}

/* ---------- tablet: duas colunas, o xadrez continua ---------- */
@media (max-width:1199px){
  .gc .gc-pr__gr{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(280px,auto)}
  .gc .gc-pr__f,.gc .gc-pr__t{order:var(--ot)}
  .gc .gc-pr__f{min-height:280px}
  .gc .gc-pr__abt{padding:44px 40px}
}
@media (max-width:1099px){
  .gc .gc-pr__cs{grid-template-columns:1fr;max-width:640px;margin-inline:auto}
  .gc .gc-pr__fb{grid-template-columns:1fr;text-align:center;padding:40px 36px 40px 60px}
}
@media (max-width:899px){
  .gc .gc-pr__abt{align-items:center;text-align:center}
  .gc .gc-pr__eye{justify-content:center}
  .gc .gc-pr__eye::after{content:"";flex:none;width:34px;height:1px;background:var(--gc-straw)}
  .gc .gc-pr__acoes{justify-content:center}
  .gc .gc-pr__ab .gc-tr__tri{justify-content:center}
}

/* ---------- celular: foto sobre texto, um procedimento por vez ---------- */
@media (max-width:599px){
  .gc .gc-pr__ab{padding:26px 0 64px}
  .gc .gc-pr__ab .gc-tr__tri{margin-bottom:20px;font-size:13.5px}
  .gc .gc-pr__gr{grid-template-columns:1fr;grid-auto-rows:auto;overflow:visible;border-radius:0;background:none;box-shadow:none}
  .gc .gc-pr__abt{grid-column:auto;margin:0 0 18px;padding:36px 22px 34px;border-radius:14px}
  .gc .gc-pr__f,.gc .gc-pr__t{order:0}
  .gc .gc-pr__f{min-height:0;aspect-ratio:16/10;border-radius:14px 14px 0 0}
  .gc .gc-pr__t{align-items:center;margin:0 0 18px;padding:24px 20px 24px;text-align:center;border:1px solid var(--gc-border);border-top:0;border-radius:0 0 14px 14px}
  .gc .gc-pr__it:last-child .gc-pr__t{margin-bottom:0}
  .gc .gc-pr__n{margin-bottom:12px}
  .gc .gc-pr__nm{font-size:min(22px,calc(100cqi / 11.9))}
  .gc .gc-pr__fr{margin-bottom:16px}
}
@media (max-width:760px){
  .gc .gc-pr__t{align-items:center;text-align:center}
  .gc .gc-pr__h1{font-size:clamp(34px,12vw,46px)}
  .gc .gc-pr__eye{font-size:12.5px;letter-spacing:.2em}
  .gc .gc-pr__eye::before,.gc .gc-pr__eye::after{width:22px}
  .gc .gc-pr__ld{font-size:17.5px}
  .gc .gc-pr__acoes{flex-direction:column;gap:16px;width:100%}
  .gc .gc-pr__acoes .gc-btn{width:100%;max-width:400px}
  .gc .gc-pr__an{padding-bottom:64px}
  .gc .gc-pr__hd{margin-bottom:28px}
  .gc .gc-pr__sub{font-size:17px}
  .gc .gc-pr__c{flex-direction:column;align-items:center;gap:16px;padding:28px 22px 26px;text-align:center}
  .gc .gc-pr__cb{align-items:center}
  .gc .gc-pr__fim{padding-bottom:64px}
  .gc .gc-pr__fb{padding:62px 22px 34px;border-radius:14px}
  .gc .gc-pr__fb::before{left:0;right:0;bottom:auto;width:auto;height:24px}
  .gc .gc-pr__fa,.gc .gc-pr__fa .gc-btn{width:100%}
  .gc .gc-pr__fa .gc-btn{max-width:400px}
  .gc .gc-pr__ft{font-size:25px}
}
