/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* =============================================
   BASE
   ============================================= */
html, body {
  height: 100%;
  overflow: hidden; /* one screen only */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #111;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =============================================
   LOGO BAR
   ============================================= */
.logo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo-link { display: flex; align-items: center; text-decoration: none; }

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1); /* branco sobre fundo escuro */
}

.logo-txt {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

/* =============================================
   TÍTULO CENTRAL
   ============================================= */
.central-title {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  animation: fadeDown .6s ease both;
}

.central-title__pill {
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 14px 32px;
  text-align: center;
  max-width: 420px;
  width: auto;
}

.central-title h1 {
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 4px;
}

.central-title p {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 400;
}

/* =============================================
   SPLIT SCREEN
   ============================================= */
.split {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* =============================================
   SIDES
   ============================================= */
.side {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: flex .35s cubic-bezier(.4,0,.2,1);
}

/* hover: hover no lado expande */
.split:has(.side--left:hover) .side--left  { flex: 1.35; }
.split:has(.side--left:hover) .side--right { flex: 0.65; }
.split:has(.side--right:hover) .side--right { flex: 1.35; }
.split:has(.side--right:hover) .side--left  { flex: 0.65; }

/* ---- LADO ESQUERDO ---- */
.side--left {
  background: #FFE600;
}

/* ---- LADO DIREITO ---- */
.side--right {
  background: linear-gradient(145deg, #009C3B 0%, #006728 100%);
}

/* =============================================
   CONTEÚDO INTERNO
   ============================================= */
.side__inner {
  position: relative;
  z-index: 2;
  max-width: 380px;
  padding: 0 40px;
  padding-top: 140px; /* espaço abaixo do logo + titulo */
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: fadeUp .7s ease both;
}

.side--left  .side__inner { animation-delay: .1s; }
.side--right .side__inner { animation-delay: .2s; }

/* eyebrow */
.side__eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.side--left  .side__eyebrow { color: rgba(0,0,0,.5); }
.side--right .side__eyebrow { color: rgba(255,255,255,.55); }

/* título */
.side__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .98;
  margin-bottom: 18px;
  transition: font-size .3s ease;
}
.side--left  .side__title { color: #111111; }
.side--right .side__title { color: #ffffff; }

/* na expansão o título cresce */
.split:has(.side--left:hover)  .side--left  .side__title { font-size: clamp(40px, 5vw, 64px); }
.split:has(.side--right:hover) .side--right .side__title { font-size: clamp(40px, 5vw, 64px); }

/* descrição */
.side__desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}
.side--left  .side__desc { color: rgba(0,0,0,.55); }
.side--right .side__desc { color: rgba(255,255,255,.65); }

/* lista */
.side__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 36px;
}

.side__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
}
.side--left  .side__list li { color: rgba(0,0,0,.7); }
.side--right .side__list li { color: rgba(255,255,255,.8); }

/* check */
.ck {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  background: #111;
  color: #FFE600;
}
.ck--white {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* botões */
.side__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .07em;
  padding: 15px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  align-self: flex-start;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.side__btn--dark {
  background: #111111;
  color: #FFE600;
}
.side__btn--dark:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  filter: brightness(1.05);
}

.side__btn--white {
  background: #ffffff;
  color: #006728;
}
.side__btn--white:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  filter: brightness(1.04);
}

/* =============================================
   DECORAÇÃO DE FUNDO
   ============================================= */
.side__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}

/* esquerda */
.deco-circle--l1 {
  width: 480px; height: 480px;
  background: #000;
  top: -120px; right: -160px;
}
.deco-circle--l2 {
  width: 300px; height: 300px;
  background: #000;
  bottom: -80px; left: -80px;
}

/* direita */
.deco-circle--r1 {
  width: 500px; height: 500px;
  background: #fff;
  top: -160px; left: -160px;
}
.deco-circle--r2 {
  width: 280px; height: 280px;
  background: #fff;
  bottom: -100px; right: -60px;
}

/* emoji decorativo grande */
.deco-medal {
  position: absolute;
  bottom: 14%;
  right: 8%;
  font-size: 100px;
  opacity: .12;
  filter: grayscale(1);
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}

/* =============================================
   DIVISOR CENTRAL
   ============================================= */
.divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.divider__ou {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

/* =============================================
   FOOTER MÍNIMO
   ============================================= */
.footer-min {
  position: fixed;
  bottom: 14px;
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.2);
  z-index: 20;
  pointer-events: none;
}

/* =============================================
   ANIMAÇÕES
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   MOBILE  (≤ 700px) – split vertical, 1 tela
   ============================================= */
@media (max-width: 700px) {
  html, body { overflow: hidden; height: 100%; }

  /* ---- logo bar compacta ---- */
  .logo-bar { padding: 8px 20px; }
  .logo-img  { height: 24px; }

  /* ---- título escondido no mobile (economia de espaço) ---- */
  .central-title { display: none; }

  /* ---- split: coluna, altura total menos a logo bar ---- */
  .split {
    flex-direction: column;
    height: calc(100svh - 40px);
    width: 100%;
  }

  /* cada lado = metade exata */
  .side {
    flex: 1 1 50% !important;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    justify-content: center;
    align-items: stretch;
    transition: none;
    cursor: pointer;
  }

  /* desativa expansão hover */
  .split:has(.side--left:hover)  .side--left,
  .split:has(.side--left:hover)  .side--right,
  .split:has(.side--right:hover) .side--right,
  .split:has(.side--right:hover) .side--left { flex: 1 1 50% !important; }

  .split:has(.side--left:hover)  .side--left  .side__title,
  .split:has(.side--right:hover) .side--right .side__title { font-size: 22px; }

  /* ---- conteúdo interno compacto ---- */
  .side__inner {
    padding: 16px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 0;
    box-sizing: border-box;
  }

  .side__eyebrow { font-size: 10px; margin-bottom: 5px; letter-spacing: .12em; }
  .side__title   { font-size: 28px; margin-bottom: 8px; line-height: 1; }
  .side__desc    { display: none; }

  .side__list    { gap: 6px; margin-bottom: 14px; }
  .side__list li { font-size: 13.5px; gap: 9px; }
  .ck            { width: 17px; height: 17px; font-size: 9px; flex-shrink: 0; }

  .side__btn     { font-size: 13px; padding: 12px 22px; align-self: flex-start; }

  /* ---- decorações escondidas no mobile ---- */
  .side__deco  { display: none; }

  /* ---- divisor horizontal no meio ---- */
  .divider {
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
  }

  .divider__ou {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .footer-min { display: none; }
}
