/* -------------------------------
   NVTEC AVIAÇÃO – Layout Técnico Responsivo
   Leve, profissional e fluido (Desktop + Mobile)
---------------------------------- */

:root {
  --cor-fundo: #f5f7fa;
  --cor-primaria: #0f1e2e;
  --cor-secundaria: #0077ff;
  --cor-destaque: #e8f1ff;
  --cor-texto: #1d1d1d;
  --cor-footer: #0d1724;
  --fonte-titulo: "Playfair Display", serif;
  --fonte-corpo: "Inter", Arial, sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.7;
  font-size: 17px;
}

/* Links */
a {
  color: var(--cor-secundaria);
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: #005ecc;
  text-decoration: underline;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header fixo */
header {
  background: linear-gradient(180deg, #0f1e2e 0%, #142f4d 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  flex-wrap: wrap;
}

header h1 a {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #fff;
  font-size: 16px;
  opacity: 0.85;
  position: relative;
}

nav a:hover {
  opacity: 1;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--cor-secundaria);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Main content */
main {
  padding: 60px 0;
}

/* Títulos */
h1, h2, h3 {
  font-family: var(--fonte-titulo);
  color: var(--cor-primaria);
}

h1 {
  font-size: 32px;
  margin-bottom: 25px;
  line-height: 1.3;
}

h2 {
  font-size: 23px;
  margin-top: 40px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 18px;
  color: #222;
}

ul {
  margin: 15px 0 25px 25px;
}

li {
  margin-bottom: 8px;
}

/* Section */
section {
  background: #fff;
  padding: 30px 35px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* CTA destacada */
.cta {
  background: var(--cor-destaque);
  border-left: 5px solid var(--cor-secundaria);
  padding: 25px 30px;
}

.cta h2 {
  margin-top: 0;
}

.cta a {
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--cor-footer);
  color: #ddd;
  text-align: center;
  padding: 45px 25px;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 60px;
}

footer a {
  color: #66b2ff;
  font-weight: 500;
}

footer a:hover {
  color: #99ccff;
}

/* Páginas internas - links inferiores */
main > p:last-of-type {
  text-align: center;
  margin-top: 40px;
  font-weight: 500;
}

/* Responsividade */
@media (max-width: 1024px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  section {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  header h1 a {
    font-size: 20px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 15px;
  }

  main {
    padding: 40px 0;
  }

  h1 {
    font-size: 25px;
  }

  section {
    padding: 20px;
  }

  footer {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  h1 {
    font-size: 22px;
  }

  section {
    padding: 18px;
  }

  footer {
    padding: 35px 15px;
  }
}
