:root {
  --lime: #b0f900;
  --lime-soft: rgba(176, 249, 0, 0.14);
  --ink: #060706;
  --panel: #0f100f;
  --panel-strong: #050605;
  --line: rgba(255, 255, 255, 0.15);
  --text: #f5f5f0;
  --muted: #b9bcb4;
  --muted-2: #767b72;
  --danger: #ff6969;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #070807;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.9), rgba(5, 6, 5, 0.62) 44%, rgba(5, 6, 5, 0.88)),
    linear-gradient(180deg, rgba(5, 6, 5, 0.2), rgba(5, 6, 5, 0.96)),
    url("/assets/appito-campinas-mockup.png") center / cover no-repeat;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(6, 7, 6, 0), #060706);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand__name {
  font-size: 46px;
  line-height: 0.82;
  font-weight: 900;
  color: #fff;
}

.brand__sub {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  word-spacing: 8px;
}

.topbar__date,
.hero__facts span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(176, 249, 0, 0.55);
  border-radius: 8px;
  background: rgba(10, 12, 9, 0.65);
  color: var(--lime);
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar__date {
  padding: 0 18px;
}

.topbar__date svg,
.hero__facts svg {
  width: 21px;
  height: 21px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 40px auto 0;
  padding-bottom: 88px;
}

.hero__copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 610px;
  color: #fff;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 950;
  text-transform: uppercase;
}

h1 span {
  color: var(--lime);
}

.hero__text {
  max-width: 520px;
  margin-bottom: 38px;
  color: #f0f0ea;
  font-size: 17px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts span {
  padding: 0 15px;
  color: #fff;
}

.hero__facts span:first-child,
.hero__facts svg {
  color: var(--lime);
}

.chat {
  min-height: 514px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(5, 6, 5, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.chat__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 16px;
}

.chat__kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.chat__status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.chat__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(176, 249, 0, 0.8);
}

.chat__messages {
  height: 314px;
  padding: 4px 18px 16px;
  overflow-y: auto;
}

.bubble {
  width: fit-content;
  max-width: 94%;
  margin: 9px 0;
  padding: 12px 14px;
  border-radius: 13px;
  font-size: 14px;
}

.bubble--bot {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #161816;
  color: #f4f4ee;
}

.bubble--user {
  margin-left: auto;
  background: var(--lime);
  color: #101207;
  font-weight: 800;
}

.bubble--error {
  border-color: rgba(255, 105, 105, 0.35);
  color: #ffc1c1;
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-width: 56px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--muted);
  animation: typing 1s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.14s;
}

.typing span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes typing {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.choice-grid button {
  min-height: 42px;
  border: 1px solid rgba(176, 249, 0, 0.26);
  border-radius: 8px;
  background: rgba(176, 249, 0, 0.08);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.choice-grid button:hover,
.choice-grid button:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: #0a0c07;
  outline: none;
}

.chat__composer {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
  padding: 0 18px 14px;
}

.chat__composer input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: #111311;
  color: #fff;
  font: inherit;
  padding: 0 14px;
  outline: none;
}

.chat__composer input:focus {
  border-color: var(--lime);
}

.chat__composer button {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: var(--lime);
  color: #090a08;
  cursor: pointer;
}

.chat__composer button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.chat__composer svg {
  width: 21px;
  height: 21px;
}

.chat__privacy {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

.program,
.venue {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.program {
  padding: 40px 0 28px;
}

.section-title h2,
.venue h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
  text-transform: uppercase;
}

.section-title h2 span,
.venue .eyebrow {
  color: var(--lime);
}

.program__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 18, 16, 0.86), rgba(11, 12, 10, 0.96)),
    url("/assets/appito-campinas-mockup.png") center / 900px auto no-repeat;
  padding: 22px;
}

.program-card:nth-child(2) {
  background-position: 36% 71%;
}

.program-card:nth-child(3) {
  background-position: 58% 71%;
}

.program-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(176, 249, 0, 0.35);
  border-radius: 8px;
  color: var(--lime);
}

.program-card__icon svg {
  width: 25px;
  height: 25px;
}

.program-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  text-transform: uppercase;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.venue {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px 0 70px;
}

.venue__copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111311;
  padding: 28px;
}

.venue__copy ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.venue__copy li {
  position: relative;
  padding-left: 26px;
}

.venue__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--lime);
  border-radius: 999px;
}

.venue__image {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0.08), rgba(5, 6, 5, 0.38)),
    url("/assets/appito-campinas-mockup.png") right bottom / cover no-repeat;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(5, 6, 5, 0.76), rgba(5, 6, 5, 0.97)),
      url("/assets/appito-campinas-mockup.png") 80% top / cover no-repeat;
  }

  .topbar,
  .hero__inner,
  .program,
  .venue {
    width: min(100% - 28px, 640px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 10px;
  }

  h1 {
    font-size: 40px;
  }

  .hero__text {
    font-size: 15px;
  }

  .chat {
    min-height: 530px;
  }

  .chat__messages {
    height: 328px;
  }

  .program__grid,
  .venue {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-top: 22px;
  }

  .brand__name {
    font-size: 44px;
  }

  .brand__sub {
    font-size: 12px;
  }

  .topbar__date {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero__inner {
    padding-bottom: 54px;
  }

  h1 {
    font-size: 34px;
  }

  .hero__facts span {
    width: 100%;
  }

  .chat__head {
    padding: 20px 18px 12px;
  }

  .chat h2 {
    font-size: 21px;
  }

  .chat__messages {
    padding-left: 12px;
    padding-right: 12px;
  }

  .chat__composer {
    grid-template-columns: 1fr 46px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-title h2,
  .venue h2 {
    font-size: 28px;
  }
}
