/* ==========================================================================
   Brbens Consórcios — base: fontes, normalização, entrada ao rolar e paralaxe.
   A normalização reproduz só o que o site anterior herdava do Bootstrap 4.5
   (reboot, .btn, .form-control, .form-group); o resto do Bootstrap não era usado.
   ========================================================================== */

@font-face {
  font-family: "Airbnb Cereal App";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../fontes/AirbnbCerealApp-Light.woff2") format("woff2"), url("../fontes/AirbnbCerealApp-Light.woff") format("woff");
}

@font-face {
  font-family: "Airbnb Cereal App";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fontes/AirbnbCerealApp-Book.woff2") format("woff2"), url("../fontes/AirbnbCerealApp-Book.woff") format("woff");
}

@font-face {
  font-family: "Airbnb Cereal App";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fontes/AirbnbCerealApp-Medium.woff2") format("woff2"), url("../fontes/AirbnbCerealApp-Medium.woff") format("woff");
}

@font-face {
  font-family: "Airbnb Cereal App";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fontes/AirbnbCerealApp-Bold.woff2") format("woff2"), url("../fontes/AirbnbCerealApp-Bold.woff") format("woff");
}

@font-face {
  font-family: "Airbnb Cereal App";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fontes/AirbnbCerealApp-ExtraBold.woff2") format("woff2"), url("../fontes/AirbnbCerealApp-ExtraBold.woff") format("woff");
}

@font-face {
  font-family: "Airbnb Cereal App";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fontes/AirbnbCerealApp-Black.woff2") format("woff2"), url("../fontes/AirbnbCerealApp-Black.woff") format("woff");
}

/* ---------- Normalização (equivalente ao reboot do Bootstrap 4.5) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

b,
strong {
  font-weight: bolder;
}

a {
  color: #007bff;
  background-color: transparent;
}

a:hover {
  color: #0056b3;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
}

input,
button,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
}

textarea {
  overflow: auto;
  resize: vertical;
}

summary {
  display: list-item;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:hover {
  color: #212529;
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

textarea.form-control {
  height: auto;
}

/* ---------- Entrada ao rolar (substitui o AOS) ---------- */
.js [data-aos] {
  pointer-events: none;
}

.js [data-aos].aos-animate {
  pointer-events: auto;
}

.js [data-aos="fade-up"] {
  opacity: 0;
  transform: translate3d(0, 100px, 0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.js [data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateZ(0);
  transition-delay: var(--atraso, 0s);
}

/* ---------- Paralaxe ao mover o mouse (substitui o GSAP) ---------- */
[data-paralaxe] {
  transition: transform 1s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-aos="fade-up"] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Animações (as mesmas do site anterior) ---------- */
@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }
  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }
  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

@keyframes shake-vertical {
  0%, 100% {
    transform: translateY(0);
  }
  10%, 30%, 50%, 70% {
    transform: translateY(-8px);
  }
  20%, 40%, 60% {
    transform: translateY(8px);
  }
  80% {
    transform: translateY(6.4px);
  }
  90% {
    transform: translateY(-6.4px);
  }
}

@keyframes jump {
  0% {
    top: 0;
  }
  50% {
    top: 12px;
  }
  100% {
    top: 0;
  }
}

@keyframes jello-horizontal {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes move1 {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(-90px, 90px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes move2 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}