/* ===========================
   FEELINGS LANDING PAGE
   =========================== */

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

:root {
  --blue-top: #5278ff;
  --blue-deep: #001d82;
  --blue-dark: #081a5e;
  --blue-mid: #0a2494;
  --blue-bright: #1040e0;
  --gold: #e8a020;
  --gold-light: #f5c842;
  --white: #ffffff;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-20: rgba(255, 255, 255, 0.12);
  --text-muted: rgba(255, 255, 255, 0.55);
  --font: 'Outfit', sans-serif;
  --radius-xl: 20px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  /* Gradiente global: azul brilhante no topo → azul escuro no meio → azul brilhante no rodapé */
  background: linear-gradient(to bottom,
      #5278ff 0%,
      #001d82 18%,
      #001d82 78%,
      #5278ff 100%);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Restaura cliques em imagens dentro de links ou botões */
a img,
button img {
  pointer-events: auto;
}

/* STARFIELD CANVAS */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;   /* acima do gradiente do body */
  opacity: 0.7;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Garante que todo conteúdo fique acima do canvas de estrelas */
header,
section,
footer {
  position: relative;
  z-index: 3;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(4, 14, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-20);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flag {
  width: 28px;
  border-radius: 3px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(232, 160, 32, 0.5);
}

.logo span {
  color: var(--white);
}

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

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: block;
  width: 100%;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a0a00;
  box-shadow: 0 8px 32px rgba(232, 160, 32, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(232, 160, 32, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: var(--white-20);
}

.btn-large {
  max-width: 340px;
  margin: 0 auto;
  padding: 20px 40px;
  font-size: 1.1rem;
}

/* ===========================
   SECTION BASE
   =========================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white-60);
  text-align: center;
  margin-bottom: 40px;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(10, 36, 148, 0.6);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(232, 160, 32, 0.15);
  top: 50px;
  right: -80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-mascots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.mascot-main {
  width: 260px;
  filter: drop-shadow(0 20px 60px rgba(10, 36, 148, 0.8));
  animation: float 4s ease-in-out infinite;
}

.mascot-emoji {
  position: absolute;
  right: 10%;
  top: 10%;
  width: 100px;
  animation: float 3s ease-in-out infinite reverse;
}

.mascot-placeholder {
  width: 260px;
  height: 280px;
  background: radial-gradient(circle, #1040e0 0%, #040e2e 100%);
  border-radius: 50%;
  opacity: 0.4;
}

.emoji-placeholder {
  font-size: 72px;
  position: absolute;
  right: 10%;
  top: 10%;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--white-60);
  text-align: center;
}

/* ===========================
   PARTNERS
   =========================== */
.partners {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--white-20);
  border-bottom: 1px solid var(--white-20);
  padding: 56px 0;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.partner-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--white-20);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.partner-logo:hover {
  transform: scale(1.08);
  border-color: var(--gold);
}

.partner-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.partner-logo.placeholder {
  background: rgba(255, 255, 255, 0.05);
}

/* ===========================
   FEATURES
   =========================== */
.features {
  background: transparent;
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-phones {
  display: flex;
  justify-content: center;
}

.phones-img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(10, 36, 148, 0.7));
}

.phones-placeholder {
  width: 340px;
  height: 400px;
  background: linear-gradient(135deg, #0a2494 0%, #040e2e 100%);
  border-radius: 32px;
  border: 1px solid var(--white-20);
}

.features-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.features-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-icon--blue {
  background: rgba(30, 100, 220, 0.25);
}

.feature-icon--purple {
  background: rgba(140, 60, 220, 0.25);
}

.feature-icon--green {
  background: rgba(40, 180, 100, 0.25);
}

.feature-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===========================
   SAFE SECTION
   =========================== */
.safe {
  background: transparent;
  overflow-x: clip;   /* corta só o excesso horizontal, sem cortar verticalmente */
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
}

/* Texto fica no container normal (metade esquerda) */
.safe-content {
  position: relative;
  z-index: 1;
  max-width: 50%;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Imagem posicionada absolutamente à direita, centralizada na seção */
.safe-phone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.safe-phone img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(30, 100, 220, 0.6));
  animation: float 4s ease-in-out infinite;
  display: block;
}

.safe-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.safe-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  background: transparent;
}

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

.testimonial-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--white-20);
  transition: transform 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.testimonial-card--highlight {
  border-color: var(--gold);
  background: rgba(232, 160, 32, 0.06);
}

.testimonial-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #1040e0 0%, #040e2e 100%);
}

.testimonial-body {
  padding: 18px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--white);
}

.testimonial-card--highlight .testimonial-name {
  color: var(--gold);
}

.testimonial-quote {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ===========================
   CTA FINAL
   =========================== */
.cta-final {
  background: transparent;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 36, 148, 0.8) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-shield {
  margin-bottom: 24px;
}

.shield-emoji {
  font-size: 3rem;
  filter: drop-shadow(0 0 20px rgba(100, 180, 255, 0.8));
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(232, 160, 32, 0.5), 0 2px 0 rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.cta-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--white-20);
  padding: 56px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--white-20);
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {

  .hero-inner,
  .features-inner,
  .safe-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-mascots {
    min-height: 260px;
  }

  .mascot-main {
    width: 190px;
  }

  .mascot-emoji {
    width: 70px;
  }

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

  .safe {
    min-height: 360px;
  }

  .safe-content {
    max-width: 60%;
  }

  .safe-phone {
    width: 44%;
  }

  .safe-title {
    font-size: 1.7rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .features-phones {
    order: -1;
  }

  .safe-phone {
    order: -1;
  }

  .feature-item {
    text-align: left;
  }

  .safe-text {
    max-width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    gap: 12px;
  }

  .partner-logo {
    width: 60px;
    height: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}