*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  
  color-scheme: light;
  scroll-behavior: smooth;
  font-size: 100%;
  transition: font-size var(--transition-base);
  max-width: 100%;
  
  overflow-x: hidden;
  
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.font-scale-a11y-m2 {
  font-size: 80%;
}

html.font-scale-a11y-m1 {
  font-size: 95%;
}

html.font-scale-a11y-p1 {
  font-size: 108%;
}

html.font-scale-a11y-p2 {
  font-size: 125%;
}

html.font-scale-a11y-p3 {
  font-size: 160%;
}

html.font-scale-a11y-p4 {
  font-size: 200%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  color: var(--color-neutral-800);
  background-color: var(--color-neutral-0);
  padding-top: var(--header-height);
  max-width: 100%;
}

#main-content {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  /* Skip link / âncoras: conteúdo não fica oculto sob header fixo (WCAG 2.4.1) */
  scroll-margin-top: var(--header-height, 4.375rem);
}

@media (max-width: 767px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  color: var(--color-text-heading);
  line-height: var(--line-height-tight);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-3);
}

a {
  color: var(--color-text-on-light-link);
}

a:hover {
  color: var(--color-text-on-light-link-hover);
}

.text-muted {
  color: var(--color-neutral-700) !important;
}

body.dark-mode .text-muted {
  color: #dee2e6 !important;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 3px;
}

.btn,
button:not(.assistive-dock__toggle):not(.assistive-dock__btn),
.navbar-toggler,
.faq-native__summary,
.cookie-banner .btn,
.cookie-modal button,
.contact-form__actions .btn,
.risk-strip .btn,
.btn-ds {
  min-width: 1.5rem;
  min-height: 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .btn,
  button:not(.assistive-dock__toggle):not(.assistive-dock__btn),
  .navbar-toggler,
  .faq-native__summary,
  .cookie-banner .btn,
  .cookie-modal .cookie-modal__footer .btn,
  .contact-form__actions .btn {
    min-height: 2.75rem;
    min-width: 2.75rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.grayscale main,
body.grayscale .site-footer {
  filter: grayscale(100%);
}

body.grayscale .cookie-banner,
body.grayscale .cookie-modal__dialog {
  filter: grayscale(100%);
}

body.grayscale .wa-float {
  filter: grayscale(100%);
}

body.underline-links a {
  text-decoration: underline !important;
  text-decoration-line: underline !important;
}

body.underline-links .site-footer a {
  text-decoration: underline !important;
  text-decoration-line: underline !important;
}

body.underline-links .site-footer .site-footer__social a {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

body.enhanced-focus *:focus-visible {
  outline: 5px solid #ffff00 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px var(--color-neutral-900) !important;
}

body.dark-mode {
  background-color: var(--color-neutral-900) !important;
  color: #f1f1f1 !important;
}

body.dark-mode .site-header,
body.dark-mode .section--video,
body.dark-mode .section--qualities,
body.dark-mode .section--services,
body.dark-mode .section--cases,
body.dark-mode .section--cta {
  background-color: #232526 !important;
  color: #f1f1f1 !important;
}

body.dark-mode .qualities-showcase__eyebrow {
  color: #7dd87a;
}

body.dark-mode .qualities-showcase__title,
body.dark-mode .qualities-showcase__subheading {
  color: #e8f5e9 !important;
}

body.dark-mode .qualities-showcase__quote {
  background-color: #2a2f2e !important;
  border-color: #3d4543 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.dark-mode .qualities-showcase__quote p,
body.dark-mode .qualities-showcase__note {
  color: #d8dedc !important;
}

body.dark-mode .quality-pillar {
  background-color: #2a2f2e !important;
  border-color: #3d4543 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

body.dark-mode .quality-pillar__num {
  color: rgba(125, 216, 122, 0.25);
}

body.dark-mode .quality-pillar__title {
  color: #e8f5e9 !important;
}

body.dark-mode .quality-pillar__text {
  color: #c8d0cd !important;
}

body.dark-mode .site-footer {
  background: linear-gradient(165deg, #0a1210 0%, #1a2622 45%, #152018 100%) !important;
  color: #f1f1f1 !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
}

body.dark-mode .card-glass {
  background-color: #232526 !important;
  color: #f1f1f1 !important;
  border-color: #333 !important;
}

body.dark-mode .video-showcase__eyebrow {
  color: #7dd87a;
}

body.dark-mode .video-showcase__title {
  color: #e8f5e9 !important;
}

body.dark-mode .video-showcase__quote {
  background-color: #2a2f2e !important;
  border-color: #3d4543 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.dark-mode .video-showcase__quote p {
  color: #d8dedc !important;
}

body.dark-mode .video-showcase__frame {
  background: linear-gradient(145deg, #2a2f2e 0%, #232826 100%) !important;
  border-color: #3d4543 !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

body.dark-mode .cases-showcase__eyebrow,
body.dark-mode .faq-showcase__eyebrow,
body.dark-mode .contact-showcase__eyebrow {
  color: #7dd87a;
}

body.dark-mode .cases-showcase__title,
body.dark-mode .faq-showcase__title,
body.dark-mode .contact-showcase__title {
  color: #e8f5e9 !important;
}

body.dark-mode .cases-showcase__quote,
body.dark-mode .faq-showcase__quote,
body.dark-mode .contact-showcase__quote {
  background-color: #2a2f2e !important;
  border-color: #3d4543 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.dark-mode .cases-showcase__quote p,
body.dark-mode .faq-showcase__quote p,
body.dark-mode .contact-showcase__quote p {
  color: #d8dedc !important;
}

body.dark-mode .contact-showcase__quote a {
  color: #a8e6a6 !important;
}

body.dark-mode .services-showcase__eyebrow {
  color: #7dd87a;
}

body.dark-mode .services-showcase__title {
  color: #e8f5e9 !important;
}

body.dark-mode .services-showcase__quote {
  background-color: #2a2f2e !important;
  border-color: #3d4543 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.dark-mode .services-showcase__quote p {
  color: #d8dedc !important;
}

body.dark-mode .services-showcase__foot {
  border-top-color: #3d4543;
}

body.dark-mode .service-card {
  background-color: #2a2f2e !important;
  border-color: #3d4543 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

body.dark-mode .service-card__title {
  color: #e8f5e9 !important;
}

body.dark-mode .service-card .mb-0,
body.dark-mode .service-card__list {
  color: #c8d0cd !important;
}

body.dark-mode .service-card__icon {
  color: #7dd87a;
  opacity: 1;
}
