/* ==========================================================================
   Bergamotto — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Color palette */
  --tangerine-700: #b8460a;
  --tangerine-600: #e85d0a;
  --tangerine-500: #ff6b1a;
  --tangerine-400: #ff8a3d;
  --tangerine-200: #ffd3ac;
  --tangerine-100: #ffe8d6;
  --tangerine-50:  #fff6ee;

  --ink:       #241c15;
  --ink-soft:  #5b5145;
  --ink-faint: #8a8074;

  --cream: #fffbf5;
  --white: #ffffff;
  --line:  #f0e2d3;

  --leaf: #3f7a3a;
  --gold: #e8c477;
  --gold-soft: #f3e0b3;
  --gray-neutral: #9a958d;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing / shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(36, 28, 21, 0.06);
  --shadow-md: 0 12px 32px rgba(232, 93, 10, 0.14);
  --shadow-lg: 0 24px 60px rgba(36, 28, 21, 0.12);

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tangerine-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--tangerine-500);
  border-radius: 2px;
}

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

section { position: relative; }

.section-pad { padding: 96px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 64px 0; }
}

.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-tint  { background: var(--tangerine-50); }
.bg-dark  {
  background: var(--ink);
  color: #fff;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.72); }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--tangerine-400), var(--tangerine-600));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(232,93,10,0.28); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--tangerine-500);
  border-radius: 3px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.4px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 70px 16px auto 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { display: block; padding: 10px 0; width: 100%; }
  .nav-actions .btn-sm-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  overflow: hidden;
  padding: 84px 0 100px;
  position: relative;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  opacity: 0.55;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--tangerine-600);
}
.hero-stat span {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .slice-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--tangerine-400), var(--tangerine-600), var(--tangerine-400), var(--tangerine-600), var(--tangerine-400));
  opacity: 0.15;
  animation: spin 40s linear infinite;
}
.hero-art .slice-core {
  position: relative;
  width: 72%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--tangerine-400), var(--tangerine-600) 72%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .slice-core::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.16) 0deg 3deg, transparent 3deg 30deg);
}
.hero-art .slice-core span {
  position: relative;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  padding: 0 20%;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tangerine-200);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tangerine-100), var(--tangerine-200));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--tangerine-600);
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Section heading helper ---------- */
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Timeline (methodology / roadmap) ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding-bottom: 46px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tangerine-400), var(--tangerine-600));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-body h3 { margin-bottom: 6px; }
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--tangerine-50);
  color: var(--tangerine-700);
  border: 1px solid var(--tangerine-100);
}

/* ---------- Roadmap sprints (horizontal cards) ---------- */
.sprint-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .sprint-track { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .sprint-track { grid-template-columns: 1fr; }
}
.sprint-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.sprint-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--tangerine-600);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sprint-card h4 { margin: 6px 0 12px; }
.sprint-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.sprint-card li { margin-bottom: 4px; }

/* ---------- Principles grid ---------- */
.principle {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.principle-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--tangerine-300, var(--tangerine-400));
  min-width: 40px;
}
.principle h4 { margin-bottom: 4px; }
.principle p { margin: 0; font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 64px;
  background: linear-gradient(135deg, var(--tangerine-500), var(--tangerine-700));
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 620px) {
  .cta-band { padding: 40px 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-logo { height: 30px; margin-bottom: 14px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.72); transition: color .15s ease; }
.footer-links a:hover { color: var(--tangerine-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .section-head { max-width: 720px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.contact-card .card-icon { margin: 0; flex-shrink: 0; }
.contact-card h4 { margin-bottom: 2px; }
.contact-card p { margin: 0; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.6px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color .15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--tangerine-400);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 10px;
}

/* utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   Hero Composition — animated dashboard visual (Home hero, right side)
   ========================================================================== */

.hero-comp {
  position: relative;
  width: 100%;
  min-height: 660px;
  perspective: 1400px;
}
@media (max-width: 900px) {
  .hero-comp { min-height: 520px; margin-top: 12px; }
}
@media (max-width: 560px) {
  .hero-comp { min-height: 430px; }
}

.hero-comp-bg {
  position: absolute;
  inset: -40px;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.hero-comp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.7;
  animation: heroBlobDrift 14s ease-in-out infinite;
}
.hero-comp-blob-1 {
  width: 320px; height: 320px;
  top: 0; right: 6%;
  background: radial-gradient(circle, #FDBA74, transparent 72%);
}
.hero-comp-blob-2 {
  width: 260px; height: 260px;
  bottom: -10px; left: 0;
  background: radial-gradient(circle, #FB923C, transparent 72%);
  animation-duration: 18s;
  animation-delay: -4s;
}
@keyframes heroBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 14px) scale(1.06); }
}

.hero-comp-particles { position: absolute; inset: 0; }
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  filter: blur(0.3px);
  animation: heroParticleFloat linear infinite;
}
@keyframes heroParticleFloat {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.5; }
  100% { transform: translate(var(--px, 20px), var(--py, -60px)); opacity: 0; }
}

/* Tier 1 (outer): position + JS-driven parallax transform only — no CSS animation here */
.hero-comp-layer, .hero-float { position: absolute; z-index: 2; will-change: transform; }

/* Tier 2: entrance — fade + translateY + scale */
.hero-comp-in {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(22px) scale(0.92);
  animation: heroCompIn 0.75s cubic-bezier(.19,1,.22,1) forwards;
}
@keyframes heroCompIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tier 3: continuous slow float (only on the mini/floating cards) */
.hero-float-bob { animation: heroFloatY 6.5s ease-in-out infinite 0.9s; }

/* Card base */
.hero-card {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 22px;
  box-shadow: 0 18px 40px -14px rgba(184, 70, 10, 0.22), 0 2px 8px rgba(36,28,21,0.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 26px 54px -14px rgba(184, 70, 10, 0.3), 0 0 0 1px rgba(255,180,110,0.35), 0 0 24px rgba(253,186,116,0.35);
}

/* Main card */
.hero-comp-layer[data-depth] { left: 0; top: 0; width: 82%; }
.hero-card-main { padding: 26px 26px 22px; }
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.hero-card-label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.hero-card-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--tangerine-500);
  box-shadow: 0 0 0 4px var(--tangerine-100);
  animation: heroDotPulse 2.4s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--tangerine-100); }
  50% { box-shadow: 0 0 0 7px rgba(255,211,172,0.5); }
}

.hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin-bottom: 16px;
}
.hero-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--tangerine-400), var(--tangerine-600));
  transform: scaleY(0);
  transform-origin: bottom;
  animation: heroBarGrow 0.9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, 0s);
}
.hero-bars span:last-child {
  background: linear-gradient(180deg, var(--gold), var(--tangerine-500));
}
@keyframes heroBarGrow { to { transform: scaleY(1); } }

.hero-card-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-counter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--tangerine-600);
  line-height: 1;
}
.hero-card-stat-label { font-size: 0.8rem; color: var(--ink-faint); }

/* Floating mini / wide cards */
.hero-float-1 { top: -7%; right: -8%; width: 230px; }
.hero-float-2 { top: 38%; left: -11%; width: 54px; }
.hero-float-3 { bottom: 10%; left: -9%; width: 220px; }
.hero-float-4 { bottom: -9%; right: -6%; width: 250px; }
.hero-float-5 { top: 66%; right: -10%; width: 224px; }

@media (max-width: 1100px) {
  .hero-float-1, .hero-float-3, .hero-float-4, .hero-float-5 { width: 190px; }
}
@media (max-width: 900px) {
  .hero-float-1 { right: 2%; }
  .hero-float-3 { left: 2%; }
  .hero-float-4 { right: 4%; }
  .hero-float-5 { right: 6%; }
}
@media (max-width: 560px) {
  .hero-float-1, .hero-float-3, .hero-float-4, .hero-float-5 { width: 156px; }
  .hero-float-2 { display: none; }
  .hero-card-main { padding: 18px 18px 16px; }
  .hero-bars { height: 84px; }
}

.hero-float-1 .hero-float-bob { animation-duration: 6.5s; }
.hero-float-2 .hero-float-bob { animation-duration: 5s; }
.hero-float-3 .hero-float-bob { animation-duration: 7.4s; }
.hero-float-4 .hero-float-bob { animation-duration: 6s; }
.hero-float-5 .hero-float-bob { animation-duration: 8s; }

@keyframes heroFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-mini {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
}
.hero-mini-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tangerine-400), var(--tangerine-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.hero-mini-icon-alt {
  background: linear-gradient(135deg, var(--gold), var(--tangerine-500));
}
.hero-mini-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hero-mini-text strong { font-size: 0.86rem; color: var(--ink); }
.hero-mini-text span { font-size: 0.78rem; color: var(--ink-faint); white-space: nowrap; }
.hero-mini-text .hero-counter { font-size: 0.78rem; font-weight: 700; color: var(--tangerine-600); font-family: var(--font-body); }

.hero-badge {
  width: 54px; height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--tangerine-500), var(--gold));
  box-shadow: 0 14px 26px -8px rgba(184,70,10,0.35);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-8deg);
}

.hero-card-wide { padding: 16px 18px; }
.hero-card-head-sm {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 12px;
}
.hero-card-head-sm svg { color: var(--tangerine-500); }
.hero-funnel { display: flex; flex-direction: column; gap: 8px; }
.hero-funnel-row { background: var(--tangerine-50); border-radius: var(--radius-pill); overflow: hidden; height: 8px; }
.hero-funnel-bar {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--tangerine-400), var(--gold));
  animation: heroFunnelGrow 0.9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroFunnelGrow { to { width: var(--w); } }

/* ---- Sunburst emblem variant (replaces the dashboard-card composition) ---- */
.hero-comp-sunburst .hero-comp-layer[data-depth] {
  position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 2%;
}
.hero-sunburst-bob { display: flex; align-items: center; justify-content: center; }
.hero-sunburst {
  position: relative;
  width: 640px; height: 640px;
  display: flex; align-items: center; justify-content: center;
}
.hero-sunburst-halo {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: heroHaloPulse 7s ease-in-out infinite;
}
.hero-sunburst-halo-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(253,186,116,.45), transparent 70%);
  filter: blur(3px);
}
.hero-sunburst-halo-2 {
  width: 528px; height: 528px;
  background: radial-gradient(circle, rgba(251,146,60,.5), transparent 72%);
  filter: blur(2px);
  animation-delay: -3.2s;
}
.hero-sunburst-core {
  position: relative;
  width: 414px; height: 414px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tangerine-500), var(--tangerine-700));
  box-shadow: 0 30px 70px -20px rgba(184,70,10,.45), inset 0 0 0 1px rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-sunburst-rays {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: heroRaysSpin 60s linear infinite;
}
.hero-sunburst-text {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 600;
  font-size: 2.1rem; line-height: 1.3;
  color: #fff; text-align: center;
  padding: 0 48px;
  text-shadow: 0 2px 14px rgba(120,45,0,.35);
}
@keyframes heroHaloPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes heroRaysSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (max-width: 900px) {
  .hero-comp-sunburst .hero-comp-layer[data-depth] { padding-top: 0; }
  .hero-sunburst { width: 460px; height: 460px; }
  .hero-sunburst-halo-1 { width: 460px; height: 460px; }
  .hero-sunburst-halo-2 { width: 380px; height: 380px; }
  .hero-sunburst-core { width: 296px; height: 296px; }
  .hero-sunburst-text { font-size: 1.48rem; padding: 0 34px; }
}
@media (max-width: 560px) {
  .hero-sunburst { width: 340px; height: 340px; }
  .hero-sunburst-halo-1 { width: 340px; height: 340px; }
  .hero-sunburst-halo-2 { width: 282px; height: 282px; }
  .hero-sunburst-core { width: 220px; height: 220px; }
  .hero-sunburst-text { font-size: 1.1rem; padding: 0 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-comp-in, .hero-float-bob,
  .hero-comp-blob, .hero-particle, .hero-card-dot, .hero-bars span, .hero-funnel-bar,
  .hero-sunburst-halo, .hero-sunburst-rays {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-sunburst-halo-1, .hero-sunburst-halo-2 { transform: translate(-50%, -50%) !important; }
  .hero-funnel-bar { width: var(--w) !important; }
}

@media (max-width: 560px) {
  .hero-card-mini { padding: 11px 12px; gap: 9px; }
  .hero-mini-icon { width: 32px; height: 32px; }
  .hero-mini-text strong { font-size: 0.76rem; }
  .hero-mini-text span { font-size: 0.68rem; white-space: normal; line-height: 1.3; }
  .hero-mini-text .hero-counter { font-size: 0.68rem; }
}

/* ---------- Client logo grid (Projetos) ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  height: 108px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tangerine-200);
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 900px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .client-logo { height: 84px; padding: 12px 16px; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
