html {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  width: 100%;
}

.home-main {
  min-height: 100vh;
  width: 100%;
  padding: 0px 16px;
  padding-top: calc(10vh + 40px);
  display: flex;
  justify-content: center;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.planta {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}


.planta > img {
  height: 850px;
  width: auto;
  max-height: 850px;
  display: block;
}

.home-container {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.home-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.apresentacao {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.apresentacao > h1 {
  font-family: var(--fonte-primaria);
  font-size: clamp(18px, 1.25vw, 22px);
  margin: 0;
}

.apresentacao > h1 > span {
  color: var(--cor-terciaria);
  border: 3px solid var(--cor-terciaria);
  padding: 7px;
  display: inline-block;
}

.apresentacao > h2 {
  font-size: clamp(22px, 1.9vw, 34px);
  font-family: var(--fonte-primaria);
  margin: 0;
}

.apresentacao > h2 > strong {
  color: var(--cor-terciaria);
}

.apresentacao > p {
  font-size: clamp(16px, 1.25vw, 20px);
  font-family: var(--fonte-secundaria);
  margin: 0;
}

#vamosConversar {
  font-size: clamp(18px, 1.6vw, 28px);
}

.apresentacao__links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.apresentacao__links > h2 {
  font-family: var(--fonte-primaria);
  font-weight: 400;
  font-size: clamp(16px, 1.2vw, 22px);
  margin: 0;
}

.apresentacao__links__botao {
  background-color: var(--cor-primaria);
  color: var(--cor-secundaria);
  font-family: var(--fonte-secundaria);
  font-weight: 600;
  font-size: clamp(14px, 1.05vw, 18px);
  border-radius: 10px;
  border: 3px solid var(--cor-terciaria);
  padding: 14px 16px;
  text-decoration: none;
  width: min(320px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: 0.2s;
}

.apresentacao__links__botao:hover {
  background-color: var(--cor-hover);
  gap: 16px;
}

.apresentacao__links__icone {
  width: 22px;
  height: 22px;
}

.home-right {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-right > img {
  width: min(520px, 100%);
  height: auto;
  border: 6px solid var(--cor-terciaria);
  border-radius: 40px;
}

@media only screen and (max-width: 1250px) {
  .planta {
    display: none;
  }
}

/* TABLET */
@media only screen and (max-width: 991px) {
  .home-container {
    margin-top: 30px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .apresentacao > h1 {
    margin-bottom: 20px;
  }

  .home-right {
    display: block;
    position: fixed;
    top: 80px;
    right: 50px;
    width: auto;
    z-index: 0;
    pointer-events: none;
  }

  .home-right > img {
    content: url("assets/images/photo2.jpg");
    width: 96px;
    height: 96px;
    object-fit: cover;

    border: 3px solid var(--cor-terciaria);
    border-radius: 999px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    animation: floatPhoto 3.2s ease-in-out infinite;
  }

  .apresentacao > h1 > span {
    border: none;
    border-bottom: 3px solid var(--cor-terciaria);
    padding: 2px;
  }

  .apresentacao__conteudo__paragrafo {
    text-align: center;
  }

  .planta {
    display: none;
  }
}

/* MOBILE */
@media only screen and (max-width: 767px) {
  .home-main {
    padding-top: 75px;
  }

  .home-right {
    top: 77px;
    right: 12px;
  }

  .home-right > img {
    width: 84px;
    height: 84px;
  }

  .planta {
    display: none;
  }
}

@media only screen and (max-width: 376px) {
  .home-right {
    top: 80px;
    right: 12px;
  }

  .home-right > img {
    width: 64px;
    height: 64px;
  }
}

@media only screen and (max-width: 320px) {
  .home-right > img {
    display: none;
  }
}

@keyframes floatPhoto {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(10px); }
  100% { transform: translateY(0); }
}