/* ==========================================================================
   hero.css — Hero variante "WhatsApp Simulado" (light cream)
   ========================================================================== */

.hero {
  position: relative;
  background: var(--color-bg-cream);
  color: var(--color-text-cream);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

/* Decoração de fundo — blobs com blur */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: blob-float 18s ease-in-out infinite;
}

.hero__blob--1 {
  top: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(226, 94, 62, 0.45), transparent 70%);
  animation-delay: 0s;
}

.hero__blob--2 {
  bottom: -100px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.35), transparent 70%);
  animation-delay: -6s;
}

.hero__blob--3 {
  top: 30%;
  right: 20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(226, 94, 62, 0.25), transparent 70%);
  animation-delay: -12s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.97); }
}

/* Layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(3rem, 5vw, 5rem);
  }
}

/* Coluna texto */
.hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__eyebrow::before {
  content: "●";
  font-size: 0.7rem;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  color: var(--color-text-cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}

.hero__headline-accent {
  color: var(--color-primary);
  display: inline-block;
  position: relative;
}

.hero__headline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 6px;
  background: var(--color-primary);
  opacity: 0.18;
  z-index: -1;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: var(--color-text-cream-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero__bullets {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-cream);
}

.hero__bullet-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.hero__cta-microcopy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-cream-muted);
  text-transform: uppercase;
}

.hero__scarcity {
  margin-top: 0.85rem;
  width: 100%;
  max-width: 460px;
}

.hero__scarcity-bar {
  width: 100%;
  height: 8px;
  background: rgba(26, 26, 46, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 46, 0.12);
}

.hero__scarcity-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff7f5e 0%, var(--color-primary) 50%, #c64f30 100%);
  border-radius: 999px;
  transition: width 0.6s ease, background 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 12px rgba(226, 94, 62, 0.4);
}

/* Urgência crescente — discreto no above-the-fold (sem chama nem shake) */
.hero__scarcity[data-urgency="medium"] .hero__scarcity-bar-fill {
  background: linear-gradient(90deg, #fb923c 0%, #ea580c 100%);
  box-shadow: 0 0 14px rgba(251, 146, 60, 0.5);
}
.hero__scarcity[data-urgency="high"] .hero__scarcity-bar-fill {
  background: linear-gradient(90deg, #ea580c 0%, #dc2626 100%);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.55);
}
.hero__scarcity[data-urgency="critical"] .hero__scarcity-bar-fill {
  background: linear-gradient(90deg, #dc2626 0%, #f59e0b 50%, #dc2626 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.7);
  animation: hero-fire-flow 3s linear infinite;
}

@keyframes hero-fire-flow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scarcity-bar-fill {
    animation: none !important;
    transition: width 0.3s ease !important;
  }
}

.hero__scarcity-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--color-text-cream-muted);
  margin-top: 0.45rem;
}

.hero__scarcity-label strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Coluna mockup do app Claude */
.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Cores do app Claude */
.claude-mockup {
  --c-bg: #FAF7EE;
  --c-bg-input: #F0EADC;
  --c-bubble-user: #EFE8D6;
  --c-text: #2C2A26;
  --c-text-muted: #6B6760;
  --c-accent: #C97758;
  --c-divider: rgba(44, 42, 38, 0.08);

  width: 100%;
  max-width: 380px;
  background: var(--c-bg);
  border-radius: 28px;
  box-shadow:
    0 30px 60px rgba(44, 42, 38, 0.22),
    0 8px 24px rgba(44, 42, 38, 0.12),
    0 0 0 1px rgba(44, 42, 38, 0.06),
    inset 0 0 0 6px #1a1a1a;
  overflow: hidden;
  font-family: var(--font-body);
  position: relative;
  padding: 6px;
}

.claude-mockup__screen {
  background: var(--c-bg);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Notch sutil topo (status bar do iPhone) */
.claude-mockup__notch {
  background: var(--c-bg);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 0 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text);
}

.claude-mockup__notch-time {
  font-variant-numeric: tabular-nums;
}

.claude-mockup__notch-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.claude-mockup__header {
  background: var(--c-bg);
  padding: 0.5rem 1rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-divider);
}

.claude-mockup__header-side {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  font-size: 1.2rem;
  opacity: 0.7;
}

.claude-mockup__header-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-text);
}

.claude-mockup__star {
  color: var(--c-accent);
  font-size: 1rem;
  display: inline-flex;
  flex-shrink: 0;
}

.claude-mockup__model-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--c-text-muted);
  background: var(--c-bg-input);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  letter-spacing: 0.02em;
}

.claude-mockup__body {
  padding: 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--c-bg);
}

.claude-mockup__msg {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  word-wrap: break-word;
}

.claude-mockup__msg.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.claude-mockup__msg--user {
  align-self: flex-end;
  background: var(--c-bubble-user);
  color: var(--c-text);
  padding: 0.65rem 0.85rem;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  max-width: 82%;
}

.claude-mockup__msg--assistant {
  align-self: flex-start;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
}

.claude-mockup__msg-head {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 0;
}

.claude-mockup__msg-head .claude-mockup__star {
  font-size: 0.95rem;
}

.claude-mockup__msg-text {
  color: var(--c-text);
  font-size: 0.88rem;
  line-height: 1.5;
}

.claude-mockup__msg-text strong {
  font-weight: 600;
}

/* Card de relatório dentro da resposta do Claude */
.claude-mockup__report {
  background: #ffffff;
  border: 1px solid var(--c-divider);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-text);
  box-shadow: 0 1px 2px rgba(44, 42, 38, 0.04);
}

.claude-mockup__report-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--c-text);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.claude-mockup__report-emoji {
  font-size: 0.9rem;
}

.claude-mockup__report-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  border-bottom: 1px solid var(--c-divider);
}

.claude-mockup__report-row:last-of-type {
  border-bottom: none;
}

.claude-mockup__report-row span:first-child {
  color: var(--c-text-muted);
}

.claude-mockup__report-delta {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--c-divider);
  font-weight: 600;
  color: #16a34a;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Indicador de "thinking" do Claude — 3 dots */
.claude-mockup__typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.claude-mockup__typing.is-visible {
  opacity: 1;
}

.claude-mockup__typing-star {
  color: var(--c-accent);
  font-size: 0.95rem;
  animation: claude-thinking-pulse 1.5s ease-in-out infinite;
}

.claude-mockup__typing-label {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  font-style: italic;
}

@keyframes claude-thinking-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Input bar embaixo */
.claude-mockup__input {
  margin: 0.5rem 0.85rem 0.85rem;
  background: var(--c-bg-input);
  border-radius: 22px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--c-divider);
}

.claude-mockup__input-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.claude-mockup__input-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-text);
  color: var(--c-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Alert-box de segmentação */
.hero__alert {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: #FFF8F0;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  position: relative;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 0 rgba(226, 94, 62, 0.15);
}

.hero__alert-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--color-primary),
    var(--color-primary) 8px,
    #c64f30 8px,
    #c64f30 16px
  );
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.hero__alert-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__alert-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-cream);
}

.hero__alert-body strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Fade no rodapé pra transição suave */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-bg-cream));
  pointer-events: none;
  z-index: 0;
}
