/* Páginas internas — identidade sitev3 (não usa CSS do site antigo) */

.page-main {
  padding-top: 8px;
}

.breadcrumb {
  padding: 18px 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--blue-600);
  font-weight: 650;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 40px;
  background:
    radial-gradient(circle at 88% 18%, rgba(40, 192, 229, 0.16), transparent 42%),
    linear-gradient(180deg, #f3f9fc 0%, #fff 70%);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.page-hero__copy .eyebrow {
  margin-bottom: 12px;
}

.page-hero__copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-hero__copy > p {
  margin: 16px 0 0;
  max-width: 36rem;
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.55;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-hero__visual {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.page-section {
  padding: var(--section-space) 0;
}

.page-section--soft {
  background: var(--surface-soft);
}

.page-section__head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.page-section__head h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-section__head p {
  margin-top: 10px;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-grid {
  display: grid;
  gap: 16px;
}

.page-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.page-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.page-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.page-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.page-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.page-card p {
  margin-top: 10px;
  color: var(--body);
  font-size: 0.84rem;
  line-height: 1.45;
}

.page-card--accent {
  border-color: rgba(19, 177, 217, 0.28);
  background: linear-gradient(180deg, #fff 0%, var(--surface-blue) 120%);
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.4;
}

.coverage-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: inset 0 0 0 4px #fff;
}

.page-faq__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.page-faq .accordion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 18px;
}

.page-related__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.page-related__items a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.page-related__items a:hover {
  border-color: rgba(19, 177, 217, 0.45);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.page-related__items img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.page-hero__actions .button--ghost {
  border-color: var(--cyan-500);
  background: transparent;
  color: var(--blue-600);
}

.page-hero__actions .button--ghost:hover {
  background: var(--surface-blue);
  color: var(--ink);
}

.business-card {
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.business-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta__item .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--cyan-500);
}

.article-meta__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(19, 177, 217, 0.12);
  color: var(--blue-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 0 20px;
}

.article-body h2 {
  margin: 2rem 0 0.85rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article-body p {
  margin: 0 0 1.1rem;
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.65;
}

.article-body .lead {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 650;
}

.article-checklist {
  display: grid;
  gap: 10px;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(8, 50, 91, 0.04);
}

.article-checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat,
    linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 4px 10px rgba(8, 126, 184, 0.28);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.article-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.article-nav a:hover {
  border-color: rgba(19, 177, 217, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.article-nav__next {
  justify-content: flex-end;
  text-align: right;
}

.article-nav__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: var(--surface-blue);
  color: var(--blue-600);
}

.article-nav__prev .article-nav__icon .icon {
  transform: rotate(180deg);
}

.article-nav__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.article-nav small {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-nav strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.3;
}

.article-related .articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.archive-hero {
  padding: 36px 0 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 192, 229, 0.18), transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(8, 126, 184, 0.12), transparent 36%),
    linear-gradient(180deg, #f3f9fc 0%, #fff 78%);
}

.archive-hero__inner {
  max-width: 44rem;
}

.archive-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.archive-hero > .archive-hero__inner > p {
  margin: 16px 0 0;
  max-width: 36rem;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
}

.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.archive-filters a,
.archive-filters span[aria-current="true"] {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.archive-filters a:hover {
  border-color: rgba(19, 177, 217, 0.45);
  background: var(--surface-blue);
}

.archive-filters span[aria-current="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  color: #fff;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.archive-card {
  scroll-margin-top: 96px;
}

.archive-card .article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.archive-card h2 {
  margin: 10px 0 0;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.archive-card h2 a {
  color: var(--ink);
  font-size: inherit;
  font-weight: 740;
}

.archive-card h2 a:hover {
  color: var(--blue-600);
}

.article-card__reading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.article-card__reading .icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--cyan-500);
}

@media (max-width: 1100px) {
  .page-hero__inner,
  .page-faq__inner {
    grid-template-columns: 1fr;
  }

  .page-hero__visual {
    min-height: 260px;
    order: -1;
  }

  .page-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-related__items,
  .archive-grid,
  .article-related .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 18px;
  }

  .page-hero__actions .button {
    width: 100%;
  }

  .page-grid--4,
  .page-grid--3,
  .page-grid--2,
  .coverage-list,
  .page-related__items,
  .archive-grid,
  .article-related .articles,
  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav__next {
    justify-content: flex-start;
    text-align: left;
  }

  .article-nav__next .article-nav__icon {
    order: -1;
  }
}
