/* Bloco 03: demonstração isolada do fluxo, sem estilos globais. */
.experience {
  background: radial-gradient(ellipse at 12% 15%,#bd72ff12,transparent 50%),#090b13;
  color: #f6f0fa;
  padding: 96px 0 72px;
}
.experience-inner {
  width: calc(100% - 112px);
  max-width: 1440px;
  margin-inline: auto;
}
.experience-heading {
  display: grid;
  grid-template-columns: 1.15fr .8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 40px;
}
.experience-kicker {
  color: #c2a8cf;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 23px;
}
.experience h2 {
  font: 500 clamp(38px, 4vw, 61px)/1.1 'Manrope', sans-serif;
  letter-spacing: -.055em;
  margin: 0;
}
.experience h2 em { color: #cba9dd; font-style: normal; }
.experience-heading > p {
  max-width: 365px;
  color: #c4b7cd;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 5px;
}
.flow-demo {
  background: #292230;
  border: 1px solid #504257;
  border-radius: 16px;
  overflow: hidden;
}
.flow-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 61px;
  padding: 15px 28px;
  border-bottom: 1px solid #504257;
  font-size: 14px;
  font-weight: 600;
}
.flow-dot { color: #d0a4e5; }
.flow-toolbar-divider { margin: 0 16px; color: #a58fb1; }
.flow-demo-label { color: #c4b7cd; font-size: 11px; font-weight: 400; }
.flow-workspace { display: grid; grid-template-columns: 265px minmax(0, 1fr); }
.flow-options { padding: 28px; background: #251e2c; border-right: 1px solid #504257; }
.flow-option-label { display: flex; gap: 12px; color: #d0a4e5; font-size: 11px; margin: 0 0 18px; }
.flow-option-label span { color: #d9cde1; }
.flow-formats { display: grid; gap: 9px; }
.flow-formats button {
  position: relative;
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 14px 30px 14px 14px;
  border: 1px solid #594960;
  border-radius: 8px;
  background: transparent;
  transition: background .2s, border-color .2s, transform .2s;
}
.flow-formats button strong { font-size: 12px; letter-spacing: .04em; font-weight: 600; }
.flow-formats button span { color: #c4b7cd; font-size: 11px; }
.flow-formats button i { position: absolute; top: 13px; right: 13px; font-style: normal; color: #bfa2ce; }
.flow-formats button[aria-pressed="true"] { background: #45324f; border-color: #b58cc9; }
.flow-formats button:hover { background: #3b2e45; transform: translateY(-2px); }
.flow-formats button:active { transform: translateY(0); }
.flow-scene-label { margin-top: 30px; }
.flow-scenes { display: flex; gap: 8px; }
.flow-scenes button {
  width: 45px;
  height: 44px;
  border: 1px solid #685772;
  border-radius: 7px;
  background: transparent;
  transition: background .2s, transform .2s;
}
.flow-scenes button[aria-pressed="true"] { background: #d2afe3; color: #2b1d33; border-color: #d2afe3; }
.flow-scenes button:hover { transform: translateY(-2px); }
.flow-scenes button:active { transform: translateY(0); }
.flow-scene-hint { max-width: 190px; font-size: 11px; line-height: 1.7; color: #c4b7cd; margin: 13px 0 0; }
.flow-main { min-width: 0; padding: 28px 32px 12px; }
.flow-main-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.flow-main-heading h3 { font-size: 18px; letter-spacing: -.03em; font-weight: 500; margin: 0; }
.flow-main-heading > span { color: #d2b9df; font-size: 11px; white-space: nowrap; }
.flow-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #685772; }
.flow-tabs button {
  position: relative;
  min-height: 48px;
  border: 0;
  background: none;
  color: #bfb0c8;
  padding: 0 8px 16px;
  font-size: 13px;
  transition: color .2s;
}
.flow-tabs button span { margin-right: 9px; color: #a991b8; font-size: 10px; }
.flow-tabs button[aria-selected="true"] { color: #f6f0fa; }
.flow-tabs button::after { content: ''; position: absolute; bottom: -1px; height: 2px; left: 0; right: 0; background: #d2afe3; transform: scaleX(0); transition: transform .2s; }
.flow-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.flow-tabs button:hover { color: #fff; }
.flow-panel { padding-top: 24px; }
.flow-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.flow-panel-heading p { font-size: 10px; color: #c6a4d8; margin: 0 0 9px; }
.flow-panel-heading h4 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.flow-sample { color: #c7b7d0; font-size: 10px; padding: 6px 8px; border: 1px solid #685772; border-radius: 5px; white-space: nowrap; }
.flow-panel-desc { font-size: 13px; line-height: 1.75; color: #c4b7cd; margin: 12px 0 18px; min-height: 46px; max-width: 580px; }
.flow-prompt {
  background: #1e1924;
  border-left: 2px solid #ac82bf;
  color: #e6d9ed;
  font: 12px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  height: 146px;
  overflow-y: auto;
  padding: 18px 20px;
  scrollbar-color: #8c6e9b #1e1924;
}
.flow-panel-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.flow-scene-map { display: flex; gap: 7px; flex-wrap: wrap; }
.flow-scene-map span { color: #bfaaca; border: 1px solid #685772; border-radius: 4px; padding: 6px 8px; font-size: 10px; }
#flow-copy {
  background: #d2afe3;
  color: #2b1d33;
  border: 0;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  transition: transform .2s, background .2s;
}
#flow-copy span { display: inline-block; margin-left: 16px; transition: transform .2s; }
#flow-copy:hover { transform: translateY(-2px); background: #e4c8f1; }
#flow-copy:hover span { transform: translate(2px, -2px); }
#flow-copy:active { transform: translateY(0); }
.flow-copy-status { font-size: 11px; color: #d4b9e2; min-height: 18px; margin: 8px 0 0; }
.experience-note { color: #bfb0c8; font-size: 12px; line-height: 1.8; max-width: 760px; margin: 24px 0 0; }
.experience :is(button, [tabindex]):focus-visible { outline: 2px solid #efdcff; outline-offset: 4px; }
@media (max-width: 1100px) {
  .experience-heading { gap: 40px; }
  .flow-workspace { grid-template-columns: 235px minmax(0, 1fr); }
  .flow-options { padding: 24px; }
  .flow-main { padding: 24px 24px 12px; }
  .flow-sample { display: none; }
}
@media (max-width: 700px) {
  .experience { padding: 68px 0 48px; }
  .experience-inner { width: calc(100% - 40px); }
  .experience-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .experience h2 { font-size: clamp(34px, 9vw, 45px); }
  .experience-heading > p { font-size: 14px; line-height: 1.8; }
  .experience-kicker { font-size: 9px; margin-bottom: 20px; }
  .flow-toolbar { padding: 16px; font-size: 12px; }
  .flow-toolbar-divider { margin: 0 8px; }
  .flow-demo-label { display: none; }
  .flow-workspace { grid-template-columns: 1fr; }
  .flow-options { border-right: 0; border-bottom: 1px solid #504257; padding: 20px 16px; }
  .flow-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .flow-formats button { padding: 13px 5px; text-align: center; min-height: 48px; }
  .flow-formats button strong { font-size: 10px; letter-spacing: 0; }
  .flow-formats button span, .flow-formats button i { display: none; }
  .flow-option-label { margin-bottom: 13px; }
  .flow-scene-label { margin-top: 21px; }
  .flow-scenes { float: left; margin-right: 14px; }
  .flow-scenes button { width: 40px; }
  .flow-scene-hint { margin: 0; min-height: 44px; max-width: none; font-size: 10px; }
  .flow-main { padding: 24px 16px 12px; }
  .flow-main-heading { gap: 8px; }
  .flow-main-heading h3 { font-size: 15px; }
  .flow-main-heading > span { font-size: 10px; }
  .flow-tabs button { font-size: 12px; padding-inline: 0; }
  .flow-tabs button span { margin-right: 5px; }
  .flow-panel-heading h4 { font-size: 20px; }
  .flow-panel-desc { font-size: 12px; min-height: 63px; }
  .flow-prompt { height: 190px; padding: 14px; font-size: 11px; }
  .flow-panel-bottom { align-items: start; gap: 14px; flex-direction: column; }
  #flow-copy { width: 100%; text-align: left; display: flex; justify-content: space-between; }
  .experience-note { font-size: 11px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .experience *, .experience *::after { transition: none !important; }
}

.experience svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; display: block; }

/* Revisão visual interna: somente fundos, mantendo controles e geometria. */
#experiencia .flow-demo { background: linear-gradient(145deg,#b587fa0d,transparent 55%),#0d101b; }
#experiencia .flow-toolbar { background: #ffffff02; }
#experiencia .flow-options { background: #0a0d16; }
#experiencia .flow-main { background: transparent; }
#experiencia .flow-tabs { background: #080b12; }
#experiencia .flow-prompt { background: #080b12; }
