/* ===========================
   AVIANCA BRASIL VIRTUAL - CSS
   =========================== */

:root {
  --red: #d0021b;
  --red-hover: #b00018;
  --dark: #1a1a1a;
  --dark2: #222222;
  --dark3: #2a2a2a;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --gray: #888;
  --text: #333;
  --font-main: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.logo-avianca {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
  color: var(--white);
}

.logo-avianca .logo-img {
  height: calc(56px * 0.75);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(190, 30, 45, 0.3));
  transition: filter 0.25s ease, transform 0.2s ease;
}

.logo-avianca:hover {
  background: rgba(255, 255, 255, 0.05);
}

.logo-avianca:hover .logo-img {
  filter: drop-shadow(0 0 10px rgba(190, 30, 45, 0.55));
  transform: scale(1.03);
}

.logo-virtual {
  color: var(--red);
  font-weight: 700;
}

.btn-cadastro {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cadastro:hover {
  background: var(--red-hover);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(180,20,20,0.7) 0%, rgba(30,10,10,0.85) 60%, rgba(10,10,10,0.95) 100%),
    url('./src/img/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 24px;
  animation: fadeUp 0.9s ease both;
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  margin-bottom: 6px;
}

.hero-title-red {
  color: var(--red);
  display: block;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin: 18px 0 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.7);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: bounce 1.5s infinite;
}

/* ---- SHARED LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-label {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.label-red {
  color: var(--red);
}

.label-red-outline {
  color: var(--red);
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-desc.light {
  color: rgba(255,255,255,0.65);
}

/* ---- CARDS ---- */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.card h3 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.card-icon {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 14px;
}

.card-icon.red {
  color: var(--red);
}

.card-sm {
  padding: 22px 18px;
  text-align: center;
}

.card-dark {
  background: var(--dark3);
  border-color: rgba(255,255,255,0.07);
}

.card-dark h3 {
  color: var(--white);
  font-size: 0.85rem;
}

.card-dark p {
  color: rgba(255,255,255,0.5);
}

/* ---- SOBRE ---- */
.sobre {
  background: var(--light-bg);
}

/* ---- OPERAÇÕES ---- */
.operacoes {
  background: var(--dark);
  padding: 80px 0;
}

.operacoes .section-title {
  color: var(--white);
  text-align: left;
  margin-bottom: 40px;
}

.operacoes .section-label {
  text-align: left;
}

.operacoes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.op-group {
  margin-bottom: 32px;
}

.op-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.op-list, .op-list-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-list li, .op-list-check li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}

.op-list-check li {
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.85);
}

.red-dot {
  color: var(--red);
  font-size: 0.7rem;
}

.red-dim {
  color: rgba(200,0,0,0.7);
  font-size: 0.8rem;
}

.check {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---- TECNOLOGIA ---- */
.tecnologia {
  background: var(--white);
}

/* ---- FROTA ---- */
.frota {
  background: var(--light-bg);
}

.frota-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 2px solid #ddd;
}

.tab {
  background: transparent;
  border: none;
  padding: 12px 28px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.3px;
}

.tab:hover {
  color: var(--red);
}

.tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.frota-card {
  text-align: center;
  background: var(--white);
}

.frota-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 10px 18px;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.frota-card h3 {
  font-size: 1rem;
  text-align: center;
}

.frota-assentos {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 6px 0 12px;
  text-align: center;
}

.frota-link {
  color: var(--red);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.frota-link:hover {
  text-decoration: underline;
}

/* ---- EQUIPE ---- */
.equipe {
  background: var(--dark2);
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

.btn-large {
  padding: 15px 40px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.tagline {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin-top: 24px;
  font-style: italic;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 28px 24px;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer-small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  max-width: 600px;
  margin: 6px auto 0;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }

  .navbar {
    padding: 12px 20px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .frota-tabs {
    flex-direction: column;
    border-bottom: none;
    align-items: center;
    gap: 6px;
  }

  .tab {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .tab.active {
    border-color: var(--red);
    background: rgba(208,2,27,0.06);
    border-bottom-color: var(--red);
  }
}
