/* Guias GMP: complementa ../segmentos/seg.css e ../blog/blog.css */
.prose h3{margin-top:1.9em;font-size:clamp(1.08rem,1.4vw,1.22rem);line-height:1.3;letter-spacing:-.012em;color:var(--ink);scroll-margin-top:110px}
.prose h2 + h3,.prose h3 + p{margin-top:.7em}
.prose table{width:100%}

/* resumo rápido */
.g-sum{border:1px solid var(--line);border-radius:18px;background:linear-gradient(160deg,#F2F6FB,#fff 70%);padding:1.3rem 1.4rem 1.4rem}
.g-sum-t{font-size:.72rem!important;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--blue)!important;line-height:1.4!important}
.g-sum ol,.g-sum ul{margin:.7rem 0 0;font-size:.96rem;line-height:1.6}
.g-sum li + li{margin-top:.25em}

/* aviso / observação */
.g-note{border-radius:14px;background:color-mix(in srgb,var(--blue) 6%,#fff);border-left:4px solid var(--blue);padding:1rem 1.2rem;font-size:.95rem;line-height:1.65;color:var(--ink)}
.g-note.warn{background:#FFF7EC;border-left-color:var(--orange)}
.g-note b{font-weight:600}

/* passo a passo */
.g-steps{list-style:none;padding:0!important;margin-left:0;counter-reset:gs;display:grid;gap:.9rem}
.g-steps > li{counter-increment:gs;position:relative;padding:1.05rem 1.2rem 1.15rem 3.6rem;border:1px solid var(--line);border-radius:16px;background:#fff;margin:0!important}
.g-steps > li::before{content:counter(gs);position:absolute;left:1rem;top:1rem;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:600;color:#fff;background:linear-gradient(140deg,var(--blue),var(--orange))}
.g-steps h3{margin:0!important;font-size:1.04rem}
.g-steps p{margin-top:.4rem;font-size:.96rem;line-height:1.7}
.g-steps .g-eqline{font-size:.88rem;color:var(--muted)}
.g-steps .g-eqline b{color:var(--ink);font-weight:600}

/* cartões de equipamentos */
.g-eqs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.8rem}
.g-eq{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;text-decoration:none!important;color:var(--ink)!important;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .3s}
.g-eq:hover{transform:translateY(-4px);border-color:transparent;box-shadow:0 24px 40px -28px rgba(0,86,147,.7)}
.g-eq figure{margin:0!important;height:170px;display:flex;align-items:center;justify-content:center;padding:.8rem;background:radial-gradient(ellipse at 50% 85%,#fff 0%,#E9EEF4 78%)}
.g-eq figure img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;border-radius:0!important}
.g-eq figure.ph{padding:0}
.g-eq figure.ph img{width:100%;height:100%;object-fit:cover}
.g-eq b{display:block;padding:.7rem .85rem 0;font-size:.86rem;font-weight:600;line-height:1.3}
.g-eq span{display:block;padding:.2rem .85rem .8rem;font-size:.76rem;color:var(--muted);line-height:1.4}

/* tabelas */
.g-tbl{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:14px}
.g-tbl table{border-collapse:collapse;min-width:560px;font-size:.9rem;line-height:1.55}
.g-tbl th,.g-tbl td{padding:.75rem .9rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.g-tbl thead th{background:var(--navy);color:#fff;font-weight:500;font-size:.82rem;letter-spacing:.02em}
.g-tbl tbody tr:last-child td,.g-tbl tbody tr:last-child th{border-bottom:0}
.g-tbl tbody th{font-weight:600;color:var(--ink);background:var(--bg-2)}
.g-tbl caption{caption-side:bottom;text-align:left;padding:.6rem .9rem;font-size:.78rem;color:var(--muted)}

/* checklist */
.g-check{list-style:none;padding:0!important;display:grid;gap:.55rem}
.g-check li{position:relative;padding:.7rem .9rem .7rem 2.7rem;border:1px solid var(--line);border-radius:12px;background:#fff;margin:0!important;font-size:.96rem;line-height:1.6}
.g-check li::before{content:"";position:absolute;left:.9rem;top:.85rem;width:18px;height:18px;border-radius:5px;border:2px solid var(--blue);background:#fff}
.g-check li::after{content:"";position:absolute;left:1.22rem;top:1rem;width:5px;height:10px;border-right:2px solid var(--orange);border-bottom:2px solid var(--orange);transform:rotate(45deg)}

/* figura dentro do texto */
.g-fig img{width:100%;height:auto;border-radius:14px;background:#E9EEF4}
.g-fig figcaption{margin-top:.55rem;font-size:.8rem;line-height:1.5;color:var(--muted)}

/* chamada no meio do texto */
.g-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;border-radius:18px;padding:1.2rem 1.4rem;background:linear-gradient(110deg,#F2F6FB,#FFF4E6)}
.g-cta p{margin:0;font-size:.98rem;line-height:1.55;color:var(--ink);max-width:46ch}
.g-cta p b{font-weight:600}
.g-cta .acts{display:flex;flex-wrap:wrap;gap:.6rem}
.g-cta .btn{padding:.75rem 1.2rem;font-size:.86rem;text-decoration:none!important}
.g-cta .btn-wa{color:#fff!important}
.g-cta .btn-line{color:var(--ink)!important}

/* perguntas frequentes */
.g-faq{display:grid;gap:.7rem}
.g-faq .qa{border:1px solid var(--line);border-radius:14px;padding:1rem 1.2rem;background:#fff}
.g-faq .qa h3{margin:0!important;font-size:1rem;line-height:1.4}
.g-faq .qa p{margin-top:.45rem;font-size:.95rem;line-height:1.7}

/* lista de links para outros guias */
.g-links{list-style:none;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.g-links li{margin:0!important}
.g-links a{display:block;height:100%;padding:.75rem 1rem;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:.92rem;font-weight:500;line-height:1.4;text-decoration:none!important;color:var(--ink)!important;transition:border-color .3s,transform .4s var(--ease)}
.g-links a:hover{border-color:var(--blue);transform:translateX(3px)}
.g-links a small{display:block;font-weight:400;font-size:.78rem;color:var(--muted);margin-top:.15rem}

/* hub */
.g-intro{max-width:72ch}
.g-intro p + p{margin-top:1em}
.g-hub-h{margin:clamp(28px,4vw,48px) 0 clamp(16px,2vw,24px);font-size:clamp(1.3rem,2.2vw,1.7rem)}

@media (max-width:760px){
  .g-links{grid-template-columns:minmax(0,1fr)}
  .g-eqs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-eq figure{height:140px}
  .g-steps > li{padding:1rem 1rem 1.05rem 3.2rem}
  .g-steps > li::before{left:.8rem}
}
@media (max-width:560px){
  .g-cta .acts,.g-cta .btn{width:100%;justify-content:center}
}
