/* Modernização conservadora — preserva paleta, imagens e identidade existentes. */
:root {
  --expert-radius: 14px;
  --expert-shadow: 0 12px 34px rgba(20, 20, 35, 0.1);
  --expert-focus: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 0 0 6px currentColor;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a,
button,
.btn {
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0;
  box-shadow: var(--expert-focus);
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--expert-shadow);
}

.card,
.item-wrapper,
.mbr-card,
.form-wrapper {
  border-radius: var(--expert-radius);
}

.card,
.item-wrapper {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover,
.item-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--expert-shadow);
}

.navbar {
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}

.navbar-brand img {
  object-fit: contain;
}

.mbr-section-title {
  text-wrap: balance;
}

.mbr-text,
.mbr-section-subtitle {
  text-wrap: pretty;
}

input,
textarea,
select {
  min-height: 46px;
  border-radius: 10px;
}

textarea {
  min-height: 130px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem;
    border-radius: var(--expert-radius);
    box-shadow: var(--expert-shadow);
  }

  .navbar-nav .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  section,
  .mbr-section {
    background-position: center;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .display-1,
  .display-2 {
    line-height: 1.08;
  }

  .mbr-section-btn,
  .navbar-buttons {
    gap: 0.65rem;
  }

  .mbr-section-btn .btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@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;
  }
}
