/* ===========================================================
   bPeople — Landing Page
   Design system + estilos
   =========================================================== */

:root {
  --blue: #00aaf9;
  --blue-600: #0098e0;
  --blue-700: #007ec0;
  --blue-soft: #e7f6ff;
  --ink: #0b1220;
  --ink-2: #2a3446;
  --ink-3: #5b6678;
  --line: #e7ecf3;
  --bg: #ffffff;
  --bg-soft: #f5f9fd;
  --bg-blue: #f0f8ff;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 18px rgba(11, 18, 32, 0.06);
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
  --shadow-blue: 0 22px 60px rgba(0, 170, 249, 0.28);
  --maxw: 1160px;
  --font-head: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.text-blue { color: var(--blue); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-soft);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-600); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand img { height: 30px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--blue-700); }
.nav .btn { font-size: 15px; padding: 11px 20px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 85% -10%, var(--blue-soft) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  padding: 70px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  margin: 18px 0 18px;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-3);
  max-width: 520px;
  margin: 0 0 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 14px;
}
.hero-trust svg { color: var(--blue); flex: none; }

/* hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  max-width: 420px;
  width: 100%;
}
.photo-card img { width: 100%; height: auto; display: block; }
.heart {
  position: absolute;
  color: var(--blue);
  filter: drop-shadow(0 6px 12px rgba(0, 170, 249, 0.35));
  animation: float 5s ease-in-out infinite;
}
.heart.h1 { top: -18px; left: 8%; width: 42px; animation-delay: 0s; }
.heart.h2 { bottom: 10%; right: -16px; width: 54px; animation-delay: 1.2s; }
.heart.h3 { top: 32%; left: -20px; width: 34px; animation-delay: 2.1s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

/* floating pill */
.pill-float {
  position: absolute;
  top: 16%;
  right: -8%;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  animation: float 6s ease-in-out infinite;
}
.pill-float .dot { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue-700); }
.pill-float small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }

/* ---------- Section base ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  margin: 14px 0 14px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-3);
  margin: 0;
}

/* ---------- Story (alternating) ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 28px;
}
.story:last-child { margin-bottom: 0; }
.story.reverse .story-media { order: 2; }
.story-media .photo-card { max-width: 480px; margin: 0 auto; }
.story-text h3 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
}
.story-text p {
  font-size: 18px;
  color: var(--ink-3);
  margin: 0 0 22px;
  max-width: 460px;
}
.story-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
}
.step-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.step-card p { color: var(--ink-3); margin: 0; font-size: 16px; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-700);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feature h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--ink-3); margin: 0; font-size: 15.5px; }

/* ---------- Privacy banner ---------- */
.privacy {
  background: linear-gradient(135deg, #06121f 0%, #0a2540 60%, #0b3b63 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.privacy::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,170,249,0.45), transparent 70%);
}
.privacy h2 { color: #fff; font-size: clamp(28px, 3.8vw, 40px); font-weight: 700; margin-bottom: 14px; }
.privacy p { color: rgba(255,255,255,0.82); font-size: 17px; margin: 0; max-width: 520px; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.privacy-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,0.92); }
.privacy-list svg { color: var(--blue); flex: none; margin-top: 3px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(900px 360px at 50% 120%, var(--blue-soft), transparent 70%),
    var(--bg-soft);
}
.cta h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-bottom: 16px; }
.cta p { font-size: 19px; color: var(--ink-3); max-width: 560px; margin: 0 auto 30px; }
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge small { display: block; font-size: 11px; opacity: 0.7; line-height: 1.1; }
.store-badge strong { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.1; }
.store-badge.soon { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer {
  background: #06121f;
  color: rgba(255,255,255,0.72);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 15px; margin: 0; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; margin-bottom: 11px; font-size: 15px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
}
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-weight: 600;
  margin-bottom: 28px;
}
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; margin-bottom: 8px; }
.legal .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 36px; }
.legal h2 { font-size: 24px; font-weight: 600; margin: 38px 0 12px; }
.legal h3 { font-size: 19px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue-700); text-decoration: underline; }
.legal .note {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink-2);
  margin: 24px 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story.reverse .story-media { order: 0; }
  .story-text { text-align: center; }
  .story-text p { margin-left: auto; margin-right: auto; }
  .steps, .features { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pill-float { right: 2%; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    gap: 18px;
    align-items: stretch;
  }
  .nav.open .btn { width: 100%; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .section { padding: 64px 0; }
}
