:root {
  --bg: #0a0c0b;
  --ink: #fff;
  --text: #cfd3ca;
  --muted: #9aa094;
  --faint: #6f746b;
  --panel: #131614;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d5f36a;
  --accent-ink: #12140c;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Plus Jakarta Sans", var(--sans);
}

* { box-sizing: border-box; }

/* Single screen: no scrolling. script.js scales .stage to fit the window. */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 600px at 82% 42%, rgba(213, 243, 106, 0.07), transparent 60%),
    radial-gradient(700px 420px at 4% 100%, rgba(213, 243, 106, 0.06), transparent 60%),
    var(--bg);
}

a { color: inherit; }

/* Desktop design is a fixed 1200px canvas, scaled as a whole. */
.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  padding: 26px 88px 20px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  font: 800 26px/1 var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand span { color: var(--accent); }

.socials {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9cdc4;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

.socials a:hover { color: var(--ink); }
.socials svg { flex: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

/* Text block sits a little below the photo's center line. */
.hero-copy { min-width: 0; position: relative; top: 22px; }

h1 {
  margin: 0;
  font: 800 62px/1.04 var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hl { color: var(--accent); }
/* This font leaves a wide gap before the period; pull it in. */
.period { margin-left: -0.06em; }

.form-intro {
  white-space: nowrap;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.form-intro strong { color: var(--text); font-weight: 500; }

/* The form spans the headline's width so both edges line up. */
.signup-block { width: 100%; }

.signup {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  padding: 4px 4px 4px 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #171a18;
}

.field-icon { flex: none; margin: 0 4px 0 18px; color: #8d9288; }

.signup input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: 15px var(--sans);
  outline: none;
}

.signup input::placeholder { color: #747970; }
.signup:focus-within { border-color: rgba(213, 243, 106, 0.45); }

.signup button {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 15.5px var(--display);
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.15s;
}

.signup button span[aria-hidden] { margin-left: 4px; }
.label-short { display: none; }
.signup button:hover { filter: brightness(1.08); }
.signup button:disabled { opacity: 0.6; cursor: wait; }
.signup[hidden] { display: none; }

.form-message { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.form-message:empty { display: none; }
.form-message[data-state="error"] { color: #ff9b82; }
.form-message[data-state="success"] { margin-top: 20px; color: var(--accent); font: 800 20px var(--display); }

/* Photo + floating chips + dotted globe */
.visual {
  position: relative;
  height: 350px;
}

.photo-card {
  position: absolute;
  inset: 0 26px 0 0;
  margin: 0;
  z-index: 1;
  border: 1.5px solid rgba(213, 243, 106, 0.55);
  border-radius: 20px;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-10deg) rotateZ(1.5deg);
  box-shadow: 0 0 46px rgba(213, 243, 106, 0.14), 0 30px 70px rgba(0, 0, 0, 0.6);
}

/* Quiet social-proof tag inside the photo's top-left corner. */
.photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 12px;
  border: 1px solid rgba(213, 243, 106, 0.28);
  border-radius: 999px;
  background: rgba(10, 12, 11, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.82);
  font: 500 12.5px/1 var(--sans);
}

.photo-badge b { color: var(--accent); font-weight: 700; }

.photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.globe {
  position: absolute;
  top: 70px;
  right: -110px;
  width: 300px;
  height: 330px;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(213, 243, 106, 0.6) 1.1px, transparent 1.7px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(circle at 45% 45%, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle at 45% 45%, #000 30%, transparent 70%);
  opacity: 0.75;
}

.globe i {
  position: absolute;
  top: 34%;
  left: 42%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px 4px rgba(213, 243, 106, 0.6);
}

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(213, 243, 106, 0.32);
  border-radius: 13px;
  background: rgba(20, 24, 20, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  font: 600 13.5px/1.35 var(--display);
}

.chip svg { flex: none; color: var(--accent); }
.chip b { font-weight: 800; }
.chip { bottom: 18px; right: 0; }

/* Course / Voyager AI cards */
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.offer {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, filter 0.15s;
}

.offer:hover { border-color: rgba(255, 255, 255, 0.22); }

.offer-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.offer-text { display: flex; flex-direction: column; gap: 4px; }

.offer-tag {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-title { font: 800 21px/1.15 var(--display); letter-spacing: -0.02em; }
.offer-desc { color: var(--text); font-size: 13.5px; }

.offer-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.offer-primary:hover { border-color: var(--accent); filter: brightness(1.05); }
.offer-primary .offer-icon { background: rgba(18, 20, 12, 0.08); border-color: rgba(18, 20, 12, 0.08); }
.offer-primary .offer-tag { color: #4b5820; }
.offer-primary .offer-desc { color: #2d3416; }

footer {
  margin-top: 24px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

footer i { font-style: normal; margin: 0 6px; }
footer a { text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); }
footer a:hover { color: var(--text); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Mobile: one column, photo on top; decorative extras hidden. */
@media (max-width: 760px) {
  .stage { width: 100%; padding: 16px 18px 14px; }

  .brand { font-size: 23px; }
  .socials { gap: 6px; padding: 0; border: 0; background: none; }
  .socials a { width: 38px; height: 38px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.04); }
  .socials span { display: none; }
  .socials svg { width: 18px; height: 18px; }

  .hero { grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
  .hero-copy { top: 0; }
  .visual { order: -1; height: auto; }
  .photo-card { position: relative; inset: auto; height: 27svh; transform: none; }
  .globe, .chip { display: none; }
  .photo-badge { top: 9px; left: 9px; padding: 5px 9px; font-size: 11px; }

  /* Longest line ("a China e o mundo.") is ~9× the font size; keep all three lines on screen. */
  h1 { font-size: calc((100vw - 36px) / 9.6); }
  .form-intro { margin-top: 14px; font-size: 15px; white-space: normal; }
  .signup { width: 100%; margin-top: 12px; }
  .field-icon { margin-left: 12px; }
  .signup input { padding: 0 8px; font-size: 15px; }
  .signup button { padding: 0 14px; font-size: 14px; }
  .label-long { display: none; }
  .label-short { display: inline; }

  .offers { gap: 10px; margin-top: 18px; }
  .offer { padding: 12px 14px; gap: 10px; border-radius: 13px; }
  .offer-icon, .offer-desc { display: none; }
  .offer-title { font-size: 16px; }
  .offer-tag { font-size: 10px; }
  footer { margin-top: 14px; }
}

@media (max-width: 380px) {
  .field-icon { display: none; }
  .signup input { padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
