/* === Belavista Brand Tokens === */
:root {
  /* Primary palette */
  --bv-purple: #511865;
  --bv-purple-deep: #3a0f4a;
  --bv-purple-soft: #6b2483;
  --bv-purple-tint: #f4eef7;
  --bv-blue: #0076D6;
  --bv-blue-deep: #005ba8;
  --bv-blue-tint: #e8f2fc;

  /* Neutrals */
  --bv-white: #FFFFFF;
  --bv-paper: #faf9fb;
  --bv-cream: #f5f3ef;
  --bv-gray-100: #ECECEE;
  --bv-gray-200: #B8BABC;
  --bv-gray-400: #939397;
  --bv-gray-700: #4D4D4F;
  --bv-ink: #1c1320;

  /* Accent / signal */
  --bv-accent: var(--bv-purple);
  --bv-accent-2: var(--bv-blue);

  /* Typography */
  --bv-font-display: "Avenir Next", "Nunito Sans", system-ui, -apple-system, sans-serif;
  --bv-font-body: "Nunito Sans", "Avenir Next", system-ui, sans-serif;

  /* Layout */
  --bv-radius: 4px;
  --bv-radius-lg: 16px;
  --bv-max: 1240px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--bv-font-body);
  color: var(--bv-ink);
  background: var(--bv-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* Type scale — generous, editorial */
.h-display {
  font-family: var(--bv-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
.h-section {
  font-family: var(--bv-font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--bv-font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--bv-purple);
}

/* === The Belavista grafismo (boia): rectangle + 1/4 circle joined by a small disc === */
.boia {
  display: inline-block;
  width: var(--s, 64px);
  height: var(--s, 64px);
  position: relative;
  flex-shrink: 0;
}
.boia svg { width: 100%; height: 100%; overflow: visible; }

/* Reusable container */
.wrap { max-width: var(--bv-max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--bv-font-display);
  font-weight: 600;
  font-size: 17px;
  padding: 18px 30px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--bv-purple);
  color: var(--bv-white);
  box-shadow: 0 8px 24px -10px rgba(81,24,101,.5);
}
.btn-primary:hover { background: var(--bv-purple-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(81,24,101,.65); }
.btn-ghost {
  background: transparent;
  color: var(--bv-purple);
  border: 1.5px solid var(--bv-purple);
}
.btn-ghost:hover { background: var(--bv-purple); color: var(--bv-white); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-xl { padding: 22px 40px; font-size: 19px; }

/* Section vertical rhythm */
section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* Subtle scroll-reveal default */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Decorative dotted divider */
.divider {
  display: flex; align-items: center; gap: 16px;
  color: var(--bv-gray-400);
  font-family: var(--bv-font-display);
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 11px;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--bv-gray-200), transparent);
}
