/* WORKNET SEGUROS - Páginas por modalidade (pastas seguro-...)
   Usa os tokens de css/main.css. Layout full-width, alinhado à esquerda (regra do projeto). */

.page-hero {
  background:
    radial-gradient(900px circle at 10% 0%, rgba(0, 113, 227, 0.32), transparent 60%),
    linear-gradient(145deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: var(--text-white);
  padding: 3.5rem 0 3.75rem;
  border-bottom: var(--border-hairline-dark);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
}
.breadcrumb a {
  color: #7DD3FC;
  text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.page-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.page-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 68ch;
  margin-bottom: 2rem;
}

.page-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Conteúdo + card de cotação fixo */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3.5rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.page-content { max-width: 78ch; }

.page-section + .page-section { margin-top: 3rem; }

.page-section h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.page-section p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.page-section p + p,
.page-section p + .page-list,
.page-section .page-list + p { margin-top: 1rem; }
.page-section strong { color: var(--text-primary); }

.page-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.page-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.page-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--worknet-blue);
}

.page-steps {
  list-style: none;
  counter-reset: passo;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.page-steps li {
  counter-increment: passo;
  background: var(--apple-card);
  border: var(--border-hairline-light);
  border-radius: 18px;
  padding: 1.25rem;
  display: grid;
  gap: 0.4rem;
}
.page-steps li::before {
  content: counter(passo);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 113, 227, 0.1);
  color: var(--worknet-blue);
  font-weight: 800;
}
.page-steps strong { color: var(--primary-navy); font-size: 1rem; }
.page-steps span { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }

/* Perguntas frequentes */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--apple-card);
  border: var(--border-hairline-light);
  border-radius: 16px;
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  position: relative;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--worknet-blue);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.25rem 1.2rem; margin: 0; }

/* Card de cotação */
.page-cta-card {
  position: sticky;
  top: 96px;
  background: var(--apple-card);
  border: var(--border-hairline-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-tile);
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
}
.page-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--worknet-blue);
  color: #FFFFFF;
  font-size: 1.4rem;
}
.page-cta-card .page-cta-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}
.page-cta-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; }
.page-cta-card .btn-full { justify-content: center; }
.page-cta-phone a { color: var(--worknet-blue); font-weight: 700; }

/* Outras modalidades */
.page-related { padding-top: 2rem; padding-bottom: 1rem; }
.page-related h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}
.related-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.related-grid a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 64px;
  padding: 1rem;
  background: var(--apple-card);
  border: var(--border-hairline-light);
  border-radius: 16px;
  color: var(--primary-navy);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow-tile); }
.related-grid i { color: var(--worknet-blue); font-size: 1.2rem; flex-shrink: 0; }

@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .page-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-cta-card { position: static; }
}

@media (max-width: 640px) {
  .page-hero { padding: 2.25rem 0 2.5rem; }
  .page-layout { padding-top: 2.25rem; }
  .page-section + .page-section { margin-top: 2.25rem; }
  .page-steps { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .page-hero-actions .btn-pill { width: 100%; justify-content: center; }
}
