/* KVA Studios — P48 Software empresarial CR */
:root {
  --ber-bg: #080b10;
  --ber-surface: #101411;
  --ber-surface-2: #151a16;
  --ber-text: #f5f2e8;
  --ber-muted: #b6b6ad;
  --ber-line: rgba(255,255,255,.10);
  --ber-gold: #d4a853;
  --ber-gold-soft: rgba(212,168,83,.13);
  --ber-max: 1180px;
  --ber-radius: 26px;
}

.ber-body {
  background: var(--ber-bg);
  color: var(--ber-text);
}

.ber-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 3%, rgba(212,168,83,.12), transparent 30rem),
    radial-gradient(circle at 12% 28%, rgba(93,126,107,.07), transparent 28rem),
    linear-gradient(180deg, #0a0d10 0%, #080b10 100%);
}

.ber-shell {
  width: min(calc(100% - 40px), var(--ber-max));
  margin-inline: auto;
}

.ber-section {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 1px solid var(--ber-line);
}

.ber-section:first-child { border-top: 0; }

.ber-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 18px;
  color: var(--ber-gold);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ber-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.ber-heading {
  max-width: 930px;
  margin: 0;
  font-size: clamp(2.05rem, 4.2vw, 4.4rem);
  line-height: 1.01;
  letter-spacing: -.045em;
}

.ber-copy {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--ber-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.ber-hero {
  min-height: min(900px, 91vh);
  display: grid;
  align-items: center;
  padding-top: clamp(108px, 13vw, 172px);
}

.ber-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: end;
}

.ber-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.75rem, 6.2vw, 6.25rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.ber-lead {
  max-width: 760px;
  margin: 30px 0 0;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--ber-text);
}

.ber-support {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ber-muted);
  line-height: 1.65;
}

.ber-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid rgba(212,168,83,.5);
  border-radius: 999px;
  color: var(--ber-text);
  text-decoration: none;
  font-weight: 680;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.ber-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ber-gold);
}

.ber-btn--primary {
  background: var(--ber-gold);
  border-color: var(--ber-gold);
  color: #11130f;
}

.ber-btn--primary:hover { background: #e0b767; }

.ber-hero__panel {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(212,168,83,.28);
  border-radius: var(--ber-radius);
  background:
    linear-gradient(150deg, rgba(212,168,83,.12), rgba(255,255,255,.018));
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}

.ber-panel__label {
  margin: 0 0 20px;
  color: var(--ber-text);
  font-weight: 700;
}

.ber-signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ber-signal-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--ber-line);
}

.ber-signal-list li:first-child { border-top: 0; }

.ber-signal-list span {
  grid-row: 1 / 3;
  color: var(--ber-gold);
  font-size: .76rem;
  letter-spacing: .1em;
}

.ber-signal-list b { font-size: 1rem; }

.ber-signal-list small {
  color: var(--ber-muted);
  line-height: 1.5;
  font-size: .9rem;
}

.ber-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.ber-card {
  grid-column: span 4;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--ber-line);
  border-radius: var(--ber-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.012));
}

.ber-card__num {
  display: block;
  margin-bottom: 42px;
  color: var(--ber-gold);
  font-size: .78rem;
  letter-spacing: .14em;
}

.ber-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.ber-card p {
  margin: 0;
  color: var(--ber-muted);
  line-height: 1.62;
}

.ber-decision {
  background: linear-gradient(180deg, rgba(212,168,83,.035), rgba(212,168,83,0));
}

.ber-decision__flow {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(212,168,83,.24);
  border-radius: 30px;
  background: rgba(212,168,83,.045);
}

.ber-decision__start {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 22px;
}

.ber-decision__start span {
  color: var(--ber-gold);
  font-size: .74rem;
  letter-spacing: .14em;
}

.ber-decision__start strong {
  text-align: right;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.ber-decision__rail {
  height: 1px;
  margin: 4px 0 26px;
  background: linear-gradient(90deg, var(--ber-gold), rgba(212,168,83,.12));
}

.ber-decision__outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ber-decision__outcomes div {
  min-height: 130px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--ber-line);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
}

.ber-decision__outcomes b { color: var(--ber-muted); font-size: .9rem; }
.ber-decision__outcomes span { font-size: 1.18rem; font-weight: 700; }

.ber-paths {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.ber-path {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--ber-line);
  border-radius: var(--ber-radius);
  color: var(--ber-text);
  text-decoration: none;
  background: linear-gradient(100deg, rgba(255,255,255,.028), rgba(212,168,83,.025));
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.ber-path:hover {
  transform: translateX(4px);
  border-color: rgba(212,168,83,.55);
  background: rgba(212,168,83,.06);
}

.ber-path__index {
  color: var(--ber-gold);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.ber-path__type {
  margin: 0 0 8px;
  color: var(--ber-gold);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ber-path h3 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
  line-height: 1.08;
}

.ber-path p {
  max-width: 780px;
  margin: 14px 0 20px;
  color: var(--ber-muted);
  line-height: 1.62;
}

.ber-path strong {
  color: var(--ber-text);
  font-size: .94rem;
}

.ber-grid--capabilities .ber-card {
  grid-column: span 4;
  min-height: 205px;
}

.ber-fit {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}

.ber-checks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ber-line);
}

.ber-checks li {
  position: relative;
  padding: 18px 18px 18px 34px;
  border-bottom: 1px solid var(--ber-line);
  color: var(--ber-muted);
  line-height: 1.55;
}

.ber-checks li::before {
  content: "↗";
  position: absolute;
  left: 2px;
  color: var(--ber-gold);
}

.ber-method {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--ber-line);
}

.ber-method article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ber-line);
}

.ber-method article > span {
  color: var(--ber-gold);
  font-size: .78rem;
  letter-spacing: .12em;
}

.ber-method h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.ber-method p {
  margin: 0;
  max-width: 760px;
  color: var(--ber-muted);
  line-height: 1.62;
}

.ber-example {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 80px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(212,168,83,.27);
  border-radius: 32px;
  background:
    radial-gradient(circle at 0% 0%, rgba(212,168,83,.13), transparent 26rem),
    rgba(255,255,255,.018);
}

.ber-example__mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 34px;
  border: 1px solid rgba(212,168,83,.4);
  border-radius: 50%;
  color: var(--ber-gold);
  font-weight: 800;
  letter-spacing: .1em;
}

.ber-example__identity h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.ber-example__identity > p:last-child {
  color: var(--ber-muted);
  line-height: 1.6;
}

.ber-example__body {
  align-self: end;
}

.ber-example__body h3 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.ber-example__body > p {
  margin: 0;
  color: var(--ber-muted);
  line-height: 1.68;
}

.ber-faq {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}

.ber-faq details {
  border: 1px solid var(--ber-line);
  border-radius: 18px;
  background: rgba(255,255,255,.018);
}

.ber-faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 680;
}

.ber-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ber-muted);
  line-height: 1.65;
}

.ber-close {
  background:
    radial-gradient(circle at 84% 50%, rgba(212,168,83,.13), transparent 28rem);
}

.ber-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: end;
}

.ber-close__actions {
  display: grid;
  gap: 12px;
}

[data-ber-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-ber-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-ber-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ber-btn,
  .ber-path { transition: none; }
}

@media (max-width: 900px) {
  .ber-hero { min-height: auto; }
  .ber-hero__grid,
  .ber-fit,
  .ber-example,
  .ber-close__grid {
    grid-template-columns: 1fr;
  }

  .ber-hero__panel { max-width: 640px; }

  .ber-card,
  .ber-grid--capabilities .ber-card { grid-column: span 6; }

  .ber-decision__outcomes { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .ber-shell { width: min(calc(100% - 28px), var(--ber-max)); }
  .ber-section { padding: 64px 0; }

  .ber-hero {
    padding-top: 104px;
    padding-bottom: 70px;
  }

  .ber-hero h1 {
    font-size: clamp(2.55rem, 13.2vw, 4.4rem);
  }

  .ber-actions { display: grid; }
  .ber-btn { width: 100%; }

  .ber-grid { grid-template-columns: 1fr; }
  .ber-card,
  .ber-grid--capabilities .ber-card {
    grid-column: auto;
    min-height: auto;
  }

  .ber-card__num { margin-bottom: 28px; }

  .ber-decision__start {
    display: grid;
  }

  .ber-decision__start strong { text-align: left; }

  .ber-path {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .ber-path__index { font-size: 1.45rem; }

  .ber-method article {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}
