:root {
  --navy: #041d3d;
  --navy-soft: #072141;
  --navy-deep: #041a35;
  --light-band: #163a68;
  --blue-accent: #2e6fe0;
  --text-muted: #c3cad6;
  --off-white: #e7e9ee;
  --font-display: "Poppins", sans-serif;
}

* {
  font-family: var(--font-display);
}

body {
  background-color: var(--navy);
  margin: 0;
}

/* Container customizado — layout original do Canva tem 874px de largura */
.container-nirc {
  max-width: 874px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.section-navy {
  background-color: var(--navy);
  padding: 56px 0;
}

.section-light {
  background: var(--navy-soft);
  padding: 48px 0;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

/* Sombra leve logo abaixo da borda que separa esta seção da anterior */
.section-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent);
  pointer-events: none;
}

/* ============ HERO ============ */
.hero-section {
  background-color: var(--navy-soft);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

/* Orbs decorativos do fundo — dão profundidade e reagem sutilmente ao mouse via JS */
.hero-bg-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-accent) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.32;
  animation: hero-orb-float 7s ease-in-out infinite;
}

.hero-orb--1 {
  width: 340px;
  height: 340px;
  top: -100px;
  left: -80px;
}

.hero-orb--2 {
  width: 260px;
  height: 260px;
  bottom: -110px;
  right: 6%;
  opacity: 0.26;
  animation-duration: 9s;
  animation-delay: -4s;
}

.hero-orb--3 {
  width: 170px;
  height: 170px;
  top: 45%;
  left: 58%;
  opacity: 0.22;
  animation-duration: 6s;
  animation-delay: -2s;
}

@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(48px, -34px) scale(1.15); }
}

/* Luz que persegue o cursor dentro do hero */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 30%), rgba(46, 111, 224, 0.28), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-spotlight.is-active {
  opacity: 1;
}

/* Celulares "flutuando" */
.hero-phones-wrap {
  display: inline-block;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.hero-phones-img {
  animation: hero-phones-float 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-phones-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-phones-img,
  .hero-mobile-photo {
    animation: none;
  }
  .hero-spotlight,
  .hero-bg-fx,
  .hero-phones-wrap {
    transition: none;
  }
}

.logo-clover {
  width: 100px;
  height: auto;
}

.display-hero {
  color: var(--off-white);
  font-weight: 700;
  font-size: 2.75rem;
  margin-bottom: 20px;
}

.lead-tagline {
  color: var(--off-white);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 20px;
}

.accent-rule {
  width: 56px;
  height: 3px;
  background-color: var(--blue-accent);
  margin-bottom: 20px;
}

.hero-paragraph {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 380px;
  line-height: 1.6;
}

.hero-phones-img {
  max-width: 100%;
  width: 600px;
}

/* Foto extra ao lado do texto, visível somente em telas XS (a imagem principal
   dos celulares continua quebrando normalmente abaixo, como hoje) */
.hero-mobile-photo {
  display: none;
}

@media (max-width: 575.98px) {
  .hero-text-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .hero-mobile-photo {
    display: block;
    width: clamp(115px, 34vw, 160px);
    height: auto;
    flex-shrink: 0;
    margin-top: -150px;
    margin-right: 15px;
    animation: hero-phones-float 5s ease-in-out infinite;
    will-change: transform;
  }
}

/* ============ BENEFÍCIOS ============ */
.benefits-section {
  padding: 40px 0;
  position: relative;
}

/* Sombra leve logo abaixo da linha divisória do hero */
.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent);
  pointer-events: none;
}

.benefit-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.benefit-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

/* ============ TELAS DO APP ============ */
.phones-section {
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

/* Degradê suave no final do bloco navy, pra quebrar a cor chapada */
.phones-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.section-heading {
  color: var(--off-white);
  font-weight: 600;
  font-size: 1.5rem;
}

.professionals-heading {
  margin-top: 72px;
  margin-bottom: 0;
}

.phone-thumb-wrap {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-row.is-visible .phone-thumb-wrap {
  opacity: 1;
  transform: translateY(0);
}

.reveal-row.is-visible .col-4:nth-child(1) .phone-thumb-wrap { transition-delay: 0s; }
.reveal-row.is-visible .col-4:nth-child(2) .phone-thumb-wrap { transition-delay: 0.08s; }
.reveal-row.is-visible .col-4:nth-child(3) .phone-thumb-wrap { transition-delay: 0.16s; }
.reveal-row.is-visible .col-4:nth-child(4) .phone-thumb-wrap { transition-delay: 0.24s; }
.reveal-row.is-visible .col-4:nth-child(5) .phone-thumb-wrap { transition-delay: 0.32s; }
.reveal-row.is-visible .col-4:nth-child(6) .phone-thumb-wrap { transition-delay: 0.4s; }

.phone-thumb {
  border-radius: 10px;
  width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.phone-thumb-wrap:hover .phone-thumb {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .phone-thumb-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .phone-thumb {
    transition: none;
  }
}

/* ============ CARD PROFISSIONAIS ============ */
.team-card {
  background-color: var(--navy-deep);
  border-radius: 20px;
  padding: 28px 20px;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--off-white);
  object-fit: cover;
  flex-shrink: 0;
}

.team-name {
  color: var(--off-white);
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
  margin: 0;
}

.team-role {
  color: var(--blue-accent);
  font-size: 0.68rem;
  white-space: nowrap;
  margin: 0;
}

.team-link {
  color: var(--off-white);
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.team-link:hover {
  color: var(--blue-accent);
}

.team-link i {
  margin-left: 4px;
}

/* ============ BAIXE AGORA ============ */
.download-section {
  padding-bottom: 24px;
  position: relative;
}

.download-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent);
  pointer-events: none;
}

.clover-big {
  width: 90px;
  height: auto;
  opacity: 0.9;
  flex-shrink: 0;
  margin-right: 20px;
}

.download-text {
  min-width: 0;
  flex: 1 1 auto;
}

.download-eyebrow {
  color: var(--off-white);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}

.download-title {
  color: var(--off-white);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 0 10px;
}

.download-subtitle {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: -0.4px;
  margin-top: 0;
}

.feature-pill {
  border: 1px solid rgba(46, 111, 224, 0.35);
  border-radius: 10px;
  padding: 12px 12px;
  color: var(--off-white);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
}

.feature-pill i {
  color: var(--blue-accent);
}

@media (max-width: 420px) {
  .feature-pills {
    gap: 6px !important;
  }
  .feature-pill {
    padding: 8px 4px;
    font-size: 0.55rem;
    gap: 4px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
}

.stores-label {
  color: var(--off-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.store-card {
  border: 1px solid rgba(46, 111, 224, 0.35);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.store-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--off-white);
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
}

.store-card-header i {
  font-size: 0.95rem;
}

.store-badge-icon {
  height: 0.95rem;
  width: auto;
}

.store-card--google .store-card-header {
  margin-bottom: 3px;
}

.store-qr {
  width: 100%;
  border-radius: 6px;
}

/* ============ RODAPÉ ============ */
.footer-section {
  padding: 12px 0 20px;
}

.powered-by {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.forsurge-logo {
  height: 42px;
  width: auto;
}

.footer-divider-x {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-tagline {
  color: var(--off-white);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-link {
  display: inline-flex;
  align-items: center;
  color: var(--off-white);
  font-size: 0.85rem;
  white-space: nowrap;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--off-white);
  opacity: 0.8;
}

.footer-link i {
  font-size: 1.15rem;
  margin-right: 6px;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 991px) {
  .footer-divider-x {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
  }
}

@media (max-width: 576px) {
  .display-hero {
    font-size: 2.1rem;
  }
  .download-title {
    font-size: 1.75rem;
  }
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(10, 12, 20, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px 88px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: min(75vw, 420px);
  max-height: 80vh;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox-overlay.is-open .lightbox-image {
  transform: scale(1);
}

.lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--off-white);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 576px) {
  .lightbox-overlay {
    padding: 24px 56px;
  }
  .lightbox-image {
    max-width: 100%;
  }
  .lightbox-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
}
