/* ─────────────────────────────────────────────
   BLOCO 7 — EXPERIÊNCIA PULSANTE
   Split: copy esquerda + mockup "Hoje" vivo à direita.
   Pomodoro real (25:00 → 24:59), barras enchendo, toast a cada ciclo.
   "Esta é a venda. Vende paz, não feature." (brief)
   ───────────────────────────────────────────── */

.experiencia {
  position: relative;
  background: var(--bg-2);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(10, 10, 18, 0.06);
}

.experiencia::before {
  /* Brilho atmosférico purple+terracota muito sutil */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(226, 82, 45, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.experiencia__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  grid-template-areas:
    "copy mockup"
    "cta  mockup";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 32px;
  align-items: start;
}

.experiencia__copy { grid-area: copy; }
.experiencia__mockup { grid-area: mockup; align-self: center; }
.experiencia__cta { grid-area: cta; }

/* ─── Coluna esquerda: copy ─────── */

.experiencia__copy {
  max-width: 480px;
}

.experiencia__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 22px;
}

.experiencia__eyebrow::before {
  content: "● ";
  color: var(--purple);
}

.experiencia h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 32px;
}

.experiencia h2 .serif-italic {
  background: linear-gradient(120deg, var(--purple) 0%, var(--terracota) 90%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experiencia__rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experiencia__rules li {
  position: relative;
  padding-left: 26px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.experiencia__rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1.5px;
  background: var(--purple);
  border-radius: 999px;
}

.experiencia__rules li b {
  color: var(--text);
  font-weight: 550;
}

.experiencia__cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ─── Coluna direita: mockup "Hoje" vivo ─────── */

.experiencia__mockup {
  position: relative;
}

.hoje {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 10, 18, 0.06);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
    0 28px 70px -20px rgba(10, 10, 18, 0.22),
    0 6px 18px -6px rgba(10, 10, 18, 0.08);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.hoje::before {
  /* Glow sutil purple no canto superior direito */
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hoje > * { position: relative; z-index: 1; }

.hoje__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(10, 10, 18, 0.06);
  padding-bottom: 18px;
}

.hoje__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.hoje__eyebrow::before {
  display: none;
}

.hoje__day {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 500;
  font-variation-settings: "opsz" 100, "SOFT" 50;
  line-height: 1;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.hoje__day b {
  color: var(--purple);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.hoje__pomo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  background: rgba(10, 10, 18, 0.04);
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
}

.hoje__pomo::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracota);
  animation: pulse 1.6s ease-out infinite;
}

.hoje__pomo-lbl {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-left: 14px;
}

.hoje__pomo-time {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Lista de tarefas */
.hoje__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hoje-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
  align-items: center;
}

.hoje-item__lbl {
  font-size: 14px;
  color: var(--text);
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 22px;
}

.hoje-item__lbl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--text-3);
  background: transparent;
}

.hoje-item.is-done {
  background: rgba(34, 197, 94, 0.06);
}

.hoje-item.is-done .hoje-item__lbl::before {
  background: var(--pulse-green);
  border-color: var(--pulse-green);
  box-shadow: inset 0 0 0 2px white;
}

.hoje-item.is-active {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.18);
}

.hoje-item.is-active .hoje-item__lbl::before {
  background: var(--purple);
  border-color: var(--purple);
  animation: pulsePurple 1.8s ease-out infinite;
}

.hoje-item__bar {
  grid-column: 1 / -1;
  display: block;
  height: 4px;
  background: rgba(10, 10, 18, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}

.hoje-item__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
  border-radius: 999px;
  transition: width 1.4s var(--ease-out);
}

.hoje-item.is-active .hoje-item__bar i {
  background: linear-gradient(90deg, var(--purple), #B388FF);
  box-shadow: 0 0 10px -2px rgba(124, 58, 237, 0.5);
}

.hoje-item.is-done .hoje-item__bar i {
  background: var(--pulse-green);
}

.hoje-item__val {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  align-self: start;
  margin-top: 1px;
}

/* Time bar geral */
.hoje__time-bar {
  border-top: 1px solid rgba(10, 10, 18, 0.06);
  padding-top: 16px;
}

.hoje__time-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hoje__time-bar-head b {
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hoje__time-bar-track {
  height: 5px;
  background: rgba(10, 10, 18, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.hoje__time-bar-track i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--terracota) 100%);
  border-radius: 999px;
  transition: width 1.6s var(--ease-out);
  box-shadow: 0 0 12px -2px rgba(124, 58, 237, 0.4);
}

/* Toast */
.hoje__toast {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid rgba(10, 10, 18, 0.08);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 12px 28px -10px rgba(10, 10, 18, 0.25);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-8px);
}

.hoje__toast.is-visible {
  animation: hojeToastCycle 4s var(--ease-out) forwards;
}

.hoje__toast .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pulse-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

@keyframes hojeToastCycle {
  0%   { opacity: 0; transform: translateY(-8px); }
  10%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* ─── Responsivo ─────────────────────── */

@media (max-width: 920px) {
  .experiencia__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "mockup"
      "cta";
    grid-template-rows: auto auto auto;
    row-gap: 32px;
  }
  .experiencia__copy {
    max-width: 100%;
  }
  .experiencia__cta {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .hoje__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hoje__pomo {
    align-self: flex-start;
  }
}
