/* camada4.css — Protótipo simulador */

.c4-hero {
  padding: 80px 40px 32px;
  max-width: 1560px; margin: 0 auto;
}
.c4-hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: end;
}

/* Persona selector */
.c4-persona-bar {
  padding: 20px 40px;
  max-width: 1560px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.c4-persona-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.c4-persona-card:hover { border-color: rgba(255,255,255,0.12); }
.c4-persona-card.active {
  border-color: #E89A4A;
  background: linear-gradient(135deg, rgba(232,154,74,0.08), #141414);
}
.c4-persona-card-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.c4-persona-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,#E89A4A,#a05a1a);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: #141414;
  flex-shrink: 0;
}
.c4-persona-card .name { font-size: 15px; color: #e8e6e2; font-weight: 500; }
.c4-persona-card .subname { font-size: 11px; color: #7a7a7a; font-family: 'JetBrains Mono',monospace; letter-spacing: 0.04em; }
.c4-persona-card .flag { margin-left: auto; font-size: 22px; }
.c4-persona-card .label {
  font-size: 11px; color: #b0b0b0; line-height: 1.5;
}
.c4-persona-card .phase {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(232,154,74,0.14); color: #E89A4A;
  font-size: 10px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  margin-top: 10px;
}

/* Prototype frame — fake phone bezel + big nav controls outside */
.c4-stage {
  padding: 32px 40px 80px;
  max-width: 1560px; margin: 0 auto;
  display: grid; grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: start;
}
.c4-phone-stage {
  position: sticky; top: 80px;
  display: flex; justify-content: center; align-items: flex-start;
}
.c4-phone-bezel {
  width: 420px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.c4-phone-screen {
  width: 100%; aspect-ratio: 9/19.5;
  background: #141414;
  border-radius: 36px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}

/* Script side */
.c4-script h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px; letter-spacing: -0.02em; line-height: 1.1;
  font-weight: 400; margin: 0 0 10px;
}
.c4-script .persona-intro {
  font-size: 14px; color: #b0b0b0; line-height: 1.55; margin: 0 0 24px;
  max-width: 640px;
}

.c4-script-scenes {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.c4-scene-btn {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  padding: 14px 16px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit; color: inherit; text-align: left;
  transition: background .15s;
}
.c4-scene-btn:hover { background: #1a1a1a; }
.c4-scene-btn.active {
  border-left-color: #E89A4A;
  background: rgba(232,154,74,0.05);
}
.c4-scene-btn .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #7a7a7a;
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.c4-scene-btn.active .num { color: #E89A4A; }
.c4-scene-btn .name {
  font-size: 14px; color: #e8e6e2; font-weight: 500;
  margin-bottom: 4px;
}
.c4-scene-btn .sub {
  font-size: 12px; color: #7a7a7a; line-height: 1.45;
}
.c4-scene-btn .phase-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: #E89A4A;
  background: rgba(232,154,74,0.1);
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.08em;
  align-self: start;
}

.c4-script-nav {
  display: flex; gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.c4-script-nav button {
  padding: 10px 18px; border-radius: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,0.12);
  color: #e8e6e2; font-size: 13px; cursor: pointer;
  font-family: inherit;
}
.c4-script-nav button.primary { background: #E89A4A; color: #141414; border-color: #E89A4A; }
.c4-script-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.c4-script-nav .spacer { flex: 1; }

/* Phone content for persona playback */
.c4-ph-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 26px 8px;
  font-size: 12px; font-weight: 600; color: #e8e6e2;
  flex-shrink: 0;
}
.c4-ph-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 22px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.c4-ph-topbar .user { display: flex; align-items: center; gap: 10px; }
.c4-ph-topbar .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg,#E89A4A,#a05a1a);
  color: #141414; font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.c4-ph-topbar .hello { font-size: 11px; color: #7a7a7a; }
.c4-ph-topbar .stage { font-size: 13px; color: #e8e6e2; font-weight: 500; letter-spacing: -0.01em; }

.c4-ph-body {
  flex: 1; overflow-y: auto; padding: 18px 22px 20px;
}

.c4-ph-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 0 16px; border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.c4-ph-tabbar .tb {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; color: #555; flex: 1;
}
.c4-ph-tabbar .tb.on { color: #E89A4A; }

/* Reuse pb-* classes from camada2.css but restyle for larger phone */
.c4-ph-body .pb-hero .ti { font-size: 17px; }
.c4-ph-body .pb-hero .bd { font-size: 12.5px; }
.c4-ph-body .pb-hero .cta { font-size: 12px; padding: 9px 14px; }
.c4-ph-body .pb-item .t { font-size: 13px; }
.c4-ph-body .pb-item .s { font-size: 11.5px; }

/* Persona facts panel */
.c4-facts {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}
.c4-facts .t {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #E89A4A; font-family: 'JetBrains Mono', monospace;
  margin-bottom: 12px;
}
.c4-facts .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
  font-size: 12px;
}
.c4-facts .grid .k { color: #7a7a7a; }
.c4-facts .grid .v { color: #e8e6e2; text-align: right; }
