html {
  font-size: 18px;
  scroll-behavior: smooth;
}

.hero-ticker {
  position: relative;
  z-index: 25;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #061a40 0%, #075e96 48%, #061a40 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(6, 26, 64, .2);
}

.hero-ticker__track {
  display: flex;
  width: max-content;
  animation: hero-ticker-scroll 34s linear infinite;
  will-change: transform;
}

.hero-ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding-block: 12px;
}

.hero-ticker__item {
  flex-shrink: 0;
  color: #fff;
  font-family: 'DM Sans', 'Lato', sans-serif;
  font-size: clamp(.72rem, 1.1vw, .92rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-ticker__separator {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-inline: clamp(28px, 3.2vw, 52px);
  border-radius: 50%;
  background: #e30613;
}

@keyframes hero-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 639px) {
  .hero-ticker__group {
    padding-block: 10px;
  }

  .hero-ticker__separator {
    width: 6px;
    height: 6px;
    margin-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker__track {
    animation: none;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
  animation: page-loader-finish 0s linear 1.25s forwards;
}

.page-loader__reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 200vmax #061a40;
  transform: translate(-50%, -50%);
  animation: page-loader-reveal 1.2s cubic-bezier(.76, 0, .24, 1) forwards;
}

@keyframes page-loader-reveal {
  0%, 12% {
    width: 10px;
    height: 10px;
  }
  100% {
    width: 240vmax;
    height: 240vmax;
  }
}

@keyframes page-loader-finish {
  to { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    display: none;
  }
}

/* Mais espaço lateral nas telas menores, mantendo 80% no desktop. */
@media (max-width: 1023px) {
  .page-container { width: 88% !important; }
}

@media (max-width: 639px) {
  .page-container { width: 92% !important; }
}

.hero-copy {
  text-align: center;
}

.hero-copy p,
.hero-copy .hero-rule {
  margin-inline: auto;
}

.section-title-duotone {
  color: #087fc1;
  font-family: 'DM Sans', 'Lato', sans-serif;
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}

main p.leading-relaxed,
main .faq-content.leading-relaxed {
  line-height: 1.5;
}

#faq-list {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

#regiao .section-title-accent {
  margin-top: .02em;
}

#regiao .region-highlight {
  color: #087fc1;
  font-weight: 900;
}

#regiao a[href*="wa.me"] {
  min-height: 56px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #e30613;
}

#regiao a[href*="wa.me"]:hover {
  background: #b8050f;
}

#regiao a[href*="wa.me"] > svg:first-child {
  align-self: stretch;
  width: 58px;
  height: auto;
  margin-right: 18px;
  padding: 18px;
  box-sizing: border-box;
  background: transparent;
}

#regiao a[href*="wa.me"] > svg:last-child {
  width: 20px;
  height: 20px;
  margin-right: 20px;
  margin-left: 14px;
}

@media (min-width: 1024px) {
  #regiao a[href*="wa.me"] {
    min-height: 64px;
  }

  #regiao a[href*="wa.me"] > svg:first-child {
    width: 66px;
    padding: 21px;
  }
}

.section-title-duotone .section-title-accent {
  color: #e30613;
  font-family: 'DM Sans', 'Lato', sans-serif;
  font-size: 1em;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.06em;
}

#servicos-fotos-title .section-title-accent {
  display: block;
}

.section-title-duotone--dark {
  color: #087fc1;
}

.section-title-duotone--dark .section-title-accent {
  color: #e30613;
}

#sobre .section-title-duotone,
#depoimentos .section-title-duotone {
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
}

.process-section h3,
.service-photo-card__content h3,
.solutions-grid h3 {
  font-family: 'DM Sans', 'Lato', sans-serif;
  letter-spacing: -.035em;
}

.process-section article h3 {
  color: #0b3358;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
}

.process-section article p {
  color: #334155;
  font-weight: 600;
}

.process-section > .page-container > .text-center:first-child p {
  color: #334155;
  font-weight: 600;
}

.process-step-icon {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

#header .header-whatsapp {
  background-color: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .25);
}

#header .header-whatsapp:hover {
  background-color: #1da851;
}

/* Reserva espaço para o texto sem cobrir o rosto do técnico no celular. */
@media (max-width: 639px) {
  #inicio picture {
    padding-top: 140px;
    background: #0d2339;
  }

  #inicio picture img {
    mask-image: linear-gradient(to bottom, transparent, #000 80px);
  }
}

@media (max-width: 639px) {
  html {
    font-size: 17px;
  }
}

.whatsapp-pulse .fa-phone {
  color: #fff;
}

#header .header-panel {
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 32px);
}

#top-bar .page-container {
  justify-content: center;
  gap: clamp(8px, 3vw, 48px);
}

#top-bar .page-container > a {
  white-space: nowrap;
}

#header .header-panel > nav {
  margin-right: auto;
  gap: clamp(12px, 1.6vw, 28px);
  white-space: nowrap;
}

#header .header-actions {
  margin-left: auto;
  flex-shrink: 0;
  gap: clamp(12px, 1.5vw, 24px);
}

.header-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}

.header-phone-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-phone-label i {
  margin-right: 5px;
  color: #087fc1;
}

.hero-copy .hero-red {
  color: #087fc1 !important;
}

.header-phone-number {
  margin-top: 3px;
  font-size: clamp(18px, 1.5vw, 28px);
  font-weight: 900;
}

.header-phone:hover {
  color: #cdefff;
}

.header-phone:focus-visible {
  outline: 2px solid #00a4d8;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  #header .header-panel > nav {
    font-size: 14px;
    gap: 12px;
  }

  #header .header-actions .bg-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 639px) {
  .header-phone-number {
    font-size: 15px;
  }

  .header-phone-label {
    font-size: 10px;
  }

  #header .header-panel,
  #header .header-actions {
    gap: 8px;
  }

  #header .header-panel > a:first-child {
    flex-shrink: 1;
    min-width: 0;
  }

  #header .header-panel > a:first-child img {
    max-width: 100%;
    object-fit: contain;
  }
}

.process-section {
  background-image: linear-gradient(
    to bottom,
    rgba(8, 127, 193, 0.28) 0,
    rgba(0, 164, 216, 0.12) 70px,
    rgba(205, 239, 255, 0.06) 160px,
    transparent 260px
  );
}

.process-section article .rounded-full {
  background-color: rgba(227, 6, 19, 0.15);
}

.process-section > .page-container > .text-center:last-child {
  margin-top: 3rem;
}

.process-section a {
  background-color: #087fc1;
  box-shadow: 0 14px 30px rgba(8, 127, 193, 0.18);
}

.process-section a:hover {
  background-color: #075e96;
}

.service-photo-card {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  background: #123b67;
  isolation: isolate;
}

.service-photo-card__image,
.service-photo-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-photo-card__image {
  z-index: -2;
  object-fit: cover;
  filter: blur(.75px) saturate(.9);
  transform: scale(1.02);
}

.service-photo-card__shade {
  z-index: -1;
  background: linear-gradient(135deg, rgba(5, 27, 60, .82), rgba(8, 55, 116, .76));
}

.service-photo-card__content {
  width: 100%;
  padding: 28px 22px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 15, 38, .72);
}

.service-photo-card__content h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 900;
  line-height: 1.18;
}

.service-photo-card__content p {
  max-width: 30ch;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .98);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.service-photo-card__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #18d563;
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 24, 54, .32);
  text-shadow: none;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.service-photo-card__cta:hover {
  background: #16ae52;
  transform: translateY(-2px);
}

.service-photo-card__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.testimonial-quote {
  color: #e30613;
}

#depoimentos .testimonial-slide {
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-block: 20px;
  text-align: center;
}

#depoimentos .testimonial-track {
  height: 100%;
}

#depoimentos .testimonial-slide > div:last-child {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
}

#depoimentos .testimonial-slide blockquote {
  max-width: 24ch;
  margin-inline: auto;
}

#depoimentos .testimonial-author {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

#depoimentos .testimonial-author-meta {
  min-width: 0;
  flex: 0 1 auto;
}

#depoimentos .testimonial-author-meta > p {
  max-width: none;
  font-size: .8rem;
}

#depoimentos .testimonial-author-stars {
  margin-top: 2px;
  color: #f5a400;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
}

#depoimentos .testimonial-source {
  position: static;
  color: #64748b;
  font-size: .67rem;
  font-weight: 800;
}

.rating-mascot {
  display: block;
  width: min(190px, calc(100% + 80px));
  max-width: none;
  height: auto;
  margin-top: auto;
  filter: drop-shadow(0 10px 14px rgba(2, 20, 48, .18));
}

#depoimentos aside:has(.rating-mascot) {
  justify-content: flex-start;
  padding-top: 24px;
  padding-bottom: 0;
  gap: 0;
}

#depoimentos aside .rating-mascot {
  padding-top: 12px;
  margin-bottom: 0;
}

.about-title {
  container-type: inline-size;
  padding: 18px 20px;
  color: #061a40;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.16;
}

.about-title-intro,
.about-title-line {
  display: block;
  font-size: clamp(21px, 6.8cqi, 83px);
}

.about-title-intro {
  padding-inline: 10px;
  margin-bottom: 5px;
}

.about-title-line {
  margin-top: 5px;
  line-height: 1.35;
}

.about-title .title-keyword {
  padding: 0 10px;
  background: #e30613;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.solutions-color-overlay {
  background:
    radial-gradient(circle at 78% 16%, rgba(0, 164, 216, .22), transparent 38%),
    radial-gradient(circle at 15% 85%, rgba(8, 127, 193, .2), transparent 40%),
    linear-gradient(110deg, rgba(4, 18, 40, .78), rgba(5, 33, 65, .68) 52%, rgba(3, 20, 43, .8));
}

#servicos-fotos {
  padding-bottom: 24px;
}

.solutions-section {
  --solutions-pin-top: 82px;
}

.solutions-section > .solutions-scroll-stage {
  min-height: 520px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #061a40;
}

.solutions-scroll-stage > img {
  opacity: .68;
  filter: saturate(.75) contrast(1.08);
}

.solutions-section.is-scroll-ready > .solutions-scroll-stage {
  position: sticky;
  top: var(--solutions-pin-top);
  height: calc(100svh - var(--solutions-pin-top));
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
}

.solutions-section > .solutions-scroll-stage > .page-container {
  padding-block: 32px 64px;
}

.solutions-section.is-scroll-ready > .solutions-scroll-stage > .page-container {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.solutions-section h2 {
  margin-top: 0;
}

.solutions-grid {
  display: flex;
  width: max-content;
  max-width: none;
  margin: 0;
  gap: clamp(64px, 6vw, 90px);
  will-change: transform;
}

.solutions-grid > article {
  position: relative;
  display: flex;
  flex: 0 0 clamp(300px, 37vw, 520px);
  align-items: center;
  min-height: 230px;
  overflow: visible;
  border: 1px solid rgba(125, 211, 246, .35);
  border-radius: 22px;
  background: linear-gradient(125deg, rgba(8, 78, 121, .96), rgba(8, 113, 160, .95));
  box-shadow: 0 20px 42px rgba(0, 7, 24, .32), inset 0 1px rgba(255, 255, 255, .18);
  transition: none;
}

.solutions-grid > article:hover {
  transform: none;
  box-shadow: 0 20px 42px rgba(0, 7, 24, .32), inset 0 1px rgba(255, 255, 255, .18);
}

.solutions-grid .solution-art {
  position: absolute;
  top: 50%;
  left: -11.4%;
  width: 38%;
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 12px 12px rgba(0, 20, 50, .22));
  pointer-events: none;
}

.solutions-grid > article > div {
  min-width: 0;
  margin-left: 30%;
  padding: 16px 18px 68px 0;
  translate: none !important;
}

.solutions-grid > article a {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  padding: 12px 22px;
  border-radius: 22px 0 22px 0;
  background: #e30613;
  color: #fff;
  box-shadow: none;
  transition: none !important;
}

.solutions-grid > article a:hover {
  background: #e30613;
  color: #fff;
  box-shadow: none;
}

.solutions-grid > article a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.solutions-grid > article p {
  color: #e6f3fc;
}

@media (min-width: 1024px) {
  #servicos-fotos {
    padding-bottom: 32px;
  }

  .solutions-section > .solutions-scroll-stage > .page-container {
    padding-top: 40px;
  }
}

@media (max-width: 1023px) {
  .solutions-section {
    --solutions-pin-top: 70px;
  }

  .solutions-section > .solutions-scroll-stage {
    overflow: hidden;
  }

  .solutions-grid {
    flex-direction: column;
    width: 100%;
    gap: 28px;
    padding-left: 24px;
    will-change: auto;
  }

  .solutions-grid > article {
    flex: none;
    width: 100%;
  }

  .solutions-grid .solution-art {
    left: -24px;
    width: 34%;
  }
}

@media (max-width: 639px) {
  .solutions-section {
    --solutions-pin-top: 64px;
  }

  .solutions-section > .solutions-scroll-stage > .page-container {
    padding-block: 20px 54px;
  }

  .solutions-grid {
    gap: 20px;
  }

  .solutions-grid > article {
    flex-basis: auto;
    min-height: 190px;
  }

  .solutions-grid > article > div {
    padding: 12px 14px 62px 0;
  }

  .solutions-grid > article h3 {
    font-size: 1rem;
  }
}

.metrics-panel {
  background: linear-gradient(
    110deg,
    #075e96 0%,
    #087bb3 40%,
    #0986bd 65%,
    #1496ca 100%
  );
}

.metrics-panel .text-blue-100 {
  color: #dbeafe;
}

.service-more {
  margin-top: 10px;
}

.service-more summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e30613;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  list-style: none;
  transition: background-color 0.2s;
}

.service-more summary::-webkit-details-marker {
  display: none;
}

.service-more summary:hover {
  background: #bb0510;
}

.service-more summary:focus-visible {
  outline: 2px solid #e30613;
  outline-offset: 4px;
}

.service-more p {
  margin-top: 12px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  #sobre .grid {
    row-gap: 1rem;
  }

  #sobre .grid > div:first-child {
    order: 2;
  }

  #sobre .grid > div:last-child {
    order: 1;
  }

  #sobre .grid > div:last-child > p:last-child {
    margin-bottom: 0;
  }

  #sobre .grid .about-photo {
    aspect-ratio: 3 / 2;
  }
}

#sobre .about-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

#sobre .about-photo-bg {
  position: absolute;
  inset: 16% 4% 0;
  border-radius: 2rem;
  background: linear-gradient(135deg, #086db6, #168bd0 62%, #55ace8);
  box-shadow: 0 20px 44px rgba(8, 127, 193, .22);
}

#sobre .about-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 15px rgba(3, 31, 74, .18));
}

@media (min-width: 1024px) {
  #sobre .about-photo img {
    transform: translateX(-8px) scale(1.1);
    transform-origin: center bottom;
  }
}

#sobre .about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 1.75rem;
  padding: 1.25rem .5rem;
  border-radius: 1.5rem;
  background: linear-gradient(110deg, #08659e, #087fc1 55%, #1598d0);
  box-shadow: 0 16px 32px rgba(8, 127, 193, .18);
  text-align: center;
}

#sobre .about-metrics > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .25rem .5rem;
}

#sobre .about-metrics > div + div {
  border-left: 1px solid rgba(255, 255, 255, .28);
}

#sobre .about-metrics p:first-child {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  white-space: nowrap;
  color: #fff;
}

#sobre .about-metrics p:last-child {
  line-height: 1.3;
  color: rgba(255, 255, 255, .86);
}

#sobre .about-highlight {
  color: #087fc1;
  font-size: 1.08em;
  font-weight: 900;
}

.sub-footer-banner {
  position: relative;
}


@media (max-width: 639px) {
  .sub-footer-banner img {
    width: 185%;
  }
}

.sub-footer-banner::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(#ecf9ff, rgba(236, 249, 255, 0));
  pointer-events: none;
}

/* Botões em formato de cápsula, incluindo os CTAs e os serviços. */
body a:is(.bg-cta, .bg-brand-600, .bg-red-600, .bg-white, .access),
body a[class*="bg-[#25D366]"],
body button:not(.faq-btn),
body input:is([type="button"], [type="submit"], [type="reset"]),
body .service-more summary {
  border-radius: 9999px;
}

/* Leitura confortável nos cartões e nos controles menores. */
.process-section article p,
#servicos-fotos article p {
  font-size: 1.05rem;
  line-height: 1.6;
}

#servicos-fotos article h3 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.3;
}

#servicos-fotos article > a:first-child {
  aspect-ratio: 16 / 9;
}

#servicos-fotos article {
  align-self: stretch;
}

#servicos-fotos article > div {
  padding: 16px;
}

#servicos-fotos article > div > p {
  margin-top: 8px;
  line-height: 1.45;
}

#servicos-fotos article > div > div.mt-auto {
  margin-top: auto;
  padding-top: 12px;
}

#servicos-fotos article > div > div.mt-auto > a[data-whatsapp-detail] {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
}

#servicos-fotos article > div > div.mt-auto > a[data-whatsapp-detail]:hover {
  background-color: #1da851;
  border-color: #1da851;
}

#servicos-fotos article a:not(.aspect-\[5\/4\]),
.service-more summary {
  font-size: 0.9rem;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  #header .header-panel > nav {
    display: none;
  }

  #header #menu-btn {
    display: inline-flex;
  }

  #header #mobile-menu:not(.hidden) {
    display: block;
  }
}

@media (max-width: 639px) {
  #servicos-fotos .page-container > .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #servicos-fotos article > div {
    padding: 16px;
  }

  #servicos-fotos article h3 {
    font-size: 1.2rem;
  }

  #servicos-fotos article a:not(.aspect-\[5\/4\]) {
    font-size: 0.9rem;
  }

  #depoimentos aside:has(.rating-mascot) {
    overflow: hidden;
  }

  #depoimentos aside .rating-mascot {
    width: min(220px, 75%);
    padding-top: 10px;
    margin-bottom: -8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.has-scroll-reveal .scroll-reveal {
    transition:
      opacity .8s cubic-bezier(.2, .65, .25, 1),
      translate .85s cubic-bezier(.2, .7, .25, 1),
      scale .85s cubic-bezier(.2, .7, .25, 1),
      filter .8s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.has-scroll-reveal .scroll-reveal:not(.is-revealed) {
    opacity: 0;
    translate: 0 14px;
    scale: .99;
    filter: blur(1.5px);
  }

  html.has-scroll-reveal .scroll-reveal[data-reveal="heading"]:not(.is-revealed) {
    translate: 0 18px;
    filter: blur(2px);
  }

  html.has-scroll-reveal .scroll-reveal[data-reveal="copy"]:not(.is-revealed) {
    translate: 0 8px;
    scale: 1;
    filter: blur(1px);
  }

  html.has-scroll-reveal .scroll-reveal.is-revealed {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0);
  }

  html.has-scroll-reveal .service-photo-card.scroll-reveal .service-photo-card__content,
  html.has-scroll-reveal .solutions-grid > .scroll-reveal > div {
    transition: opacity .65s ease, translate .75s cubic-bezier(.2, .7, .25, 1);
    transition-delay: calc(var(--reveal-delay, 0ms) + 110ms);
  }

  html.has-scroll-reveal .service-photo-card.scroll-reveal:not(.is-revealed) .service-photo-card__content,
  html.has-scroll-reveal .solutions-grid > .scroll-reveal:not(.is-revealed) > div {
    opacity: 0;
    translate: 0 10px;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
  html.has-scroll-reveal #servicos-fotos .service-photo-card.scroll-reveal:not(.is-revealed) {
    translate: -64px 0;
    scale: .985;
    filter: blur(1px);
  }

  html.has-scroll-reveal #servicos-fotos .service-photo-card.scroll-reveal:nth-child(even):not(.is-revealed) {
    translate: 64px 0;
  }
}

/* Hover discreto, sem bolhas ou deslocamentos dos controles. */
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),
  .solutions-grid > article a,
  button:not(.faq-btn),
  .service-more summary
) {
  transition: background-color .24s ease, color .24s ease, filter .24s ease, box-shadow .24s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  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),
  .solutions-grid > article a,
  button:not(.faq-btn),
  .service-more summary
):hover {
    transform: none !important;
    translate: none !important;
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(0, 7, 24, .16);
  }
}

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),
  .solutions-grid > article a,
  button:not(.faq-btn),
  .service-more summary
):active {
  filter: brightness(.96);
}

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),
  .solutions-grid > article a,
  button:not(.faq-btn),
  .service-more summary
):focus-visible {
  outline: 3px solid #46b5e6;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  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),
  .solutions-grid > article a,
  button:not(.faq-btn),
  .service-more summary
) { transition: none !important; }
}

/* Mantém o rodapé no fim da tela sem criar uma faixa vazia depois dele. */
body {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  background: #061a40;
}

body > main {
  width: 100%;
  flex: 1 0 auto;
}

body > footer {
  width: 100%;
  flex-shrink: 0;
}

/* Convite flutuante para orçamento pelo WhatsApp. */
.whatsapp-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 40px);
  color: #0b3358;
  text-decoration: none;
}
.whatsapp-contact__bubble {
  position: relative;
  display: block;
  padding: 13px 17px;
  background: #fff;
  border: 1px solid #dfe5eb;
  border-radius: 15px;
  box-shadow: 0 7px 24px #071b3824;
  transition: box-shadow .75s ease;
}
.whatsapp-contact__bubble::after {
  content: '';
  position: absolute;
  top: calc(50% - 6px);
  right: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #dfe5eb;
  border-right: 1px solid #dfe5eb;
  transform: rotate(45deg);
}
.whatsapp-contact__label { display: block; margin-bottom: 4px; color: #137b43; font-size: 10px; font-weight: 800; }
.whatsapp-contact__message { display: block; font-size: 14px; line-height: 1.38; }
.whatsapp-contact__message strong { color: #0b3358; font-weight: 900; }
.whatsapp-contact__avatar { position: relative; display: block; width: 68px; height: 68px; flex-shrink: 0; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px #25d36640, 0 6px 18px #071b382b; }
.whatsapp-contact__portrait { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: #e5f4ff; }
.whatsapp-contact__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.whatsapp-contact__badge { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: #20c765; color: #fff; }
.whatsapp-contact__icon { width: 17px; height: 17px; }
.whatsapp-contact:focus-visible { outline: 3px solid #0b3358; outline-offset: 8px; border-radius: 18px; }
@media (hover: hover) {
  .whatsapp-contact:hover .whatsapp-contact__bubble { box-shadow: 0 9px 27px #071b382b; }
}
@media (max-width: 1023px) {
  .whatsapp-contact { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 12px; max-width: calc(100vw - 24px); }
  .whatsapp-contact__bubble { padding: 10px 12px; border-radius: 13px; }
  .whatsapp-contact__label { font-size: 10px; margin-bottom: 3px; }
  .whatsapp-contact__message { font-size: 12px; line-height: 1.35; }
  .whatsapp-contact__greeting { display: none; }
  .whatsapp-contact__avatar { width: 54px; height: 54px; border-width: 3px; box-shadow: 0 0 0 3px #25d36640, 0 5px 16px #071b3826; }
  .whatsapp-contact__badge { width: 25px; height: 25px; border-width: 2px; right: -4px; bottom: -4px; }
  .whatsapp-contact__icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-contact__bubble { transition: none; } }

/* Botões de contato pelo WhatsApp sem sombra. */
a[href*="wa.me"],
a[href*="wa.me"]:hover,
a[href*="wa.me"]:focus-visible {
  box-shadow: none !important;
}

@media (max-width: 767px) {
  main h1,
  main h2,
  main h3,
  main h4,
  main h5,
  main h6 {
    text-align: center;
  }

  .solutions-grid > article h3 {
    text-align: left;
  }
}

@media (max-width: 767px) {
  #sobre .grid > div:last-child > p {
    text-align: center;
  }
}

@media (max-width: 767px) {
  footer .grid > div > h4 {
    text-align: left !important;
  }
}
