@import url("https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Muli:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400&display=swap");

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css");

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

:root {
  --font-primary: "Baloo Da 2", serif;
  --font-secundary: "Josefin Slab", serif;
  --font-action: "Muli", serif;
}

html {
  scroll-behavior: smooth;
}

.hamburguer {
  width: 2rem;
  height: 2rem;
  position: fixed;
  z-index: 100;
  right: 2rem;
  top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
}

.show-menu .hamburguer {
  right: 16rem;
}

.line {
  width: 100%;
  height: 0.1rem;
  background-color: #fff;
  box-shadow: 0.1rem 0.1rem 1px #000;
  transition: transform 1s;
}

.show-menu #line1 {
  transform: rotate(45deg) translate(0.3rem, 0.45rem);
}

.show-menu #line2 {
  opacity: 0;
  visibility: hidden;
}

.show-menu #line3 {
  transform: rotate(-45deg) translate(0.3rem, -0.45rem);
}

.hamburguer span {
  position: absolute;
  left: 3rem;
  height: 2rem;
  width: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #a044ff;
  color: #ffffff;
  font-family: var(--font-action);
  opacity: 0;
}

.hamburguer span::before {
  content: "";
  position: absolute;
  border-right: 0.5rem solid #a044ff;
  border-top: 0.5rem solid transparent;
  border-left: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  left: -1rem;
}

.show-menu .hamburguer:hover span {
  opacity: 1;
}

header {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: zoom 25s;
}

@keyframes zoom {
  0% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.banner {
  position: absolute;
  top: 30%;
  left: 15%;
}

.banner h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-family: var(--font-primary);
  font-weight: 200;
  text-shadow: 0.3rem 0.4rem 2px rgba(0, 0, 0, 0.4);
  line-height: 3.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: moveBanner 1s 0.5s forwards;
}

.banner p {
  font-family: var(--font-secundary);
  color: #fff;
  font-size: 2rem;
  text-shadow: 0.2rem 0.2rem rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  opacity: 0;
  animation: moveBanner 1s 0.7s forwards;
}

.banner button {
  font-family: var(--font-action);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  background: #6a3093;
  background: -webkit-linear-gradient(to right, #a044ff, #6a3093);
  background: linear-gradient(to left, #a044ff, #6a3093);
  padding: 1rem 3rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  animation: moveBanner 1s 0.9s forwards;
}

@keyframes moveBanner {
  0% {
    transform: translateY(10rem) rotateY(-30deg);
  }

  100% {
    transform: translateY(0) rotateY(0);
    opacity: 1;
  }
}

.sidebar {
  width: 20rem;
  height: 100vh;
  background-color: #fff;
  position: fixed;
  top: 0;
  right: -20rem;
  transition: all 1s;
  z-index: 80;
}

.show-menu .sidebar {
  right: 0;
}

.menu {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-item {
  text-align: center;
  margin-bottom: 0.5rem;
}

.menu-link {
  font-family: var(--font-action);
  font-size: 2rem;
  color: #555;
  transition: color 1s;
}

.menu-link:hover {
  color: #6a3093;
}

.social-media {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.social-media i {
  background-color: #6a3093;
  color: rgba(255, 255, 255, 1);
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: background-color 1s;
}

.social-media i:hover {
  background-color: #a044ff;
}

.conhecimentos {
  height: auto;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(8, 5rem);
  row-gap: 0.2rem;
  padding: 2rem 0;
}

.sessao-conhecimentos {
  background-color: #f5f5f5;
  height: 100%;
}

.sessao-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sessao-header h1 {
  font-family: var(--font-primary);
  font-size: 3rem;
  color: #4b4b4b;
  border-bottom: solid 3px #6a3093;
  margin-bottom: 1.5rem;
}

.conhecimento-header {
  display: flex;
  align-items: center;
  color: #4b4b4b;
}

.conhecimento-header i {
  font-size: 2.5rem;
}

.conhecimento-header h3 {
  font-family: var(--font-secundary);
  font-size: 2rem;
  padding-left: 1rem;
}

.conhecimento-text {
  font-family: var(--font-secundary);
  margin-top: 1rem;
}

.conhecimento:nth-child(1) {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
}

.conhecimento:nth-child(2) {
  grid-column: 6 / 9;
  grid-row: 3 / 5;
}

.conhecimento:nth-child(3) {
  grid-column: 8 / 11;
  grid-row: 5 / 7;
}

.conhecimento:nth-child(4) {
  grid-column: 10 / 13;
  grid-row: 7 / 9;
}

.conhecimentos-img-wrapper img {
  object-fit: cover;
  height: 100%;
}

.sessao-projetos {
  padding: 5rem 0;
  background-color: #f5f5f5;
}

.container-videos {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 2rem;
}

.video-item {
  width: 65rem;
  text-align: center;
}

.video-item iframe {
  width: 100%;
  height: 25rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  background-color: #000;
}

.video-item h3 {
  margin-top: 1rem;
  font-family: "Baloo Da 2", serif;
  color: #4b4b4b;
  font-size: 1.5rem;
}

.container {
  width: 100%;
  overflow-x: hidden;
}

/* --- SEÇÃO DE CONTATO E AGENDAMENTO MODERNA --- */
.sessao-contato {
  width: 100%;
  height: 100vh;
  background-color: #272727;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contato-wrapper {
  width: 65%;
  height: 34rem;
  display: flex;
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.contato-left {
  width: 42%;
  background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(22, 22, 22, 0.95)),
    url(imagens/contato.jpg);
  background-size: cover;
  background-position: center;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contato-left h2 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.instrucao-horario {
  font-family: var(--font-action);
  font-size: 0.85rem;
  color: #b8b8b8;
  margin-bottom: 2rem;
  line-height: 1.4;
  border-left: 3px solid #a044ff;
  padding-left: 8px;
}

.agendamento-container .input-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.field-label-static {
  display: block;
  font-family: var(--font-action);
  font-size: 0.75rem;
  color: #a044ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

/* Campos de Agendamento Modernos */
.contato-left .field {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  padding: 0 1rem;
  height: 2.8rem;
  font-size: 1rem;
  font-family: var(--font-secundary);
  outline: none;
  transition: all 0.3s ease;
}

.contato-left .field:focus {
  border-color: #a044ff;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 8px rgba(160, 68, 255, 0.3);
}

.contato-left select.field option {
  background-color: #222;
  color: #fff;
  padding: 10px;
}

/* Lado Direito: Formulário */
.contato-right {
  width: 58%;
  background-color: #eee;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sessao-contato h1 {
  width: 100%;
  text-align: center;
  font-family: var(--font-primary);
  color: #272727;
  font-size: 2.5rem;
  font-weight: lighter;
  margin-bottom: 1rem;
}

.sessao-contato form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato-right .input-group {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.contato-right .field {
  background: transparent;
  border: none;
  width: 100%;
  font-size: 1.1rem;
  font-family: var(--font-secundary);
  border-bottom: 2px dashed #636363;
  height: 2.5rem;
  outline: none;
  margin: 0.5rem 0;
  color: #333;
}

.contato-right textarea.field {
  padding-top: 0.5rem;
  max-width: 100%;
  max-height: 4rem;
  resize: none;
}

.field-label {
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-size: 0.85rem;
  font-family: var(--font-secundary);
  text-transform: uppercase;
  color: #666;
  transition: all 0.3s;
  pointer-events: none;
}

.contato-right .field:focus~label,
.contato-right .field:not(:placeholder-shown)~label {
  top: -0.2rem;
  font-size: 0.65rem;
  color: #6a3093;
  font-weight: bold;
}

.contato-right .field:focus {
  border-bottom: 1px solid #6a3093;
}

.btn-submit {
  font-family: var(--font-action);
  background: #6a3093;
  background: linear-gradient(to right, #a044ff, #6a3093);
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  width: 100%;
  height: 2.8rem;
  margin-top: 0.5rem;
  letter-spacing: 0.15rem;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  text-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.3);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s;
}

.btn-submit:hover {
  opacity: 0.9;
}

.preenchido {
  pointer-events: none;
}

/* Outras seções preservadas */
.sessao-orcamento {
  width: 100%;
  height: 100vh;
  background: url("./imagens//bg-orcamento.jpg");
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orcamento-wrapper {
  width: 60%;
  height: 80%;
  background-color: #ffffff99;
  border-radius: 10px;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
  position: relative;
}

.sessao-orcamento h1 {
  position: absolute;
  top: -2.5rem;
  left: 2rem;
  background: #6a3093;
  background: -webkit-linear-gradient(to right, #a044ff, #6a3093);
  background: linear-gradient(to left, #a044ff, #6a3093);
  padding: 0 3rem;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: lighter;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.sessao-orcamento form {
  margin: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 2rem;
  row-gap: 2rem;
}

.sessao-orcamento label {
  font-family: var(--font-action);
  font-size: 1.5rem;
}

.sessao-orcamento input[type="number"] {
  font-family: var(--font-secundary);
  width: 4rem;
  font-size: 2rem;
  outline: none;
  border-radius: 10px;
  border: none;
  padding: 0.3rem;
}

.btn-orcamento {
  text-transform: uppercase;
  padding: 1rem;
  cursor: pointer;
  grid-column: 2;
}

footer {
  width: 100%;
  height: 7rem;
  background-color: #17181b;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content {
  width: 60%;
  display: flex;
  justify-content: space-between;
}

.footer-content p {
  font-family: var(--font-secundary);
  color: #a7a7a7;
  font-size: 1.2rem;
}

.social-list a {
  margin: 0 2rem;
  color: #a7a7a7;
  font-size: 1.3rem;
}

.social-list ul {
  display: flex;
}

#link-topo {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  width: 3rem;
  height: 3rem;
  background: #6a3093;
  background: -webkit-linear-gradient(to right, #a044ff, #6a3093);
  background: linear-gradient(to left, #a044ff, #6a3093);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: .3rem;
  box-shadow: 0 0.1rem 0.6rem #00000009;
}

.sessao-servicos-info {
  padding: 5rem 0;
  background-color: #f5f5f5;
}

.servicos-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servico-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  width: 22rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s;
}

.servico-card:hover {
  transform: translateY(-0.5rem);
}

.servico-card h3 {
  font-family: var(--font-primary);
  color: #4b4b4b;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.servico-card p {
  font-family: var(--font-secundary);
  color: #636363;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.servico-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto;
}

.sessao-orcamento input[type="number"]::-webkit-inner-spin-button,
.sessao-orcamento input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

.modal-sucesso {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-sucesso.ativo {
  opacity: 1;
  visibility: visible;
}

.modal-conteudo {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
}

.modal-conteudo h2 {
  font-family: var(--font-primary);
  color: #6a3093;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-conteudo p {
  font-family: var(--font-secundary);
  color: #555;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.modal-conteudo button {
  font-family: var(--font-action);
  background: #6a3093;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background 0.3s;
}

.modal-conteudo button:hover {
  background: #a044ff;
}

.toast-aviso {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background-color: #333333;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 5px solid #a044ff;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-family: var(--font-action);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.toast-aviso i {
  color: #a044ff;
  font-size: 1.4rem;
}

.toast-aviso.ativo {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .contato-wrapper {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  .contato-left,
  .contato-right {
    width: 100%;
  }
}

/* =========================================
   RESPONSIVIDADE GERAL E TABLETS (até 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .banner {
    left: 10%;
  }

  .banner h1 {
    font-size: 2.8rem;
    line-height: 3rem;
  }

  .banner p {
    font-size: 1.5rem;
  }

  .contato-wrapper {
    width: 85%;
  }

  .orcamento-wrapper {
    width: 80%;
  }

  .footer-content {
    width: 80%;
  }
}

/* =========================================
   RESPONSIVIDADE GERAL E TABLETS (até 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .banner {
    left: 10%;
  }

  .banner h1 {
    font-size: 2.8rem;
    line-height: 3rem;
  }

  .banner p {
    font-size: 1.5rem;
  }

  .contato-wrapper {
    width: 85%;
  }

  .orcamento-wrapper {
    width: 80%;
  }

  .footer-content {
    width: 80%;
  }
}

/* =========================================
   CORREÇÃO DEFINITIVA DE RESPONSIVIDADE MOBILE (até 768px)
   ========================================= */
@media (max-width: 768px) {

  /* Menu Lateral */
  .show-menu .hamburguer {
    right: 14rem;
  }

  /* Banner Inicial */
  .banner {
    top: 25%;
    left: 5%;
    padding-right: 5%;
  }

  .banner h1 {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }

  .banner p {
    font-size: 1.2rem;
  }

  /* Seção de Conhecimentos */
  .conhecimentos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .conhecimento {
    grid-column: auto !important;
    grid-row: auto !important;
    text-align: center;
  }

  .conhecimento-header {
    justify-content: center;
  }

  /* Projetos e Vídeos */
  .video-item {
    width: 100%;
  }

  .video-item iframe {
    height: 18rem;
  }

  /* Seção de Contato */
  .sessao-contato {
    height: auto !important;
    min-height: auto;
    padding: 4rem 1rem;
  }

  .contato-wrapper {
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
  }

  .contato-left,
  .contato-right {
    width: 100% !important;
    padding: 2rem 1.5rem;
    height: auto !important;
  }

  /* Seção de Orçamento - Correção definitiva para o título e grid */
  .sessao-orcamento {
    height: auto !important;
    min-height: auto;
    padding: 4rem 1rem;
  }

  .orcamento-wrapper {
    width: 100% !important;
    height: auto !important;
    margin-top: 2rem;
  }

  /* Trava o título no fluxo normal para evitar sobreposição */
  .sessao-orcamento h1 {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    font-size: 1.6rem !important;
    padding: 0.8rem 1rem;
    text-align: center;
    margin: 0 auto 1.5rem auto;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
  }

  .sessao-orcamento form {
    margin: 1.5rem !important;
    display: flex !important;
    flex-direction: column;
    gap: 1.2rem;
  }

  .sessao-orcamento label {
    font-size: 1.2rem;
  }

  .sessao-orcamento input[type="number"] {
    width: 100% !important;
    font-size: 1.5rem;
  }

  .btn-orcamento {
    grid-column: auto;
    width: 100%;
  }

  /* Rodapé */
  footer {
    height: auto;
    padding: 2rem 0;
  }

  .footer-content {
    width: 90%;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .social-list a {
    margin: 0 1rem;
  }

  #link-topo {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}