/* ==========================================================
   OSHER · Aula gratuita de Forex
   Identidade: verde profundo, verde da marca, menta e rosé
   (extraídos do "Plano Oficial" da OSHER)
   ========================================================== */

:root {
  --ink: #101b27;
  --ink-2: #33424f;
  --muted: #5d6b76;

  --g950: #011b12;
  --g900: #01271a;
  --g800: #023524;
  --g700: #06462f;

  --brand: #0b693b;
  --brand-500: #0f7d48;
  --brand-400: #16945a;
  --teal: #2d917d;
  --mint: #81bea7;
  --mint-300: #a9d4c3;
  --mint-200: #d5e9dd;
  --mint-100: #e8f3ed;
  --mint-50: #f3f9f6;
  --rose: #cbb0a8;
  --danger: #c2503f;

  --bg: #f9fbfa;
  --white: #ffffff;
  --line: #e2eae6;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(1, 39, 26, .06);
  --shadow: 0 1px 2px rgba(1, 39, 26, .05), 0 18px 40px -18px rgba(1, 39, 26, .22);
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, .55);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--mint { color: var(--mint); }

.section { padding: 104px 0; }
.section--white { background: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2, .about h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Botões ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  font: 700 1rem/1 var(--font); letter-spacing: -.005em;
  border-radius: 14px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn .ico { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -10px rgba(11, 105, 59, .75);
}
.btn--primary:hover { background: linear-gradient(180deg, #19a263 0%, var(--brand-500) 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 30px -10px rgba(11, 105, 59, .85); }
.btn--ghost { color: var(--white); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; border-radius: 11px; }
.btn--lg { --h: 60px; padding: 0 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.topbar.is-solid { background: rgba(1, 27, 18, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand__sym { width: 34px; height: 33px; fill: currentColor; }
.brand__word { width: 104px; height: 11px; fill: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  color: var(--white);
  background: var(--g900);
  padding: 132px 0 28px;
  overflow: hidden;
}
.hero__bg, .final__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("/assets/img/hero-bg.jpg");
  background-image: image-set(url("/assets/img/hero-bg.webp") type("image/webp"), url("/assets/img/hero-bg.jpg") type("image/jpeg"));
  background-size: cover; background-position: center bottom;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 30%, rgba(1, 27, 18, .78) 0%, rgba(1, 27, 18, .35) 60%, rgba(1, 27, 18, .15) 100%),
    linear-gradient(180deg, rgba(1, 27, 18, .35) 0%, rgba(1, 27, 18, 0) 30%, rgba(1, 27, 18, .0) 70%, rgba(1, 27, 18, .7) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint-200);
  background: rgba(129, 190, 167, .12); box-shadow: inset 0 0 0 1px rgba(129, 190, 167, .35);
}
.pill__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; }
.pill__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #4ade80; opacity: 0; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.03em; }
.hl {
  color: var(--mint);
  background: linear-gradient(90deg, #9fd8c1, var(--mint) 60%, #c7dccf);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { margin-top: 22px; max-width: 580px; font-size: 1.13rem; color: rgba(255, 255, 255, .8); }
.lead strong { color: var(--white); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 14px 28px; margin-top: 34px; }
.facts li { display: flex; align-items: center; gap: 12px; font-size: .96rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.facts .ico {
  width: 38px; height: 38px; padding: 9px; border-radius: 11px;
  color: var(--mint); background: rgba(129, 190, 167, .12); box-shadow: inset 0 0 0 1px rgba(129, 190, 167, .25);
}

.countdown { margin-top: 34px; }
.countdown__label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.countdown__grid { display: flex; gap: 10px; margin-top: 10px; }
.countdown__grid div {
  min-width: 70px; padding: 10px 8px 8px; text-align: center; border-radius: 12px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.countdown__grid strong { display: block; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__grid span { font-size: .72rem; color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .08em; }

.hero__disclaimer { margin-top: 44px; font-size: .8rem; color: rgba(255, 255, 255, .55); text-align: center; }

/* ---------- Formulário ---------- */
.signup {
  position: relative;
  padding: 34px 32px 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.signup::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(203, 176, 168, .9), rgba(203, 176, 168, 0) 40%, rgba(129, 190, 167, .0) 60%, rgba(129, 190, 167, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.signup__eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.signup__title { margin-top: 8px; font-size: 1.6rem; }
.signup__sub { margin-top: 8px; font-size: .95rem; color: var(--muted); }

.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.field input {
  width: 100%; height: 52px; padding: 0 16px;
  font: 500 1rem var(--font); color: var(--ink);
  background: var(--mint-50); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field input::placeholder { color: #9aa7b0; }
.field input:hover { border-color: #cddad3; }
.field input:focus { outline: none; background: var(--white); border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(15, 125, 72, .14); }
.field input[aria-invalid="true"] { border-color: var(--danger); background: #fff8f6; }
.field__error { min-height: 0; margin-top: 6px; font-size: .82rem; font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .84rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.check + .field__error { margin-top: 6px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.signup .btn { margin-top: 22px; }
.signup__status { margin-top: 12px; font-size: .9rem; font-weight: 600; text-align: center; }
.signup__status:empty { display: none; }
.signup__status.is-error { color: var(--danger); }
.signup__note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.signup__note .ico { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Faixa ---------- */
.strip { background: var(--g950); border-top: 1px solid rgba(203, 176, 168, .25); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; padding-top: 20px; padding-bottom: 20px; }
.strip span { font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--mint); }
.strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }

/* ---------- Conteúdo ---------- */
.learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.learn__card {
  padding: 30px 28px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.learn__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-200); }
.learn__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.learn__num { font-size: 2.3rem; font-weight: 500; line-height: 1; color: var(--brand); letter-spacing: -.02em; }
.learn__top .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; color: var(--brand); background: var(--mint-200); }
.learn__card h3 { font-size: 1.18rem; }
.learn__card p { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* ---------- Sobre ---------- */
.about__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 64px; }
.about__text p { color: var(--ink-2); }
.about__text p + p { margin-top: 14px; }
.about__lead { font-size: 1.22rem; line-height: 1.5; color: var(--brand) !important; font-weight: 500; }

.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.pillars li { position: relative; }
.pillars__num { display: block; font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--brand); padding-bottom: 16px; border-bottom: 1px solid #d4ddd9; }
.pillars h3 { margin-top: 18px; font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pillars p { margin-top: 10px; font-size: .95rem; color: var(--muted); }

/* ---------- Instrutor ---------- */
.host {
  position: relative; overflow: hidden;
  padding: 104px 0;
  color: var(--white);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(45, 145, 125, .18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(129, 190, 167, .10), transparent 60%),
    var(--g900);
}
.host__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.host__photo { position: relative; }
.host__photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 26px;
  border: 1px solid rgba(203, 176, 168, .55);
}
.host__photo img { position: relative; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-lg); }
.host h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.host__role { margin-top: 12px !important; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.host__copy > p:not(.eyebrow):not(.host__role) { margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.host__quote { margin: 32px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--mint); }
.host__quote p { font-size: 1.3rem; line-height: 1.45; font-weight: 500; color: var(--mint-200); }
.host__quote cite { display: block; margin-top: 12px; font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: background-color .2s, border-color .2s; }
.faq details[open] { background: var(--white); border-color: var(--mint-200); box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative; display: block; padding: 22px 64px 22px 24px;
  font-weight: 700; font-size: 1.04rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat,
    var(--mint-100);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 112px 0; color: var(--white); background: var(--g900); text-align: center; }
.final__bg { background-position: center; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 45%, rgba(1, 27, 18, .82), rgba(1, 27, 18, .45)); }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__sym { width: 64px; height: 62px; fill: var(--white); opacity: .95; }
.final h2 { margin-top: 26px; font-size: clamp(2rem, 4vw, 3rem); }
.final p { margin-top: 14px; max-width: 520px; font-size: 1.1rem; color: rgba(255, 255, 255, .78); }
.final .btn { margin-top: 32px; }

/* ---------- Rodapé ---------- */
.footer { padding: 56px 0 40px; color: rgba(255, 255, 255, .62); background: var(--g950); font-size: .86rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a { color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; }
.footer__nav a:hover { color: var(--white); text-decoration: underline; }
.footer__legal { display: grid; gap: 12px; margin-top: 28px; line-height: 1.65; }
.footer__legal strong { color: rgba(255, 255, 255, .85); }
.footer__copy { margin-top: 8px !important; color: rgba(255, 255, 255, .45); }

/* ---------- CTA fixo (celular) ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(1, 27, 18, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Páginas internas (legais / obrigado / 404) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0 64px; color: var(--white); background: var(--g900); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { margin-top: 14px; color: rgba(255, 255, 255, .75); }
.legal { max-width: 820px; padding: 64px var(--gutter) 96px; }
.legal h2 { margin: 40px 0 12px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal .note { padding: 16px 18px; border-radius: 12px; background: var(--mint-100); color: var(--ink-2); font-size: .95rem; }

.thanks { max-width: 720px; padding: 0 var(--gutter); margin: 0 auto; text-align: center; }
.thanks__badge { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: rgba(129, 190, 167, .16); box-shadow: inset 0 0 0 1px rgba(129, 190, 167, .4); }
.thanks__badge .ico { width: 40px; height: 40px; color: var(--mint); stroke-width: 2.5; }
.thanks__steps { display: grid; gap: 14px; margin: 40px auto 0; max-width: 560px; text-align: left; }
.thanks__step { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.thanks__step .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--mint); background: rgba(129, 190, 167, .14); }
.thanks__step strong { display: block; color: var(--white); }
.thanks__step span { font-size: .92rem; color: rgba(255, 255, 255, .7); }
.thanks__step .btn { margin-left: auto; flex: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .learn:not(.learn--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 960px) {
  .hero { padding-top: 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .facts { justify-content: center; }
  .countdown__grid { justify-content: center; }
  .hero__form { max-width: 560px; width: 100%; margin: 0 auto; }
  .host__grid, .about__head { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .host__photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .about__head { margin-bottom: 48px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section, .host { padding: 72px 0; }
  .final { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .learn { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .signup { padding: 28px 22px 22px; border-radius: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
  .facts li { font-size: .88rem; gap: 10px; }
  .facts .ico { width: 34px; height: 34px; padding: 8px; }
  .brand__word { display: none; }
  .host__photo::before { inset: 12px -10px -12px 10px; }
  .thanks__step { flex-wrap: wrap; }
  .thanks__step .btn { margin-left: 0; width: 100%; }
}

@media (max-width: 420px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .countdown__grid div { min-width: 0; flex: 1; }
}

@media (min-width: 961px) {
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
