:root {
  --background: #0b1220;
  --foreground: #f2f6fc;
  --muted-foreground: #9db0cd;
  --accent: #4cc9f0;
  --primary: #2563eb;
  --primary-2: #38bdf8;
  --secondary: #16233c;
  --border: rgba(90, 130, 190, 0.35);
  --input-border: rgba(100, 145, 210, 0.4);
  --destructive: #f87171;
  --success: #34d399;
  --radius: 0.9rem;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --gradient-hero: linear-gradient(180deg, #16243f 0%, #0d1728 60%, #0a1120 100%);
  --gradient-cta: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%);
  --glow-primary: 0 0 40px rgba(56, 132, 246, 0.45);
  --shadow-card: 0 30px 70px -30px rgba(3, 8, 20, 0.9);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
  background-image:
    radial-gradient(60rem 40rem at 50% -10%, rgba(56, 116, 240, 0.35), transparent 70%),
    radial-gradient(40rem 30rem at 90% 100%, rgba(56, 189, 248, 0.18), transparent 70%),
    var(--gradient-hero);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Grade tecnológica de fundo */
.tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 100%);
}

/* Ícones SVG */
.i {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.i-sm { width: 14px; height: 14px; }
.i-lg { width: 24px; height: 24px; }
.i-xl { width: 40px; height: 40px; }

.wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 20px 56px;
}

/* ---------- Cabeçalho ---------- */
.header { text-align: center; }

.eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--accent);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 6px 16px;
  border: 1px solid var(--border);
  background: rgba(22, 35, 60, 0.6);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
}
.pill .i { color: var(--accent); }

.title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 3.75rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 0 28px rgba(64, 130, 246, 0.55), 0 0 6px rgba(120, 200, 255, 0.35);
}
.title-grad {
  display: block;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 30rem;
  margin: 20px auto 0;
  font-size: 15px; line-height: 1.65;
  color: var(--muted-foreground);
}
.lead strong { color: var(--accent); font-weight: 600; }

/* ---------- Cartão de vidro ---------- */
.glass-card {
  background: linear-gradient(160deg, rgba(32, 51, 86, 0.75), rgba(16, 26, 45, 0.7));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.form-card {
  margin-top: 40px;
  padding: 28px 24px;
  border-radius: 24px;
}

.card-title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--accent);
}

/* ---------- Formulário ---------- */
form { margin-top: 28px; }
.field + .field { margin-top: 20px; }

.field label {
  display: block; margin-bottom: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent);
}

.control { position: relative; }
.control .icon {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-foreground);
  pointer-events: none;
}

.control input {
  width: 100%; height: 52px;
  padding: 0 16px 0 48px;
  font-family: inherit; font-size: 14px;
  color: var(--foreground);
  background: rgba(10, 17, 32, 0.45);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.control input::placeholder { color: rgba(157, 176, 205, 0.7); }
.control input:focus {
  border-color: var(--accent);
  background: rgba(10, 17, 32, 0.65);
  box-shadow: 0 0 0 4px rgba(76, 201, 240, 0.2);
}
.control input.invalid { border-color: var(--destructive); }

.error {
  margin-top: 6px;
  font-size: 12px; color: var(--destructive);
  min-height: 0;
}
.error:empty { display: none; }

.send-error {
  margin-top: 20px; padding: 12px 16px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.1);
  border-radius: 12px;
  font-size: 12px; text-align: center; color: var(--destructive);
}

/* ---------- Botão ---------- */
.btn-shield {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; height: 56px; margin-top: 24px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: #fff;
  background: var(--gradient-cta);
  border: none; border-radius: 12px; cursor: pointer;
  box-shadow: var(--glow-primary);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-shield:hover:not(:disabled) {
  transform: scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 0 60px rgba(70, 140, 250, 0.6);
}
.btn-shield:disabled { opacity: .7; cursor: not-allowed; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.privacy {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-size: 11px; text-align: center; color: var(--muted-foreground);
}

/* ---------- Informações ---------- */
.info-grid {
  display: grid; gap: 12px;
  margin-top: 32px;
}
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }

.info {
  display: flex; gap: 12px;
  padding: 16px; border-radius: 18px;
}
.info > .i { color: var(--accent); margin-top: 2px; }
.info-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent);
}
.info-value { font-size: 14px; font-weight: 600; line-height: 1.35; margin-top: 2px; }
.info-extra { font-size: 12px; color: var(--muted-foreground); }

/* ---------- Realização ---------- */
.realizacao { margin-top: 40px; text-align: center; }
.realizacao-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--muted-foreground);
}
.logo-placeholder {
  width: 150px; height: 60px; margin: 12px auto 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--border);
  background: rgba(22, 35, 60, 0.4);
  border-radius: 12px;
  font-size: 11px; color: var(--muted-foreground);
}
.logo { display: block; max-width: 180px; height: auto; margin: 12px auto 0; }

.footer {
  margin-top: 40px;
  text-align: center; font-size: 12px;
  color: var(--muted-foreground);
}

/* ---------- Popup ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(4, 9, 20, 0.75);
  backdrop-filter: blur(4px);
  animation: fade .2s ease;
}
.overlay[hidden] { display: none; }

.modal {
  width: 100%; max-width: 380px;
  padding: 32px 24px; border-radius: 24px;
  text-align: center;
  animation: pop .25s ease;
}
.modal h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.modal p { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.modal .btn-shield { height: 48px; font-size: 15px; }

.check-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97) } to { opacity: 1; transform: none } }


/* ---------- Sobre o Simpósio ---------- */
.about-card {
  margin-top: 24px;
  padding: 28px 24px;
  border-radius: 24px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-align: center;
}

.about-subtitle {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  text-align: center;
}

.about-text {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-foreground);
}
.about-text em { font-style: italic; color: var(--foreground); font-weight: 600; }

.about-list {
  margin-top: 18px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.4);
  font-size: 14px; line-height: 1.6;
  color: var(--muted-foreground);
}
.about-list li .i { color: var(--accent); margin-top: 3px; }
.about-list li em { font-style: italic; color: var(--foreground); }

.about-closing {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--foreground);
  text-align: center;
}

.about-highlight {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent);
  text-align: center;
}

@media (max-width: 480px) {
  .about-card { padding: 24px 18px; }
  .about-text, .about-list li { font-size: 14px; }
}
