/* ============================================================
   PISOS ELITE — PÁGINAS DE SERVIÇOS
   ============================================================ */

.servico-container {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.servico-hero {
  padding: 64px 18px;
  color: #ffffff;
  background:
    radial-gradient(
      900px 380px at 15% 0%,
      rgba(212, 175, 55, 0.18),
      transparent 66%
    ),
    linear-gradient(135deg, #0f1115 0%, #191c22 100%);
}

.servico-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.breadcrumb {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #cfd2d8;
  font-size: 0.88rem;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.servico-selo,
.servico-eyebrow {
  margin-bottom: 10px;
  color: #b38b1b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.servico-hero .servico-selo {
  color: #e6c362;
}

.servico-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 6vw, 3.45rem);
  line-height: 1.12;
}

.servico-resumo {
  max-width: 720px;
  margin-bottom: 28px;
  color: #d3d6dc;
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  line-height: 1.78;
}

.servico-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.servico-link-secundario {
  color: #ffffff;
  font-weight: 600;
  text-underline-offset: 4px;
}

.servico-destaques {
  max-width: 720px;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
}

.servico-destaques li {
  position: relative;
  padding-left: 25px;
  color: #e5e7eb;
}

.servico-destaques li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e6c362;
  font-weight: 700;
}

.servico-hero-imagem {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.servico-hero-imagem img {
  width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.servico-secao {
  padding: 64px 18px;
  background: #f5f6f8;
  border-top: 1px solid #eaecef;
}

.servico-secao-clara {
  background: #ffffff;
}

.servico-secao h2,
.servico-cta h2,
.servico-relacionados h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.25;
}

.servico-secao p {
  color: #5f646d;
  line-height: 1.8;
}

.servico-duas-colunas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.servico-box {
  padding: 24px;
  background: #f5f6f8;
  border: 1px solid #eaecef;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.servico-box h3 {
  margin-bottom: 14px;
}

.servico-box ul {
  margin: 0;
  padding-left: 20px;
  color: #5f646d;
}

.servico-box li + li {
  margin-top: 8px;
}

.servico-cards,
.servico-beneficios,
.servico-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.servico-card,
.servico-beneficios article {
  padding: 22px;
  background: #ffffff;
  border: 1px solid #eaecef;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.servico-card h3 {
  margin-bottom: 9px;
}

.servico-card p,
.servico-beneficios p {
  margin-bottom: 14px;
}

.servico-card a {
  color: #7a5d0b;
  font-weight: 700;
  text-underline-offset: 4px;
}

.servico-secao-escura {
  color: #ffffff;
  background: linear-gradient(135deg, #111318 0%, #1a1d23 100%);
}

.servico-secao-escura h2,
.servico-secao-escura h3 {
  color: #ffffff;
}

.servico-secao-escura p {
  color: #cdd0d6;
}

.servico-secao-escura .servico-eyebrow {
  color: #e6c362;
}

.servico-processo {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
}

.servico-processo li {
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
}

.servico-processo li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #111111;
  background: #d4af37;
  border-radius: 50%;
  font-weight: 800;
}

.servico-processo h3 {
  margin-bottom: 5px;
}

.servico-processo p {
  margin-bottom: 0;
}

.servico-beneficios article strong {
  display: block;
  margin-bottom: 7px;
  color: #171a1f;
  font-size: 1.05rem;
}

.servico-beneficios article p {
  margin-bottom: 0;
}

.servico-cta {
  padding: 52px 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent),
    #171a1f;
}

.servico-cta .servico-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.servico-cta h2 {
  margin-bottom: 8px;
}

.servico-cta p:not(.servico-eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #d3d6dc;
}

.servico-faq {
  background: #ffffff;
}

.servico-faq-lista {
  max-width: 880px;
  margin-top: 28px;
}

.servico-faq details {
  background: #f5f6f8;
  border: 1px solid #e2e4e8;
  border-radius: 14px;
}

.servico-faq details + details {
  margin-top: 12px;
}

.servico-faq summary {
  padding: 18px 20px;
  color: #171a1f;
  font-weight: 700;
  cursor: pointer;
}

.servico-faq details p {
  margin: 0;
  padding: 0 20px 20px;
}

.servico-relacionados {
  padding: 58px 18px;
  background: #f5f6f8;
  border-top: 1px solid #eaecef;
}

.servico-relacionados h2 {
  text-align: center;
}

.servico-links-grid a {
  padding: 16px 18px;
  color: #171a1f;
  background: #ffffff;
  border: 1px solid #eaecef;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.servico-links-grid a:hover {
  transform: translateY(-2px);
  border-color: #d4af37;
}

@media (min-width: 700px) {
  .servico-cards,
  .servico-beneficios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .servico-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .servico-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  }

  .servico-duas-colunas {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  }

  .servico-cta .servico-container {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 767px) {
  .servico-hero {
    padding-top: 46px;
  }

  .servico-acoes {
    align-items: stretch;
    flex-direction: column;
  }

  .servico-acoes .botao-cta,
  .servico-link-secundario {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .servico-links-grid a {
    transition: none;
  }
}

/* ============================================================
   MENU E SUBMENU DE SERVIÇOS
   ============================================================ */

.menu-grupo {
  position: relative;
}

.menu-submenu-botao {
  width: 100%;
  padding: 12px 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: #e9eaee;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);

  font: inherit;
  font-size: 0.9rem;
  text-align: left;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.menu-submenu-botao:hover {
  padding-left: 19px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.menu-submenu-seta {
  display: inline-block;

  color: #d4af37;
  font-size: 0.8rem;

  transition: transform 0.25s ease;
}

.menu-submenu-botao.ativo .menu-submenu-seta {
  transform: rotate(180deg);
}

.submenu-servicos {
  max-height: 0;
  overflow: hidden;

  background: rgba(0, 0, 0, 0.22);
  opacity: 0;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.submenu-servicos.ativo {
  max-height: 460px;
  opacity: 1;
}

.menu .submenu-servicos a {
  padding: 10px 15px 10px 28px;

  color: #cfd2d8;
  border-top: 1px solid rgba(255, 255, 255, 0.045);

  font-size: 0.84rem;
}

.menu .submenu-servicos a:hover {
  padding-left: 33px;
  color: #ffffff;
  background: rgba(212, 175, 55, 0.1);
}

.menu-submenu-botao:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.55);
  outline-offset: -3px;
}

/* ============================================================
   CORREÇÃO DEFINITIVA DO MENU E SUBMENU
   ============================================================ */

.menu-grupo {
  position: relative;
  width: 100%;
  display: block;
}

.menu-submenu-botao {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: #e9eaee;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);

  font: inherit;
  font-size: 0.9rem;
  text-align: left;

  cursor: pointer;
}

.submenu-servicos {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  display: block;

  background: rgba(0, 0, 0, 0.3);
  opacity: 0;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.submenu-servicos.ativo {
  max-height: 520px;
  opacity: 1;
}

.menu .submenu-servicos a {
  width: 100%;
  display: block;
  padding: 11px 18px 11px 30px;

  color: #cfd2d8;
  border-top: 1px solid rgba(255, 255, 255, 0.045);

  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

.menu .submenu-servicos a:hover {
  padding-left: 35px;
  color: #ffffff;
  background: rgba(212, 175, 55, 0.1);
}

.menu-submenu-seta {
  flex: none;
  display: inline-block;
  color: #d4af37;
  transition: transform 0.25s ease;
}

.menu-submenu-botao.ativo .menu-submenu-seta {
  transform: rotate(180deg);
}

/* Menu principal com tamanho confortável no celular */
.topo > .menu {
  width: min(340px, calc(100vw - 24px));
  max-height: calc(100vh - 88px);
  overflow-x: hidden;
  overflow-y: auto;
}

.topo > .menu > a,
.topo > .menu > .menu-grupo {
  flex: none;
  width: 100%;
}