* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
  background: white;
  border-bottom: 4px solid #244c73;
  position: relative;
}

.nav-left {
  justify-self: end;
  display: flex;
  gap: 15px;
  font-size: 24px;
}

.nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  font-size: 24px;
}

.logo {
  text-align: center;
}

.logo img {
  width: 290px;
  display: block;
  margin: 0 auto;
}

.logo h2 {
  font-size: 25px;
  color: #244c73;
}

.header a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 10px 10px;
  display: inline-flex;
  align-items: center;
}

.header a:hover {
  color: #244c73;
}

.header a.login-btn {
  margin-left: auto;
  border: 1px solid #244c73;
  border-radius: 3px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}

.header a.login-btn:hover {
  background: #244c73;
  border-color: #244c73;
  color: white !important;
}

/* ─── HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #244c73;
  border-radius: 2px;
  transition: 0.3s;
}

/* animação X ao abrir */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 2px solid #244c73;
  padding: 20px;
  gap: 5px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.mobile-menu a:hover {
  background: #f0f4fa;
  color: #244c73;
}

.mobile-menu .login-btn {
  margin-top: 10px;
  border: 1px solid #244c73;
  border-radius: 3px;
  text-align: center;
  padding: 10px;
  color: #244c73 !important;
}

.mobile-menu .login-btn:hover {
  background: #244c73 !important;
  color: white !important;
}

/* ─── BREAKPOINTS ────────────────────────────────────── */

/* Tablet grande / desktop pequeno */
@media (max-width: 1200px) {
  .nav-left,
  .nav-right {
    font-size: 18px;
    gap: 8px;
  }

  .logo img {
    width: 220px;
  }

  .logo h2 {
    font-size: 20px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    font-size: 14px;
    gap: 4px;
  }

  .logo img {
    width: 160px;
  }

  .logo h2 {
    font-size: 16px;
  }

  .header {
    padding: 15px 20px;
  }
}

/* Mobile — esconde nav e mostra hamburger */
@media (max-width: 700px) {
  .header {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .logo {
    grid-column: 1;
  }

  .logo img {
    width: 130px;
  }

  .logo h2 {
    font-size: 13px;
  }

  .hamburger {
    display: flex;
    grid-column: 2;
  }
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  height: 50vh;
  width: 100%;
  background: url('../assets/aviaoinicio.jpg') center/cover no-repeat;
  position: relative;
}

.hero h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  color: #244c73;
  font-size: 23px;
  background: rgba(255,255,255,0.7);
  padding: 20px;
  max-width: 670px;
  width: 90%;
  text-align: center;
  opacity: 0;
  animation: aparecer 1.2s ease forwards;
}

@keyframes aparecer {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 16px;
    padding: 14px;
  }
}

/* ─── VOAR ───────────────────────────────────────────── */
.voar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  background: white;
}

.voar-texto {
  width: 50%;
}

.voar-texto h2 {
  font-size: 46px;
  color: #244c73;
  margin-bottom: 20px;
}

.voar-texto p {
  font-size: 28px;
  margin-bottom: 20px;
  color: #444;
}

.voar-texto ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.voar-texto li {
  font-size: 27px;
  margin-bottom: 10px;
  transition: 0.3s;
  cursor: default;
}

.voar-texto li:hover {
  color: #244c73;
  transform: translateX(5px);
}

.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 24px 50px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: #244c73;
  transform: scale(1.05);
}

.voar-img {
  width: 50%;
  display: flex;
  justify-content: center;
}

.voar-img img {
  width: 583px;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .voar {
    flex-direction: column;
    padding: 40px 30px;
    gap: 30px;
  }

  .voar-texto,
  .voar-img {
    width: 100%;
  }

  .voar-texto h2 { font-size: 32px; }
  .voar-texto p  { font-size: 20px; }
  .voar-texto li { font-size: 18px; }

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

  .btn-whatsapp {
    padding: 16px 30px;
    width: 100%;
    text-align: center;
  }
}

/* ─── CURSOS ─────────────────────────────────────────── */
.cursos {
  padding: 60px 80px;
  background: #f5f5f5;
  text-align: center;
}

.titulo-cursos {
  font-size: 32px;
  color: #244c73;
}

.sub-cursos {
  margin-bottom: 40px;
  color: #666;
}

.grid-cursos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 900px) {
  .cursos { padding: 40px 20px; }
  .grid-cursos { grid-template-columns: repeat(2, 1fr); }
}

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

.card-curso {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card-curso:hover {
  transform: translateY(-5px);
}

.card-curso img {
  width: 100%;
  height: 253px;
  object-fit: cover;
}

.card-curso h3 {
  font-size: 16px;
  margin: 10px;
  color: #244c73;
}

.card-curso p {
  font-size: 13px;
  color: #666;
}

.card-curso a {
  display: inline-block;
  margin: 15px;
  padding: 8px 15px;
  background: #244c73;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.card-curso a:hover {
  background: #1a3552;
}

/* ─── FAIXA CONTATO ──────────────────────────────────── */
.faixa-contato {
  width: 100%;
  height: 110px;
  background: #244c73;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  padding: 20px;
}

.faixa-texto { color: white; }
.texto-menor { font-size: 14px; margin-bottom: 5px; }
.texto-maior { font-size: 28px; font-weight: bold; }

@media (max-width: 600px) {
  .faixa-contato { height: auto; padding: 24px 20px; }
  .texto-maior { font-size: 20px; }
}

/* ─── MAPA ───────────────────────────────────────────── */
.linha-mapa {
  width: 100%;
  height: 6px;
  background: #5fa8d3;
}

.mapa { width: 100%; margin: 0; }

.mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: white;
  color: #222;
  padding: 40px 80px;
  border-top: 2px solid #eee;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo img { width: 450px; }

.footer-contato,
.footer-atendimento {
  max-width: 300px;
}

.footer h1 {
  font-size: 28px;
  color: #244c73;
  margin-bottom: 10px;
}

.footer p {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #222;
}

.footer a {
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover { color: #1ebe5d; }

@media (max-width: 900px) {
  .footer {
    padding: 40px 30px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-logo img { width: 200px; }
  .footer h1 { font-size: 20px; }
  .footer p  { font-size: 15px; }
}

/* ─── COPYRIGHT ──────────────────────────────────────── */
.copyright {
  background: linear-gradient(90deg, #244c73 0%, #4f86c6 40%, #ffffff 100%);
  padding: 20px 80px;
  border-top: 1px solid #eee;
}

.copyright-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright-logo img { width: 120px; }

.copyright-texto {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #222;
}

@media (max-width: 600px) {
  .copyright {
    padding: 20px;
    background: #244c73;
  }

  .copyright-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .copyright-texto { color: white; }
}