/*
Theme Name: DMM Voos Theme
Description: Tema personalizado para DMM Voos
Author: Antigravity
Version: 1.0
*/

:root {
  --bg: #061c36;
  --bg-deep: #031121;
  --surface: #0f2f54;
  --surface-soft: #143f70;
  --text: #eef5ff;
  --muted: #b9cee7;
  --brand: #1fb7ff;
  --brand-2: #00e4c6;
  --card: #0b2a4a;
  --card-border: rgba(171, 209, 255, 0.2);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 0% -10%, #124a88, transparent 65%),
    radial-gradient(900px 500px at 100% 0%, #0d3560, transparent 60%),
    var(--bg-deep);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(3, 17, 33, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  width: 110px;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.menu a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #01223f;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(31, 183, 255, 0.35);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    linear-gradient(120deg, rgba(2, 18, 37, 0.78), rgba(3, 19, 40, 0.45)),
    url("https://images.pexels.com/photos/358220/pexels-photo-358220.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 20% 10%, rgba(31, 183, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-logo {
  width: 130px;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ed7ff;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.15;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

.hero-subtitle {
  max-width: 58ch;
  color: #dbedff;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.split {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split-reverse .safety-copy {
  order: 2;
}

.split-reverse .safety-image-wrap {
  order: 1;
}

.about-image,
.safety-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
}

.about-copy p,
.safety-copy p {
  color: var(--muted);
}

.benefits-grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.service-card {
  background: linear-gradient(170deg, rgba(13, 47, 84, 0.92), rgba(6, 31, 57, 0.92));
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--card-border);
}

.benefit-card p {
  color: var(--muted);
  margin: 0;
}

.plane-strip {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.plane-strip img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.service-card {
  text-align: center;
  font-weight: 700;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-foot {
  max-width: 72ch;
  color: var(--muted);
}

.section-metrics {
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(0, 228, 198, 0.13), transparent 70%),
    radial-gradient(700px 260px at 90% 0%, rgba(31, 183, 255, 0.2), transparent 70%),
    rgba(5, 23, 43, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metrics-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(160, 209, 255, 0.28);
  background: linear-gradient(160deg, rgba(15, 53, 93, 0.95), rgba(8, 31, 56, 0.95));
  box-shadow: var(--shadow);
}

.metric-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(31, 183, 255, 0.35), transparent 68%);
  pointer-events: none;
}

.metric-kicker {
  margin: 0 0 12px;
  color: #9dd7ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-value {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-prefix {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #8be9db;
}

.js-counter {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #f2fbff;
  text-shadow: 0 0 22px rgba(31, 183, 255, 0.4);
}

.metric-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.reviews-embed-box {
  margin-top: 24px;
  border: 1px dashed rgba(173, 213, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(15, 47, 84, 0.45);
  padding: 20px;
}

.reviews-placeholder {
  min-height: 160px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
}

.trustindex-note {
  margin-top: 16px;
  color: #9cc6e8;
  font-size: 0.95rem;
}

.section-cta {
  background:
    linear-gradient(120deg, rgba(9, 35, 64, 0.88), rgba(7, 28, 52, 0.88)),
    url("https://images.pexels.com/photos/62623/wing-plane-flying-airplane-62623.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover no-repeat;
}

.cta-inner {
  text-align: center;
}

.cta-logo {
  margin: 0 auto 16px;
  width: 110px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  width: 92px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.footer-legal p {
  margin: 2px 0;
}

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

.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .menu {
    display: none;
  }

  .split,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .metrics-board {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .topbar-inner {
    min-height: 72px;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Estilos para Ícones Sociais e Trustindex */
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  color: #ffffff !important;
  fill: #ffffff !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff !important;
}

/* Ocultar botão de avaliação do Trustindex */
.ti-header-write-btn, 
.ti-footer-write-btn,
.trustindex-no-registration .ti-header-write-btn {
  display: none !important;
}
