/* ==========================================================
   Mult Bauru - CSS das paginas internas (servicos, produtos, blog)
   Usa a MESMA paleta do index.html. Nao introduzir outras cores.
   ========================================================== */

:root {
  --primary-color: #6b5bb5;
  --primary-light: #c3b4f5;
  --primary-dark: #554a9a;
  --secondary-color: #3d3470;
  --accent-color: #4aa8a0;
  --accent-light: #6fd3c9;
  --accent-dark: #2f8f87;
  --accent-deep: #24756e;
  --text-dark: #1f1f1f;
  --text-light: #5e5e5e;
  --extra-light: #f6f8fa;
  --border: #e6e8ee;
  --white: #fff;
  --max-width: 1200px;
  --content-width: 760px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent-deep);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- NAVBAR ---------- */
.pg-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(61, 52, 112, 0.06);
}

.pg-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pg-nav__logo img {
  width: 120px;
  height: auto;
}

.pg-nav__links {
  display: none;
  list-style: none;
  gap: 1.5rem;
}

.pg-nav__links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.pg-nav__links a:hover {
  color: var(--primary-color);
}

.pg-nav__cta {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.25s;
}

.pg-nav__cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

@media (min-width: 900px) {
  .pg-nav__links {
    display: flex;
  }
}

/* ---------- CABECALHO DA PAGINA ---------- */
.pg-hero {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
  color: var(--white);
  padding: 3rem 0 3.5rem;
}

.pg-hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pg-hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.pg-hero__sub {
  color: var(--primary-light);
  font-size: 1.02rem;
}

.pg-hero__meta {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--primary-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
}

/* ---------- MIGALHAS (breadcrumb) ---------- */
.crumbs {
  background: var(--extra-light);
  border-bottom: 1px solid var(--border);
}

.crumbs ol {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.crumbs a {
  color: var(--text-light);
}

.crumbs a:hover {
  color: var(--primary-color);
}

.crumbs li + li::before {
  content: "\203A";
  margin-right: 0.45rem;
  color: #b9bdc9;
}

/* ---------- CONTEUDO ---------- */
.pg-main {
  padding: 2.75rem 0 1rem;
}

.pg-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pg-content h2 {
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  color: var(--secondary-color);
  margin: 2.4rem 0 0.9rem;
  line-height: 1.3;
  scroll-margin-top: 90px;
}

.pg-content h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px;
  margin-top: 0.55rem;
}

.pg-content h3 {
  font-size: 1.12rem;
  color: var(--primary-dark);
  margin: 1.7rem 0 0.6rem;
  line-height: 1.4;
}

.pg-content p {
  margin-bottom: 1.05rem;
  color: #333;
}

.pg-content ul,
.pg-content ol {
  margin: 0 0 1.15rem 1.15rem;
}

.pg-content li {
  margin-bottom: 0.5rem;
  color: #333;
}

.pg-content ul li::marker {
  color: var(--accent-dark);
}

.pg-content strong {
  color: var(--secondary-color);
}

.pg-content img {
  border-radius: 12px;
  margin: 1.5rem 0;
}

.destaque {
  background: var(--extra-light);
  border-left: 4px solid var(--accent-color);
  padding: 1.05rem 1.2rem;
  border-radius: 0 10px 10px 0;
  margin: 1.6rem 0;
  font-size: 0.96rem;
}

.destaque strong {
  color: var(--accent-deep);
}

/* tabela */
.tabela-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  min-width: 440px;
}

th,
td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--secondary-color);
  color: var(--white);
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: var(--extra-light);
}

/* ---------- INDICE DO ARTIGO ---------- */
.indice {
  background: var(--extra-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
}

.indice p {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.6rem;
}

.indice ol {
  margin: 0 0 0 1.1rem;
}

.indice li {
  margin-bottom: 0.35rem;
  font-size: 0.93rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  background: var(--white);
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: var(--secondary-color);
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  margin: 2.5rem 0;
  text-align: center;
}

.cta-box h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.cta-box h2::after {
  display: none;
}

.cta-box p {
  color: var(--primary-light);
  margin-bottom: 1.3rem;
  font-size: 0.97rem;
}

.cta-box__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-zap,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.25s;
}

.btn-zap {
  background: #25d366;
  color: #fff;
}

.btn-zap:hover {
  background: #1eb455;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid var(--primary-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- CARDS (listagens) ---------- */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61, 52, 112, 0.12);
}

.card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

.card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card__body h3 {
  font-size: 1.02rem;
  margin: 0 0 0.5rem;
  color: var(--secondary-color);
  line-height: 1.4;
}

.card__body p {
  font-size: 0.89rem;
  color: var(--text-light);
  margin: 0 0 0.9rem;
  flex: 1;
}

.card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ---------- LINKS RELACIONADOS ---------- */
.relacionados {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.8rem;
}

.relacionados h2 {
  margin-top: 0;
}

.relacionados ul {
  list-style: none;
  margin-left: 0;
}

.relacionados li {
  margin-bottom: 0.55rem;
}

.relacionados a {
  font-weight: 500;
}

.relacionados a::before {
  content: "\2192  ";
  color: var(--accent-dark);
}

/* ---------- RODAPE ---------- */
.pg-footer {
  background: var(--secondary-color);
  color: #d9d6ea;
  margin-top: 3.5rem;
  padding: 2.75rem 0 1.5rem;
  font-size: 0.9rem;
}

.pg-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pg-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.pg-footer a {
  color: #d9d6ea;
}

.pg-footer a:hover {
  color: var(--accent-light);
}

.pg-footer ul {
  list-style: none;
}

.pg-footer li {
  margin-bottom: 0.45rem;
}

.pg-footer__bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 1.2rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.82rem;
  color: #a9a4c4;
}

/* ---------- BOTAO FLUTUANTE WHATSAPP ---------- */
.zap-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s;
}

.zap-float:hover {
  transform: scale(1.08);
  color: #fff;
}

@media print {
  .pg-nav,
  .cta-box,
  .zap-float,
  .pg-footer {
    display: none;
  }
}
