/* Discera — landing de lista de espera */

:root {
  --ink: #14263A;
  --ink-2: #3E4E60;
  --ink-3: #56657A;
  --line: #DCE5EE;
  --line-2: #C9D3DD;
  --line-soft: #E9EFF5;
  --bg: #F4F8FC;
  --blue: #61A2DA;
  --blue-ink: #2C6BA3;
  --blue-deep: #1F5487;
  --orange: #D75725;
  --orange-ink: #B4441A;
  --orange-deep: #9A3814;
  --sky: #6CB7DA;
  --pink: #D77186;
  --pink-ink: #A23A52;
  --soft-blue: #E5F0F9;
  --soft-orange: #FBE7DE;
  --soft-pink: #F8E6EA;
  --soft-neutral: #EAF1F8;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 8vw, 128px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Literata', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--blue-ink); }
a:hover { color: var(--ink); }

input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-pad { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
}

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.h2 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: 20px;
  color: var(--ink-2);
  text-wrap: pretty;
}

.stack { display: flex; flex-direction: column; }

/* Botões */
.btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; }
.btn-orange { background: var(--orange); color: #FFFFFF; }
.btn-orange:hover { color: #FFFFFF; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: #FFFFFF; filter: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; font-weight: 700; }
.btn-outline.btn-lg { padding: 0 24px; font-weight: 600; }
.btn-md { min-height: 52px; padding: 0 24px; align-self: flex-start; }

/* Cabeçalho */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { display: block; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.main-nav a:not(.btn):hover { color: var(--blue-ink); }
.main-nav .btn { min-height: 44px; padding: 0 20px; }

@media (max-width: 760px) {
  .site-header .container { flex-wrap: nowrap; }
  .main-nav a:not(.btn) { display: none; }
}
@media (max-width: 380px) {
  .brand img + img { width: 104px; height: auto; }
  .main-nav .btn { padding: 0 16px; font-size: 15px; }
}

/* Hero */
.hero { overflow: hidden; }
.hero .container {
  padding-top: clamp(56px, 7vw, 112px);
  padding-bottom: clamp(64px, 7vw, 120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}
.hero-copy { gap: 28px; }
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soft-pink);
  color: #7A2B3C;
  font-size: 14px;
  font-weight: 600;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--orange); }
.hero-lead { margin: 0; font-size: 21px; line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin: 0; font-size: 15px; color: var(--ink-3); }

.hero-visual { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.blob { position: absolute; border-radius: 50%; }
.blob-a { width: 420px; height: 420px; background: var(--soft-blue); right: -60px; top: 10px; }
.blob-b { width: 120px; height: 120px; background: var(--soft-pink); left: 10px; bottom: 30px; }

.course-card {
  position: relative;
  width: min(420px, 100%);
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(20,38,58,0.06), 0 24px 48px -16px rgba(20,38,58,0.22);
  overflow: hidden;
  transform: rotate(-2deg) translateX(-24px);
}
.course-cover { height: 150px; background: var(--blue); position: relative; overflow: hidden; }
.course-cover .c1 { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--sky); right: -40px; top: -60px; }
.course-cover .c2 { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--pink); left: 28px; bottom: -30px; }
.course-cover .c3 { position: absolute; width: 54px; height: 54px; border-radius: 12px; background: var(--orange); right: 110px; bottom: 24px; transform: rotate(12deg); }
.course-tag { position: absolute; left: 20px; top: 18px; padding: 4px 12px; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-size: 13px; font-weight: 700; }
.course-body { padding: 22px 24px 26px; gap: 16px; }
.course-title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.course-meta { font-size: 15px; color: var(--ink-3); }
.dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.dots span { display: block; aspect-ratio: 1; border-radius: 50%; background: #FFFFFF; border: 1.5px solid var(--line-2); }
.dots span.on { background: var(--blue-ink); border-color: var(--blue-ink); }
.course-stats { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 16px; }
.course-stats strong { font-size: 20px; }
.course-rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.course-hint { padding: 10px 14px; border-radius: 12px; background: var(--soft-neutral); font-size: 15px; color: var(--ink-2); }

.seal-card {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: 260px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 24px 48px -16px rgba(20,38,58,0.45);
  transform: rotate(3deg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.seal-head { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.3; font-weight: 600; }
.seal-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.seal-text { font-size: 14px; color: #C9D6E3; line-height: 1.4; }
.seal-price { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

@media (max-width: 560px) {
  .btn-md { align-self: stretch; white-space: normal; text-align: center; padding: 12px 20px; line-height: 1.3; }
  .hero-visual { min-height: 0; flex-direction: column; align-items: stretch; padding-top: 8px; }
  .course-card { transform: rotate(-2deg); }
  .seal-card { position: relative; width: 230px; right: auto; bottom: auto; align-self: flex-end; margin-top: -28px; margin-right: 4px; }
  .blob-a { width: 300px; height: 300px; right: -100px; }
}

/* Faixa de regras */
.rules { background: var(--ink); color: #FFFFFF; }
.rules .container {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
}
.rule { gap: 4px; }
.rule-num { font-size: 44px; font-weight: 700; line-height: 1.1; color: var(--sky); }
.rule-text { font-size: 17px; color: var(--line); }

/* Como funciona */
.how { gap: 56px; }
.section-head { gap: 16px; max-width: 720px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.step { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; gap: 18px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.icon-tile { width: 56px; height: 56px; flex: none; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.tile-blue { background: var(--soft-blue); }
.tile-pink { background: var(--soft-pink); }
.tile-orange { background: var(--soft-orange); }
.tile-white { background: #FFFFFF; }
.step-num { font-size: 56px; font-weight: 300; line-height: 1; color: var(--line-2); font-style: italic; }
.step h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; }
.step p { margin: 0; color: var(--ink-2); text-wrap: pretty; }

.callout {
  background: var(--soft-neutral);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
}
.callout-body { flex: 1 1 420px; gap: 8px; }
.callout h3 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; }
.callout p { margin: 0; color: var(--ink-2); text-wrap: pretty; }

/* Públicos */
.audiences { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audiences .grid-2 { gap: 32px; }
.audience { border-radius: 28px; padding: clamp(28px, 3.5vw, 48px); gap: 28px; }
.audience-learn { background: var(--soft-blue); }
.audience-teach { background: var(--soft-orange); }
.audience-head { gap: 12px; }
.audience-learn .eyebrow { color: var(--blue-deep); }
.audience-teach .eyebrow { color: var(--orange-deep); }
.audience h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; }

/* Taxa */
.fee .grid-2 { gap: 56px; align-items: center; }
.fee-copy { gap: 20px; }
.note {
  background: var(--soft-orange);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}
.note svg { flex: none; margin-top: 2px; }
.table-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 8px; overflow-x: auto; }
.table-card table { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 440px; }
.table-card caption { text-align: left; padding: 20px 20px 8px; font-size: 15px; font-weight: 700; color: var(--ink-3); }
.table-card th { text-align: left; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.table-card td { white-space: nowrap; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.table-card tbody tr:last-child td { border-bottom: 0; }
.table-card .num { text-align: right; }
.table-card .strong { font-weight: 700; }
.table-card .hl { color: var(--blue-ink); font-weight: 700; }
.table-foot { margin: 0; padding: 12px 20px 16px; font-size: 14px; color: var(--ink-3); }

/* Lista de espera */
.waitlist { background: var(--ink); color: #FFFFFF; position: relative; overflow: hidden; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid #2C4A6B; }
.ring-a { width: 520px; height: 520px; right: -160px; top: -160px; }
.ring-b { width: 340px; height: 340px; right: -70px; top: -70px; }
.waitlist .grid-2 { position: relative; gap: 56px; align-items: start; }
.waitlist-copy { gap: 20px; }
.waitlist .eyebrow { color: var(--sky); }
.waitlist h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.waitlist-copy p { margin: 0; font-size: 20px; color: var(--line); text-wrap: pretty; }

.form-card {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 32px 64px -24px rgba(0,0,0,0.5);
}
.form-card form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field legend { font-size: 15px; font-weight: 600; }
.field legend { padding: 0; margin-bottom: 10px; }
.optional { font-weight: 400; color: var(--ink-3); }
.input {
  font: inherit;
  font-size: 17px;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--ink);
  width: 100%;
}
.input::placeholder { color: #8391A2; }
.input:focus { border-color: var(--blue-ink); }
fieldset.field { margin: 0; padding: 0; border: 0; gap: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  cursor: pointer;
  font-size: 17px;
}
.choice:has(input:checked) { border-color: var(--blue-ink); background: var(--soft-blue); }
.choice input, .consent input { width: 18px; height: 18px; accent-color: var(--blue-ink); margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 3px; flex: none; }
.field-error { margin: 0; font-size: 14px; color: #B42318; }
.is-invalid .input, .is-invalid .choice { border-color: #B42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submit {
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit:hover { filter: brightness(1.08); }
.submit:disabled { opacity: 0.7; cursor: progress; filter: none; }
.form-status { margin: 0; font-size: 15px; color: #B42318; }

.success { gap: 18px; align-items: flex-start; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.success h3 { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.success p { margin: 0; color: var(--ink-2); }

/* Dúvidas */
.faq { max-width: 880px; gap: 40px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 21px;
  font-weight: 600;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--blue-ink); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); max-width: 40em; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  font-size: 15px;
  color: var(--ink-3);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--ink-3); }

/* Página de texto (política) */
.doc { max-width: 760px; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(64px, 7vw, 112px); }
.doc h1 { margin: 0 0 8px; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -0.025em; }
.doc .updated { margin: 0 0 40px; color: var(--ink-3); font-size: 16px; }
.doc h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.back-link { display: inline-block; margin-bottom: 32px; font-size: 16px; }
