:root {
  --page-bg: #0b1118;
  --panel: #101a24;
  --text: #f6f0e6;
  --ink: #18212a;
  --muted: #9ba8b4;
  --gold: #c6a55b;
  --gold-deep: #9b772b;
  --gold-soft: #ead9aa;
  --card-gold-top: #d6b866;
  --card-gold-mid: #ead8a3;
  --card-gold-bottom: #fff8e8;
  --line-dark: rgba(234, 217, 170, 0.18);
  --line-light: rgba(20, 31, 42, 0.12);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.24);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 8%, rgba(198, 165, 91, 0.15), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(68, 112, 130, 0.22), transparent 30%),
    linear-gradient(145deg, #070b10 0%, #0b1118 46%, #101923 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.security-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(5, 8, 12, 0.86) 0%, rgba(9, 15, 22, 0.68) 38%, rgba(18, 31, 43, 0.34) 100%),
    url("forum_sp_03") 76% 28% / cover no-repeat,
    linear-gradient(145deg, #080d13 0%, #101923 100%);
  backdrop-filter: blur(10px);
}

.security-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background:
    linear-gradient(180deg, rgba(3, 6, 10, 0.08), rgba(3, 6, 10, 0.42)),
    linear-gradient(90deg, rgba(5, 8, 12, 0.42), rgba(5, 8, 12, 0.18) 50%, rgba(5, 8, 12, 0.08));
  backdrop-filter: blur(0.5px) saturate(0.90);
  pointer-events: none;
}

.security-modal::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  opacity: 0.16;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(234, 217, 170, 0.42) 18% 18.4%, transparent 18.4% 34%),
    linear-gradient(240deg, transparent 0 22%, rgba(255, 255, 255, 0.20) 22% 22.3%, transparent 22.3% 46%);
  pointer-events: none;
}

.security-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(234, 217, 170, 0.55) 12% 12.35%, transparent 12.35% 22%),
    linear-gradient(0deg, transparent 0 68%, rgba(255, 255, 255, 0.45) 68% 68.5%, transparent 68.5%),
    linear-gradient(90deg, transparent 0 38%, rgba(255, 255, 255, 0.34) 38% 38.35%, transparent 38.35% 48%),
    linear-gradient(0deg, transparent 0 82%, rgba(234, 217, 170, 0.38) 82% 82.5%, transparent 82.5%);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
  pointer-events: none;
}

.security-modal.hidden {
  display: none;
}

.security-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1120px);
  max-height: calc(100dvh - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid rgba(234, 217, 170, 0.26);
  border-radius: 20px;
  background:
    linear-gradient(105deg, rgba(5, 8, 12, 0.86) 0%, rgba(9, 15, 22, 0.76) 42%, rgba(12, 19, 27, 0.50) 100%),
    linear-gradient(180deg, rgba(198, 165, 91, 0.14), rgba(198, 165, 91, 0.04)),
    url("forum_sp_02") 70% 26% / cover no-repeat,
    rgba(12, 19, 27, 0.88);
  color: #fffaf0;
  box-shadow: var(--shadow-strong);
}

.security-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.46), rgba(5, 8, 12, 0.24) 50%, rgba(5, 8, 12, 0.10)),
    radial-gradient(circle at 78% 12%, rgba(234, 217, 170, 0.18), transparent 34%);
  backdrop-filter: blur(0.5px) saturate(0.88);
  pointer-events: none;
}

.security-card::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  top: clamp(58px, 9vh, 104px);
  z-index: 0;
  width: clamp(150px, 22vw, 260px);
  aspect-ratio: 220 / 192;
  background: url("coruja_carlos_coruja_marca_dagua.png") center / contain no-repeat;
  opacity: 0.075;
  filter: grayscale(0.18);
  pointer-events: none;
}

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

.language-selector {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.language-button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(234, 217, 170, 0.38);
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.58);
  color: #e2e7ec;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-button:hover,
.language-button.active {
  border-color: rgba(255, 226, 150, 0.82);
  background: rgba(198, 165, 91, 0.24);
  color: #fff8e8;
}

.language-button:focus-visible {
  outline: 2px solid #fff1bd;
  outline-offset: 2px;
}

.office-brand {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .language-selector {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-end;
    margin-bottom: 6px;
  }
}

.office-logo {
  display: block;
  width: clamp(240px, 35vw, 350px);
  max-width: calc(100% - 190px);
  height: auto;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.92))
    drop-shadow(0 3px 7px rgba(0, 0, 0, 0.78))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.44));
}

.opening-copy {
  max-width: 680px;
  margin-bottom: 6px;
}

.security-card h1 {
  max-width: 620px;
  margin: 0 0 5px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
  line-height: 1;
}

.opening-copy p:last-child {
  margin-bottom: 0;
  color: #e2e7ec;
  font-size: 0.9rem;
  line-height: 1.24;
}

.audio-welcome-button {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(234, 217, 170, 0.38);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.12);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.audio-welcome-button:hover {
  background: rgba(255, 248, 232, 0.18);
}

.security-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  flex: 1 1 auto;
  min-height: 0;
  gap: 8px;
  margin-bottom: 6px;
}

.opening-panel {
  position: relative;
  min-height: 100%;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(116, 83, 22, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, var(--card-gold-top) 0%, var(--card-gold-mid) 34%, var(--card-gold-bottom) 100%);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
}

.opening-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.42), transparent 32%);
  pointer-events: none;
}

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

.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.panel-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #18212a;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.panel-heading h2 {
  margin: 0;
  color: #17202a;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.12;
}

.official-channels {
  display: grid;
  gap: 5px;
  margin-bottom: 7px;
}

.official-channels .channel-block,
.trust-grid div {
  padding: 6px 8px;
  border-radius: var(--radius);
}

.official-channels .channel-block {
  border: 1px solid rgba(95, 69, 20, 0.14);
  background: rgba(255, 255, 255, 0.54);
}

.official-channels span,
.trust-grid span {
  display: block;
  margin-bottom: 1px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.official-channels span {
  color: #67582f;
}

.official-channels strong {
  display: block;
  min-width: 0;
  color: #17202a;
  font-size: 0.82rem;
  line-height: 1.16;
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.channel-row + .channel-row,
.channel-row + strong {
  margin-top: 3px;
}

.channel-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(95, 69, 20, 0.22);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.72);
  color: #4d3710;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.channels-panel .official-channels {
  gap: 3px;
  margin-bottom: 5px;
}

.channels-panel .official-channels .channel-block {
  padding: 3px 7px;
}

.channels-panel .official-channels .channel-block:last-child {
  padding-top: 4px;
  padding-bottom: 4px;
}

.channels-panel .official-channels strong {
  font-size: 0.78rem;
  line-height: 1.12;
}

.channels-panel .channel-row {
  gap: 6px;
}

.channels-panel .channel-row + .channel-row,
.channels-panel .channel-row + strong {
  margin-top: 2px;
}

.channels-panel .channel-action {
  min-height: 20px;
  padding: 2px 6px;
  font-size: 0.66rem;
}

.security-note {
  margin: 0;
  padding: 7px 8px;
  border-left: 3px solid #7d5e20;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  color: #3f3215;
  font-size: 0.8rem;
  line-height: 1.22;
}

.commitment-list {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 0 0 7px;
  list-style: none;
}

.commitment-list li {
  position: relative;
  padding-left: 16px;
  color: #2b343d;
  font-weight: 900;
  font-size: 0.84rem;
  line-height: 1.18;
}

.commitment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d5e20;
}

.goal-box {
  padding: 7px 8px;
  border: 1px solid rgba(95, 69, 20, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.60);
}

.goal-box span {
  display: block;
  margin-bottom: 2px;
  color: #5a451b;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.goal-box p {
  margin: 0;
  color: #2f3942;
  font-weight: 900;
  font-size: 0.8rem;
  line-height: 1.2;
}

.security-button {
  display: block;
  width: min(100%, 360px);
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0 auto;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #d8bd74, #a8863d);
  color: #111820;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(198, 165, 91, 0.24);
}

.urgent-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(244, 207, 114, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(115, 24, 34, 0.96), rgba(72, 18, 28, 0.94));
  color: #fff7df;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 24px rgba(45, 6, 13, 0.20);
}

.urgent-link-security {
  width: fit-content;
  min-height: 30px;
  margin: 5px auto 0;
  padding: 0 15px;
  font-size: 0.78rem;
}

.urgent-link-hero {
  width: min(100%, 360px);
  min-height: 38px;
  margin: 14px auto 0;
  padding: 0 18px;
  font-size: 0.86rem;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 46px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  min-height: 352px;
  margin-bottom: 22px;
}

.hero-content,
.trust-panel,
.version-card {
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(16, 26, 36, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero-content {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(198, 165, 91, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("coruja_carlos_coruja_marca_dagua.png") 93% 58% / min(52%, 470px) auto no-repeat;
  opacity: 0.075;
  filter: sepia(0.42) saturate(1.55) brightness(1.14);
  -webkit-mask-image: radial-gradient(ellipse at 93% 58%, #000 0%, rgba(0, 0, 0, 0.82) 50%, transparent 80%);
  mask-image: radial-gradient(ellipse at 93% 58%, #000 0%, rgba(0, 0, 0, 0.82) 50%, transparent 80%);
  pointer-events: none;
}

.hero-consultation {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3.4vw, 34px);
  align-items: center;
}

.hero-intro {
  min-width: 0;
}

.consultation-scene {
  order: -1;
}

.eyebrow,
.phone-kicker,
.step-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gold {
  color: var(--gold-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h2 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 0 14px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
}

#page-title {
  max-width: 7.4ch;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 1.02;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin-bottom: 24px;
  color: #d5dde5;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  width: 100%;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 900;
}

.hero-primary,
.hero-secondary {
  background: linear-gradient(135deg, #d2b46d, #a8863d);
  color: #101820;
  box-shadow: 0 12px 28px rgba(198, 165, 91, 0.20);
}

.hero-secondary {
  border: 0;
}

.image-choice {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.image-choice img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.report-choice.active {
  outline: 2px solid rgba(234, 217, 170, 0.42);
  outline-offset: 3px;
}

.choice-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.pen-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 15px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(42deg);
}

.pen-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-18deg);
}

.mic-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.mic-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 0;
  width: 12px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  box-shadow: inset 0 -2px 0 currentColor;
}

.report-mode-label {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-panel h3,
.report-waiting h3 {
  margin-bottom: 8px;
  color: #fffaf0;
  font-size: 1.15rem;
}

.report-helper,
.voice-status,
.report-waiting p {
  margin: 0 0 12px;
  color: #c3ccd5;
  line-height: 1.45;
}

.voice-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #f4cf72;
  font-weight: 800;
}

.report-panel textarea {
  display: block;
  width: 100%;
  min-height: 148px;
  resize: vertical;
  border: 1px solid rgba(234, 217, 170, 0.22);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.92);
  color: #17202a;
  padding: 14px;
  line-height: 1.5;
  box-shadow: inset 0 2px 8px rgba(5, 8, 12, 0.10);
}

.report-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #d2b46d, #a8863d);
  color: #101820;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(198, 165, 91, 0.18);
}

.new-report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 12px 0 0 8px;
  padding: 0 18px;
  border: 1px solid rgba(244, 207, 114, 0.48);
  border-radius: 12px;
  background: transparent;
  color: #f4cf72;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.new-report-button[hidden] {
  display: none;
}

.report-submit-feedback {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(244, 207, 114, 0.30);
  border-radius: 12px;
  background: rgba(5, 8, 12, 0.42);
  color: #d5dde5;
  font-size: 0.9rem;
  line-height: 1.4;
}

.report-submit-feedback.show {
  display: block;
}

.report-submit-feedback strong {
  display: block;
  margin-bottom: 6px;
  color: #f4cf72;
}

.report-summary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(234, 217, 170, 0.18);
}

.report-summary span {
  display: block;
  margin-bottom: 4px;
  color: #f4cf72;
  font-weight: 900;
}

.report-summary p {
  margin: 0;
  color: #fffaf0;
}

.consultation-scene {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(234, 217, 170, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 19, 0.12)),
    url("guardiao_da_justica.png") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.consultation-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.04), rgba(5, 8, 12, 0.28)),
    linear-gradient(90deg, rgba(255, 248, 232, 0.10), rgba(24, 56, 90, 0.08));
  pointer-events: none;
}

.consultation-scene > * {
  display: none;
}

.scene-window {
  position: absolute;
  inset: 24px 24px auto;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(255, 255, 255, 0.30) 32% 33%, transparent 33% 66%, rgba(255, 255, 255, 0.30) 66% 67%, transparent 67%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(143, 191, 175, 0.12));
  backdrop-filter: blur(1px);
}

.scene-person {
  position: absolute;
  bottom: 122px;
  width: 96px;
  height: 140px;
}

.lawyer-person {
  left: 56px;
}

.client-person {
  right: 54px;
}

.person-head {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #e9c79e;
  box-shadow: inset 0 -8px 0 rgba(90, 56, 24, 0.16);
}

.person-body {
  width: 96px;
  height: 82px;
  border-radius: 30px 30px 10px 10px;
  background: linear-gradient(180deg, #18385a, #101923);
}

.client-person .person-body {
  background: linear-gradient(180deg, #2f8171, #18385a);
}

.person-badge {
  position: absolute;
  left: 39px;
  top: 70px;
  width: 12px;
  height: 18px;
  border-radius: 2px;
  background: var(--gold-soft);
}

.scene-table {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 66px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(180deg, #d1b064, #9d762c);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.scene-table span {
  position: absolute;
  bottom: -44px;
  width: 12px;
  height: 46px;
  border-radius: 8px;
  background: rgba(234, 217, 170, 0.64);
}

.scene-table span:first-child {
  left: 18%;
}

.scene-table span:last-child {
  right: 18%;
}

.scene-document {
  position: absolute;
  left: 50%;
  bottom: 106px;
  width: 98px;
  height: 52px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 31%, rgba(24, 56, 90, 0.22) 31% 36%, transparent 36% 58%, rgba(24, 56, 90, 0.18) 58% 63%, transparent 63%),
    #fff8e8;
  transform: translateX(-50%) rotate(-2deg);
}

.scene-lamp {
  position: absolute;
  right: 28px;
  bottom: 124px;
  width: 42px;
  height: 72px;
  border-left: 4px solid rgba(234, 217, 170, 0.62);
}

.scene-lamp::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0;
  width: 42px;
  height: 24px;
  border-radius: 18px 18px 8px 8px;
  background: var(--gold-soft);
}

.trust-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden;
  padding: 16px;
  background:
    url("fundo_escritorio_advocacia_vertical.png") center / cover no-repeat,
    rgba(16, 26, 36, 0.86);
  background-color: #101a24;
}

.trust-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 29, 0.10), rgba(5, 10, 16, 0.22)),
    linear-gradient(110deg, rgba(52, 112, 154, 0.12), rgba(238, 207, 125, 0.10));
  pointer-events: none;
}

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

.trust-panel strong,
.trust-panel p,
.trust-panel span {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.88),
    0 0 2px rgba(0, 0, 0, 0.48);
}

.trust-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 150, 0.75);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 14, 21, 0.96), rgba(24, 33, 43, 0.92));
  color: transparent;
  font-size: 0;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.trust-mark::before {
  content: "";
  display: block;
  width: 40px;
  height: 38px;
  background: url("coruja_carlos_coruja_marca_dagua.png") center / contain no-repeat;
  filter:
    sepia(0.18)
    saturate(1.48)
    brightness(1.16)
    contrast(1.08)
    drop-shadow(0 1px 2px rgba(255, 221, 139, 0.22))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.46));
}

.trust-header strong {
  display: block;
  margin-bottom: 4px;
  color: #fffaf0;
  font-size: 1.08rem;
}

.trust-header p,
.trust-note {
  margin: 0;
  color: #c3ccd5;
  line-height: 1.45;
}

.trust-header p {
  color: #ffdb82;
  font-weight: 900;
}

.trust-grid {
  display: grid;
  gap: 10px;
}

.trust-grid div {
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.trust-grid span {
  color: #b8c3cd;
}

.trust-grid strong {
  display: block;
  color: #fff8e8;
  font-size: 1rem;
  line-height: 1.4;
}

.trust-note {
  padding: 14px;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  font-size: 0.92rem;
}

.return-form {
  display: grid;
  gap: 4px;
}

.return-intro,
.return-status {
  margin: 0;
  color: #eef3f5;
  font-size: 0.76rem;
  line-height: 1.2;
}

.return-intro {
  padding: 7px 10px;
  border: 1px solid rgba(244, 207, 114, 0.52);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(5, 10, 16, 0.91), rgba(12, 22, 31, 0.82));
  color: #ffdb82;
  font-size: 0.83rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 22px rgba(0, 0, 0, 0.18);
}

.return-form label,
.return-form fieldset {
  min-width: 0;
}

.return-form label {
  display: grid;
  gap: 1px;
}

.return-form label span,
.return-form legend {
  color: #ffebba;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.08;
}

.return-form input[type="text"],
.return-form input[type="tel"],
.return-form input[type="email"] {
  width: 100%;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(234, 217, 170, 0.48);
  border-radius: 8px;
  background: rgba(5, 10, 16, 0.52);
  color: #fffaf0;
  font: inherit;
  font-size: 0.74rem;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.10);
}

.return-form input:focus {
  border-color: rgba(255, 219, 130, 0.82);
  background: rgba(5, 10, 16, 0.66);
  box-shadow: 0 0 0 2px rgba(244, 207, 114, 0.18);
}

.return-form fieldset {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
}

.return-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 7px;
}

.return-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 74px));
  gap: 6px;
}

.return-form fieldset label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(234, 217, 170, 0.30);
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.24);
  color: #e7edf2;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.return-consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #e7edf2;
  font-size: 0.72rem;
  line-height: 1.14;
}

.return-form input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.return-form fieldset label:has(input:checked) {
  border-color: rgba(244, 207, 114, 0.72);
  background: rgba(244, 207, 114, 0.18);
  color: #fff7df;
}

.return-form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #d2b46d;
}

.return-consent span {
  color: #edf2f6;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.2;
}

.return-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  margin-top: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0c477, #b18c3e);
  color: #0b141c;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.26);
}

.return-status {
  min-height: 14px;
  color: #f4cf72;
  font-size: 0.68rem;
  font-weight: 800;
}

.prototype-area {
  position: relative;
  isolation: isolate;
  margin-top: 2px;
  min-height: 820px;

  /* Marca d'água institucional: somente a coruja/balança oficial. */
  --institutional-watermark-images: url("coruja_carlos_coruja_marca_dagua.png");
  --institutional-watermark-positions: 42% 55%;
  --institutional-watermark-sizes: min(74%, 820px) auto;
  --institutional-watermark-opacity: 0.16;
}

.prototype-area::before,
.prototype-area::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.prototype-area::before {
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(198, 165, 91, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 18%, rgba(198, 165, 91, 0.13), transparent 30%),
    linear-gradient(145deg, #0b121a 0%, #101b26 54%, #172432 100%);
  box-shadow: 0 30px 88px rgba(5, 8, 12, 0.28);
}

.prototype-area::after {
  inset: 0;
  z-index: -1;
  background-image: var(--institutional-watermark-images);
  background-position: var(--institutional-watermark-positions);
  background-size: var(--institutional-watermark-sizes);
  background-repeat: no-repeat;
  opacity: var(--institutional-watermark-opacity);
  filter: sepia(0.52) saturate(1.70) brightness(1.20);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 24%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.12) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 24%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.12) 100%);
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.prototype-area > .version-switcher,
.prototype-area > .prototype-grid,
.prototype-area > .office-team-illustration {
  display: none;
}

.lower-report-card {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  top: clamp(2px, 0.5vw, 6px);
  z-index: 1;
  width: min(44%, 500px);
  max-height: calc(100% - clamp(36px, 8vw, 88px));
  overflow: auto;
  padding: 18px;
  transform: translateY(-10px);
  border: 1px solid rgba(234, 217, 170, 0.12);
  border-radius: 22px;
  background: rgba(5, 10, 16, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  color: #fffaf0;
}

.report-waiting {
  display: block;
}

.report-panel {
  display: none;
}

.lower-report-card.active .report-waiting {
  display: none;
}

.lower-report-card.active .report-panel {
  display: block;
}

.practice-areas-card {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  top: clamp(2px, 0.5vw, 6px);
  z-index: 1;
  display: grid;
  width: min(48%, 520px);
  max-height: calc(100% - clamp(28px, 5vw, 54px));
  padding: 6px 16px 16px;
  transform: translateY(-10px);
  border: 1px solid rgba(234, 217, 170, 0.12);
  border-radius: 22px;
  background: rgba(5, 10, 16, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: #fffaf0;
}

.practice-areas-card h2 {
  margin: 0 0 8px;
  color: #fff8e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.38rem, 1.85vw, 1.9rem);
  line-height: 1.05;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.68),
    0 0 8px rgba(0, 0, 0, 0.42);
}

.practice-areas-list {
  display: grid;
  gap: 5px;
  overflow: auto;
  padding-right: 8px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 18, 28, 0.035), rgba(7, 15, 24, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 150, 0.10);
}

.practice-areas-list article {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.practice-areas-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.practice-areas-list h3 {
  margin: 0 0 2px;
  color: #ffe6a3;
  -webkit-text-stroke: 0.35px rgba(0, 0, 0, 0.88);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.18;
  text-shadow:
    1px 0 0 rgba(0, 0, 0, 0.72),
    -1px 0 0 rgba(0, 0, 0, 0.72),
    0 1px 0 rgba(0, 0, 0, 0.72),
    0 -1px 0 rgba(0, 0, 0, 0.72),
    0 1px 3px rgba(0, 0, 0, 0.58);
}

.practice-areas-list p {
  margin: 0;
  color: #eef2f5;
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

.work-with-us-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 28px);
  margin-top: 22px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(234, 217, 170, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(5, 8, 12, 0.88), rgba(16, 26, 36, 0.82)),
    rgba(16, 26, 36, 0.86);
  box-shadow: var(--shadow-soft);
  color: #fffaf0;
}

.work-with-us-copy h2 {
  margin: 0 0 12px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.work-with-us-copy p {
  max-width: 560px;
  color: #d5dde5;
  line-height: 1.5;
}

.work-with-us-note {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(244, 207, 114, 0.24);
  border-radius: 14px;
  background: rgba(5, 8, 12, 0.36);
  color: #f4cf72;
  font-size: 0.9rem;
  font-weight: 800;
}

.work-with-us-form {
  display: grid;
  gap: 9px;
  align-content: start;
}

.work-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.work-with-us-form label {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.work-with-us-form span {
  color: #ffe3a1;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.work-with-us-form input,
.work-with-us-form select,
.work-with-us-form textarea {
  width: 100%;
  border: 1px solid rgba(234, 217, 170, 0.34);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
  font: inherit;
  font-size: 0.84rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.work-with-us-form input,
.work-with-us-form select {
  min-height: 34px;
  padding: 6px 9px;
}

.work-with-us-form textarea {
  min-height: 76px;
  resize: vertical;
  padding: 8px 9px;
}

.work-with-us-form select option {
  color: #101820;
}

.work-with-us-form input:focus,
.work-with-us-form select:focus,
.work-with-us-form textarea:focus {
  border-color: rgba(244, 207, 114, 0.72);
  box-shadow: 0 0 0 2px rgba(244, 207, 114, 0.16);
}

.work-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #d2b46d, #a8863d);
  color: #101820;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(198, 165, 91, 0.18);
}

.work-status {
  min-height: 18px;
  margin: 0;
  color: #f4cf72;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.office-team-illustration {
  position: absolute;
  inset: -30px -26px -38px;
  z-index: -2;
  display: none;
  place-items: center end;
  overflow: hidden;
  border-radius: 28px;
  pointer-events: none;
}

.office-team-illustration svg {
  width: min(122%, 1220px);
  height: auto;
  transform: translateX(50px) translateY(4px);
  opacity: 0.96;
  filter: saturate(1.32) contrast(1.12);
}

.office-window {
  fill: rgba(255, 255, 255, 0.30);
  stroke: rgba(24, 56, 90, 0.30);
  stroke-width: 2;
}

.office-window-lines,
.office-floor,
.office-screen-stand,
.office-paper-lines,
.office-screen-lines,
.office-doc-lines {
  fill: none;
  stroke: rgba(24, 56, 90, 0.42);
  stroke-width: 3;
  stroke-linecap: round;
}

.office-table {
  fill: rgba(210, 152, 56, 0.68);
}

.office-screen {
  fill: rgba(21, 88, 125, 0.66);
  stroke: rgba(24, 56, 90, 0.62);
  stroke-width: 2;
}

.office-screen-lines {
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 4;
}

.office-doc {
  fill: rgba(255, 255, 255, 0.76);
  stroke: rgba(198, 165, 91, 0.64);
  stroke-width: 2;
}

.office-doc-lines {
  stroke: rgba(24, 56, 90, 0.34);
}

.person-head {
  fill: rgba(239, 199, 151, 1);
}

.person-body {
  fill: rgba(24, 56, 90, 0.76);
}

.accent-body {
  fill: rgba(207, 151, 47, 0.82);
}

.soft-body {
  fill: rgba(47, 129, 113, 0.78);
}

.person-eye {
  fill: rgba(24, 31, 38, 0.68);
}

.person-smile {
  fill: none;
  stroke: rgba(24, 31, 38, 0.56);
  stroke-width: 3;
  stroke-linecap: round;
}

.version-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.version-button {
  min-height: 76px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(16, 26, 36, 0.06);
  color: #f7efe3;
  text-align: left;
  box-shadow: none;
  backdrop-filter: blur(1px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.version-button span,
.version-button small {
  display: block;
}

.version-button span {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 900;
}

.version-button small {
  color: #b9c3cc;
}

.version-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.version-button.active[data-version="masculina"] {
  border-color: rgba(255, 232, 174, 0.32);
  background: linear-gradient(135deg, rgba(24, 56, 90, 0.11), rgba(16, 25, 35, 0.06));
}

.version-button.active[data-version="feminina"] {
  border-color: rgba(190, 245, 226, 0.32);
  background: linear-gradient(135deg, rgba(47, 129, 113, 0.11), rgba(16, 25, 35, 0.06));
}

.prototype-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.comparison-panel {
  display: grid;
  gap: 16px;
}

.version-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  opacity: 0.74;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.prototype-area .version-card {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01)),
    rgba(16, 26, 36, 0.07);
  backdrop-filter: blur(1px);
}

.version-card.active {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.card-topline {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
}

.feminine-card .card-topline {
  background: #8fbfaf;
}

.avatar-placeholder {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 10px 0 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 165, 91, 0.14);
  color: #17202a;
  font-weight: 900;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.avatar-placeholder span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #f8efe0;
}

.feminine-card .avatar-placeholder {
  background: rgba(143, 191, 175, 0.18);
  color: #2f8171;
}

.version-card h3 {
  margin-bottom: 8px;
  color: #fffaf0;
  font-size: 1.18rem;
}

.version-card p {
  margin-bottom: 18px;
  color: #c3ccd5;
  line-height: 1.5;
}

.palette {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
}

.navy { background: #18385a; }
.graphite { background: #2e343b; }
.white { background: #ffffff; }
.gold { background: #c6a55b; }
.green { background: #2f8171; }
.sky { background: #a8d8ee; }
.beige { background: #efe4cf; }

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 780px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(1px);
}

.phone-frame {
  width: min(100%, 440px);
  min-height: 720px;
  padding: 18px;
  border: 8px solid #05080c;
  border-radius: 34px;
  background: var(--phone-bg);
  color: var(--phone-text);
  box-shadow: var(--shadow-strong);
}

.theme-masculina {
  --phone-bg: #fbfcfd;
  --phone-text: #17202a;
  --accent: #18385a;
  --accent-2: #c6a55b;
  --soft: #eef3f7;
  --soft-2: #f8f4ea;
  --button-text: #ffffff;
}

.theme-feminina {
  --phone-bg: #fffaf2;
  --phone-text: #26332f;
  --accent: #2f8171;
  --accent-2: #74b8d6;
  --soft: #eaf5f1;
  --soft-2: #eef8fb;
  --button-text: #ffffff;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  background: var(--soft);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--button-text);
  font-size: 0.9rem;
  font-weight: 900;
}

.phone-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.official-strip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(198, 165, 91, 0.30);
  border-radius: 14px;
  background: #fff8e8;
  color: #5a4a24;
  font-size: 0.82rem;
}

.official-strip span {
  font-weight: 900;
}

.progress-wrap {
  margin-bottom: 20px;
  padding: 0 2px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: #53616d;
  font-size: 0.84rem;
}

.progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.progress-dot {
  height: 7px;
  border-radius: 999px;
  background: rgba(90, 100, 110, 0.20);
}

.progress-dot.active {
  background: var(--accent);
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 180ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.assistant-area {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--soft), var(--soft-2));
}

.assistant-avatar {
  display: grid;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.55);
}

.assistant-avatar span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
}

.greeting {
  margin-bottom: 4px;
  color: #5f6c77;
}

.step h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  line-height: 1.12;
}

.step-copy {
  margin-bottom: 18px;
  color: #515d66;
  font-size: 1rem;
  line-height: 1.5;
}

.button-stack {
  display: grid;
  gap: 12px;
}

.primary-action,
.secondary-action,
.area-grid button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 15px 16px;
  border-radius: 16px;
  font-weight: 900;
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.primary-action:hover,
.secondary-action:hover,
.area-grid button:hover {
  transform: translateY(-1px);
}

.primary-action {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--button-text);
  box-shadow: 0 12px 22px rgba(24, 56, 90, 0.22);
}

.secondary-action,
.area-grid button {
  border: 1px solid var(--line-light);
  background: #ffffff;
  color: var(--phone-text);
  box-shadow: 0 8px 18px rgba(20, 31, 42, 0.06);
}

.action-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
}

.secondary-action .action-icon {
  background: var(--soft);
  color: var(--accent);
}

.mini-disclaimer {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 248, 232, 0.82);
  color: #5b6670;
  font-size: 0.9rem;
  line-height: 1.4;
}

.full {
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  text-align: center;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.area-grid button:last-child {
  grid-column: 1 / -1;
}

textarea,
input {
  width: 100%;
  border: 1px solid rgba(90, 100, 110, 0.22);
  border-radius: 16px;
  background: #ffffff;
  color: var(--phone-text);
  outline: none;
}

textarea:focus,
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(24, 56, 90, 0.12);
}

textarea {
  min-height: 178px;
  padding: 15px;
  resize: vertical;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  color: #3f4b54;
  font-weight: 800;
}

input {
  min-height: 54px;
  margin-top: 7px;
  padding: 0 13px;
}

.notice-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.notice-list p {
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(90, 100, 110, 0.14);
  border-left: 4px solid var(--accent-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #4d5963;
  line-height: 1.45;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(90, 100, 110, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.consent-check input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.success-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-shell {
    width: min(100% - 22px, 680px);
    padding-top: 16px;
  }

  .hero,
  .prototype-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-consultation {
    grid-template-columns: 1fr;
  }

  .consultation-scene {
    min-height: 280px;
  }

  .comparison-panel {
    grid-template-columns: 1fr 1fr;
  }

  .phone-stage {
    min-height: auto;
    padding: 10px;
  }

  .security-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .security-modal {
    padding: 6px;
  }

  .security-card {
    max-height: calc(100dvh - 12px);
    padding: 10px;
  }

  .office-brand {
    margin-bottom: 7px;
  }

  .office-monogram {
    width: 44px;
    height: 44px;
  }

  .office-scale-svg {
    width: 30px;
    height: 30px;
  }

  .office-brand strong {
    font-size: 1.12rem;
  }

  .opening-copy {
    margin-bottom: 8px;
  }

  .security-card h1 {
    font-size: clamp(1.72rem, 9vw, 2.25rem);
  }

  .opening-panel {
    padding: 8px;
  }

  .security-card-grid {
    gap: 7px;
    margin-bottom: 8px;
    overflow: auto;
    padding-right: 2px;
  }

  .channel-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .security-button {
    min-height: 44px;
  }

  .site-shell {
    width: min(100% - 16px, 460px);
  }

  .prototype-area::before {
    inset: 0;
    border-radius: 20px;
    background:
      radial-gradient(circle at 78% 68%, rgba(198, 165, 91, 0.12), transparent 30%),
      linear-gradient(160deg, #0b121a 0%, #101b26 58%, #172432 100%);
  }

  .prototype-area::after {
    background-position: 50% 68%;
    background-size: min(92%, 500px) auto;
    opacity: 0.115;
  }

  .prototype-area {
    min-height: 1120px;
  }

  .lower-report-card {
    left: 12px;
    right: 12px;
    top: 12px;
    width: auto;
    max-height: 480px;
    padding: 14px;
    transform: translateY(-4px);
    border-radius: 18px;
  }

  .practice-areas-card {
    left: 12px;
    right: 12px;
    top: 520px;
    width: auto;
    max-height: calc(100% - 544px);
    padding: 6px 14px 14px;
    transform: translateY(-4px);
    border-radius: 18px;
  }

  .return-split {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .work-with-us-section,
  .work-form-grid {
    grid-template-columns: 1fr;
  }

  .work-with-us-section {
    padding: 16px;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .hero-content::after {
    background-position: 78% 76%;
    background-size: min(76%, 330px) auto;
    opacity: 0.055;
    -webkit-mask-image: radial-gradient(ellipse at 78% 76%, #000 0%, rgba(0, 0, 0, 0.78) 46%, transparent 76%);
    mask-image: radial-gradient(ellipse at 78% 76%, #000 0%, rgba(0, 0, 0, 0.78) 46%, transparent 76%);
  }

  .consultation-scene {
    min-height: 240px;
  }

  .scene-person {
    bottom: 86px;
    transform: scale(0.82);
    transform-origin: bottom center;
  }

  .lawyer-person {
    left: 28px;
  }

  .client-person {
    right: 28px;
  }

  .scene-table {
    left: 24px;
    right: 24px;
    bottom: 44px;
  }

  .scene-document {
    bottom: 77px;
  }

  .hero-content::before {
    inset: 10px;
  }

  .hero-actions,
  .version-switcher,
  .comparison-panel,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .version-switcher,
  .comparison-panel {
    display: grid;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
  }

  .phone-frame {
    min-height: auto;
    padding: 14px;
    border-width: 5px;
    border-radius: 26px;
  }

  .official-strip {
    display: grid;
  }

  .phone-header {
    border-radius: 16px;
  }

  .assistant-area {
    align-items: flex-start;
    padding: 14px;
  }

  .assistant-avatar {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .assistant-avatar span {
    width: 48px;
    height: 48px;
  }

  .area-grid button:last-child {
    grid-column: auto;
  }
}
