/* Cabeçalho e banner das páginas de unidades. */
#top-bar {
  display: none;
}

#header {
  top: 0;
  padding-top: 0;
  background: #071b38;
  border: 0;
  box-shadow: none;
  transition: background .3s ease;
}

#header.is-scrolled {
  background: #071b38;
}

#header .page-container {
  width: 80%;
}

#header .header-panel {
  height: 82px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  gap: clamp(16px, 2.2vw, 36px);
}

@media (min-width: 1024px) {
  #header .header-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  #header .header-panel > a:first-child {
    justify-self: start;
  }

  #header .header-panel > nav {
    justify-content: center;
  }

  #header .header-actions {
    justify-self: end;
  }
}

#header .header-panel > a:first-child img {
  height: 68px;
  width: auto;
  max-width: 180px;
}

#header .header-panel > nav {
  gap: clamp(14px, 1.7vw, 30px);
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
  font-size: .86rem;
  font-weight: 800;
}

#header .header-panel > nav a {
  position: relative;
  padding: 30px 0;
}

#header .header-panel > nav a::after {
  content: '';
  position: absolute;
  height: 3px;
  left: 0;
  right: 100%;
  bottom: 22px;
  background: #e30613;
  border-radius: 3px;
  transition: right .2s ease;
}

#header .header-panel > nav a:hover::after,
#header .header-panel > nav a.is-active::after {
  right: 0;
}

#header .header-panel > nav a:hover,
#header .header-panel > nav a.is-active {
  color: #46b5e6;
}

#header .header-phone {
  align-items: center;
  color: #fff;
  text-align: center;
}

#header .header-phone-label {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5f3ff;
  font-size: .65rem;
  letter-spacing: .06em;
}

#header .header-phone-label i {
  margin-right: .28rem;
  color: #ff2937;
  font-size: 1.05rem;
  transform: rotate(-8deg);
}

#header .header-phone-number {
  font-size: clamp(.86rem, 1.26vw, 1.2rem);
}

#header .header-whatsapp {
  border-radius: 999px;
  padding: .75rem 1.1rem;
  white-space: nowrap;
}

#header #menu-btn {
  color: #fff;
}

#header #mobile-menu {
  background: rgba(7, 27, 56, .78);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 10, 28, .28);
  margin-top: 0;
}

#header #mobile-menu nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding: 1rem;
}

#header #mobile-menu .mobile-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem .85rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 800;
  transition: background-color .2s ease, border-color .2s ease;
}

#header #mobile-menu .mobile-link > i {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  text-align: center;
  font-size: .95em;
  color: #8dd8ff;
}

#header #mobile-menu .mobile-link:hover,
#header #mobile-menu .mobile-link.is-active,
#header #mobile-menu .mobile-link:focus-visible {
  background: rgba(70, 181, 230, .18);
  border-color: rgba(70, 181, 230, .55);
  color: #fff;
}

#header #mobile-menu a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#header #mobile-menu nav > a:last-child {
  grid-column: 1 / -1;
  margin-top: .3rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
}

#inicio.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(897px, 100svh);
  margin-top: 0;
  padding-top: 82px;
  background: #071b38;
  isolation: isolate;
}

#inicio.hero-section .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#inicio.hero-section .hero-media {
  object-fit: cover;
  object-position: center;
}

#inicio.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 18, 38, .8) 0%, rgba(3, 18, 38, .52) 38%, rgba(3, 18, 38, 0) 66%);
  pointer-events: none;
}

#inicio.hero-section::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  z-index: 1;
  background: linear-gradient(rgba(3, 18, 38, .65), transparent);
  pointer-events: none;
}

#inicio .hero-copy {
  position: relative;
  inset: auto;
  z-index: 2;
  width: min(92%, 1100px);
  max-width: none;
  margin-inline: auto;
  padding: 65px 0 80px;
  text-align: center;
  text-shadow: none;
  pointer-events: auto;
}

#inicio .hero-copy h1 {
  margin: 0;
}

#inicio .hero-copy .hero-headline {
  display: block;
  max-width: 1040px;
  margin-inline: auto;
  color: #fff;
  font-family: 'DM Sans', 'Lato', sans-serif;
  font-size: clamp(2.9rem, 4.75vw, 5.35rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
  text-transform: none;
}

#inicio .hero-copy .hero-kicker,
#inicio .hero-copy .hero-brand,
#inicio .hero-copy .hero-resolve {
  display: block;
  margin-top: .02em;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
}

#inicio .hero-copy .hero-kicker {
  color: #fff;
}

#inicio .hero-copy .hero-brand {
  color: #ff2937;
  font-family: 'DM Sans', 'Lato', sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.065em;
}

#inicio .hero-copy .hero-resolve {
  color: #fff;
}

#inicio .hero-copy p {
  max-width: 46rem;
  margin: 1.3rem auto 0;
  color: #e4f2fc;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
}

#inicio .hero-rule {
  display: none;
}

#inicio .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-top: 2rem;
}

#inicio .hero-primary,
#inicio .hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 54px;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

#inicio .hero-primary {
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .25);
}

#inicio .hero-secondary {
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(7, 27, 56, .45);
  color: #fff;
}

#inicio .hero-primary:hover,
#inicio .hero-secondary:hover {
  transform: translateY(-3px);
}

#inicio .hero-primary:hover { background: #1dad53; }
#inicio .hero-secondary:hover { background: rgba(255,255,255,.16); }

@media (max-width: 1399px) {
  #inicio.hero-section { flex-direction: column; align-items: center; }
  #inicio .hero-copy { padding-bottom: 28px; }
}

@media (max-width: 1199px) {
  #header .header-panel > nav { gap: 12px; font-size: .76rem; }
  #header .header-phone { display: none; }
}

@media (max-width: 1023px) {
  #top-bar .page-container, #header .page-container { width: 88%; }
  #top-bar .page-container > a { font-size: .61rem; }
  #header .header-panel { height: 70px; }
  #header .header-panel > a:first-child img { height: 60px; }
  #inicio.hero-section { margin-top: 0; padding-top: 70px; min-height: 720px; }
  #inicio.hero-section .hero-media { object-position: 61% center; }
  #inicio.hero-section::before {
    background: linear-gradient(90deg, rgba(3,18,38,.93) 0%, rgba(3,18,38,.75) 53%, rgba(3,18,38,.08) 100%);
  }
  #inicio .hero-copy {
    top: auto;
    margin-inline: auto;
    padding-block: 90px;
    text-align: center;
  }
  #inicio .hero-copy .hero-headline { margin-inline: auto; }
  #inicio .hero-copy p { margin-inline: auto; }
  #inicio .hero-actions { justify-content: center; }
}

@media (max-width: 639px) {
  #top-bar .page-container { width: 94%; gap: .35rem; }
  #top-bar .page-container > div { min-width: 0; }
  #top-bar .page-container > a { padding: .42rem .55rem; font-size: .53rem; }
  #selected-branch-address { display: none; }
  #header .page-container { width: 94%; }
  #header .header-panel { height: 64px; gap: 8px; }
  #header .header-panel > a:first-child img { height: 53px; }
  #header .header-whatsapp { display: none; }
  #inicio.hero-section { margin-top: 0; padding-top: 64px; min-height: 760px; justify-content: flex-end; align-items: flex-end; }
  #inicio.hero-section .hero-media { object-position: 62% center; }
  #inicio.hero-section::before {
    background: linear-gradient(180deg, rgba(3,18,38,.1) 0%, rgba(3,18,38,.24) 42%, rgba(3,18,38,.82) 100%);
  }
  #inicio .hero-copy { width: 94%; margin-inline: auto; padding: 24px 0 calc(36px + 4.75rem); text-align: center; }
  #inicio .hero-copy .hero-headline { font-size: clamp(1.95rem, 8.2vw, 3.35rem); }
  #inicio .hero-copy p { margin: 1.1rem auto 0; font-size: 1rem; }
  #inicio .hero-actions { justify-content: center; margin-top: 1.4rem; }
  #inicio .hero-primary, #inicio .hero-secondary { min-height: 48px; padding: .7rem 1rem; font-size: .79rem; }
  #inicio .hero-secondary { display: none; }
}

/* Título com palavra digitada: espaço reservado evita saltos no conteúdo. */
#inicio .hero-copy .hero-kicker {
  margin-bottom: 1rem;
  font-size: clamp(.9rem, 1.4vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}
#inicio .hero-copy .hero-resolve { line-height: 1.1; }
#inicio .hero-copy .hero-typewriter {
  min-height: 1.2em;
  line-height: 1.2;
  white-space: nowrap;
}
.hero-typewriter-cursor {
  display: inline-block;
  margin-left: .06em;
  font-weight: 400;
  animation: hero-cursor-blink 1s step-end infinite;
}
@keyframes hero-cursor-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-typewriter-cursor { display: none; animation: none; }
}

/* Hero alinhado à esquerda no desktop, na mesma linha do logo. */
@media (min-width: 1024px) {
  #inicio .hero-copy {
    width: 80%;
    text-align: left;
  }

  #inicio .hero-copy .hero-headline {
    max-width: 760px;
    margin-inline: 0;
  }

  #inicio .hero-copy p {
    max-width: 35rem;
    margin-inline: 0;
  }

  #inicio .hero-actions {
    justify-content: flex-start;
  }
}

/* Cabeçalho em duas linhas: telefone, logo, WhatsApp e navegação abaixo. */
#header .header-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: 82px 46px;
  height: 128px;
  gap: 0;
}
#header .header-panel > a:first-child {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
#header .header-phone {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  justify-self: start;
  text-align: left;
}
#header .header-phone-label { justify-content: flex-start; }
#header .header-phone-number { font-size: 1.1rem; }
#header .header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
}
#header .header-whatsapp { display: inline-flex; }
#header .header-panel > nav {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: stretch;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
#header .header-panel > nav a {
  display: flex;
  align-items: center;
  padding: 10px 0;
}
#header .header-panel > nav a::after { bottom: 4px; }
#header #menu-btn,
#header #mobile-menu { display: none; }
#inicio.hero-section { padding-top: 128px; }
.solutions-section { --solutions-pin-top: 82px; }
html { scroll-padding-top: 144px; }

@media (max-width: 1023px) {
  #header .header-panel {
    grid-template-rows: 70px 44px;
    height: 114px;
  }
  #header .header-phone-number { font-size: .85rem; }
  #header .header-phone-label { font-size: .55rem; }
  #header .header-panel > nav { gap: 24px; font-size: .8rem; }
  #inicio.hero-section { padding-top: 114px; }
  .solutions-section { --solutions-pin-top: 70px; }
  html { scroll-padding-top: 130px; }
}

@media (max-width: 639px) {
  #header .header-panel {
    grid-template-rows: 64px 42px;
    height: 106px;
  }
  #header .header-panel > a:first-child img {
    width: 100px;
    height: auto;
  }
  #header .header-phone-number { font-size: .62rem; }
  #header .header-phone-label { font-size: .45rem; letter-spacing: 0; }
  #header .header-phone-label i { font-size: .7rem; }
  #header .header-whatsapp { padding: .6rem; min-width: 40px; justify-content: center; }
  #header .header-whatsapp-label { display: none; }
  #header .header-panel > nav { gap: clamp(12px, 3.5vw, 20px); font-size: .67rem; }
  #inicio.hero-section { padding-top: 106px; }
  .solutions-section { --solutions-pin-top: 64px; }
  html { scroll-padding-top: 122px; }
}

/* Separador entre os contatos e a linha de navegação. */
#header .header-panel > nav {
  position: relative;
}
#header .header-panel > nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc((100% - 100vw) / 2);
  width: 100vw;
  height: 1px;
  background: rgba(125, 211, 246, .22);
  pointer-events: none;
}

/* Item ativo com recorte curvo conectado à faixa superior. */
#header .header-panel > nav {
  isolation: isolate;
  align-items: stretch;
  gap: 20px;
  padding-bottom: 6px;
}
#header .header-panel > nav::before {
  z-index: -1;
  height: 100%;
  background: #1b3455;
  box-shadow: inset 0 1px rgba(125, 211, 246, .14);
}
#header .header-panel > nav a {
  position: relative;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 0 0 22px 22px;
  color: #fff;
  text-shadow: none;
  transition: color .2s ease, background-color .2s ease;
}
#header .header-panel > nav a::before,
#header .header-panel > nav a::after {
  content: none;
}
#header .header-panel > nav a:hover { color: #fff; }
#header .header-panel > nav a.is-active {
  background: #071b38;
  color: #fff;
}
#header .header-panel > nav a.is-active::before,
#header .header-panel > nav a.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: auto;
  width: 16px;
  height: 16px;
  background: transparent;
  box-shadow: 0 -8px 0 #071b38;
  pointer-events: none;
  transition: none;
}
#header .header-panel > nav a.is-active::before {
  left: -16px;
  border-radius: 0 16px 0 0;
}
#header .header-panel > nav a.is-active::after {
  left: auto;
  right: -16px;
  border-radius: 16px 0 0 0;
}
#header .header-panel > nav a:focus-visible {
  outline: 2px solid #46b5e6;
  outline-offset: -4px;
}
@media (max-width: 639px) {
  #header .header-panel > nav { gap: 4px; }
  #header .header-panel > nav a { padding-inline: 8px; border-radius: 0 0 16px 16px; }
  #header .header-panel > nav a.is-active::before,
  #header .header-panel > nav a.is-active::after { width: 8px; height: 8px; box-shadow: 0 -4px 0 #071b38; }
  #header .header-panel > nav a.is-active::before { left: -8px; border-radius: 0 8px 0 0; }
  #header .header-panel > nav a.is-active::after { right: -8px; border-radius: 8px 0 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  #header .header-panel > nav a { transition: none; }
}

/* Navegação sobre o vídeo, sem a faixa azul de fundo. */
#header,
#header.is-scrolled {
  --header-top-height: 82px;
  background: linear-gradient(to bottom, #071b38 0 var(--header-top-height), transparent var(--header-top-height));
}
#header .header-panel > nav::before {
  display: none;
}
@media (max-width: 1023px) {
  #header,
  #header.is-scrolled { --header-top-height: 70px; }
}
@media (max-width: 639px) {
  #header,
  #header.is-scrolled { --header-top-height: 64px; }
}

/* Recorte único envolvendo toda a navegação. */
#header .header-panel > nav {
  --menu-curve: 22px;
  width: max-content;
  max-width: 100%;
  height: 46px;
  justify-self: center;
  align-self: start;
  padding: 0 18px 6px;
  background: #071b38;
  border-radius: 0 0 28px 28px;
}
#header .header-panel > nav::before,
#header .header-panel > nav::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: auto;
  width: var(--menu-curve);
  height: var(--menu-curve);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
#header .header-panel > nav::before {
  left: calc(-1 * var(--menu-curve));
  border-radius: 0;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--menu-curve) - .5px), #071b38 var(--menu-curve));
}
#header .header-panel > nav::after {
  right: calc(-1 * var(--menu-curve));
  border-radius: 0;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--menu-curve) - .5px), #071b38 var(--menu-curve));
}
#header .header-panel > nav a,
#header .header-panel > nav a.is-active {
  border-radius: 0;
  background: transparent;
}
#header .header-panel > nav a { opacity: .8; }
#header .header-panel > nav a:hover,
#header .header-panel > nav a.is-active { opacity: 1; }
#header .header-panel > nav a.is-active::before,
#header .header-panel > nav a.is-active::after { content: none; }
@media (max-width: 1023px) {
  #header .header-panel > nav { height: 44px; }
}
@media (max-width: 639px) {
  #header .header-panel > nav {
    --menu-curve: 10px;
    height: 42px;
    padding-inline: 8px;
    border-radius: 0 0 20px 20px;
  }
}

/* Vermelho no texto ao passar o mouse e na seção atual. */
#header .header-panel > nav a:hover,
#header .header-panel > nav a.is-active {
  color: #ff2937;
  opacity: 1;
}

/* Destaque azul para o texto digitado do hero e seu cursor. */
#inicio .hero-copy .hero-typewriter {
  color: #00a4d8;
}

/* Título da seção de soluções: branco com destaque azul. */
.solutions-section .section-title-duotone {
  color: #fff;
}
.solutions-section .section-title-duotone .section-title-accent {
  color: #00a4d8;
}

/* CTA de atendimento com ícone e degradê azul discreto. */
.process-section a.process-attendance-cta {
  gap: .65rem;
  background-color: #087fc1;
}
.process-section a.process-attendance-cta > i {
  font-size: 1.15em;
  flex-shrink: 0;
}
.process-section a.process-attendance-cta:hover {
  background-color: #0775b4;
}

/* Degradê sutil sobre a cor original de cada botão, inclusive no hover. */
body :is(
  a:is(.bg-cta, .bg-brand-600, .bg-red-600, .bg-white, .access, .header-whatsapp, .hero-primary, .hero-secondary, .service-photo-card__cta, .whatsapp-pulse, .process-attendance-cta),
  a[class*="bg-[#25D366]"],
  .solutions-grid > article a,
  button,
  input:is([type="button"], [type="submit"], [type="reset"]),
  .service-more summary
) {
  background-image: linear-gradient(115deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 55%, rgba(0, 0, 0, .05)) !important;
}

/* Vidro translúcido nos cards de serviços, azul de baixo para cima. */
#servicos-fotos .service-photo-card {
  border: 0;
}
#servicos-fotos .service-photo-card__image {
  filter: saturate(.95);
}
#servicos-fotos .service-photo-card__shade {
  background: linear-gradient(to top,
    rgba(3, 48, 98, .78) 0%,
    rgba(8, 83, 145, .48) 48%,
    rgba(72, 159, 204, .12) 100%);
  -webkit-backdrop-filter: blur(1.5px) saturate(115%);
  backdrop-filter: blur(1.5px) saturate(115%);
  box-shadow: none;
}

/* Sombra discreta para a leitura dos textos dos cards. */
#servicos-fotos .service-photo-card__content {
  text-shadow: 0 1px 3px rgba(0, 15, 38, .35);
}

/* Texto centralizado nos cards de serviços. */
#servicos-fotos.services-carousel .service-photo-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  min-height: 200px;
  padding: 18px;
  text-align: center;
}
#servicos-fotos.services-carousel .service-photo-card__content h3,
#servicos-fotos.services-carousel .service-photo-card__content p {
  text-align: center;
}
#servicos-fotos.services-carousel .service-photo-card__cta {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: max-content;
  max-width: calc(100% - 36px);
  margin-top: 0;
  transform: translateX(-50%);
}
/* A centralização permanece estável durante hover e clique. */
#servicos-fotos.services-carousel .service-photo-card__cta:hover {
  transform: translateX(-50%) !important;
}
@media (max-width: 639px) {
  #servicos-fotos.services-carousel .service-photo-card__content { min-height: 190px; }
}

/* Hero com entrelinhas e intervalos mais compactos. */
#inicio .hero-copy .hero-kicker {
  margin-bottom: .55rem;
  line-height: 1.2;
}
#inicio .hero-copy .hero-resolve {
  line-height: 1;
}
#inicio .hero-copy .hero-typewriter {
  margin-top: 0;
  min-height: 1.05em;
  line-height: 1.05;
}
#inicio .hero-copy p {
  margin-top: .85rem;
  line-height: 1.3;
}
#inicio .hero-actions {
  margin-top: 1.3rem;
}

/* Saiba mais dos cards de soluções em verde. */
.solutions-grid > article a {
  background-color: #18d563;
  color: #fff;
}
.solutions-grid > article a:hover {
  background-color: #16ae52;
  color: #fff;
}

/* Selo compacto de avaliações ao lado do botão do hero. */
#inicio .hero-google-rating {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 3px;
  min-height: 54px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .12), rgba(7, 27, 56, .28));
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.15;
  transition: background-color .24s ease;
}
#inicio .hero-google-icon { grid-row: 1 / 3; font-size: 1.15rem; }
#inicio .hero-google-label { font-size: .65rem; font-weight: 700; }
#inicio .hero-google-score { margin-left: 3px; }
#inicio .hero-google-stars { color: #fbbc04; font-size: .65rem; letter-spacing: .06em; }
#inicio .hero-google-rating:hover { background-color: rgba(255, 255, 255, .1); }
#inicio .hero-google-rating:focus-visible { outline: 2px solid #46b5e6; outline-offset: 3px; }
@media (max-width: 639px) {
  #inicio .hero-google-rating { min-height: 48px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #inicio .hero-google-rating { transition: none; }
}

#inicio .hero-google-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .65rem;
}
#inicio .hero-google-score { margin-left: 0; }

/* Balão revelado após cinco segundos, expandindo a partir da atendente. */
.whatsapp-contact__bubble {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.15);
  transform-origin: right center;
  transition: opacity .45s ease, transform .7s cubic-bezier(.16, 1, .3, 1), visibility 0s, box-shadow .3s ease;
}
.whatsapp-contact.is-bubble-open .whatsapp-contact__bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-contact__bubble { transition: none; transform: none; }
}

/* Telefone vibra brevemente, com pausas entre os toques. */
#header .header-phone-label i {
  display: inline-block;
  transform-origin: 50% 50%;
  animation: header-phone-ring 4s ease-in-out infinite;
}
@keyframes header-phone-ring {
  0%, 4%, 8%, 12%, 16%, 20%, 100% { transform: rotate(-8deg); }
  2%, 10%, 18% { transform: translateX(-1px) rotate(-21deg); }
  6%, 14% { transform: translateX(1px) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  #header .header-phone-label i { animation: none; }
}

/* Estrelas surgem em sequência enquanto a nota sobe de 1,0 a 5,0. */
#inicio .hero-google-stars {
  display: inline-flex;
  gap: .06em;
  letter-spacing: 0;
}
#inicio .hero-google-stars .rating-star {
  display: inline-block;
  opacity: 0;
  transform: scale(.45);
  transition: opacity .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
#inicio .hero-google-stars .rating-star.is-lit {
  opacity: 1;
  transform: scale(1);
}
#inicio .hero-google-score {
  min-width: 3ch;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  #inicio .hero-google-stars .rating-star { transition: none; }
}

/* Leve ampliação sem alterar o espaço ocupado por botões e menus. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body :is(
  a:is(.bg-cta, .bg-brand-600, .bg-red-600, .bg-white, .access, .header-whatsapp, .hero-primary, .hero-secondary, .service-photo-card__cta, .whatsapp-pulse, .hero-google-rating),
  a[class*="bg-[#25D366]"],
  .solutions-grid > article a,
  button,
  input:is([type="button"], [type="submit"], [type="reset"]),
  .service-more summary
) {
    scale: 1;
    transition: scale .24s cubic-bezier(.2, .7, .25, 1), background-color .24s ease, color .24s ease, filter .24s ease, box-shadow .24s ease !important;
  }
  body :is(
  a:is(.bg-cta, .bg-brand-600, .bg-red-600, .bg-white, .access, .header-whatsapp, .hero-primary, .hero-secondary, .service-photo-card__cta, .whatsapp-pulse, .hero-google-rating),
  a[class*="bg-[#25D366]"],
  .solutions-grid > article a,
  button,
  input:is([type="button"], [type="submit"], [type="reset"]),
  .service-more summary
):hover { scale: 1.035; }
  #header .header-panel > nav a {
    scale: 1;
    transform-origin: center;
    transition: scale .24s cubic-bezier(.2, .7, .25, 1), color .2s ease, opacity .2s ease;
  }
  #header .header-panel > nav a:hover { scale: 1.06; }
}

.testimonial-avatar-note {
  margin: .75rem auto 0;
  text-align: center;
  color: #64748b;
  font-size: .65rem;
  line-height: 1.4;
}

/* Nome acima; estrelas e Google juntos na linha inferior. */
#depoimentos .testimonial-author {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  justify-content: center;
  align-items: center;
}
#depoimentos .testimonial-author > img {
  grid-column: 1;
  grid-row: 1 / 3;
}
#depoimentos .testimonial-author-meta { display: contents; }
#depoimentos .testimonial-author-meta > p {
  grid-column: 2 / 4;
  grid-row: 1;
  text-align: left;
}
#depoimentos .testimonial-author-stars {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}
#depoimentos .testimonial-source {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
}

/* Encaixe contínuo e mais compacto do cabeçalho no celular. */
@media (max-width: 639px) {
  #header,
  #header.is-scrolled { --header-top-height: 56px; }
  #header .header-panel {
    grid-template-rows: 56px 42px;
    height: 98px;
    row-gap: 0;
  }
  #header .header-panel > nav {
    margin-top: -1px;
    height: 43px;
  }
  #inicio.hero-section { padding-top: 98px; }
  .solutions-section { --solutions-pin-top: 56px; }
  html { scroll-padding-top: 114px; }
}

/* A nota do selo usa escala própria, sem herdar o tamanho do título. */
#inicio .hero-google-score {
  display: inline;
  min-width: 2.5ch;
  font-size: .7rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 800;
}
@media (max-width: 639px) {
  #inicio .hero-google-rating {
    min-height: 42px;
    padding: 6px 9px;
    column-gap: 6px;
    row-gap: 2px;
    border-radius: 10px;
    text-align: left;
  }
  #inicio .hero-google-icon { font-size: 1rem; }
  #inicio .hero-google-label { font-size: .58rem; }
  #inicio .hero-google-rating-line { gap: 4px; }
  #inicio .hero-google-stars { font-size: .6rem; }
  #inicio .hero-google-score { font-size: .65rem; }
}

/* Soluções no mobile: respiro no topo e rodapé sem sobra excessiva. */
@media (max-width: 1023px) {
  .solutions-section > .solutions-scroll-stage {
    min-height: 0;
    padding-bottom: 128px;
  }
  .solutions-section > .solutions-scroll-stage > .page-container {
    padding-top: 56px;
    padding-bottom: 24px;
  }
}
@media (max-width: 639px) {
  .solutions-section > .solutions-scroll-stage { padding-bottom: 104px; }
}

/* Chamada de localização do hero em branco. */
#inicio .hero-copy .hero-kicker {
  color: #fff;
}
