/* Paginas SEO industriais - hubs e satelites */
.seo-page {
  background:
    radial-gradient(circle at top left, rgba(54, 166, 191, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8fafc 0%, #eef6f9 42%, #f8fafc 100%);
  color: var(--text-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.seo-header {
  padding: calc(var(--header-height) + 5rem) 0 6.25rem;
  background:
    linear-gradient(135deg, rgba(1, 44, 74, 0.96) 0%, rgba(1, 107, 149, 0.96) 46%, rgba(54, 166, 191, 0.94) 100%),
    var(--gradient-hero);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.seo-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(255, 193, 7, 0.2), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 38%);
  pointer-events: none;
}

.seo-header::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.seo-header .container {
  position: relative;
  z-index: 1;
}

.seo-breadcrumb {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.seo-breadcrumb a {
  color: #fff;
  font-weight: 700;
}

.seo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-title {
  max-width: 940px;
  margin: 1.1rem 0 1.15rem;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.seo-lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.seo-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-heading);
  backdrop-filter: blur(10px);
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.seo-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
}

.seo-page a:focus-visible,
.seo-page button:focus-visible,
.seo-page summary:focus-visible {
  outline: 3px solid rgba(255, 193, 7, 0.9);
  outline-offset: 3px;
}

.seo-main {
  padding: 0 0 4.5rem;
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

.seo-card,
.seo-content,
.seo-sidebar-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.seo-content {
  position: relative;
  overflow: hidden;
  padding: clamp(1.45rem, 3.2vw, 2.75rem);
}

.seo-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gradient-horizontal);
}

.seo-content h2,
.seo-card h2,
.seo-sidebar-card h2 {
  margin-bottom: 0.9rem;
  color: var(--text-heading);
  font-family: var(--font-heading);
  line-height: 1.18;
}

.seo-content h2 {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 2.35rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.seo-content h2::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  background: var(--gradient-horizontal);
  box-shadow: 0 8px 22px rgba(54, 166, 191, 0.25);
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content h3 {
  margin: 1.4rem 0 0.55rem;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.14rem;
  letter-spacing: -0.015em;
}

.seo-content p {
  margin-bottom: 1.05rem;
  font-size: 1.04rem;
  line-height: 1.82;
  color: #475569;
}

.seo-content ul,
.seo-content ol {
  display: grid;
  gap: 0.78rem;
  margin: 1rem 0 1.25rem;
  padding-left: 0;
}

.seo-content ul {
  list-style: none;
}

.seo-content ol {
  list-style: none;
  counter-reset: seo-steps;
}

.seo-content li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.86);
  line-height: 1.62;
}

.seo-content ul li::before,
.seo-content ol li::before {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--gradient-horizontal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.seo-content ul li::before {
  content: "";
  box-shadow: inset 0 0 0 0.35rem rgba(255, 255, 255, 0.35);
}

.seo-content ol li {
  counter-increment: seo-steps;
}

.seo-content ol li::before {
  content: counter(seo-steps);
  font-family: var(--font-heading);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}

.seo-card {
  position: relative;
  padding: 1.35rem;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.seo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gradient-horizontal);
  opacity: 0.85;
}

.seo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(54, 166, 191, 0.38);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.seo-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.seo-card p {
  margin-bottom: 0;
  font-size: 0.97rem;
  line-height: 1.65;
}

.seo-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.seo-related a,
.seo-sidebar-card a {
  display: block;
  position: relative;
  padding: 0.95rem 2.4rem 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.35;
}

.seo-related a::after,
.seo-sidebar-card a::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-cyan);
  font-weight: 900;
  transition: transform var(--ease);
}

.seo-related a:hover,
.seo-sidebar-card a:hover {
  color: var(--blue-deep);
  border-color: rgba(54, 166, 191, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.seo-related a:hover::after,
.seo-sidebar-card a:hover::after {
  transform: translate(3px, -50%);
}

.seo-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.2rem);
  display: grid;
  gap: 1rem;
}

.seo-sidebar-card {
  overflow: hidden;
  padding: 1.2rem;
}

.seo-sidebar-card h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
}

.seo-sidebar-card h2::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cta-yellow);
  box-shadow: 0 0 0 0.35rem rgba(255, 193, 7, 0.18);
}

.seo-sidebar-card nav {
  display: grid;
  gap: 0.55rem;
}

.seo-cta {
  position: relative;
  overflow: hidden;
  margin-top: 2.45rem;
  padding: clamp(1.45rem, 3.2vw, 2.25rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 193, 7, 0.28), transparent 34%),
    linear-gradient(135deg, #053b64 0%, #016b95 52%, #36a6bf 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 22px 55px rgba(1, 107, 149, 0.22);
}

.seo-cta h2 {
  margin-top: 0;
  color: #fff;
}

.seo-cta h2::before {
  background: var(--cta-yellow);
  box-shadow: 0 8px 22px rgba(255, 193, 7, 0.22);
}

.seo-cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}

.seo-cta .seo-btn-secondary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.seo-cta .btn--primary {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.seo-faq {
  margin-top: 2.4rem;
}

.seo-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: 1.05rem 1.15rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.seo-faq details[open] {
  border-color: rgba(54, 166, 191, 0.42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.seo-faq details + details {
  margin-top: 0.75rem;
}

.seo-faq summary {
  cursor: pointer;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 800;
}

.seo-faq details p {
  margin: 0.85rem 0 0;
}

.seo-simple-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.seo-simple-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.seo-simple-logo img {
  width: 140px;
  height: auto;
  transition: transform var(--ease);
}

.seo-simple-logo:hover img {
  transform: translateY(-1px);
}

.seo-simple-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.seo-simple-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-heading);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.seo-simple-links a:hover {
  background: rgba(54, 166, 191, 0.1);
  color: var(--blue-cyan);
}

.seo-simple-links .btn {
  margin-left: 0.35rem;
  padding: 0.72rem 1.05rem;
}

.seo-simple-links .btn--primary {
  color: var(--cta-yellow-dark);
}

@media (max-width: 960px) {
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    position: static;
  }

  .seo-grid,
  .seo-related {
    grid-template-columns: 1fr;
  }

  .seo-main {
    margin-top: -2rem;
  }

  .seo-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .seo-simple-header {
    height: var(--header-height-mobile);
  }

  .seo-simple-nav {
    padding-inline: 1rem;
  }

  .seo-simple-logo img {
    width: 124px;
  }

  .seo-simple-links a:not(.btn) {
    display: none;
  }

  .seo-simple-links .btn {
    min-height: 42px;
    padding: 0.62rem 0.85rem;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .seo-header {
    padding: calc(var(--header-height-mobile) + 2.4rem) 0 4.5rem;
  }

  .seo-breadcrumb {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .seo-title {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .seo-lead {
    font-size: 1rem;
    line-height: 1.72;
  }

  .seo-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-actions .btn,
  .seo-actions .seo-btn-secondary {
    width: 100%;
  }

  .seo-content,
  .seo-sidebar-card {
    border-radius: 22px;
  }

  .seo-content {
    padding: 1.25rem;
  }

  .seo-content h2 {
    align-items: flex-start;
    font-size: 1.45rem;
  }

  .seo-content h2::before {
    margin-top: 0.12rem;
    height: 1.45rem;
  }

  .seo-content p {
    font-size: 1rem;
  }

  .seo-content li {
    padding-right: 0.9rem;
  }

  .seo-sidebar {
    grid-template-columns: 1fr;
  }
}
