/* ============================================================
   DESIGN TOKENS — espelham o produto (hibeex-demo/HibeexPrototype.tsx)
============================================================ */
:root {
  /* Estrutura (light theme) */
  --bg:           #F8FAFC;
  --bg-card:      #FFFFFF;
  --bg-hover:     rgba(39, 24, 126, 0.05);

  /* Texto (Core Dark, nunca preto puro) */
  --text:         #0B1120;
  --text-dim:     rgba(11, 17, 32, 0.58);
  --text-muted:   rgba(11, 17, 32, 0.42);

  /* Bordas */
  --border:       rgba(11, 17, 32, 0.08);
  --border-l:     rgba(11, 17, 32, 0.16);

  /* Action Orange — CTAs e elementos brand */
  --accent:       #FF8600;
  --accent-soft:  #FFA640;
  --accent-dim:   rgba(255, 134, 0, 0.12);
  --accent-dark:  #CC6B00;
  --accent-deep:  #B45309;

  /* Honey palette — casa com tema abelha */
  --gold:         #EAB308;
  --gold-soft:    #FBBF24;
  --honey:        #FFCB70;
  --honey-cream:  #FFE9B5;
  --honey-dim:    rgba(255, 203, 112, 0.22);
  --amber-deep:   #2A1A0A;
  --amber-mid:    #4A2C00;

  /* Semânticos */
  --green:        #16A34A;
  --green-dim:    rgba(22, 163, 74, 0.12);
  --yellow:       #EAB308;
  --red:          #DC2626;

  /* Tipografia */
  --f-sans:       'Inter', -apple-system, Helvetica, 'SF Pro', sans-serif;
  --f-mono:       'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Espaçamento */
  --section-py:        7rem;
  --section-py-mobile: 4.5rem;
  --container-max:     1180px;
  --container-px:      1.5rem;

  /* Bordas e Sombras */
  --radius-sm:    0.375rem;
  --radius:       0.625rem;
  --radius-lg:    1rem;
  --radius-xl:    1.5rem;
  --shadow-card:  0 1px 2px rgba(11, 17, 32, 0.04), 0 4px 16px rgba(11, 17, 32, 0.04);
  --shadow-card-hover: 0 8px 40px rgba(255, 134, 0, 0.10), 0 24px 60px rgba(11, 17, 32, 0.08);
  --shadow-elev:  0 8px 32px rgba(11, 17, 32, 0.08);
  --shadow-glow-orange: 0 0 60px rgba(255, 134, 0, 0.35);
  --shadow-glow-amber:  0 0 80px rgba(255, 134, 0, 0.32);
  --shadow-glow-gold:   0 0 60px rgba(251, 191, 36, 0.28);
  --shadow-glow-sm:     0 0 24px rgba(255, 134, 0, 0.22);

  /* Durações + curvas */
  --t-fast:       0.18s;
  --t:            0.3s;
  --t-slow:       0.6s;
  --t-overshoot:  cubic-bezier(0.68, -0.4, 0.32, 1.12);
  --t-snap:       cubic-bezier(0.5, 0, 0.2, 1);
  --t-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Hex patterns */
  --hex-pattern-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='60' viewBox='0 0 52 60'><path d='M26,1 L51,15 L51,45 L26,59 L1,45 L1,15 Z' fill='none' stroke='rgba(11,17,32,0.04)' stroke-width='1'/></svg>");
  --hex-pattern-honey: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='50' viewBox='0 0 44 50'><path d='M22,1 L43,12 L43,38 L22,49 L1,38 L1,12 Z' fill='none' stroke='rgba(255,203,112,0.28)' stroke-width='1'/></svg>");
  --hex-pattern-dark:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='60' viewBox='0 0 52 60'><path d='M26,1 L51,15 L51,45 L26,59 L1,45 L1,15 Z' fill='none' stroke='rgba(255,203,112,0.08)' stroke-width='1'/></svg>");
}

/* CSS @property pra animar conic gradient */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ============================================================
   KEYFRAMES
============================================================ */
@keyframes orb-float-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, -90px) scale(1.10); }
}
@keyframes orb-float-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 60px) scale(0.93); }
}
@keyframes orb-float-3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-35px, 70px) scale(1.07); }
}
@keyframes shimmer-sweep {
  from { left: -70%; }
  to   { left: 150%; }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 134, 0, 0.55); }
  70%       { box-shadow: 0 0 0 10px rgba(255, 134, 0, 0); }
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50%       { transform: translateY(10px); opacity: 1; }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 0.95; transform: scale(1.10); }
}
@keyframes rotate-conic {
  to { --angle: 360deg; }
}
@keyframes hex-breathe {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.025) rotate(0.6deg); }
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}
.section {
  padding-block: var(--section-py);
  position: relative;
}

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.25rem;
  transition: background var(--t), box-shadow var(--t), padding var(--t);
  backdrop-filter: blur(0);
}
#navbar.scrolled {
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 32px rgba(11, 17, 32, 0.05);
  padding-block: 0.875rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-logo {
  height: 38px;
  width: auto;
  display: block;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-brand:hover .nav-logo { transform: translateY(-1px); opacity: 0.85; }
#navbar.scrolled .nav-logo { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9375rem;
  color: var(--text-dim);
  transition: color var(--t-fast);
  position: relative;
}
/* Underline animado */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--t-snap);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }
.nav-cta {
  padding: 0.625rem 1.125rem;
  background: var(--text);
  color: var(--bg-card);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
}
.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 134, 0, 0.22);
}
.nav-toggle { display: none; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; font-size: 1.5rem; padding: 0.25rem 0.5rem; cursor: pointer; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(248, 250, 252, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }
  .nav-mobile-open .nav-links a,
  .nav-mobile-open .nav-cta {
    padding-block: 0.875rem;
    text-align: left;
    background: transparent;
    color: var(--text);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-open .nav-links a:last-child,
  .nav-mobile-open .nav-cta { border-bottom: none; }
}

/* ============================================================
   HERO — 2-column: text + (screenshot + hex gigante)
============================================================ */
.hero {
  padding-top: calc(var(--section-py) + 3rem);
  padding-bottom: calc(var(--section-py) + 0.5rem);
  position: relative;
  overflow: hidden;
}

/* Gradient atmospheric background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 78% 28%, rgba(255, 134, 0, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 45% 65% at 18% 65%, rgba(251, 191, 36, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 55% 40% at 55% 90%, rgba(255, 203, 112, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Hex pattern subtle no hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hex-pattern-light);
  background-position: center;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { position: relative; z-index: 2; max-width: 600px; }

/* Animated background orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 700px; height: 700px;
  top: -18%; right: -8%;
  background: radial-gradient(circle at center, rgba(255, 134, 0, 0.13), transparent 65%);
  animation: orb-float-1 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  top: 40%; right: 26%;
  background: radial-gradient(circle at center, rgba(251, 191, 36, 0.09), transparent 65%);
  animation: orb-float-2 21s ease-in-out infinite alternate;
  animation-delay: -6s;
}
.hero-orb-3 {
  width: 380px; height: 380px;
  bottom: -6%; left: 14%;
  background: radial-gradient(circle at center, rgba(255, 203, 112, 0.08), transparent 65%);
  animation: orb-float-3 14s ease-in-out infinite alternate;
  animation-delay: -10s;
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 0.9375rem;
  background: var(--bg-card);
  color: var(--accent-dark);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 16px rgba(255, 134, 0, 0.09), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  animation: float-badge 4s ease-in-out infinite;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 134, 0, 0.7);
  animation: pulse-dot 2.4s ease-out infinite;
}

/* Headline gigante com word stagger + blur */
.hero-headline {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 1.75rem;
  color: var(--text);
}
.hero-headline .line {
  display: block;
}
.hero-headline .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(10px);
  transition:
    opacity 0.75s var(--t-snap),
    transform 0.75s var(--t-snap),
    filter 0.75s var(--t-snap);
  transition-delay: calc(var(--i, 0) * 50ms);
}
.hero-headline.staggered .w {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Gradient text no accent word */
.hero-headline .w.accent {
  background: linear-gradient(130deg, var(--accent) 0%, var(--gold-soft) 55%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(0); /* override — gradient text não suporta filter bem */
}
.hero-headline.staggered .w.accent {
  filter: blur(0);
}

.hero-sub {
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  animation: bounce-arrow 2.8s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual: screenshot + hex gigante */
.hero-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 11;
  width: 100%;
}
.hero-hex-anchor {
  position: absolute;
  top: 8%;
  left: 28%;
  width: 88%;
  height: auto;
  z-index: 0;
  filter: drop-shadow(0 24px 80px rgba(255, 134, 0, 0.38));
  animation: hex-breathe 8s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.hero-product {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 1px rgba(11, 17, 32, 0.08),
    0 30px 80px -20px rgba(11, 17, 32, 0.30),
    0 14px 30px -14px rgba(11, 17, 32, 0.18);
  transform: rotate(-1.2deg);
  transition: transform 0.7s var(--t-spring), box-shadow 0.7s var(--t-snap);
}
.hero-product:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 1px rgba(11, 17, 32, 0.06),
    0 40px 100px -20px rgba(11, 17, 32, 0.22),
    0 0 50px rgba(255, 134, 0, 0.08);
}
.hero-product img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-text { max-width: 100%; }
  .hero-visual {
    aspect-ratio: 16 / 10;
    max-width: 720px;
    margin-inline: auto;
  }
  .hero-scroll { display: none; }
}

/* ============================================================
   BOTÕES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep no hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:hover::after {
  animation: shimmer-sweep 0.65s var(--t-snap) forwards;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-card);
  box-shadow: 0 4px 14px rgba(255, 134, 0, 0.30), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 134, 0, 0.40), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(255, 134, 0, 0.28);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-l);
}
.btn-secondary:hover {
  border-color: var(--text);
  background: var(--bg-card);
}
.btn-icon { font-size: 1.125rem; line-height: 1; }

/* ============================================================
   HEAD comum às seções
============================================================ */
.section-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.eyebrow-hex {
  width: 14px;
  height: 12px;
  color: var(--accent);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(255, 134, 0, 0.42));
}
.cta-final .section-eyebrow .eyebrow-hex {
  color: var(--accent);
}
.section h2 {
  font-size: clamp(1.875rem, 3.8vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-lede {
  font-size: 1.125rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================================
   PROBLEMA — 3 cards com hex badges
============================================================ */
.problem {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
  position: relative;
}
/* Hex pattern decorativo no fundo */
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hex-pattern-light);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.problem .container { position: relative; z-index: 1; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.problem-card {
  padding: 2rem 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    transform var(--t) var(--t-spring),
    border-color var(--t),
    box-shadow var(--t);
  will-change: transform;
  cursor: default;
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 134, 0, 0.25);
  box-shadow:
    0 4px 24px rgba(255, 134, 0, 0.10),
    0 16px 48px rgba(11, 17, 32, 0.08),
    0 0 0 1px rgba(255, 134, 0, 0.10) inset;
}
.hex-badge {
  position: relative;
  width: 56px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: transform var(--t) var(--t-spring);
}
.problem-card:hover .hex-badge {
  transform: scale(1.12) rotate(-4deg);
}
.hex-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hex-badge .hex-num {
  position: relative;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.problem-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}
.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SOLUÇÃO — 2 camadas (layer-2 com conic + hex overlay)
============================================================ */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.solution-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform var(--t) var(--t-spring), box-shadow var(--t);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elev);
}
.card-label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.875rem;
  font-weight: 500;
}
.solution-card h3 {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
}
.solution-card p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.solution-card ul {
  display: grid;
  gap: 0.625rem;
}
.solution-card ul li {
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
  color: inherit;
}
.solution-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5625rem;
  width: 0.625rem; height: 1px;
  background: var(--accent);
}

/* Layer 2 — atmosférica honey/amber */
.solution-card.layer-2 {
  background: var(--amber-deep);
  border-color: var(--amber-mid);
  color: var(--bg);
  box-shadow: var(--shadow-glow-amber);
}
.solution-card.layer-2:hover {
  box-shadow: 0 0 100px rgba(255, 134, 0, 0.42), 0 0 80px rgba(255, 134, 0, 0.32);
}
.layer-2-conic {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from var(--angle) at 50% 50%,
    var(--amber-deep) 0deg,
    var(--accent-deep) 70deg,
    var(--accent) 140deg,
    var(--gold-soft) 210deg,
    var(--accent-dark) 290deg,
    var(--amber-deep) 360deg);
  filter: blur(42px);
  opacity: 0.78;
  animation: rotate-conic 20s linear infinite;
  z-index: 0;
}
.layer-2-hexpattern {
  position: absolute;
  inset: 0;
  background-image: var(--hex-pattern-honey);
  background-position: center;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}
.layer-2-content { position: relative; z-index: 2; }
.solution-card.layer-2 .card-label { color: var(--gold-soft); }
.solution-card.layer-2 h3 { color: var(--honey-cream); }
.solution-card.layer-2 p { color: rgba(255, 233, 181, 0.82); }
.solution-card.layer-2 ul li { color: var(--honey-cream); }
.solution-card.layer-2 ul li::before { background: var(--gold-soft); }

@media (max-width: 800px) {
  .solution-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMO FUNCIONA — 4 hexágonos + linha conectora animada
============================================================ */
.how {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  padding-top: 0.5rem;
}
.how-connector {
  position: absolute;
  top: 26px;
  left: 0; right: 0;
  width: 100%;
  height: 40px;
  z-index: 0;
  pointer-events: none;
}
.connector-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  stroke: var(--border-l);
  transition: stroke-dashoffset 2.8s var(--t-snap) 0.2s, stroke 0.6s ease;
}
.how-steps.animated .connector-path {
  stroke-dashoffset: 0;
  stroke: var(--accent-dim);
}

.how-step {
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
  text-align: center;
  cursor: default;
}
.hex-node {
  position: relative;
  width: 88px;
  height: 76px;
  margin: 0 auto 1.5rem;
  color: var(--text-dim);
  transition: color var(--t), transform var(--t) var(--t-spring);
}
.hex-node-shape {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 4px 14px rgba(11, 17, 32, 0.06));
  transition: filter var(--t);
}
.hex-node::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--bg-card);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  z-index: 0;
}
.hex-node-num {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  z-index: 2;
}
.hex-node-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: 26px; height: 26px;
  transform: translate(-50%, -30%);
  color: var(--text);
  z-index: 2;
  transition: color var(--t), transform var(--t) var(--t-spring);
}
.how-step:hover .hex-node { transform: translateY(-5px); color: var(--accent); }
.how-step:hover .hex-node-shape {
  filter: drop-shadow(0 10px 28px rgba(255, 134, 0, 0.30));
}
.how-step:hover .hex-node-icon {
  color: var(--accent);
  transform: translate(-50%, -38%);
}
.how-step h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.how-step p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .how-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-connector { display: none; }
  .how-step { text-align: left; }
  .hex-node { margin-left: 0; }
}

/* ============================================================
   CASO ÂNCORA (Carla) — preservado, oculto
============================================================ */
.case {
  background: linear-gradient(180deg, var(--honey-dim) 0%, transparent 80%);
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-elev);
}
.case-quote {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.005em;
}
.case-quote::before {
  content: '"';
  font-family: var(--f-mono);
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.5;
  vertical-align: -0.4em;
  margin-right: 0.25rem;
}
.case-attribution {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.case-name { font-weight: 600; font-size: 1rem; }
.case-role { font-size: 0.875rem; color: var(--text-dim); }
.case-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: var(--f-mono);
}
@media (max-width: 800px) {
  .case-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .case-photo { max-width: 200px; }
}

/* ============================================================
   PRICING — preservado, oculto
============================================================ */
.pricing {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 920px;
}
.pricing-tier {
  padding: 2rem 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.pricing-tier .tier-volume {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.pricing-tier .tier-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.pricing-tier .tier-price .currency {
  font-size: 1.125rem;
  color: var(--text-dim);
  margin-right: 0.25rem;
  font-weight: 500;
}
.pricing-tier .tier-price .unit {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-weight: 400;
}
.pricing-tier .tier-note {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 0.75rem;
}
.pricing-floor {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--f-mono);
}
@media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ============================================================
   QUEM SOMOS
============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.team-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t) var(--t-spring),
    border-color var(--t),
    box-shadow var(--t);
  will-change: transform;
  cursor: default;
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 134, 0, 0.22);
  box-shadow:
    0 8px 32px rgba(255, 134, 0, 0.08),
    0 20px 60px rgba(11, 17, 32, 0.06);
}
.team-avatar {
  position: relative;
  width: 48px;
  height: 42px;
  margin-bottom: 1.125rem;
}
.avatar-hex {
  width: 100%;
  height: 100%;
  color: var(--accent);
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 134, 0, 0.32));
  transition: filter var(--t);
}
.team-card:hover .avatar-hex {
  filter: drop-shadow(0 6px 20px rgba(255, 134, 0, 0.48));
}
.avatar-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.team-card .role {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.625rem;
  position: relative;
}
.team-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}
.team-card p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.55;
  position: relative;
}
.canastra-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-dim);
}
.canastra-badge strong { color: var(--text); font-weight: 600; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA FINAL — hex pattern + glow Action Orange
============================================================ */
.cta-final {
  background: var(--text);
  color: var(--bg);
  text-align: left;
  position: relative;
  overflow: hidden;
}
/* Hex pattern no fundo escuro */
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hex-pattern-dark);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
/* Gold glow no topo */
.cta-final::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  top: -120px; right: 38%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.10) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.cta-hexpattern { display: none; }
.cta-hex-echo {
  position: absolute;
  bottom: -12%;
  left: -8%;
  width: 360px;
  height: auto;
  z-index: 0;
  filter: drop-shadow(0 20px 60px rgba(255, 134, 0, 0.52));
  animation: hex-breathe 9s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
@media (max-width: 800px) {
  .cta-hex-echo { width: 220px; bottom: -10%; left: -10%; }
}
.cta-glow {
  position: absolute;
  width: 580px; height: 580px;
  bottom: -230px; right: -130px;
  background: radial-gradient(circle, rgba(255, 134, 0, 0.36) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 7s ease-in-out infinite;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  color: var(--bg);
  font-size: clamp(2rem, 4.2vw, 3.125rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 720px;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.cta-final p {
  font-size: 1.125rem;
  color: rgba(248, 250, 252, 0.72);
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.cta-final .btn-primary { background: var(--accent); color: var(--bg-card); }
.cta-final .btn-primary:hover { background: var(--accent-dark); }
.cta-final .btn-secondary {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(248, 250, 252, 0.25);
}
.cta-final .btn-secondary:hover {
  background: rgba(248, 250, 252, 0.06);
  border-color: rgba(248, 250, 252, 0.5);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  padding-block: 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-dim);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .nav-brand { margin-bottom: 0.875rem; }
.footer-brand .nav-logo { height: 42px; }
.footer-meta { font-size: 0.8125rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--text); }
@media (max-width: 600px) { .footer-inner { flex-direction: column; gap: 1.5rem; } }

/* ============================================================
   ANIMAÇÕES (IntersectionObserver) — blur + overshoot + stagger
============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(5px);
  transition:
    opacity 0.75s var(--t-overshoot),
    transform 0.75s var(--t-overshoot),
    filter 0.65s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Stagger via :nth-child em grids principais */
.problem-grid > [data-animate]:nth-child(1) { transition-delay: 0ms; }
.problem-grid > [data-animate]:nth-child(2) { transition-delay: 90ms; }
.problem-grid > [data-animate]:nth-child(3) { transition-delay: 180ms; }
.team-grid > [data-animate]:nth-child(1) { transition-delay: 0ms; }
.team-grid > [data-animate]:nth-child(2) { transition-delay: 90ms; }
.team-grid > [data-animate]:nth-child(3) { transition-delay: 180ms; }
.solution-grid > [data-animate]:nth-child(1) { transition-delay: 0ms; }
.solution-grid > [data-animate]:nth-child(2) { transition-delay: 120ms; }
.how-step[data-animate] {
  transition-delay: calc(var(--i, 0) * 120ms);
}

/* Reduced motion: desabilitar tudo decorativo */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; filter: none; }
  .layer-2-conic { animation: none; }
  .connector-path { stroke-dashoffset: 0; }
  .hero-headline .w { opacity: 1; transform: none; filter: none; }
  .hero-hex-anchor { animation: none; }
  .hero-orb { animation: none; }
  .hero-eyebrow { animation: none; }
  .hero-eyebrow .dot { animation: none; }
  .hero-scroll { animation: none; }
  .cta-glow { animation: none; }
}

/* ============================================================
   MOBILE — ajustes finos
============================================================ */
@media (max-width: 800px) {
  .section { padding-block: var(--section-py-mobile); }
  .hero {
    padding-top: calc(var(--section-py-mobile) + 3rem);
    padding-bottom: var(--section-py-mobile);
  }
  .case-card { padding: 2rem 1.5rem; }
  .cta-glow { width: 320px; height: 320px; }
  .hero-orb-1 { width: 400px; height: 400px; }
  .hero-orb-2 { width: 300px; height: 300px; }
  .hero-orb-3 { width: 240px; height: 240px; }
}
