/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
/* ================= FOOTER NAV PREMIUM ================= */
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

/* BOTÕES ESTILO CARD */
.footer-item {
  padding: 10px 18px;
  background: #1c1c1e;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* HOVER PREMIUM */
.footer-item:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
  border: 1px solid #ffffff;
}

/* EFEITO ATIVO (opcional) */
.footer-item:active {
  transform: scale(0.98);
}

/* ================= HERO PREMIUM ================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* VÍDEO DE FUNDO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* OVERLAY ESCURO */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* CONTEÚDO */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero h2 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 30px;
}

/* ================= BOTÕES HERO (PADRÃO OUTLINE PREMIUM) ================= */

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* BASE */
.btn-primary,
.btn-secondary,
.btn-outline {
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-block;

  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* HOVER UNIFICADO */
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* CLIQUE */
.btn-primary:active,
.btn-secondary:active,
.btn-outline:active {
  transform: scale(0.98);
}
/* HEADER AO ROLAR */
.header.scrolled {
  background: rgba(15, 15, 16, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

/* ANIMAÇÃO DE ENTRADA */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}
body {
  font-family: 'Inter', sans-serif;
  background: #0f0f10;
  color: #fff;
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= HEADER ================= */

/* ==========================================
   MENU HAMBURGUER - GRUPO AERO
========================================== */

/* BOTÃO */

.menu-toggle {
    width: 46px;
    height: 46px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;

    cursor: pointer;
    z-index: 1102;
    position: relative;

    transition: border-color 0.3s ease,
                background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(138,200,237,0.08);
    border-color: #8ac8ed;
}

/* TRÊS LINHAS */

.menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;

    background: #ffffff;
    border-radius: 5px;

    transition:
        transform 0.45s cubic-bezier(.68,-0.55,.27,1.55),
        opacity 0.25s ease,
        width 0.3s ease;
}

/* TRANSFORMAÇÃO EM X */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* PAINEL DO MENU */

.aero-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 5%;

    width: 280px;
    padding: 12px;

    display: flex;
    flex-direction: column;
    gap: 5px;

    background: rgba(18, 21, 25, 0.98);
    border: 1px solid rgba(138,200,237,0.18);
    border-radius: 12px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-12px) scale(0.97);
    transform-origin: top right;

    transition:
        opacity 0.3s ease,
        transform 0.35s ease,
        visibility 0.35s;
}

/* MENU ABERTO */

.aero-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}

/* OPÇÕES */

.aero-menu a {
    display: block;
    padding: 13px 16px;

    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    border-radius: 7px;

    opacity: 0;
    transform: translateX(15px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        background 0.25s ease,
        color 0.25s ease;
}

/* ENTRADA SEQUENCIAL */

.aero-menu.open a {
    opacity: 1;
    transform: translateX(0);
}

.aero-menu.open a:nth-child(1) {
    transition-delay: 0.08s;
}

.aero-menu.open a:nth-child(2) {
    transition-delay: 0.15s;
}

.aero-menu.open a:nth-child(3) {
    transition-delay: 0.22s;
}

.aero-menu.open a:nth-child(4) {
    transition-delay: 0.29s;
}

/* HOVER DAS OPÇÕES */

.aero-menu a:hover {
    background: rgba(138,200,237,0.12);
    color: #8ac8ed;
    padding-left: 21px;
}

/* RESPONSIVIDADE */

@media (max-width: 768px) {

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .aero-menu {
        right: 5%;
        width: min(280px, 90vw);
    }

}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    .menu-toggle span,
    .aero-menu,
    .aero-menu a {
        transition-duration: 0.01ms;
    }

}


.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;

  /* 🔥 degradê leve apenas no topo */
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 16, 0.85) 0%,
    rgba(15, 15, 16, 0.55) 60%,
    rgba(15, 15, 16, 0) 100%
  );

  transition: all 0.3s ease;
}

/* quando rolar */
.header.scrolled {
  background: rgba(15, 15, 16, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

.btn-nav {
  padding: 8px 16px;
  background: #ffffff;
  color: #000 !important;
  border-radius: 4px;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: #111;
  padding-top: 80px;
}

.hero-content {
  max-width: 700px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 30px;
}

.hero-buttons a {
  margin-right: 15px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-secondary {
  border: 1px solid #fff;
  color: #fff;
}

/* ================= SECTIONS ================= */
.section {
  padding: 100px 0;
}

.section.dark {
  background: #151517;
}

.section-title {
  font-size: 32px;
  margin-bottom: 30px;
}

.section-text {
  max-width: 800px;
  opacity: 0.8;
}

/* ================= CARDS ================= */
.cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.card {
  flex: 1;
  background: #1c1c1e;
  padding: 20px;
  border-radius: 8px;
}

/* Remove o estilo padrão dos links das empresas */
.empresa-link {
    color: inherit;
    text-decoration: none;
}

/* Mantém a cor original dos textos dentro dos cards */
.empresa-link .empresa-text {
    color: inherit;
    text-decoration: none;
}



/* ================= GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-item {
  background: #1c1c1e;
  padding: 20px;
  border-radius: 8px;
}
/* ================= EMPRESAS GRID ================= */
.empresas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

/* CARD BASE */
.empresa-card {
  background: #1c1c1e;
  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

/* HOVER PREMIUM */
.empresa-card:hover {
  transform: translateY(-10px);
  background: #222225;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.15);
}

/* LOGO */
.empresa-logo {
  width: 140px;
  height: auto;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

/* efeito no hover */
.empresa-card:hover .empresa-logo {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* TEXTO */
.empresa-text {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}

/* ANIMAÇÃO DE ENTRADA */
.empresa-card {
  background: #1c1c1e;
  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= PORTFOLIO ================= */

.portfolio {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.project {
    overflow: hidden;
    border-radius: 14px;
    background: #17191d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project h3 {
    margin: 0;
    padding: 18px 16px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

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

@media (max-width: 520px) {
    .portfolio {
        grid-template-columns: 1fr;
    }
}


/* ================= FORM ================= */
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
}

input, textarea {
  padding: 12px;
  border: none;
  border-radius: 4px;
}

button {
  padding: 12px;
  background: #fff;
  border: none;
  cursor: pointer;
}

/* ================= FOOTER ================= */

.footer {
  padding: 35px 0;
  background: #111418;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

/* LADO ESQUERDO */

.footer-left {
  display: flex;
  justify-content: flex-start;
}

.footer-payment-button {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #8ac8ed;
  border-radius: 8px;
  color: #8ac8ed;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-payment-button:hover {
  background: #8ac8ed;
  color: #111418;
  transform: translateY(-2px);
}

/* CENTRO */

.footer-center {
  text-align: center;
  color: #ffffff;
  opacity: 0.65;
}

.footer-center p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.6;
}

/* LADO DIREITO */

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-right h4 {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.footer-flags {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {
  .footer-layout {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }

  .footer-center {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-left {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-right {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 520px) {
  .footer-layout {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    align-items: center;
  }

  .footer-center {
    order: 3;
  }

  .footer-flags {
    width: 240px;
  }

  .footer-center p {
    font-size: 12px;
  }
}


/* ================= CONTATO ================= */
.contato-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
}

.contato-formulario,
.contato-whatsapp {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: #17191d;
}

.contato-whatsapp {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contato-formulario form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contato-formulario input,
.contato-formulario textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #3a3d43;
    border-radius: 8px;
    background: #202329;
    color: #fff;
    font: inherit;
    box-sizing: border-box;
}

.contato-formulario textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 20px;
    padding: 14px 24px;
    border-radius: 10px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.22);
}

@media (max-width: 768px) {
    .contato-layout {
        grid-template-columns: 1fr;
    }

    .contato-formulario,
    .contato-whatsapp {
        padding: 24px;
    }
}

/* ================= AÇÃO NA LOGO ================= */
.logo-link {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.logo-img {
    display: block;
}

/* ==========================================
   RESPONSIVIDADE GERAL - GRUPO AERO
========================================== */

/* TABLETS */
@media (max-width: 900px) {

    .container {
        width: 92%;
    }

    .empresas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .cards {
        flex-wrap: wrap;
    }

    .card {
        flex: 1 1 calc(50% - 20px);
    }

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

    .hero h2 {
        font-size: 42px;
    }

    .section {
        padding: 75px 0;
    }
}


/* CELULARES */
@media (max-width: 600px) {

    /* ESTRUTURA GERAL */

    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        width: 90%;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 22px;
    }

    .section-text {
        font-size: 15px;
        line-height: 1.7;
    }


    /* CABEÇALHO */

    .header {
        padding: 10px 0;
    }

    .header-content {
        justify-content: space-between;
        gap: 10px;
    }

    .logo-img {
        height: 45px;
        max-width: 150px;
        object-fit: contain;
    }

    .footer-nav {
        display: none;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .aero-menu {
        right: 5%;
        width: min(300px, 90vw);
        max-height: 75vh;
        overflow-y: auto;
    }

    .menu-divider {
        height: 1px;
        background: rgba(255,255,255,0.12);
        margin: 6px 4px;
    }


    /* HERO */

    .hero {
        min-height: 100svh;
        height: auto;
        padding-top: 110px;
        padding-bottom: 65px;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h2 {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons a {
        display: block;
        width: 100%;
        margin-right: 0;
        padding: 13px 16px;
        text-align: center;
        font-size: 14px;
    }


    /* SOBRE */

    .cards {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .card {
        width: 100%;
        flex: 1 1 auto;
        padding: 22px;
    }


    /* EMPRESAS */

    .empresas-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
    }

    .empresa-card {
        padding: 25px 20px;
    }

    .empresa-logo {
        max-width: 160px;
        width: 70%;
    }

    .empresa-text {
        font-size: 14px;
    }


    /* SOLUÇÕES */

    .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .grid-item {
        padding: 22px;
    }


    /* PROJETOS */

    .portfolio {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project h3 {
        font-size: 16px;
        padding: 15px;
    }


    /* CONTATO */

    .contato {
        padding: 60px 0;
    }

    .contato h2 {
        font-size: 26px;
        line-height: 1.25;
    }

    .contato > .container > p {
        font-size: 15px;
    }

    .contato-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 25px;
    }

    .contato-formulario,
    .contato-whatsapp {
        padding: 20px;
        border-radius: 14px;
        min-width: 0;
    }

    .contato-formulario h3,
    .contato-whatsapp h3 {
        font-size: 18px;
    }

    .btn-whatsapp {
        width: 100%;
        align-self: stretch;
        text-align: center;
    }


    /* RODAPÉ */

    .footer {
        padding: 30px 0;
    }

    .footer-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
        align-items: center;
    }

    .footer-right {
        width: 100%;
    }

    .footer-flags {
        width: min(240px, 85%);
    }

    .footer-center {
        order: 3;
    }

    .footer-center p {
        font-size: 12px;
        line-height: 1.6;
    }

}


/* CELULARES MUITO ESTREITOS */

@media (max-width: 360px) {

    .hero h2 {
        font-size: 29px;
    }

    .section-title {
        font-size: 23px;
    }

    .contato-formulario,
    .contato-whatsapp {
        padding: 16px;
    }

}


/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

}
