/* Galvão & Silva — Cidade (página do município)
   Handle: gs-cidade
   Escopo: template page-cidade.php (página padrão do município) */

/* Namespacing defensivo */
body.page-template-page-cidade-php,
.page-template-page-cidade-php .wrap,
.page-template-page-cidade-php section {
  --gs-card-radius: 10px;
  --gs-card-shadow: 0 10px 21px -10px rgba(2, 0, 0, 0.35);
  --gs-border: 1px solid #e3d9c6;
  --gs-muted: #595758;
  --gs-bg-soft: #f9f9f9;
  --gs-gold-grad: linear-gradient(180deg, var(--decor-color) 0%, var(--secondary-color) 100%);
  --gs-link: var(--primary-color);
  --gs-link-hover: var(--secondary-color);
}

section.home div.txt-new h1 {
    font-size: 65px;
    line-height: 84px;
}

@media (max-width: 980px) {
    section.home div.txt-new h1, section.home div.txt-new h2 {
        font-size: 6vh;
        line-height: 60px;
        padding-left: 20px;
        text-align: left;
    }
}

.home.sc-form-localization .gs-google-rating__link {
  display: inline-flex;
  text-decoration: none;
  border-radius: 10px;
  position: relative;
  margin-top: 20px;
}

.block-aside {
  margin-bottom: 30px;
}

.home.sc-form-localization .gs-google-rating__link::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 216, 111, 0.4), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  pointer-events: none;
}

.home.sc-form-localization .gs-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 25px 45px -18px rgba(22,14,6,0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  z-index: 1;
}

.home.sc-form-localization .gs-google-rating__link:hover::before,
.home.sc-form-localization .gs-google-rating__link:focus-visible::before {
  opacity: 1;
}

.home.sc-form-localization .gs-google-rating__link:hover .gs-google-rating,
.home.sc-form-localization .gs-google-rating__link:focus-visible .gs-google-rating {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 30px 55px -20px rgba(12, 7, 2, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
}

.home.sc-form-localization .gs-google-rating__faces {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.home.sc-form-localization .gs-google-rating__face {
  --gs-face-color: #cfa447;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.85), rgba(255,255,255,0.48) 45%, rgba(0,0,0,0.12) 92%), var(--gs-face-color);
  border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 12px 22px -14px rgba(15,9,3,0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -14px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  cursor: pointer;
}

.home.sc-form-localization .gs-google-rating__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.home.sc-form-localization .gs-google-rating__face:first-child {
  margin-left: 0;
}

.home.sc-form-localization .gs-google-rating__face::after {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(36,23,9,0.88);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 015 5v1a5 5 0 01-10 0V7a5 5 0 015-5zm0 12c4.418 0 8 3.134 8 7v1H4v-1c0-3.866 3.582-7 8-7z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.home.sc-form-localization .gs-google-rating__face:hover,
.home.sc-form-localization .gs-google-rating__face:focus-visible {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 18px 34px -12px rgba(32,18,6,0.52);
  filter: brightness(1.06);
  z-index: 2;
}

.home.sc-form-localization .gs-google-rating__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home.sc-form-localization .gs-google-rating__count-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.home.sc-form-localization .gs-google-rating__count {
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
}

.home.sc-form-localization .gs-google-rating__text {
  font-family: 'Mulish', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}

.home.sc-form-localization .gs-google-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Mulish', sans-serif;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
}

.home.sc-form-localization .gs-google-rating__stars-value {
  font-weight: 700;
  color: #fff;
}

.home.sc-form-localization .gs-google-rating__stars-icons {
  letter-spacing: 3px;
  color: #ffd86f;
  text-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.home.sc-form-localization .gs-google-rating__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Mulish', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.home.sc-form-localization .gs-google-rating__brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-image: url(../img/gr/logos--google-icon.svg);
}

.home.sc-form-localization .gs-google-rating__brand-label {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg,#4285F4 0%,#EA4335 25%,#FBBC05 50%,#34A853 75%,#4285F4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


@media (max-width: 767px) {
  .home.sc-form-localization .gs-google-rating {
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
  }

  .home.sc-form-localization .gs-google-rating[data-source]::after {
    position: static;
    order: -1;
    margin-bottom: 4px;
  }

  .home.sc-form-localization .gs-google-rating__faces {
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .home.sc-form-localization .gs-google-rating {
    width: 100%;
    border-radius: 10px;
  }

  .home.sc-form-localization .gs-google-rating__count {
    font-size: 1.35rem;
  }

  .home.sc-form-localization .gs-google-rating__face {
    width: 34px;
    height: 34px;
    margin-left: -12px;
  }
}

/* Hero */
.page-template-page-cidade-php .cidade-hero {
  background: url(../img/bg/bg_topo_blog.webp) no-repeat center/cover;
  min-height: 260px;
  display: flex;
  align-items: end;
  padding: 30px 0;
  border-bottom: 1px solid #e9e9ea;
}
.page-template-page-cidade-php .cidade-hero .cidade-uf {
  font-family: 'STIX Two Text', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.page-template-page-cidade-php .cidade-hero .cidade-title {
  font-family: 'STIX Two Text', sans-serif;
  font-weight: 500;
  font-size: 44px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* Breadcrumbs */
.page-template-page-cidade-php .cidade-breadcrumbs {
  background: #fff;
  border-bottom: 1px solid #e9e9ea;
  padding: 10px 0;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  color: #8e8d95;
}
.page-template-page-cidade-php .cidade-breadcrumbs a {
  color: var(--gs-link);
  text-decoration: none;
}
.page-template-page-cidade-php .cidade-breadcrumbs a:hover {
  color: var(--gs-link-hover);
}

/* Bloco de conteúdo principal */
.page-template-page-cidade-php .cidade-content {
  background: #fff;
  padding: 30px 0 10px;
}
.page-template-page-cidade-php .cidade-content .lead {
  font-family: 'Mulish', sans-serif;
  font-size: 17px;
  line-height: 27px;
  color: #4f4f4f;
}

/* Cards de serviços relacionados (reaproveita estética do tema) */
.page-template-page-cidade-php .cidade-servicos {
  background: #FFF;
  padding: 30px 0;
  border-top: 1px solid #f3f3f3;
}
.page-template-page-cidade-php .cidade-servicos .servico-card {
  display: block;
  background: #f9f9f9;
  border: var(--gs-border);
  border-radius: var(--gs-card-radius);
  box-shadow: var(--gs-card-shadow);
  padding: 18px;
  min-height: 160px;
  color: #616161;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.page-template-page-cidade-php .cidade-servicos .servico-card:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,.45);
  border-color: var(--decor-color);
}
.page-template-page-cidade-php .cidade-servicos .servico-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #EFECE6;
  margin-bottom: 12px;
}
.page-template-page-cidade-php .cidade-servicos .servico-card .titulo {
  font-family: 'STIX Two Text', sans-serif;
  font-size: 18px;
  color: var(--primary-color);
  margin: 0 0 6px;
}
.page-template-page-cidade-php .cidade-servicos .servico-card .texto {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  color: #8e8d95;
  margin: 0;
}

/* CTA padrão do tema (compatível com .nvmAgendeConsultoria) */
.page-template-page-cidade-php .cidade-cta {
  margin: 20px 0;
}
.page-template-page-cidade-php .cidade-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-family: 'Mulish', sans-serif;
  padding: 10px 15px;
  font-weight: 700;
  border-radius: 10px;
  font-size: 14px;
  background: linear-gradient(90deg, rgba(51,188,81,1) 0%, rgba(0,104,38,1) 100%);
  text-decoration: none;
}
.page-template-page-cidade-php .cidade-cta .btn-cta:hover {
  text-decoration: none;
  filter: brightness(1.02);
}

/* Barra lateral / info de contato (opcional) */
.page-template-page-cidade-php .cidade-sidebar .card {
  background: #fff;
  border: var(--gs-border);
  border-radius: var(--gs-card-radius);
  box-shadow: var(--gs-card-shadow);
  padding: 18px;
  margin-bottom: 16px;
}
.page-template-page-cidade-php .cidade-sidebar .card .titulo {
  font-family: 'STIX Two Text', sans-serif;
  font-size: 24px;
  color: #242424;
  margin: 0 0 10px;
}
.page-template-page-cidade-php .cidade-sidebar .card .texto {
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  color: #595758;
}


.page-template-page-cidade-php a:focus-visible,
.page-template-page-cidade-php button:focus-visible {
  outline: 1px solid var(--primary-color);
  box-shadow: 0 3px 16px -4px #d0a145;
  border-radius: 10px;
}

/* Responsividade rápida */
@media (max-width: 991px) {
  .page-template-page-cidade-php .cidade-hero {
    min-height: 200px;
    padding: 24px 0;
  }
  .page-template-page-cidade-php .cidade-hero .cidade-title {
    font-size: 32px;
  }
}

/* --- Como podemos ajudar (cards) --- */
.page-template-page-cidade-php section.profissionais.profissionais-icone.como-ajudar-cidades {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(180deg, #fdfbf5 0%, #f4efe3 100%);
  overflow: hidden;
}

.page-template-page-cidade-php section.profissionais.profissionais-icone.como-ajudar-cidades::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/bg/bg_advogados.webp') no-repeat center/cover;
  opacity: .06;
  pointer-events: none;
}

.page-template-page-cidade-php .como-ajudar {
  position: relative;
  z-index: 1;
}

.page-template-page-cidade-php .como-ajudar__inner {
  border-radius: 10px;
  padding: 36px 36px 32px;
  background: #fff;
}

.page-template-page-cidade-php .como-ajudar__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary-color);
  background: rgba(208, 161, 69, .15);
  border-radius: 999px;
  padding: 6px 14px;
}

.page-template-page-cidade-php .como-ajudar__title {
  font-family: 'STIX Two Text', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  color: #261f12;
  margin: 16px 0 24px;
}

.page-template-page-cidade-php .como-ajudar__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.page-template-page-cidade-php .como-ajudar__card {
  background: #fdf9f2;
  border-radius: 10px;
  padding: 24px;
  min-height: 190px;
  border: 1px solid rgba(208, 186, 148, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-template-page-cidade-php .como-ajudar__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -22px rgba(30, 20, 9, .4);
}

.page-template-page-cidade-php .como-ajudar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--gs-gold-grad, linear-gradient(160deg, #d0a145 0%, #b88a2f 100%));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}

.page-template-page-cidade-php .como-ajudar__card-title {
  font-family: 'STIX Two Text', sans-serif;
  font-size: 18px;
  color: #261f12;
  margin: 0 0 6px;
}

.page-template-page-cidade-php .como-ajudar__card p {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  color: #655f54;
  line-height: 1.55;
}

.page-template-page-cidade-php .como-ajudar__cta {
  margin-top: 28px;
}

.page-template-page-cidade-php .como-ajudar__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, #2cbf4a 0%, #066f2a 100%);
  box-shadow: 0 16px 30px -20px rgba(28, 108, 54, .8);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-template-page-cidade-php .como-ajudar__button:hover,
.page-template-page-cidade-php .como-ajudar__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -18px rgba(28, 108, 54, .85);
  text-decoration: none;
}

@media (max-width: 991px) {
  .page-template-page-cidade-php .como-ajudar__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .page-template-page-cidade-php .como-ajudar__inner {
    padding: 28px 22px;
  }
  .page-template-page-cidade-php .como-ajudar__cards {
    grid-template-columns: 1fr;
  }
}

/* --- Box Call (rodapé CTA) --- */
.page-template-page-cidade-php .boxCall {
  padding: 40px 0 60px;
}

.page-template-page-cidade-php .boxCall .posicao {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(140deg, #1e232d 0%, #0f1118 60%, #1f232e 100%);
  box-shadow: 0 30px 48px -32px rgba(14, 17, 25, .7);
}

.page-template-page-cidade-php .boxCall .boxBaixo {
  position: relative;
  padding: 46px 32px;
  color: #fff;
}

.page-template-page-cidade-php .boxCall .boxBaixo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/bg/bg_call.webp') no-repeat center/cover;
  opacity: .12;
}

.page-template-page-cidade-php .boxCall .boxBaixo h3 {
  position: relative;
  font-family: 'STIX Two Text', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 14px;
}

.page-template-page-cidade-php .boxCall .boxBaixo p {
  position: relative;
  margin: 0 0 24px;
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}

.page-template-page-cidade-php .boxCall .boxBaixo a.btRecebaAgora {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(150deg, #d0a145 0%, #b88a2f 100%);
  color: #20160b;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-template-page-cidade-php .boxCall .boxBaixo a.btRecebaAgora:hover,
.page-template-page-cidade-php .boxCall .boxBaixo a.btRecebaAgora:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -20px rgba(208, 161, 69, .9);
  text-decoration: none;
}

.page-template-page-cidade-php .boxCall .boxBaixo a.btRecebaAgora i.ic_arrow_right {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url('../img/bg/sprite-setas.webp') no-repeat;
  background-size: 235%;
  background-position: -3px center;
}

@media (max-width: 575px) {
  .page-template-page-cidade-php .boxCall .boxBaixo {
    padding: 38px 22px;
  }
  .page-template-page-cidade-php .boxCall .boxBaixo a.btRecebaAgora {
    width: 100%;
    justify-content: center;
  }
}

