html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* Hero: video full-bleed (Index) — largura do viewport a partir do content area */
.hero-fullbleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100dvw;
  max-width: 100dvw;
  margin-left: -50dvw;
  margin-right: -50dvw;
  overflow-x: clip;
}

.turnizio-brand-mark {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(89, 219, 199, 0.28);
  border-radius: 9999px;
  object-fit: cover;
}

.turnizio-wordmark-lockup {
  display: block;
  border-radius: 0.8rem;
  object-fit: contain;
  object-position: left center;
}

.turnizio-logo-image {
  display: block;
  border-radius: 0.55rem;
  object-fit: contain;
  object-position: left center;
}

.turnizio-text-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}

.turnizio-text-logo__mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, rgba(89, 219, 199, 0.55), rgba(89, 219, 199, 0.12) 55%, rgba(0,0,0,0) 70%),
              radial-gradient(circle at 65% 70%, rgba(72, 208, 255, 0.55), rgba(72, 208, 255, 0.12) 55%, rgba(0,0,0,0) 70%),
              linear-gradient(135deg, rgba(89, 219, 199, 0.25), rgba(72, 208, 255, 0.18));
  border: 1px solid rgba(89, 219, 199, 0.28);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.turnizio-text-logo__text {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.45rem;
  color: #fff;
}

.turnizio-text-logo__tagline {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 225, 232, 0.72);
}

@media (max-width: 640px) {
  .turnizio-text-logo__mark {
    width: 2.05rem;
    height: 2.05rem;
  }

  .turnizio-text-logo__text {
    font-size: 1.25rem;
  }
}

.hero-video-wrap {
  overflow: hidden;
}

.hero-video-wrap video.hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.28) contrast(1.08) saturate(1.06);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-wrap video.hero-video-media {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-fullbleed > section:first-child {
    min-height: auto;
    padding-top: 1.75rem;
    padding-bottom: 4rem;
    justify-content: flex-start;
  }

  .hero-fullbleed > section:first-child .hero-video-wrap video.hero-video-media {
    object-position: 52% 32%;
    filter: brightness(1.16) contrast(1.06) saturate(1.04);
  }

  .hero-fullbleed > section:first-child h1 {
    font-size: clamp(1.72rem, 7.4vw, 2.22rem);
    line-height: 1.05;
  }

  .hero-fullbleed > section:first-child p {
    line-height: 1.55;
  }

  #main-content header.rounded-2xl,
  #main-content header.rounded-3xl,
  #main-content section.rounded-2xl,
  #main-content section.rounded-3xl,
  #main-content article.rounded-2xl,
  #main-content article.rounded-3xl,
  #main-content div.rounded-2xl,
  #main-content div.rounded-3xl {
    border-radius: 1rem;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #59dbc7;
  outline-offset: 3px;
}

button[data-loading="true"],
input[type="submit"][data-loading="true"] {
  cursor: wait;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
