/* ============================================================
   Sangue Vivo — Landing Page Estática
   Design System: vermelho #C1272D, graphite #333, branco
   ============================================================ */

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

:root {
  --primary:        #C1272D;
  --primary-hover:  #a81f24;
  --primary-soft:   #fdf1f1;
  --graphite:       #333333;
  --graphite-hover: #222222;
  --white:          #ffffff;
  --bg:             #ffffff;
  --bg-muted:       #f7f7f8;
  --border:         #e8e8ea;
  --text-muted:     #6b7280;
  --text-body:      #374151;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-sans:    'Montserrat', system-ui, sans-serif;

  --radius-sm:  0.5rem;
  --radius-md:  0.875rem;
  --radius-lg:  1.25rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --shadow-primary: 0 8px 24px rgba(193,39,45,.20);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 900px; }
.text-center { text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-primary);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-outline.btn-lg { font-size: 1rem; padding: 0.875rem 1.75rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--graphite);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--primary); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--graphite-hover); }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon--sm {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--graphite);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(193,39,45,0.08), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(193,39,45,0.06), transparent 50%);
  padding: 5rem 0 7rem;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(193,39,45,0.15);
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.05;
}
.text-primary { color: var(--primary); }

.hero__desc {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* Hero Card */
.hero__card-wrap {
  position: relative;
}
.hero__card-glow {
  position: absolute;
  inset: -2rem;
  background: rgba(193,39,45,0.08);
  border-radius: 3rem;
  filter: blur(3rem);
  pointer-events: none;
}
.hero__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.card-titlebar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(247,247,248,0.6);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--faint  { background: rgba(193,39,45,0.25); }
.dot--mid    { background: rgba(193,39,45,0.50); }
.dot--full   { background: var(--primary); }
.card-titlebar__label {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.card-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--graphite);
  margin-top: 0.25rem;
}
.icon-primary { color: var(--primary); flex-shrink: 0; }

.checklist { display: flex; flex-direction: column; gap: 0.625rem; }
.checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
}
.checklist-item__left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.checklist-item__left span {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--graphite);
}
.checklist-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intensity-bar { display: flex; gap: 3px; }
.bar {
  width: 1.25rem;
  height: 0.5rem;
  border-radius: 99px;
}
.bar--on  { background: var(--primary); }
.bar--off { background: var(--bg-muted); }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section--white  { background: var(--white); }
.section--muted  { background: var(--bg-muted); }

.section-header { max-width: 560px; margin-bottom: 3.5rem; }
.section-header--center { text-align: center; margin: 0 auto 3.5rem; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--graphite);
}

/* ── Features ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(193,39,45,0.35);
  box-shadow: 0 8px 24px rgba(193,39,45,0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.2s, color 0.2s;
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Steps ────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(193,39,45,0.3); }

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(193,39,45,0.18);
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.pricing-left {
  padding: 2.5rem;
  background: var(--graphite);
  color: var(--white);
}
.pricing-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.pricing-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.pricing-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.pricing-includes { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.pricing-includes__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.pricing-includes ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}
.pricing-includes li svg { color: var(--primary); flex-shrink: 0; }

.pricing-right {
  padding: 2.5rem;
  background: var(--primary-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 0.625rem;
}
.pricing-cta-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: var(--graphite);
  color: var(--white);
}
.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-in-delay-1 { animation: fadeInUp 0.6s 0.15s ease-out both; }
.animate-in-delay-2 { animation: fadeInUp 0.6s 0.30s ease-out both; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__card-wrap { order: -1; }
  .hero { padding: 3rem 0 4rem; }

  .header__nav { display: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }
  .header__inner { position: relative; }
  .menu-toggle { display: flex; }
  .btn-ghost { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .pricing-card  { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn-primary.btn-lg,
  .btn-outline.btn-lg { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
}
