/* Evoluclinic, kits (rodada 10: certificado 11 e 5 bótons redondos). Prefixos: .kb- bóton, .kc- certificado. Usado em kits/index.html e na seção #recebe das páginas de módulo.
   Fontes Inter Tight e Inter vêm de base/vendor/fonts-local.css (carregado pela página). */
:root{
  --kit-azul:#034593;
  --kit-azul-esc:#022B5E;
  --kit-azul-fundo:#F2F6FB;
  --kit-menta:#2EE6A8;
  --kit-graf:#1F2A33;
  --kit-cinza:#5B6670;
  --kit-palco:#E9ECF0;
  --kit-mola:cubic-bezier(.32,.72,0,1);
}

/* ---------- sem JS: o texto do div aparece como rótulo ---------- */
[data-kit-boton]:not(.kit-ok), [data-kit-cert]:not(.kit-ok){font:600 15px/1.4 'Inter Tight', Inter, sans-serif; color:var(--kit-azul)}

/* ---------- bóton ---------- */
.kb{display:block; line-height:0}
.kb-svg{display:block; width:100%; height:auto; overflow:visible}

/* mockup: o bóton como objeto físico sobre a mesa */
.kb-mock{position:relative; display:grid; place-items:center; aspect-ratio:1/1; background:var(--kit-palco); border-radius:22px; overflow:hidden; isolation:isolate}
.kb-mock::before{content:''; position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(16,24,40,.04); pointer-events:none}
.kb-mock .kb{position:relative; z-index:1; width:64%; transform:rotate(-7deg); filter:drop-shadow(0 1.5px 1.5px rgba(10,22,40,.32)) drop-shadow(0 14px 16px rgba(10,22,40,.18)) drop-shadow(0 34px 34px rgba(10,22,40,.12)); transition:transform .7s var(--kit-mola)}
.kb-sombra{position:absolute; z-index:0; left:24%; right:20%; bottom:13%; height:9%; border-radius:50%; background:rgba(10,22,40,.22); filter:blur(14px); transform:translateX(4%); transition:transform .7s var(--kit-mola), opacity .7s var(--kit-mola)}
.kb-mock:hover .kb{transform:rotate(-3deg) translateY(-6px) scale(1.015)}
.kb-mock:hover .kb-sombra{transform:translateX(4%) scale(.92); opacity:.8}

/* ---------- certificado ---------- */
.kc{container-type:inline-size; position:relative; width:100%; aspect-ratio:297/210; overflow:hidden; background:#fff; color:var(--kit-graf); font-family:Inter, system-ui, sans-serif; text-align:left}
.kc *{box-sizing:border-box; margin:0}
.kc-p{position:absolute; inset:0; display:flex; flex-direction:column; padding:5cqw 5.6cqw 4.2cqw}
.kc-top{position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:2cqw}
.kc-logos{display:flex; align-items:center; gap:1.5cqw}
.kc-inipe{display:block; height:2.5cqw; width:auto}
.kc-ev{display:block; height:2.1cqw; width:auto}
.kc-coffito{display:block; height:5.2cqw; width:auto}
.kc-11 .kc-top:has(.kc-coffito){max-width:42cqw}
.kc-sep{width:1px; height:2.6cqw; background:currentColor; opacity:.2}
.kc-meta{display:flex; align-items:center; gap:.8cqw; font:600 1cqw/1 'Inter Tight', Inter, sans-serif; letter-spacing:.2em; text-transform:uppercase; color:var(--kit-azul)}
.kc-meta i{display:block; width:.45cqw; height:.45cqw; border-radius:50%; background:currentColor; opacity:.45}
.kc-main{position:relative; z-index:2; display:flex; flex-direction:column; justify-content:center; flex:1; min-height:0}
.kc-tit{margin-top:1.1cqw; max-width:60cqw; font:700 calc(6.2cqw * var(--t, 1))/1 'Inter Tight', Inter, sans-serif; letter-spacing:-.035em; color:var(--kit-azul); text-wrap:balance}
.kc-corpo{margin-top:2.4cqw}
.kc-cert{font:500 1.15cqw/1.2 Inter, sans-serif; letter-spacing:.04em; color:var(--kit-cinza)}
.kc-aluno{margin:.5cqw 0 1.3cqw; font:600 3.7cqw/1.1 'Inter Tight', Inter, sans-serif; letter-spacing:-.025em; color:var(--kit-graf)}
.kc-par{max-width:56cqw; font:400 1.34cqw/1.55 Inter, sans-serif; color:#3D4852; text-wrap:pretty}
.kc-par b{font-weight:600; color:var(--kit-graf)}
.kc-pe{position:relative; z-index:2; display:flex; justify-content:space-between; align-items:flex-end; gap:3cqw; margin-top:1.6cqw}
.kc-pe-a{display:flex; flex-direction:column; gap:.4cqw}
.kc-local{font:500 1.08cqw/1.2 Inter, sans-serif; color:#3D4852}
.kc-ass{display:flex; gap:3cqw}
.kc-ass > div{display:flex; flex-direction:column; width:16cqw}
.kc-linha{display:block; height:1px; margin:3.6cqw 0 .8cqw; background:currentColor; opacity:.3}
.kc-ass b{font:600 1.1cqw/1.2 'Inter Tight', Inter, sans-serif; letter-spacing:-.005em}
.kc-ass small{margin-top:.2cqw; font:400 .9cqw/1.3 Inter, sans-serif; color:var(--kit-cinza)}
.kc-pe-b{display:flex; align-items:flex-end; gap:1.8cqw; text-align:right}
.kc-razao{font:400 .86cqw/1.45 Inter, sans-serif; color:var(--kit-cinza)}
.kc-qr{display:flex; flex-direction:column; align-items:center; gap:.5cqw}
.kc-qr-svg{display:block; width:6cqw; height:6cqw; border-radius:.4cqw}
.kc-qr p{font:500 .74cqw/1.3 Inter, sans-serif; color:var(--kit-cinza); text-align:center; white-space:nowrap}
.kc-qr b{display:block; font:700 .9cqw/1.3 'Inter Tight', Inter, sans-serif; letter-spacing:.08em; color:var(--kit-graf)}

/* variante escura */
.kc-escuro{color:#fff}
.kc-escuro .kc-meta{color:var(--kit-menta)}
.kc-escuro .kc-tit, .kc-escuro .kc-aluno, .kc-escuro .kc-par b, .kc-escuro .kc-qr b{color:#fff}
.kc-escuro .kc-cert, .kc-escuro .kc-razao, .kc-escuro .kc-ass small, .kc-escuro .kc-qr p{color:rgba(255,255,255,.66)}
.kc-escuro .kc-par, .kc-escuro .kc-local{color:rgba(255,255,255,.82)}

/* 01. Degraus na borda */
.kc-01 .kc-deco{position:absolute; inset:0; z-index:1; pointer-events:none}
.kc-01 .kc-deco span{position:absolute; right:-2cqw; height:6.4cqw; border-radius:1.6cqw; background:var(--kit-azul)}
.kc-01 .kc-deco span:nth-child(1){top:22.6cqw; width:25cqw}
.kc-01 .kc-deco span:nth-child(2){top:14.2cqw; width:18cqw}
.kc-01 .kc-deco span:nth-child(3){top:5.8cqw; width:11cqw; background:var(--kit-azul-esc)}
.kc-01 .kc-top{max-width:62cqw}

/* 02. Azul profundo */
.kc-02{background:var(--kit-azul)}
.kc-02 .kc-deco{position:absolute; right:-7cqw; top:15cqw; width:38cqw; z-index:1; pointer-events:none}
.kc-02 .kc-deco svg{display:block; width:100%}
.kc-02 .kc-tit{font-size:calc(6.6cqw * var(--t, 1)); max-width:58cqw}
.kc-02 .kc-aluno{display:inline-block; padding-bottom:.6cqw; border-bottom:1px solid rgba(46,230,168,.7)}

/* 03. Divisa em degraus */
.kc-03 .kc-p{flex-direction:row; padding:0}
.kc-03 .kc-deco{position:absolute; inset:0; z-index:0; background:var(--kit-azul); clip-path:polygon(0 0, 41cqw 0, 41cqw 23.6cqw, 37.5cqw 23.6cqw, 37.5cqw 47.2cqw, 34cqw 47.2cqw, 34cqw 100%, 0 100%)}
.kc-03 .kc-lado{position:relative; z-index:2; width:31cqw; flex:none; display:flex; flex-direction:column; padding:5cqw 0 4.2cqw 4.6cqw; color:#fff}
.kc-03 .kc-lado .kc-logos{gap:1.1cqw}
.kc-03 .kc-lado .kc-inipe{height:2.1cqw}
.kc-03 .kc-lado .kc-ev{height:1.75cqw}
.kc-03 .kc-lado .kc-meta{margin-top:auto; color:var(--kit-menta)}
.kc-03 .kc-lado .kc-tit{max-width:none; color:#fff; font-size:calc(4.4cqw * var(--t, 1))}
.kc-03 .kc-lado-pe{margin-top:auto}
.kc-03 .kc-sim{display:block; width:5.4cqw}
.kc-03 .kc-dir{position:relative; z-index:2; flex:1; display:flex; flex-direction:column; padding:7cqw 4.6cqw 4.2cqw 12cqw}
.kc-03 .kc-corpo{margin:auto 0}
.kc-03 .kc-par{max-width:none}
.kc-03 .kc-pe{flex-direction:column; align-items:stretch; gap:2cqw}
.kc-03 .kc-pe-b{justify-content:space-between; text-align:left; align-items:center; padding-top:1.6cqw; border-top:1px solid rgba(31,42,51,.12)}
.kc-03 .kc-qr{flex-direction:row; gap:.9cqw}
.kc-03 .kc-qr p{text-align:left}

/* 04. Foto da prática */
.kc-04 .kc-p{padding:0; flex-direction:row}
.kc-04 .kc-foto{position:relative; flex:none; width:29cqw; height:100%; overflow:hidden; clip-path:polygon(0 0, 100% 0, 100% 34%, 92% 34%, 92% 67%, 84% 67%, 84% 100%, 0 100%)}
.kc-04 .kc-foto img{display:block; width:100%; height:100%; object-fit:cover; object-position:42% 50%}
.kc-04 .kc-foto-rot{position:absolute; left:0; bottom:3.6cqw; max-width:20cqw; padding:1cqw 1.4cqw 1cqw 2.4cqw; background:var(--kit-azul); color:#fff; font:600 .92cqw/1.3 'Inter Tight', Inter, sans-serif; letter-spacing:.02em}
.kc-04 .kc-dir{flex:1; display:flex; flex-direction:column; padding:4.6cqw 4.6cqw 4cqw 3.4cqw; min-width:0}
.kc-04 .kc-tit{font-size:calc(5.2cqw * var(--t, 1)); max-width:none}
.kc-04 .kc-par{max-width:none}
.kc-04 .kc-ass{gap:2cqw}
.kc-04 .kc-ass > div{width:12.5cqw}
.kc-04 .kc-pe{gap:2cqw}
.kc-04 .kc-razao{max-width:21cqw}

/* 05. Só tipografia */
.kc-05{background:#FCFCFD}
.kc-05 .kc-main{flex:none; margin-top:3cqw}
.kc-05 .kc-tit{max-width:none; margin:0; font-size:calc(10.4cqw * var(--t, 1)); line-height:.92; letter-spacing:-.05em; color:var(--kit-graf)}
.kc-05 .kc-grade{margin-top:auto; padding-top:2cqw; border-top:2px solid var(--kit-azul)}
.kc-05 .kc-corpo{margin:0; display:grid; grid-template-columns:auto 1fr; column-gap:4cqw; align-items:end}
.kc-05 .kc-cert{grid-column:1; grid-row:1}
.kc-05 .kc-aluno{grid-column:1; grid-row:2; margin-bottom:0; color:var(--kit-azul)}
.kc-05 .kc-par{grid-column:2; grid-row:1 / span 2; max-width:none}
.kc-05 .kc-pe{margin-top:2.6cqw}

/* 06. Bóton impresso */
.kc-06{background:var(--kit-azul-fundo)}
.kc-06 .kc-selo{position:absolute; z-index:1; top:5cqw; right:5.4cqw; width:24cqw; transform:rotate(-8deg); filter:drop-shadow(0 .4cqw .6cqw rgba(10,22,40,.18))}
.kc-06 .kc-tit{max-width:54cqw}
.kc-06 .kc-top, .kc-06 .kc-corpo{max-width:60cqw}

/* 07. Marca d'água */
.kc-07 .kc-deco{position:absolute; z-index:0; inset:0; opacity:.055; pointer-events:none}
.kc-07 .kc-deco svg{display:block; width:100%; height:100%}
.kc-07 .kc-p::after{content:''; position:absolute; inset:2.4cqw; border:1px solid rgba(3,69,147,.14); pointer-events:none}
.kc-07 .kc-p{align-items:center; text-align:center}
.kc-07 .kc-main{align-items:center}
.kc-07 .kc-tit{max-width:74cqw}
.kc-07 .kc-meta{justify-content:center}
.kc-07 .kc-par{max-width:62cqw; margin:0 auto}
.kc-07 .kc-pe{align-self:stretch; text-align:left}

/* 08. Grafite */
.kc-08{background:#161D23}
.kc-08 .kc-deco{position:absolute; inset:2.2cqw; z-index:0; border:1px solid rgba(201,208,216,.32); pointer-events:none}
.kc-08 .kc-deco::after{content:''; position:absolute; inset:.6cqw; border:1px solid rgba(201,208,216,.14)}
.kc-08 .kc-main{padding-left:2.4cqw; border-left:.35cqw solid var(--kit-menta); margin:1.6cqw 0}
.kc-08 .kc-tit{margin-top:0}

/* 09. Ficha técnica */
.kc-09 .kc-p{padding-top:0}
.kc-09 .kc-faixa{display:flex; align-items:center; justify-content:space-between; margin:0 -5.6cqw; padding:0 5.6cqw; height:8.4cqw; flex:none; background:var(--kit-azul); color:#fff}
.kc-09 .kc-faixa > span{font:600 1cqw/1 'Inter Tight', Inter, sans-serif; letter-spacing:.2em; text-transform:uppercase; color:var(--kit-menta)}
.kc-09 .kc-tit{margin-top:0; max-width:70cqw}
.kc-09 .kc-corpo{margin-top:1.8cqw}
.kc-09 .kc-par{max-width:70cqw}
.kc-09 .kc-ficha{display:grid; grid-template-columns:.8fr 1fr .8fr 2.2fr; margin-top:1.6cqw; border-top:1px solid rgba(31,42,51,.16); border-bottom:1px solid rgba(31,42,51,.16)}
.kc-09 .kc-ficha > div{padding:1cqw 1.2cqw 1cqw 0}
.kc-09 .kc-ficha > div + div{padding-left:1.2cqw; border-left:1px solid rgba(31,42,51,.12)}
.kc-09 .kc-ficha dt{font:600 .78cqw/1.2 'Inter Tight', Inter, sans-serif; letter-spacing:.18em; text-transform:uppercase; color:var(--kit-cinza)}
.kc-09 .kc-ficha dd{margin-top:.4cqw; font:600 1.1cqw/1.25 'Inter Tight', Inter, sans-serif; color:var(--kit-azul)}

/* 10. Trilho dos 13 */
.kc-10{background:#FBFCFD}
.kc-10 .kc-p{padding:0; flex-direction:row}
.kc-10 .kc-trilho{flex:none; width:14cqw; display:flex; flex-direction:column; padding:5cqw 2.6cqw 4.2cqw; background:var(--kit-azul); color:#fff}
.kc-10 .kc-trilho-n b{display:block; font:800 5.4cqw/.9 'Inter Tight', Inter, sans-serif; letter-spacing:-.05em}
.kc-10 .kc-trilho-n small{display:block; margin-top:.6cqw; font:600 .9cqw/1 'Inter Tight', Inter, sans-serif; letter-spacing:.2em; text-transform:uppercase; color:var(--kit-menta)}
.kc-10 .kc-trilho-b{display:flex; flex-direction:column; gap:.75cqw; margin:auto 0}
.kc-10 .kc-trilho-b span{display:block; height:.6cqw; width:55%; border-radius:.3cqw; background:rgba(255,255,255,.28)}
.kc-10 .kc-trilho-b span.on{width:100%; background:var(--kit-menta)}
.kc-10 .kc-trilho svg{display:block; width:4.6cqw}
.kc-10 .kc-dir{flex:1; display:flex; flex-direction:column; padding:5cqw 5cqw 4.2cqw 5cqw; min-width:0}
.kc-10 .kc-tit{max-width:62cqw}

/* 11. O escolhido: imagem do procedimento + degraus no canto */
.kc-11{background:#FBFCFD}
.kc-11 .kc-p{padding:0; flex-direction:row}
.kc-11 .kc-img{position:relative; flex:none; width:34cqw; height:100%; margin:0; overflow:hidden; background:var(--kit-azul)}
.kc-11 .kc-img img{display:block; width:100%; height:100%; object-fit:cover}
.kc-11 .kc-img-veu{position:absolute; inset:auto 0 0 0; height:34%; background:linear-gradient(to top, rgba(2,43,94,.7), rgba(2,43,94,.22) 50%, rgba(2,43,94,0)); pointer-events:none}
.kc-11 .kc-img-n{position:absolute; left:3cqw; right:3cqw; bottom:3.4cqw; display:flex; flex-direction:column; align-items:flex-start; gap:1.4cqw; color:#fff}
.kc-11 .kc-img-n svg{display:block; width:4.2cqw; height:auto; filter:drop-shadow(0 .2cqw .8cqw rgba(2,27,60,.35))}
.kc-11 .kc-deco{position:absolute; inset:0; z-index:1; pointer-events:none}
.kc-11 .kc-deco span{position:absolute; right:-1.4cqw; height:3.3cqw; border-radius:1cqw; background:var(--kit-azul)}
.kc-11 .kc-deco span:nth-child(1){top:12.4cqw; width:15.5cqw}
.kc-11 .kc-deco span:nth-child(2){top:8cqw; width:11cqw}
.kc-11 .kc-deco span:nth-child(3){top:3.6cqw; width:6.5cqw; background:var(--kit-menta)}
.kc-11 .kc-dir{position:relative; flex:1; display:flex; flex-direction:column; padding:4.6cqw 4.4cqw 4cqw 4.4cqw; min-width:0}
.kc-11 .kc-top{max-width:36cqw}
.kc-11 .kc-tit{max-width:52cqw; font-size:calc(5.4cqw * var(--t, 1))}
.kc-11 .kc-corpo{margin-top:2cqw}
.kc-11 .kc-par{max-width:none}
.kc-11 .kc-pe{gap:2cqw}
.kc-11 .kc-ass{gap:2cqw}
.kc-11 .kc-ass > div{width:12.6cqw}
.kc-11 .kc-pe-b{gap:1.4cqw}
.kc-11 .kc-razao{max-width:19cqw}

.ev-ico{display:block; width:48px; height:48px; color:var(--kit-azul)}

/* mockup: papel com peso, leve perspectiva, sobre fundo neutro */
.kc-mock{position:relative; padding:5.5% 6.5% 7%; background:var(--kit-palco); border-radius:22px; overflow:hidden; perspective:2400px; isolation:isolate}
.kc-mock::before{content:''; position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(16,24,40,.04); pointer-events:none}
.kc-folha{position:relative; transform:rotateX(7deg) rotateY(-5deg) rotateZ(.6deg); transform-origin:50% 60%; transition:transform .8s var(--kit-mola)}
.kc-folha::before{content:''; position:absolute; inset:0; z-index:-1; background:#F7F8FA; transform:translate(1.6%, 2.4%) rotate(1.6deg); box-shadow:0 1px 2px rgba(16,24,40,.08), 0 18px 30px -12px rgba(16,24,40,.22)}
.kc-folha > .kc{box-shadow:0 0 0 .5px rgba(16,24,40,.08), 0 1px 1px rgba(16,24,40,.1), 0 14px 22px -8px rgba(16,24,40,.22), 0 44px 60px -24px rgba(16,24,40,.32)}
.kc-mock:hover .kc-folha{transform:rotateX(3deg) rotateY(-2deg) rotateZ(0deg) translateY(-4px)}

@media (prefers-reduced-motion: reduce){
  .kb-mock .kb, .kb-sombra, .kc-folha{transition:none}
  .kb-mock:hover .kb{transform:rotate(-7deg)}
  .kc-mock:hover .kc-folha{transform:rotateX(7deg) rotateY(-5deg) rotateZ(.6deg)}
    }
