/* ============================================================
   KRYV · Variação 2 — Overrides sobre style.css
   ============================================================ */

/* ============================================================
   HERO — preto → navy escuro (#0F1F3D)
   ============================================================ */

.hero {
  background: var(--navy);
}

.hero__panel--text {
  background: var(--navy);
}

.hero__panel--text::after {
  background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
}

.hero__image-edge {
  background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
}

.nav.is-scrolled::before {
  background: rgba(10, 20, 50, 0.80);
  border-bottom-color: rgba(255,255,255,0.09);
}

/* ============================================================
   EFEITO ENCAIXE — seção bone sobe sobre o hero
   ============================================================ */

#diagnostico {
  border-radius: 28px 28px 0 0;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   SEÇÃO 02 — DIAGNÓSTICO · Vision redesign
   ============================================================ */

.diag-vision {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bone);
}

/* Fundo: glow azul radial do centro */
.diag-vision__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 60% 55% at 50% 50%,
      rgba(61, 110, 242, 0.10) 0%,
      rgba(61, 110, 242, 0.04) 45%,
      transparent 70%
    );
}

/* ── Anéis concêntricos azuis (sonar / radar) ── */
.v-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(61, 110, 242, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: vRingPulse 5s ease-in-out infinite;
}

.v-ring--1 { width: 160px; height: 160px; animation-delay: 0s;   }
.v-ring--2 { width: 290px; height: 290px; animation-delay: 1.2s; }
.v-ring--3 { width: 430px; height: 430px; animation-delay: 2.4s; border-color: rgba(61,110,242,0.08); }

@keyframes vRingPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1;    }
}

/* ── Hub central (pessoa) ── */
.diag-vision__hub {
  position: relative;
  z-index: 4;
  width: 110px;
  height: 110px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.55),
    0 0 0 11px rgba(61,110,242,0.08),
    0 12px 48px rgba(10,10,11,0.14),
    0 3px 8px rgba(10,10,11,0.08);
}

.diag-vision__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(61,110,242,0.5);
  animation: badgePulse 2.8s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(61,110,242,0.4);  transform: scale(1);    }
  50%       { box-shadow: 0 2px 18px rgba(61,110,242,0.7); transform: scale(1.08); }
}

.diag-vision__person { color: var(--navy); }

/* ── Floating thought pills ── */
.v-pill {
  position: absolute;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.v-pill.is-visible { opacity: 1; }

.v-pill__float {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  height: 42px;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid rgba(10,10,11,0.07);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(10,10,11,0.08), 0 1px 4px rgba(10,10,11,0.05);
  cursor: default;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.v-pill__float:hover {
  box-shadow: 0 8px 28px rgba(10,10,11,0.12), 0 2px 6px rgba(10,10,11,0.06);
  border-color: rgba(61,110,242,0.25);
}

.v-pill__icon {
  color: var(--blue);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.v-pill__float span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
}

/* Posições */
.v-pill--1 { top: 48px;  left: 28px; }
.v-pill--2 { top: 48px;  right: 28px; }
.v-pill--3 { top: 50%;   left: 12px;  transform: translateY(-50%); }
.v-pill--4 { top: 50%;   right: 12px; transform: translateY(-50%); }
.v-pill--5 { bottom: 48px; left: 50%; transform: translateX(-50%); }

/* Floating animations (delays diferentes) */
.v-pill--1 .v-pill__float { animation: vFloat 4.0s ease-in-out infinite 0.0s; }
.v-pill--2 .v-pill__float { animation: vFloat 3.6s ease-in-out infinite 0.7s; }
.v-pill--3 .v-pill__float { animation: vFloatSm 4.4s ease-in-out infinite 1.2s; }
.v-pill--4 .v-pill__float { animation: vFloatSm 3.8s ease-in-out infinite 0.4s; }
.v-pill--5 .v-pill__float { animation: vFloatSm 4.2s ease-in-out infinite 1.8s; }

@keyframes vFloat   { 0%,100% { transform: translateY(0); }  50% { transform: translateY(-9px);  } }
@keyframes vFloatSm { 0%,100% { transform: translateY(0); }  50% { transform: translateY(-7px);  } }

/* ============================================================
   SEÇÃO 03 — SOLUÇÃO · Expanding panels
   ============================================================ */

.sol-scene {
  background: var(--blue);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Profundidade sutil sobre o azul */
.sol-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 70% at 15% 50%, rgba(15,31,61,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.sol-scene__wrap {
  display: flex;
  height: 600px;
  position: relative;
  z-index: 1;
}

/* ── Bloco de texto esquerdo ── */
.sol-scene__intro {
  width: 400px;
  flex-shrink: 0;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.sol-scene__eyebrow {
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 24px;
}

.sol-scene__headline {
  font-family: var(--serif);
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.sol-scene__sub {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}

.sol-scene__btn {
  background: var(--white) !important;
  color: var(--blue) !important;
  border-color: var(--white) !important;
  align-self: flex-start;
  font-weight: 600 !important;
}

.sol-scene__btn:hover {
  background: transparent !important;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

/* ── Painéis expansíveis ── */
.sol-panels {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Estado padrão: todos iguais */
.sol-panel {
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding: 52px 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: flex 0.55s cubic-bezier(0.76, 0, 0.24, 1),
              background 0.35s ease;
  min-width: 0;
}

.sol-panel:last-child { border-right: none; }

/* Quando qualquer painel está em hover: colapsa os outros */
.sol-panels:has(.sol-panel:hover) .sol-panel      { flex: 0.35; }
.sol-panels:has(.sol-panel:hover) .sol-panel:hover { flex: 3; background: rgba(255,255,255,0.1); }

/* Linha branca no topo — desenha ao expandir */
.sol-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.76,0,0.24,1) 0.1s;
}

.sol-panel:hover::before { transform: scaleX(1); }

/* ── Topo do painel: número + ícone ── */
.sol-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0;
  flex-shrink: 0;
}

.sol-panel__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white);
}

.sol-panel__icon {
  color: rgba(255,255,255,0.65);
  transition: color 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}

.sol-panel:hover .sol-panel__icon {
  color: var(--white);
  transform: scale(1.15);
}

/* ── Título vertical (visível quando colapsado) ── */
.sol-panel__vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  margin-top: 24px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: opacity 0.3s;
}

.sol-panel:hover .sol-panel__vert { opacity: 0; }

/* ── Corpo expandido (escondido por padrão) ── */
.sol-panel__body {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease 0.15s, transform 0.35s ease 0.15s;
  flex-shrink: 0;
  min-width: 260px;
}

.sol-panel:hover .sol-panel__body {
  opacity: 1;
  transform: translateY(0);
}

.sol-panel__name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 14px;
}

.sol-panel__desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  max-width: 300px;
}

.sol-panel__result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--blue);
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.9);
  background: var(--white);
  border-radius: 2px;
  width: fit-content;
  font-weight: 600;
}
