/* ================= ESTILO DRONE (Sincronizado com Home) ================= */

/* --- 1. HERO SECTION (CAPA) --- */
.heroDrone {
  background: url("../galeria/bannerDrone.jpg") no-repeat;
  background-position: center 20%;
  background-size: cover;
  background-attachment: scroll;
  margin-top: 90px;
  height: calc(100vh - 90px);
  min-height: 500px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.overlayDrone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(22, 37, 55, 0.1) 0%,
    rgba(22, 37, 55, 0.9) 70%,
    rgba(22, 37, 55, 1) 100%
  );
  z-index: 0;
}

.contentHeroDrone {
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 2;
  text-align: right;
}

.contentHeroDrone h5 {
  color: #ff590e !important;
  font-family: "Poppins Semibold";
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-size: 1em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 100%;
}

.contentHeroDrone h1 {
  color: #ffffff !important;
  font-size: 2.8em;
  font-family: "Poppins Bold";
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 100%;
}

.contentHeroDrone span.textOn {
  color: #ff590e !important;
}

.contentHeroDrone p {
  color: #e0e0e0 !important;
  font-size: 1.2em;
  font-weight: 300;
  margin-bottom: 35px;
  line-height: 1.5;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 100%;
}

.btnDrone {
  background: #ff590e;
  color: #ffffff;
  padding: 12px 35px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95em;
  transition: 0.3s;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: auto;
}

.btnDrone:hover {
  background: #ffffff;
  color: #ff590e;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(22, 101, 193, 0.4);
}

/* --- 2. SEÇÃO DIFERENCIAIS --- */
.diferenciaisDrone {
  padding: 80px 0;
  border-bottom: 1px solid #eee;
}

.containerDrone {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.headerSection {
  text-align: center;
  margin-bottom: 60px;
}

.subtituloDrone,
.subtituloDroneClaro {
  font-size: 1.1em;
  margin-top: -30px;
}
.subtituloDrone {
  color: #666;
}
.subtituloDroneClaro {
  color: #ccc;
}

.gridDiferenciais {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cardDif {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.cardDif:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(22, 101, 193, 0.1);
  border-left: 4px solid #ff590e;
}

.iconDif {
  font-size: 2.5em;
  color: #ff590e;
  min-width: 50px;
}

.textDif h3 {
  font-family: "Poppins Bold";
  color: #162537;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.textDif p {
  font-size: 0.9em;
  color: #666;
  line-height: 1.6;
}

/* --- 3. SEÇÃO SOLUÇÕES --- */
.solucoesDrone {
  padding: 80px 0;
}

.gridSolucoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.cardSolucao {
  background: #0d1621;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.cardSolucao:hover {
  border-color: #1665c1;
  transform: translateY(-5px);
}

.imgSolucao {
  height: 200px;
  width: 100%;
  background-color: #333;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlaySolucao {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 37, 55, 0.6);
  transition: 0.3s;
}

.cardSolucao:hover .overlaySolucao {
  background: rgba(255, 89, 14, 0.7);
}

.imgSolucao i {
  position: relative;
  z-index: 2;
  font-size: 3em;
  color: #fff;
}

.contentSolucao {
  padding: 30px;
}

.contentSolucao h3 {
  color: #fff;
  font-family: "Poppins Bold";
  font-size: 1.3em;
  margin-bottom: 15px;
}

.contentSolucao p {
  color: #ccc;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.listaCheck li {
  color: #ff590e;
  font-size: 0.9em;
  margin-bottom: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- 4. PORTFÓLIO E VÍDEOS (DESKTOP) --- */
.portfolioDrone {
  padding: 80px 0;
}

.carousel-wrapper {
  position: relative;
  margin-bottom: 60px;
}

/* Notebook: 2 Lado a Lado */
.gridVideos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Notebook: 3 Lado a Lado */
.gridShorts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.videoCard {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.videoCard:hover {
  transform: translateY(-5px);
  border-color: #ff590e;
}

.videoWrapper,
.videoWrapperShort {
  position: relative;
  height: 0;
  overflow: hidden;
  background: #000;
}

.videoWrapper {
  padding-bottom: 56.25%;
} /* 16:9 */
.videoWrapperShort {
  padding-bottom: 177.77%;
  border-radius: 10px;
} /* 9:16 */

.videoWrapper iframe,
.videoWrapperShort iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videoInfo {
  padding: 20px;
  text-align: center;
}
.videoInfo h3 {
  color: #162537;
  font-size: 1.2em;
  margin-bottom: 5px;
  font-family: "Poppins Bold";
}
.videoInfo p {
  color: #ff590e;
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
}

.shortCard {
  width: 100%;
  max-width: 250px;
}

/* Setas - Escondidas por padrão (Desktop) */
.nav-arrow {
  display: none;
}

/* --- 5. CTA FINAL --- */
.ctaDrone {
  background: #ff590e;
  padding: 60px 20px;
  text-align: center;
}

.ctaDrone h2 {
  color: #ffffff;
  font-size: 2.5em;
  margin-bottom: 10px;
  font-family: "Poppins Bold";
}

.ctaDrone p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btnDecolar {
  background: #ffffff;
  color: #ff590e;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1em;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btnDecolar:hover {
  background: #162537;
  color: #ffffff;
  transform: scale(1.05);
}

/* --- 6. RESPONSIVIDADE (MOBILE) --- */

/* Tablets e telas médias */
@media (max-width: 1024px) {
  .heroDrone {
    min-height: 450px;
  }

  .contentHeroDrone h1 {
    font-size: 2.4em;
  }

  .contentHeroDrone p {
    font-size: 1.1em;
  }

  .diferenciaisDrone,
  .solucoesDrone,
  .portfolioDrone {
    padding: 60px 0;
  }

  .headerSection {
    margin-bottom: 50px;
  }

  .gridVideos {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  /* Hero */
  .heroDrone {
    min-height: 400px;
  }

  .contentHeroDrone h5 {
    font-size: 0.9em;
    letter-spacing: 2px;
  }

  .contentHeroDrone h1 {
    font-size: 2em;
  }

  .contentHeroDrone p {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .btnDrone {
    padding: 10px 30px;
    font-size: 0.9em;
  }

  /* Seções */
  .diferenciaisDrone,
  .solucoesDrone,
  .portfolioDrone {
    padding: 50px 0;
  }

  .containerDrone {
    padding: 0 20px;
  }

  .headerSection {
    margin-bottom: 40px;
  }

  .subtituloDrone,
  .subtituloDroneClaro {
    font-size: 1em;
    margin-top: -20px;
  }

  /* Diferenciais */
  .cardDif {
    min-width: 280px;
    padding: 25px;
  }

  .iconDif {
    font-size: 2em;
  }

  .textDif h3 {
    font-size: 1em;
  }

  .textDif p {
    font-size: 0.85em;
  }

  /* Soluções */
  .gridSolucoes {
    gap: 30px;
  }

  .imgSolucao {
    height: 180px;
  }

  .contentSolucao {
    padding: 25px;
  }

  .contentSolucao h3 {
    font-size: 1.2em;
  }

  /* Vídeos */
  .gridVideos {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .gridShorts {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* CTA */
  .ctaDrone h2 {
    font-size: 2em;
  }

  .ctaDrone p {
    font-size: 1.1em;
  }

  .btnDecolar {
    padding: 12px 35px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* Hero centralizado */
  .heroDrone {
    margin-top: 70px;
    height: calc(100vh - 70px);
    min-height: 400px;
    justify-content: center;
    align-items: center;
    background-position: 18% center;
  }

  .overlayDrone {
    background: rgba(22, 37, 55, 0.85);
  }

  .contentHeroDrone {
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  .contentHeroDrone h5,
  .contentHeroDrone h1,
  .contentHeroDrone p {
    max-width: 100%;
  }

  .contentHeroDrone h5 {
    font-size: 0.85em;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
  }

  .contentHeroDrone h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .contentHeroDrone p {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .btnDrone {
    padding: 10px 25px;
    font-size: 0.85em;
  }

  /* Seções */
  .diferenciaisDrone,
  .solucoesDrone,
  .portfolioDrone {
    padding: 40px 0;
  }

  .containerDrone {
    padding: 0 15px;
  }

  .headerSection {
    margin-bottom: 30px;
  }

  .subtituloDrone,
  .subtituloDroneClaro {
    font-size: 0.95em;
    margin-top: -15px;
  }

  /* Diferenciais */
  .gridDiferenciais {
    gap: 20px;
  }

  .cardDif {
    min-width: auto;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .iconDif {
    font-size: 2.5em;
    margin-bottom: 10px;
  }

  .textDif h3 {
    font-size: 1.05em;
  }

  /* Soluções */
  .gridSolucoes {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .imgSolucao {
    height: 160px;
  }

  .imgSolucao i {
    font-size: 2.5em;
  }

  .contentSolucao {
    padding: 20px;
  }

  .contentSolucao h3 {
    font-size: 1.1em;
  }

  .contentSolucao p {
    font-size: 0.9em;
  }

  .listaCheck li {
    font-size: 0.85em;
  }

  /* Portfólio - Carrossel Mobile */
  .gridVideos,
  .gridShorts {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 20px 5%;
    scrollbar-width: none;
  }

  .gridVideos::-webkit-scrollbar,
  .gridShorts::-webkit-scrollbar {
    display: none;
  }

  .videoCard {
    flex: 0 0 90% !important;
    min-width: 90% !important;
    scroll-snap-align: center;
  }

  .shortCard {
    flex: 0 0 70% !important;
    max-width: 280px;
    scroll-snap-align: center;
  }

  .videoInfo {
    padding: 15px;
  }

  .videoInfo h3 {
    font-size: 1.05em;
  }

  .videoInfo p {
    font-size: 0.85em;
  }

  /* Setas do Carrossel */
  .nav-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 89, 14, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }

  /* CTA */
  .ctaDrone {
    padding: 40px 15px;
  }

  .ctaDrone h2 {
    font-size: 1.6em;
    margin-bottom: 8px;
  }

  .ctaDrone p {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .btnDecolar {
    padding: 12px 30px;
    font-size: 0.95em;
  }
}

@media (max-width: 600px) {
  /* Hero */
  .contentHeroDrone h5 {
    font-size: 0.8em;
  }

  .contentHeroDrone h1 {
    font-size: 1.5em;
  }

  .contentHeroDrone p {
    font-size: 0.9em;
  }

  .btnDrone {
    padding: 8px 20px;
    font-size: 0.8em;
  }

  /* Seções */
  .diferenciaisDrone,
  .solucoesDrone,
  .portfolioDrone {
    padding: 30px 0;
  }

  .subtituloDrone,
  .subtituloDroneClaro {
    font-size: 0.9em;
  }

  /* Diferenciais */
  .cardDif {
    padding: 18px;
  }

  .iconDif {
    font-size: 2.2em;
  }

  .textDif h3 {
    font-size: 1em;
  }

  .textDif p {
    font-size: 0.8em;
  }

  /* Soluções */
  .imgSolucao {
    height: 150px;
  }

  .imgSolucao i {
    font-size: 2.2em;
  }

  .contentSolucao {
    padding: 18px;
  }

  .contentSolucao h3 {
    font-size: 1.05em;
  }

  .contentSolucao p {
    font-size: 0.85em;
  }

  .listaCheck li {
    font-size: 0.8em;
  }

  /* Vídeos */
  .videoInfo {
    padding: 12px;
  }

  .videoInfo h3 {
    font-size: 1em;
  }

  .videoInfo p {
    font-size: 0.8em;
  }

  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 0.9em;
  }

  /* CTA */
  .ctaDrone h2 {
    font-size: 1.4em;
  }

  .ctaDrone p {
    font-size: 0.95em;
  }

  .btnDecolar {
    padding: 10px 25px;
    font-size: 0.9em;
  }
}

/* Telas muito pequenas */
@media (max-width: 400px) {
  .contentHeroDrone h1 {
    font-size: 1.3em;
  }

  .contentHeroDrone p {
    font-size: 0.85em;
  }

  .btnDrone {
    padding: 8px 18px;
    font-size: 0.75em;
  }

  .cardDif {
    padding: 15px;
  }

  .iconDif {
    font-size: 2em;
  }

  .imgSolucao {
    height: 130px;
  }

  .nav-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85em;
  }

  .ctaDrone h2 {
    font-size: 1.2em;
  }

  .ctaDrone p {
    font-size: 0.9em;
  }

  .btnDecolar {
    padding: 10px 20px;
    font-size: 0.85em;
  }
}
