/* ============================================
   PNEUS INDEPENDÊNCIA — Páginas internas
   Extensão do style.css. Usa os mesmos tokens.
   ============================================ */

/* ---------- NAV ---------- */
.site-nav {
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky;
  top: 0;
  z-index: 900;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-cta {
  background-color: var(--primary);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 14px;
}

.nav-cta:hover {
  background-color: var(--primary-hover);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background-color: var(--bg-gray);
  padding: 14px 0;
  font-size: 14px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #999;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

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

.breadcrumb li[aria-current] {
  color: var(--text-dark);
  font-weight: 600;
}

/* ---------- HERO DE PÁGINA INTERNA ---------- */
.page-hero {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 55px 0;
}

.page-hero .eyebrow {
  color: var(--text-white);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.page-hero .eyebrow::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
  margin-left: 15px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 800px;
}

.page-hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 26px;
}

.page-hero .updated {
  font-size: 13px;
  color: #9b9b9b;
  margin-top: 22px;
}

/* ---------- CORPO DO ARTIGO ---------- */
.article-wrap {
  background-color: #fff;
  padding: 55px 0 20px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;
}

.article-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
}

.article-body h2 {
  font-size: 27px;
  font-weight: 700;
  margin: 44px 0 16px;
  color: var(--text-dark);
  scroll-margin-top: 90px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 22px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--text-dark);
}

.article-body a {
  color: var(--primary);
  font-weight: 600;
}

/* Bloco de resposta direta — o que a IA extrai */
.answer-box {
  background-color: var(--bg-gray);
  border-left: 5px solid var(--primary);
  padding: 24px 26px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 34px;
  font-size: 18px;
  line-height: 1.7;
}

.answer-box p:last-child {
  margin-bottom: 0;
}

/* Caixa de destaque técnico */
.note-box {
  background-color: #fff6f6;
  border: 1px solid #f3d4d4;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}

.note-box strong {
  color: var(--primary);
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* Tabela */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 16px;
}

.data-table th {
  background-color: var(--bg-dark);
  color: #fff;
  text-align: left;
  padding: 13px 15px;
  font-family: var(--font-title);
  font-weight: 600;
}

.data-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #e6e6e6;
}

.data-table tr:nth-child(even) td {
  background-color: #fafafa;
}

.table-scroll {
  overflow-x: auto;
}

/* ---------- FAQ ---------- */
.faq-section {
  background-color: var(--bg-gray);
  padding: 55px 0;
}

.faq-section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 19px 55px 19px 24px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  line-height: 1.75;
  color: #444;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- SIDEBAR ---------- */
.sidebar {
  position: sticky;
  top: 90px;
}

.side-card {
  background-color: var(--bg-dark);
  color: #fff;
  border-radius: 10px;
  padding: 26px;
  margin-bottom: 20px;
}

.side-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #fff;
}

.side-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.side-card .btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
}

.side-facts {
  background-color: var(--bg-gray);
  border-radius: 10px;
  padding: 24px;
  font-size: 15px;
}

.side-facts h3 {
  font-size: 17px;
  margin-bottom: 14px;
}

.side-facts dl {
  display: grid;
  gap: 10px;
}

.side-facts dt {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #777;
}

.side-facts dd {
  margin: 0 0 6px;
  color: var(--text-dark);
}

.side-toc {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.side-toc h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.side-toc ol {
  margin-left: 18px;
  font-size: 15px;
}

.side-toc li {
  margin-bottom: 8px;
}

.side-toc a {
  color: #555;
  text-decoration: none;
}

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

/* ---------- GRADE DE SERVIÇOS ---------- */
.cards-section {
  padding: 55px 0;
  background-color: var(--bg-light);
}

.cards-section > .container > h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 10px;
}

.cards-section > .container > p.sub {
  text-align: center;
  color: #666;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.svc-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 28px 26px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .07);
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.svc-card i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 14px;
}

.svc-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.svc-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

.svc-card .more {
  margin-top: 16px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- CTA FINAL ---------- */
.page-cta {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 55px 0;
  text-align: center;
}

.page-cta h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.page-cta p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 26px;
}

.page-cta .hero-buttons {
  justify-content: center;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ---------- AUTOR / E-E-A-T ---------- */
.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  background-color: var(--bg-gray);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 40px;
  font-size: 15px;
}

.author-box i {
  font-size: 34px;
  color: var(--primary);
}

.author-box strong {
  display: block;
  font-family: var(--font-title);
  font-size: 16px;
}

.author-box span {
  color: #666;
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  z-index: 950;
  text-decoration: none;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sidebar {
    position: static;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero .lead {
    font-size: 16px;
  }

  .article-body {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 23px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-medium);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    border-bottom: 3px solid var(--primary);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
  }

  .nav-cta {
    border-radius: 0;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .page-hero {
    padding: 38px 0;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .answer-box {
    font-size: 16px;
    padding: 18px 20px;
  }

  .faq-item summary {
    font-size: 16px;
    padding-right: 48px;
  }
}
