/* ==========================================================================
   7Bens Consórcios — base: tokens, reset, tipografia, botão, formulário
   ========================================================================== */

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

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

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

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

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

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

:root {
  --ouro: #D6AB60;
  /* menu, rodapé, ícones de contato */
  --ouro-claro: #D1B67D;
  /* botões, títulos, cartões */
  --escuro: #22271C;
  /* rodapé, menu lateral, destaque de hover */
  --cinza-icone: #898B8C;
  --texto: #000;
  --fonte: "Airbnb Cereal App", sans-serif;
}

/* ---------- Reset ---------- */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
p,
a,
img,
small,
strong,
em,
ul,
ol,
li,
form,
label,
fieldset,
table,
caption,
tbody,
thead,
tr,
th,
td,
article,
aside,
details,
figure,
footer,
header,
menu,
nav,
section,
summary {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figure,
footer,
header,
menu,
nav,
section {
  display: block;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  display: block;
  cursor: pointer;
  text-decoration: none;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--fonte);
  font-size: 1.25rem;
  line-height: 1.6;
}

/* ---------- Animações ---------- */
@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }

  10% {
    transform: scale(.91);
    animation-timing-function: ease-in;
  }

  17% {
    transform: scale(.98);
    animation-timing-function: ease-out;
  }

  33% {
    transform: scale(.87);
    animation-timing-function: ease-in;
  }

  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(.75, 1.25, 1);
  }

  40% {
    transform: scale3d(1.25, .75, 1);
  }

  50% {
    transform: scale3d(.85, 1.15, 1);
  }

  65% {
    transform: scale3d(1.05, .95, 1);
  }

  75% {
    transform: scale3d(.95, 1.05, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes flutuar {

  0%,
  100% {
    transform: translate(0);
  }

  50% {
    transform: translate(-90px, 90px);
  }
}

.flutua-10 {
  animation: flutuar 10s linear infinite;
}

.flutua-15 {
  animation: flutuar 15s linear infinite;
}

/* ---------- Layout ---------- */
.container {
  position: relative;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Tipografia ---------- */
.titulo {
  color: var(--texto);
  font-weight: 300;
  line-height: 1.2;
  font-size: 4.25rem;
}

.titulo strong {
  font-weight: 700;
}

.subtitulo {
  color: var(--texto);
  font-weight: 400;
  line-height: 1.3;
  font-size: 2rem;
}

.subtitulo strong {
  font-weight: 700;
}

.descricao {
  color: var(--texto);
  font-weight: 300;
  line-height: 1.3;
  font-size: 1.75rem;
}

.descricao strong {
  font-weight: 700;
}

/* ---------- Botão ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  color: var(--ouro-claro);
  background: transparent;
  border: 1px solid var(--ouro-claro);
  border-radius: 45px;
  outline: 0;
  font-family: var(--fonte);
  font-size: 1.25rem;
  cursor: pointer;
}

.btn:hover {
  color: #fff;
  background: var(--ouro-claro);
}

/* ---------- Formulário ---------- */
.form-campo {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.5rem;
  letter-spacing: 0;
}

.form-campo:last-child {
  margin-bottom: 0;
}

.form-campo label {
  margin-bottom: .75rem;
  color: #727272;
  letter-spacing: 0;
  font-size: 1rem;
}

.form-campo input {
  height: 60px;
  padding: .5rem;
  color: #000;
  border: 1px solid #AAA;
  border-radius: .25rem;
  outline: 0;
  font-family: var(--fonte);
  font-size: 1.125rem;
}

.form-campo input::placeholder {
  color: #000;
  opacity: 1;
}

.form-campo select {
  appearance: none;
  width: 100%;
  height: 45px;
  padding: .5rem 1rem;
  color: #000;
  border: 1px solid #aaa;
  border-radius: .25rem;
  outline: 0;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1rem;
}

.erro-campo {
  margin-top: 5px;
  color: red;
  font-size: 12px;
}

.erro-campo--captcha:empty {
  margin: 0;
}

/* ---------- Ajustes por largura ---------- */
@media (max-width: 1680px) {
  .container {
    max-width: 1440px;
  }

  .titulo {
    font-size: 3rem;
  }

  .descricao {
    font-size: 1.5rem;
  }
}

@media (max-width: 1441px) {
  .container {
    max-width: 1272px;
  }

  .titulo {
    font-size: 2.5rem;
  }

  .descricao {
    font-size: 1.125rem;
  }

  .btn {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1rem;
  }

  .form-campo label {
    font-size: .875rem;
  }

  .form-campo input {
    height: 44px;
    font-size: 1rem;
  }
}

@media (max-width: 1281px) {
  .container {
    max-width: 1170px;
  }

  .titulo {
    font-size: 2.25rem;
  }

  .descricao {
    font-size: 1rem;
  }
}

@media (max-width: 1025px) {
  .container {
    max-width: 978px;
  }

  .titulo {
    font-size: 2rem;
  }

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

  .form-campo label {
    font-size: .75rem;
  }

  .form-campo input {
    height: 40px;
    font-size: .875rem;
  }
}

/* ---------- Entrada ao rolar e paralaxe ---------- */
.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: translate3d(0, 0, 0);
  transition-delay: var(--atraso, 0s);
}

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