/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

:root {
  --blue-50: #eaedf4;
  --blue-100: #c9d2e4;
  --blue-200: #a3b3d1;
  --blue-300: #7d94bf;
  --blue-400: #5c77a9;
  --blue-600: #274577;
  --blue-700: #1f3663;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --green-500: #22c55e;
  --green-100: #dcfce7;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 901px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .feature-card {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Mantém apenas o hover natural com mouse em Desktop */
  .feature-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    transform: scale(1.05) !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Utility ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 0.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.logo-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--blue-600);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 50%, #fafbff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 20% 50%, rgba(45, 79, 139, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 80% 30%, rgba(45, 79, 139, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  padding: 150px 24px 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 1fr 6fr;
}

.hero-left {
  text-align: left;
}

.hero-spacer {
  width: 100%;
}

.hero-right {
  position: relative;
}

.hero-visual {
  position: relative;
  overflow: visible;
  height: 100%;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 58%;
  margin-left: -60%;
  width: 120%;
  height: calc(100% + 120px);
  object-fit: contain;
  object-position: bottom center;
  animation: hero-in 0.5s ease-out both;
  animation-delay: 0.3s;
}

@media (max-height: 850px) {
  .hero .container {
    padding: 110px 24px 80px;
  }

  .hero-video {
    height: calc(100% + 80px);
  }
}

@media (max-height: 730px) {
  .hero .container {
    padding: 90px 24px 60px;
  }

  .hero-video {
    height: calc(100% + 60px);
  }
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: hero-in 0.5s ease-out both;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gray-900), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-in 0.5s ease-out both;
  animation-delay: 0.1s;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
  text-wrap: pretty;
  text-align: justify;
  animation: hero-in 0.5s ease-out both;
  animation-delay: 0.2s;
}

.hero-left .btn-lg {
  animation: hero-in 0.5s ease-out both;
  animation-delay: 0.3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 4px 12px rgba(38, 66, 119, 0.4);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.hero-actions .btn-primary svg {
  animation: arrow-bounce 2s infinite;
}

@keyframes arrow-bounce {
  0% {
    transform: translateX(0);
    animation-timing-function: ease-in-out;
  }

  50% {
    transform: translateX(10px);
    animation-timing-function: ease-in-out;
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

.btn-dark {
  background: var(--gray-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--gray-800);
}

.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border: 2px solid var(--blue-200);
}

.btn-outline:hover {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  animation: hero-in 0.7s ease-out both;
  animation-delay: 0.35s;
}

.hero-web {
  margin-top: 32px;
  display: flex;
  width: 100%;
  max-width: 656px;
  animation: hero-in 0.7s ease-out both;
  animation-delay: 0.55s;
}

.hero-web .btn-outline {
  width: 100%;
  padding: 12px 28px;
  white-space: nowrap;
  justify-content: flex-start;
  background: var(--gray-300);
  border-color: var(--gray-300);
  color: #fff;
  font-weight: 400;
}

.hero-web .btn-outline strong {
  font-weight: 600;
}

.hero-web-arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.hero-web .btn-outline:hover .hero-web-arrow {
  transform: translateX(6px);
}

.hero-web .btn-outline svg,
.hero-web .btn-outline strong {
  color: var(--gray-500);
}

.hero-web .btn-outline small {
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-bottom: -0.3rem;
}

.hero-web .btn-outline:hover {
  background: var(--gray-500);
  border-color: var(--gray-500);
  color: #fff;
}

.hero-web .btn-outline:hover svg,
.hero-web .btn-outline:hover strong,
.hero-web .btn-outline:hover small {
  color: var(--gray-100);
}

.download .btn-dark:hover {
  background: var(--blue-600);
}

.download .btn-dark:hover svg {
  fill: #fff;
}

.download .btn-dark:hover div small,
.download .btn-dark:hover div strong {
  color: #fff;
}

/* ===== Hero Badges ===== */
.hero-badges {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: hero-in 0.7s ease-out both;
  animation-delay: 0.45s;
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex: 1 1 0;
  max-width: 320px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.info-badge:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
}

.info-badge.disabled {
  border-color: var(--gray-200);
  box-shadow: none;
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

.info-badge.disabled:hover {
  border-color: var(--gray-200);
  box-shadow: none;
  opacity: 0.55;
}

.info-badge.disabled .info-badge-icon {
  background: var(--gray-100);
  color: var(--gray-400);
}

.info-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-badge-icon.green {
  background: var(--green-100);
  color: var(--green-500);
}

.info-badge-icon.gray {
  background: var(--gray-100);
  color: var(--gray-400);
}

.info-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
  text-align: left;
}

.info-badge small {
  font-size: 0.9rem;
  color: var(--gray-500);
  display: block;
  text-align: left;
}

/* ===== Features ===== */
.features-scroll {
  text-align: center;
  perspective: 800px;
  opacity: 0;
}

.features {
  padding: 100px 0;
}

.features h2,
.download h2,
.faq h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin: 30px 0 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 56px;
  margin-top: 50px;
}

.features-carousel {
  position: relative;
}

.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-900);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 79, 139, 0.35);
}

.carousel-btn:disabled {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-400);
  box-shadow: none;
  cursor: default;
}

.features-carousel {
  overflow: visible;
}

.features-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-left: max(24px, calc((100vw - 1400px) / 2 + 24px));
  padding-right: 24px;
  padding-top: 12px;
  padding-bottom: 24px;
  scroll-padding-left: max(24px, calc((100vw - 1400px) / 2 + 24px));
  cursor: grab;
}

.features-track.dragging {
  cursor: grabbing;
  user-select: none;
}

.features-track::-webkit-scrollbar {
  display: none;
}

.feature-card {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(165deg, #274577 0%, #1f3663 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.3s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 79, 139, 0.45), transparent 65%);
  pointer-events: none;
}


.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover,
.feature-card.active {
  transform: scale(1.05);
  box-shadow: none;
}

.feature-card.active .feature-icon,
.feature-card:hover .feature-icon {
  background: #fff;
  color: var(--blue-600);
  transform: scale(1.06);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s ease;
}

.feature-card-overline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-200);
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ===== Download ===== */
.download {
  padding: 100px 0;
  background: var(--gray-50);
  position: relative;
  transition: background-color 0.4s ease;
}

.download.flash {
  background: var(--blue-50);
  box-shadow: inset 0 0 0 3px var(--blue-200);
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-200), transparent);
}

.download-head {
  text-align: center;
  margin-bottom: 56px;
}

.download-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-head .section-subtitle {
  margin: 0 auto;
  max-width: 640px;
}

.download-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-store small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  text-align: left;
}

.btn-store strong {
  font-size: 1rem;
  text-align: left;
}

/* ===== OS Warning Banner ===== */
.os-warning[hidden] {
  display: none !important;
}

.os-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff8e1 0%, #fffdf5 100%);
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(245, 124, 0, 0.08);
  animation: os-warning-in 0.35s ease;
}

@keyframes os-warning-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.os-warning svg:first-child {
  color: #f57c00;
  flex-shrink: 0;
  margin-top: 2px;
}

.os-warning-body {
  flex: 1;
}

.os-warning-body p {
  font-size: 0.88rem;
  color: #795548;
  line-height: 1.6;
  margin: 0 0 12px;
}

.os-warning .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #f57c00;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.os-warning .btn-sm:hover {
  background: #ef6c00;
  transform: translateY(-1px);
}

.os-warning-close {
  background: none;
  border: none;
  color: #795548;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.os-warning-close:hover {
  background: rgba(121, 85, 72, 0.1);
}

@media (max-width: 900px) {
  .download-head {
    margin-bottom: 40px;
  }

  .download-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .os-warning {
    text-align: left;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq-head {
  text-align: center;
  margin-bottom: 56px;
}

.faq-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.faq-head .section-subtitle {
  margin: 0 auto;
  max-width: 640px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.faq-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
  transition: border-color 0.3s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-bottom-color: var(--blue-300);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color 0.2s, padding 0.3s;
}

.faq-question:hover {
  color: var(--blue-600);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gray-500);
  transition: all 0.2s;
  line-height: 0;
  padding-bottom: 2px;
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 0 1.25rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  font-family: 'Inter', sans-serif;
  position: relative;
}

@media (hover: none),
(pointer: coarse) {

  .feature-card,
  .feature-card:hover,
  .feature-card.active {
    transform: none !important;
    transition: opacity 0.4s ease;
  }

  .feature-card:hover .feature-icon,
  .feature-card.active .feature-icon {
    transform: none !important;
  }

  .feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .feature-card .feature-icon {
    transition: none;
  }

  .step-card:hover,
  .security-card:hover {
    transform: none;
  }

  .faq-item {
    -webkit-tap-highlight-color: transparent;
  }

  .faq-question:hover {
    color: var(--gray-900);
  }

  .faq-icon {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
  }
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.btn-top {
  position: fixed;
  bottom: 80px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}

.btn-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-top:hover {
  background: var(--blue-700);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(38, 66, 119, 0.4);
}

/* Index: ancora o botão na linha divisória entre a última seção e o footer */
.cta-final .btn-top,
.install-hero .btn-top {
  position: absolute;
  right: 32px;
  left: auto;
  bottom: -22px;
  background: #fff;
  color: var(--blue-600);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.cta-final .btn-top:hover,
.install-hero .btn-top:hover {
  background: var(--blue-100);
  color: var(--blue-700);
  transform: translateY(-3px) scale(1.05);
}

.footer-top {
  background: var(--gray-900);
  padding: 60px 0 40px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: justify;
}

.footer-brand .logo-icon {
  margin-bottom: 1rem;
}

.footer-links-col h6 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-links-col ul li a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  background: var(--gray-800);
  padding: 1rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: #fff !important;
}

.footer-credit img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity 0.2s;
}

.footer-credit a:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    padding: 40px 0 32px;
  }

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

/* ===== How it works ===== */
.how {
  padding: 100px 0;
  background: var(--gray-50);
}

.how-head {
  text-align: center;
  margin-bottom: 56px;
}

.how-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.how-head .section-subtitle {
  margin: 0 auto;
  max-width: 560px;
}

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

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-100);
  pointer-events: none;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(165deg, #274577 0%, #1f3663 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  text-align: justify;
}

#stepDownloadCard {
  cursor: pointer;
}

/* ===== Security ===== */
.security {
  padding: 100px 0;
  color: #fff;
  background: linear-gradient(160deg, var(--gray-900) 0%, #1c2f58 55%, var(--blue-700) 100%);
  position: relative;
  overflow: hidden;
}

.security::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 420px at 82% 18%, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.security-head {
  text-align: center;
  margin-bottom: 56px;
}

.security-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.security-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.security-head .section-subtitle {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.security-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.security-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.security-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  text-align: justify;
}

/* ===== CTA final ===== */
.cta-final {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--gray-900) 0%, #1c2f58 55%, var(--blue-700) 100%);
  text-align: center;
  color: #fff;
  position: relative;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 420px at 82% 18%, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta-inner h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-light {
  background: #fff;
  color: var(--blue-700);
}

.btn-light:hover {
  background: var(--blue-100);
  color: var(--blue-700);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.active {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 20px;
    z-index: 100;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding: 100px 20px 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-spacer {
    display: none;
  }

  .hero-left {
    text-align: center;
    order: 1;
  }

  .hero-right {
    order: 2;
    display: none;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-top: 12px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-web {
    justify-content: center;
    width: 100%;
  }

  .hero-web .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .info-badge {
    width: 100%;
    max-width: 320px;
  }

  /* Features */
  .features {
    padding: 60px 0;
  }

  .features h2,
  .download h2,
  .faq h2 {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .carousel-nav {
    justify-content: center;
  }

  .features-track {
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 20px;
    scroll-padding-left: 20px;
  }

  .feature-card {
    width: 280px;
    height: 384px;
    padding: 24px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* Download */
  .download {
    padding: 60px 0;
  }

  .btn-store {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* FAQ */
  .faq {
    padding: 60px 0;
  }

  .faq-head {
    margin-bottom: 32px;
  }

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

  .faq-media img {
    max-width: 480px;
    margin-inline: auto;
  }

  .faq-question {
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 0 1rem 0;
    font-size: 0.9rem;
  }

  /* How / Security / CTA */
  .how {
    padding: 60px 0;
  }

  .how-head {
    margin-bottom: 32px;
  }

  .how-head h2,
  .security-head h2,
  .faq-head h2,
  .cta-inner h2 {
    font-size: 1.75rem;
  }

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

  .step-card {
    padding: 28px 20px 24px;
  }

  .security {
    padding: 60px 0;
  }

  .security-head {
    margin-bottom: 32px;
  }

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

  .cta-final {
    padding: 60px 0;
  }

}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero .container {
    padding: 80px 16px 40px;
  }

  .features h2,
  .download h2 {
    font-size: 1.5rem;
  }

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

  .how-head h2,
  .security-head h2,
  .faq-head h2,
  .cta-inner h2 {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* HD+ (1280–1366): 80px de respiro lateral, mantendo FHD e mobile */
@media (min-width: 901px) and (max-width: 1400px) {
  .container {
    padding-left: 80px;
    padding-right: 80px;
  }

  .hero .container {
    padding-left: 80px;
    padding-right: 80px;
  }
}