/* Paleta de cores Orion */
:root {
  --amarelo: #fee44f;
  --vermelho: #ff2e1a;
  --azul-escuro: #172560;
  --azul: #13589d;
  --azul-claro: #2da3db;
  --header-height: 120px;
  --header-height-scrolled: 80px;
}

* {
  font-family: 'Lato', sans-serif;
  box-sizing: border-box;
}

html,
body {

  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

main {
  border-top: 4px solid var(--amarelo);
  margin-top: var(--header-height);
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!
----------HEADER-------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition:
    height 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-bottom 0.3s ease;
  border-bottom: 3px solid var(--amarelo);
}


header.scrolled {
  height: var(--header-height-scrolled);
  background-color: #fff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  border-bottom: none;
}

.logo {
  width: 150px;
  height: auto;
  transition: width 0.3s ease;
}

header.scrolled .logo {
  width: 100px;
}

.header-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}

.logo-header,
.header-nav,
.login {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo-header {
  justify-content: flex-start;
}

.header-nav {
  justify-content: center;
}

.login {
  justify-content: flex-end;
}

.login i {
  padding: 10px;
  border-radius: 10px;
  color: #000;
  transition: background-color 0.2s ease-in-out;
}

.login i:hover {
  color: var(--amarelo);
  background-color: var(--azul-escuro);
}

.nav-bar {
  display: flex;
  gap: 10px;
}

.nav-bar a {
  padding: 8px;
  border-radius: 15px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.nav-bar a:hover {
  color: var(--amarelo);
  background-color: var(--azul-escuro);
}


/* Ícone hambúrguer */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.menu-toggle i {
  font-size: 28px;
  color: #000;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!
--------MENU ASIDE-----------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 220px;
  height: 100vh;
  background-color: #172560;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 60px 20px;
  transition: left 0.3s ease;
  z-index: 1050;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.side-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 18px;
  display: block;
}

.side-menu a:hover {
  color: var(--amarelo);
}

/* Ativa o aside */
.side-menu.open {
  left: 0;
}

.close-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.close-menu:hover {
  color: var(--amarelo);
}

.container {
  text-align: center;
}

.container h2 {
  all: unset;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!
-------INTRODUCTION---------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
.introduction {
  width: 100%;
  height: 270px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url('../img/droneHero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay {
  display: flex;
  text-align: center;
  color: white;
  padding: 15px;
}

.introduction h1 {
  all: unset;
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

.introduction button {
  font-weight: bold;
  padding: 15px;
  background-color: var(--amarelo);
  border-radius: 20px;
  border: none;
  margin-top: 10px;
  transition: background-color 0.3s ease-in-out;
}

.introduction button:hover {
  background-color: #b8a11f;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!
---------PORTFOLIO-----------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
.portfolio {
  background-color: #ffffff;
  padding: 32px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.portfolio .card-portfolio {
  min-width: 200px;
  max-width: 200px;
  min-height: 300px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 12px;

}

.portfolio .card-portfolio i {
  font-size: 70px;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!
----------SERVICES-----------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
.services {
  background: linear-gradient(to bottom, var(--azul-escuro) 0%, #2563eb 100%);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  position: relative;
  z-index: 1;
}

.content-services {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 32px;
  gap: 60px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out forwards;
  border-right: 2px solid #fff;

}

.service-slide {
  display: none;
  animation: fadeInUp 0.6s ease-out;
}

.service-slide.active {
  display: block;
}

.service-slide-title{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  gap: 10px;
}
.service-slide-title i{
  font-size: 32px;
  font-weight: bold;
  border-right: 2px solid #ccc;
  padding-right: 20px;
  margin: 0;
}

.services-image {
  flex: 1;
}



.services-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.services-image img:hover {
  transform: scale(1.03);
}

.services-text {
  text-align: center;
  flex: 1;
  color: white;
}


.services-text h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: bold;
  text-shadow: 1px 1px 4px #000;
}

.services-text h3 {
  font-size: 1.6rem;
  color: #ccc;
  
}

.services-text p {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.6;
  max-width: 600px;
}

.service-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: var(--amarelo);
  color: #111;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 228, 79, 0.4);
}

.service-button:hover {
  background-color: #fff46f;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 228, 79, 0.6);
}

#service-image {
    opacity: 1;
  transition: opacity 0.8s ease-in-out;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!
----------ABOUT--------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

.about {
  background: linear-gradient(to bottom, var(--azul) 0%, var(--azul-escuro) 100%);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  position: relative;
  z-index: 1;
}

.container-about {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 32px;
  gap: 60px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out forwards;
  border-left: 2px solid #fff;
}

.content-about {
  flex: 1;
  color: white;
  text-align: left;
}

.content-about h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: bold;
  text-shadow: 1px 1px 4px #000;
}

.content-about p {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.6;
  max-width: 600px;
}

.about-image {
  flex: 1;

}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!
----------CONTACT------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

.contact {
  background: linear-gradient(to bottom, #2563eb 0%, var(--azul-escuro) 100%);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  color: white;
  position: relative;
}

.container-contact {
  border-left: 2px solid white;
  display: flex;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 0 32px;
}

.content-contact {
  color: white;
  text-align: left;
  flex: 1;

}

.content-contact h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: bold;
  text-shadow: 1px 1px 4px #000;
}

.content-contact p {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.6;
  max-width: 600px;
}

.form-contact {
  background-color: #ffffff;
  padding: 40px 30px;
  flex: 1;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #f9fafb;
  color: #111827;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
  outline: none;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 100px;
}

.contact-form button {
  padding: 16px;
  background-color: #172560;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: #fee44f;
  color: #1a1a1a;
  transform: translateY(-1px);
}

footer {
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  border-top: 4px solid #ffdf2d;
  background-color: #ffffff;
  padding: 30px 60px;

}

.nav-bar-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.social-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.social-footer div {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.map-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

footer a {
  display: flex;
  text-decoration: none;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  transition: background-color ease-in-out 0.2s;
}

footer i {
  font-size: 25px;
}

footer a:hover {
  color: #ffdf2d;
  background-color: #172560;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  font-family: sans-serif;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* efeito scroll */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.msg-ajax {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeInOut 4s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.msg-ajax.sucesso {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.msg-ajax.erro {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

@media (max-width: 768px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* HEADER */
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    gap: 10px;
  }

  .nav-bar {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
  }

  /* PORTFOLIO */
  .portfolio {
    flex-direction: row;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .portfolio .card-portfolio {
    width: 30%;
    min-width: 150px;
    max-width: 220px;
  }

  /* ABOUT */
  .container-about {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    gap: 20px;
    border: none;
  }

  .content-about {
    width: 100%;
    max-width: 600px;
    padding: 0 16px;
  }

  .content-about h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .content-about p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .image-about {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .image-about img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
  }

  /* SERVICES */
  .content-services {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    gap: 20px;
    border: none;
  }

  .services-image {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .services-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
  }

  .services-text {
    width: 100%;
    max-width: 600px;
    padding: 0 16px;
    color: white;
  }

  .services-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .services-text h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .services-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
  }

  /* CONTACT */
  .container-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    gap: 20px;
    border: none;
  }

  .content-contact {
    width: 100%;
    max-width: 600px;
    padding: 0 16px;
  }

  .content-contact h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .content-contact p {
    font-size: 1rem;
    color: #dcdcdc;
  }

  .form-contact {
    width: 100%;
    max-width: 500px;
    padding: 24px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* FOOTER */
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 20px 16px;
  }

  .nav-bar-footer {
    display: none;
  }

  .logo-footer img {
    width: 120px;
    height: auto;
  }

  .social-footer div:first-child,
  .map-container div:first-child {
    margin-bottom: 6px;
  }

  .social-footer,
  .map-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .social-footer a {
    padding: 8px;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(20px);
  }
}

@keyframes floatX {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(20px);
  }
}