/* Design system — card IA nas Profissões */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --accent: #2ecc71;
  --accent-glow: rgba(46, 204, 113, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

.topo-pattern {
  position: fixed;
  inset: 0;
  background:
    url("images/topo-pattern.svg") repeat,
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(46, 204, 113, 0.08), transparent 55%),
    var(--bg);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: max(2.75rem, env(safe-area-inset-top, 0px) + 1.75rem) 1.25rem 3rem;
}

.hero {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  padding: 0 0 2rem;
}

.hero-intro {
  margin: 0;
}

@media (min-width: 900px) {
  .page {
    padding-top: max(3rem, env(safe-area-inset-top, 0px) + 2rem);
  }

  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-areas:
      "visual intro"
      "visual body";
    gap: 0.5rem 3rem;
    padding-top: 0.5rem;
  }

  .hero-intro {
    grid-area: intro;
    padding-top: 0.5rem;
  }

  .hero-visual {
    grid-area: visual;
    align-self: stretch;
    display: flex;
    min-height: 100%;
  }

  .hero-visual img,
  .hero-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-body {
    grid-area: body;
  }
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
}

.hero-visual img,
.hero-visual video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (min-width: 900px) {
  .hero-intro,
  .hero-body {
    max-width: 560px;
  }
}

@media (max-width: 899px) {
  .hero-intro,
  .hero-visual,
  .hero-body {
    width: 100%;
    max-width: none;
  }

  .hero-visual {
    max-height: 360px;
  }

  .hero-visual img,
  .hero-visual video {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center top;
  }
}

.hero-body .pitch:first-child {
  margin-top: 1.25rem;
}

.subheadline {
  margin: 0.75rem 0 0;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (min-width: 900px) {
  .subheadline {
    margin-bottom: 0;
  }

  .hero-body .pitch:first-child {
    margin-top: 0;
  }
}

.badge-pill {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 1.25rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.pitch {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #d4d4d4;
}

.meta-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-list strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-intro .hero-countdown {
  margin-top: 1.25rem;
  padding: 0;
  border: none;
}

.hero-intro .hero-countdown .section-title {
  margin-top: 0;
}

.countdown-block {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.countdown-date {
  margin: 0.4rem 0 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.unit {
  padding: 0.85rem 0.35rem;
  text-align: center;
  border-radius: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.unit .value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px var(--accent-glow);
}

.unit .label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown-done {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(46, 204, 113, 0.35);
  background: rgba(46, 204, 113, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
}

.preregister-block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.preregister-block .section-title {
  margin-top: 0;
}

.preregister-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #d4d4d4;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  margin: auto;
  padding: 1.5rem 1.35rem 1.35rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  background: var(--bg-elevated);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  color: var(--text);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal-title {
  margin: 0 2rem 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.modal-desc {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.preregister-form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.field input::placeholder {
  color: #666;
}

.field input:focus {
  outline: none;
  border-color: rgba(46, 204, 113, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

.submit-btn {
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-consent {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #666;
}

.form-consent a {
  color: var(--text-muted);
}

.form-consent a:hover {
  color: var(--accent);
}

.form-feedback {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-feedback.is-success {
  border: 1px solid rgba(46, 204, 113, 0.35);
  background: rgba(46, 204, 113, 0.08);
  color: var(--accent);
}

.form-feedback.is-error {
  border: 1px solid rgba(255, 100, 100, 0.35);
  background: rgba(255, 100, 100, 0.08);
  color: #ff8a8a;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-url {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
}

.site-url a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-url a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.brand-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.brand-btn img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
}

.footer-legal {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* ========== Página LGPD (/exclusao-dados/) ========== */
.page-lgpd {
  max-width: 640px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.back-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.lgpd-article {
  display: grid;
  gap: 1.75rem;
}

.lgpd-header {
  margin: 0;
}

.lgpd-headline {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 0.95;
  margin: 0.75rem 0 1rem;
}

.lgpd-intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.lgpd-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.lgpd-panel-title {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lgpd-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.lgpd-list li + li {
  margin-top: 0.5rem;
}

.lgpd-form-card {
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.lgpd-form-card .modal-title {
  margin: 0 0 0.5rem;
}

.lgpd-form-card .modal-desc {
  margin-bottom: 1rem;
}

.lgpd-contact {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.lgpd-contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.lgpd-contact a:hover {
  text-decoration: underline;
}

.field-choice {
  margin: 0;
  padding: 0;
  border: none;
}

.field-choice .field-label {
  display: block;
  margin-bottom: 0.5rem;
}

.choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.choice-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.choice-option:has(input:checked) {
  border-color: rgba(46, 204, 113, 0.55);
  background: rgba(46, 204, 113, 0.08);
  color: var(--accent);
}

.choice-option input {
  accent-color: var(--accent);
}
