@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face{
  font-family: 'BankGothic Lt BT';
  src: url('../fonts/bankgothic.TTF') format('truetype');
}

/* VARIÁVEIS */

:root{
  --main-bg: #111111;
  --text-color: #fff;
  --light-text: #ffffffd0;
  --secondary-text: #111;
  --color-blue-light: skyblue;
  --color-blue: #1e90ff;
  --color-blue-dark: #0063c7;
}

/* BASE */

html{
  scroll-behavior: smooth;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  background: var(--main-bg);
  color: var(--text-color);
}

header img{
  max-width: 120px;
}

.container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header{
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0 15px;
  transition: all 0.4s ease;
}

.header-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img{
  background-color: none;
}

.logo-text{
  font-weight: 500;
  font-size: 40px;
  font-family: 'BankGothic Lt BT', 'Inter', sans-serif;
  color: var(--light-text);
}

nav ul{
  display: flex;
}

nav ul li{
  list-style: none;
  margin-right: 3.5vw;
  position: relative;
}

nav ul li a{
  color: var(--text-color);
  text-decoration: none;
  cursor: none;
}

a{
  text-decoration: none;
  color: var(--light-text);
}

nav ul li::before{
  position: absolute;
  content: '';
  bottom: -3px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--text-color);
  border-radius: 3px;
  transition: .2s;
  transition-delay: .1s;
}

nav ul li:hover::before{
  left: 0;
  right: 0;
}

.nav-buttons{
  display: flex;
  gap: 15px;
}

nav.active{
  padding: 16px 6%;
  background: var(--main-bg);
  backdrop-filter: blur(18px);
}

.btn{
  display: inline-block;
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary{
  background: var(--color-blue);
  color: var(--light-text);
  font-weight: 600;
}

.btn-primary:hover{
  background: var(--color-blue-dark);
  color: var(--light-text);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

.btn-secondary{
  border: 2px solid var(--text-color);
  color: var(--text-color);
  background: transparent;
  font-weight: 400;
}

.btn-secondary:hover{
  background: var(--text-color);
  color: var(--main-bg);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}


.header_txt .playButton{
  background: transparent;
  border: 1px solid var(--text-color);
  display: flex;
  align-items: center;
  max-width: 200px;
  border-radius: 30px;
  padding: 12px;
  margin-top: 60px;
}

.header_txt .playButton img{
  max-width: 40px;
}

.header_txt .playButton p{
  font-size: 12px;
  margin-left: 20px;
}

/* Hero section */
.hero{
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-container{
  width: 750px;
  color: var(--light-text);
  animation: fadeInUp 1s ease-out;
}

.hero .container{
  display:flex ;
}

.hero-subtitle{
  display: flex;
  color: var(--color-blue);
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::before{
  content: '';
  width: 50px;
  height: 2px;
  background: var(--color-blue);
}

.hero-subtitle::after{
  content: '';
  width: 40%;
  height: 2px;
  background: var(--color-blue);
}

.hero-title{
  padding-top: 20px;
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  color: var(--light-text);
}

.hero-text{
  font-size: 16px;
  margin-bottom: 120px;
  max-width: 700px;
}

.img-init{
  width: 50%;
  height: 50%;
}

.img-init img{
  width: 100%;
  height: 100%;
}

#scrollDown{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: none;
}

#scrollDown span{
  font-size: 16px;
  border: 1px solid white;
  border-radius: 50%;
  padding: 12px;
  position: relative;
}

.service{
  padding: 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  height: 1000px;
  /* border-top: 4px solid rgba(255, 255, 255, 0.1); */
}

.service-hr-animation{
  background-color: var(--main-bg);
  width: 100%;
  height: 18px;
  animation: animateHR 6s linear infinite;
  background: repeating-conic-gradient(from var(--a), #1e90ff 0%, transparent 10%, transparent 50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: auto;
  z-index: 1;
  color: var(--text-color);
}

@property --a{
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes animateHR {
  0%{
    --a:360deg;
  }100%{
    --a:0deg;
  }
}

.service-hr-animation::before{
  content: '';
  position: absolute;
  inset: 2px;
  border-top: 10px solid var(--main-bg);
  background: #222;
  z-index: -1;
}

.animation-hr{
  background-color: #222;
  width: 100%;
  height: 15px;
  position: relative;
  top: 2px;
  z-index: 2;
}

.section-header{
  text-align: center;
  max-width: 700px;
  margin: 80px auto 70px;
}

.section-subtitle{
  font-size: 20px;
  color: var(--text-color);
  margin-bottom: 15px;
}

.section-title{
  font-size: 42px;
  color: var(--color-blue);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-blue);
}

.section-desc{
  font-size: 18px;
  color: var(--light-text);
}

.service-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  height: 500px;
}

.service-card{
  background: var(--main-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  top: 0;
}

.service-img{
  height: 200px;
  overflow: hidden;
}

.service-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img{
  transform: scale(1.05);
}

.service-info{
  position: absolute;
  top: 37%;
  right: 25px;
  background: var(--color-blue);
  color: var(--light-text);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.service-title{
  font-size: 24px;
  color: var(--light-text);
  margin-bottom: 10px;
  padding: 20px 20px 0;
}

.service-desc{
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 14px;
  padding: 0 20px;
}

.service-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-price{
  font-size: 24px;
  font-weight: 700;
  padding: 0 20px;
  background: var(--color-blue);
  border-right: 1px solid var(--color-blue-dark);
  border-bottom: 1px solid var(--color-blue-dark);
}

.rating{
  color: var(--color-blue);
  font-size: 16px;
}

h1, h2, h3, h4{
  font-weight: 700;
  letter-spacing: 0.5px;
}

#contact{
  scroll-margin-top: 140px;
  position: relative;
}

#contact form{
  position: relative;
  background: repeating-conic-gradient(from var(--a), #1e90ff 0%, transparent 10%, transparent 50%);
  animation: animateForm 6s linear infinite;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: fit-content;
  margin: auto;
  z-index: 1;
  padding: 60px;
  color: var(--text-color);
}

@property --a{
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes animateForm {
  0%{
    --a:0deg;
  }100%{
    --a:360deg;
  }
}

#contact form::before{
  content: '';
  position: absolute;
  inset: 2px;
  border: 2px solid var(--main-bg);
  background: #222;
  z-index: -1;
}

#contact h1{
  font-size: 2.6em;
  text-align: center;
}

#contact p{
  color: var(--light-text);
  margin-bottom: 30px;
  text-align: center;
  max-width: 500px;
  margin: auto;
  padding-bottom: 30px;
}

#contact h1, #contact form h2{
  font-weight: 500;
}

.inputBox{
  position: relative;
  width: 280px;
  margin: 16px 0 0 0;
}

.inputBox input, .inputBox textarea{
  width: 100%;
  padding: 5px 0;
  border: none;
  border-bottom: 2px solid #1e90ff;
  background: transparent;
  outline: none;
  color: #fff;
  font-size: 14px;
  cursor: none;
  transition: .5s;
  font-family: 'Poppins', sans-serif;
  resize: none;
}

.inputBox span{
  position: absolute;
  left: 0;
  pointer-events: none;
  font-size: 1em;
  color: rgba(255, 255, 255, .25);
  transition: .5s;
  font-family: 'Poppins', sans-serif;
}

.inputBox input:valid ~ span,
.inputBox input:focus ~ span,
.inputBox textarea:valid ~ span,
.inputBox textarea:focus ~ span{
  color: #1e90ff;
  transform: translateY(-10px);
  font-size: 0.65em;
}

#contact form input[type="submit"]{
  width: 100%;
  background: #1e90ff;
  color: var(--text-color);
  border: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 12px;
  font-size: 15px;
  text-transform: uppercase;
  margin-top: 20px;
  cursor: none;
}

#contact .backgroundObj{
  width: 60px;
  height: 60px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(#fff2, rgba(112,60,60,.2));
}

/* ALERT BOX */

.alertBox{
  position: fixed;
  bottom: -60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 9999;
  background: rgb(31,31,31);
}

.alertBox p{
  color: white;
  margin: 8px 0;
}

.alertBox.animAlert{
  animation: popUpAlert 3s linear;
}

@keyframes popUpAlert {
  0%{
    bottom: -60px;
  }10%{
    bottom: 0px
  }90%{
    bottom: 0px;
  }100%{
    bottom: -60px;
  }
}

/* FOOTER */

#footer{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  background: linear-gradient(rgb(31,31,31));
  padding: 30px 6%;
}

#footer div{
  display: flex;
  flex-direction: column;
  margin-top: -20px;
}

#footer div h1{
  font-family: 'BankGothic Lt BT';
  margin-bottom: 10px;
}

#footer ul{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
}

#footer ul li{
  margin: 5px 0;
}

#footer ul li a{
  text-decoration: none;
  color: var(--text-color);
  font-size: 18px;
  cursor: none;
  transition: 500ms;
}

#footer ul li a:hover{
  color: #1e90ff;
  transition: 500ms;
}

#social-midia{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#social-midia h2{
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

/* Font Awesome ícones sociais */
#icon-social .fa{
  margin: 30px 0px;
  font-size: 50px;
  width: 100px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: 500ms;
}

#icon-social .fa:hover {
  color: #1e90ff;
  transition: 500ms;
}

.fa-linkedin{
  width: 40px;
  height: 40px;
}

#closeMenu{
  display: none;
}

/* RESPONSIVIDADE: telas menores, tablets e celulares */

@media (max-width: 1200px){
  /* O cabecalho ocupa seu espaco ao quebrar em mais de uma linha. */
  header{
    position: sticky;
    padding: 12px 5%;
    background: var(--main-bg);
  }

  .header-container{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 24px;
  }

  .logo{
    gap: 8px;
  }

  header img{
    display: block;
    max-width: 80px;
    height: auto;
  }

  .logo-text{
    font-size: 32px;
  }

  .header-container nav{
    grid-column: 1 / -1;
    grid-row: 2;
  }

  nav ul{
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 32px;
  }

  nav ul li{
    margin: 0;
  }

  nav ul li a{
    display: flex;
    align-items: center;
    min-height: 44px;
    cursor: pointer;
  }

  .nav-buttons{
    justify-self: end;
    gap: 10px;
  }

  .nav-buttons .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    text-align: center;
  }

  #service, #contact{
    scroll-margin-top: 160px;
  }

  .hero{
    height: auto;
    padding: 56px 0 80px;
  }

  .hero .container{
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: 32px;
  }

  .hero-container{
    width: 100%;
    min-width: 0;
  }

  .hero-subtitle{
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero-subtitle::before, .hero-subtitle::after{
    flex: 0 0 24px;
  }

  .hero-title{
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .hero-text{
    margin-bottom: 32px;
    line-height: 1.7;
  }

  .header_txt .playButton{
    margin-top: 0;
  }

  .img-init{
    width: 100%;
    height: auto;
  }

  .img-init img{
    display: block;
    height: auto;
  }

  /* As linhas dos cards crescem junto com o conteudo. */
  .service{
    height: auto;
    padding-bottom: 64px;
  }

  .section-header{
    margin: 56px auto 40px;
  }

  .section-title{
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .service-grid{
    height: auto;
    gap: 24px;
  }

  .service-card{
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .service-img{
    flex-shrink: 0;
  }

  .service-info{
    top: 200px;
    right: 16px;
    max-width: calc(100% - 32px);
    transform: translateY(-50%);
    overflow-wrap: anywhere;
  }

  .service-title{
    padding-top: 32px;
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .service-footer{
    margin-top: auto;
  }

  #contact{
    padding: 64px 5%;
  }

  #contact h1{
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  }

  #contact form{
    width: 100%;
    max-width: 460px;
    padding: 40px;
  }

  #contact form h2{
    text-align: center;
  }

  #contact .inputBox{
    width: 100%;
    min-width: 0;
  }

  .inputBox input, .inputBox textarea{
    min-height: 44px;
    font-size: 16px;
    cursor: text;
  }

  .inputBox textarea{
    min-height: 100px;
  }

  #contact form input[type="submit"]{
    min-height: 44px;
    cursor: pointer;
  }

  #footer{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 40px 5%;
  }

  #footer div{
    min-width: 0;
    margin-top: 0;
  }

  #footer p{
    overflow-wrap: anywhere;
  }

  #footer ul li a{
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    cursor: pointer;
  }

  #social-midia{
    grid-column: 1 / -1;
    text-align: center;
  }

  #icon-social .fa{
    width: 48px;
    height: auto;
    min-height: 44px;
    margin: 24px 8px;
    font-size: 40px;
  }
}

@media (max-width: 1024px){
  .service-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-subtitle::after{
    display: none;
  }
}

@media (max-width: 750px){
  .header-container{
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
  }

  header img{
    max-width: 56px;
  }

  .logo-text{
    font-size: 28px;
  }

  .nav-buttons{
    justify-self: center;
    width: 100%;
    max-width: 400px;
  }

  .nav-buttons .btn{
    flex: 1;
    min-width: 0;
  }

  #service, #contact{
    scroll-margin-top: 210px;
  }

  .hero{
    padding: 40px 0 72px;
  }

  .hero .container{
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-subtitle{
    font-size: 12px;
  }

  .hero-title{
    font-size: clamp(2rem, 6vw, 2.75rem);
    line-height: 1.2;
  }

  .img-init{
    max-width: 400px;
    justify-self: center;
  }

  .service-grid{
    grid-template-columns: minmax(0, 1fr);
  }

  .section-desc{
    font-size: 16px;
  }

  #contact .backgroundObj{
    display: none;
  }

  #footer{
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
}

@media (max-width: 560px){
  .hero-subtitle::before{
    display: none;
  }

  .section-header{
    margin: 40px auto 32px;
  }

  .section-title{
    margin-bottom: 28px;
  }

  .service-title{
    font-size: 20px;
  }

  .service-price{
    font-size: 20px;
  }

  #contact{
    padding: 48px 5%;
  }

  #contact form{
    padding: 32px 20px;
  }

  #contact form h2{
    font-size: 22px;
  }

  #social-midia h2{
    font-size: 18px;
  }
}

/* Libera altura util quando o celular esta na horizontal. */
@media (max-width: 1200px) and (max-height: 500px){
  header{
    position: relative;
  }

  #service, #contact{
    scroll-margin-top: 16px;
  }
}
