/* =========================================================
   PÁGINAS DE SEO LOCAL E SERVIÇOS
   Escopo fechado em .seo-* — não altera nenhuma página existente.
   ========================================================= */

.seo-hero {
  position: relative;
  padding: calc(var(--header-height) + 4.5rem) 0 4.5rem;
  background:
    radial-gradient(ellipse 55% 60% at 78% 10%, rgba(242, 169, 0, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 12% 85%, rgba(21, 101, 192, 0.12) 0%, transparent 60%),
    #0E1217;
  overflow: hidden;
}

.seo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, 0.025) 59px, rgba(255, 255, 255, 0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, 0.025) 59px, rgba(255, 255, 255, 0.025) 60px);
  pointer-events: none;
}

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

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B8C2CC;
}

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

.seo-breadcrumb span[aria-hidden="true"] {
  opacity: 0.5;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(242, 169, 0, 0.28);
  border-radius: 100px;
  background: rgba(242, 169, 0, 0.08);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.seo-hero-title {
  max-width: 980px;
  margin: 0 0 1.1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.seo-hero-title em {
  color: var(--accent-primary);
  font-style: normal;
}

.seo-hero-desc {
  max-width: 760px;
  margin: 0 0 1.8rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #B8C2CC;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.seo-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-hero-fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.seo-hero-fact strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-primary);
}

.seo-hero-fact span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B8C2CC;
}

/* Conteúdo */
.seo-content {
  padding: 4.5rem 0 5rem;
  background: var(--bg-light);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.seo-prose {
  min-width: 0;
}

.seo-prose h2 {
  margin: 2.4rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

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

.seo-prose p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #3c4753;
}

.seo-prose a {
  color: #9a6a00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-prose a:hover {
  color: var(--accent-primary);
}

.seo-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.seo-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #3c4753;
}

.seo-list li::before {
  content: '';
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  background: var(--accent-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.seo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-card {
  padding: 1.4rem;
  border: 1px solid rgba(26, 32, 40, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(26, 32, 40, 0.05);
}

.seo-card h2,
.seo-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.seo-card p,
.seo-card li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

.seo-card p {
  margin: 0 0 0.7rem;
}

.seo-card p:last-child {
  margin-bottom: 0;
}

.seo-nap {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.seo-nap a {
  color: var(--text-dark);
  font-weight: 600;
}

.seo-nap a:hover {
  color: var(--accent-primary);
}

.seo-card-cta {
  background: #0E1217;
  border-color: rgba(242, 169, 0, 0.25);
}

.seo-card-cta h2,
.seo-card-cta h3 {
  color: #fff;
}

.seo-card-cta p {
  color: #B8C2CC;
}

.seo-card-cta .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

.seo-related {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.seo-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(26, 32, 40, 0.07);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.seo-related li:last-child a {
  border-bottom: 0;
}

.seo-related a::after {
  content: '\2192';
  color: var(--accent-primary);
}

/* FAQ */
.seo-faq {
  margin-top: 3rem;
}

.seo-faq details {
  margin-bottom: 0.6rem;
  border: 1px solid rgba(26, 32, 40, 0.1);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.seo-faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  list-style: none;
}

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

.seo-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-primary);
}

.seo-faq details[open] summary::after {
  content: '\2212';
}

.seo-faq details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3c4753;
}

/* Hub de serviços */
.seo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

@media (min-width: 992px) {
  .seo-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.seo-service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgba(26, 32, 40, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(26, 32, 40, 0.05);
}

.seo-service-card h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

.seo-service-card p {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4b5563;
}

.seo-service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* CTA final */
.seo-cta {
  padding: 4rem 0;
  background: #0E1217;
  text-align: center;
}

.seo-cta h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
}

.seo-cta p {
  margin: 0 auto 1.4rem;
  max-width: 42em;
  color: #B8C2CC;
}

.seo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

@media (min-width: 992px) {
  .seo-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 3.5rem;
  }

  .seo-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    align-self: start;
  }
}

@media (max-width: 640px) {
  .seo-hero {
    padding: calc(var(--header-height) + 2.5rem) 0 3rem;
  }

  .seo-hero-facts {
    gap: 1rem 1.5rem;
  }

  .seo-content {
    padding: 3rem 0 3.5rem;
  }
}
