/*
 * Landing estática da comunidade Oportunidades Aplicação Certa.
 * Mobile first (375px), depois adaptada para tablet (≥ 720px) e desktop
 * (≥ 1024px). Mesma base visual das LPs do site: dark quente + dourado,
 * fonte Archivo (servida daqui mesmo, com font-display: swap).
 * Sempre usar os tokens abaixo, nunca cores soltas.
 */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #1a1a1a;
  --bg-alt: #201f1d;
  --card: #262421;
  --card-border: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --gold: #c9a86a;
  --gold-light: #e2c281;
  --gold-dim: rgba(201, 168, 106, 0.1);
  --gold-border: rgba(201, 168, 106, 0.35);
  --text: #f0ece5;
  --text-muted: #c2bcb2;
  --text-dim: #a29c92;
  --green: #8bb391;
  --red: #e0a07f;
  --btn-text: #231b09;
  --btn-gradient: linear-gradient(180deg, #e2c281, #c9a86a);
  --btn-shadow: 0 10px 28px -10px rgba(201, 168, 106, 0.65);
  --wa-bg: #0b141a;
  --wa-bar: #1f2c34;
  --wa-msg: #202c33;
  --ff: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--text);
}

a {
  color: var(--gold-light);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.estreito {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--btn-text);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Topo + menu ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, 0.92);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.topo__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.topo__logo img {
  width: 107px;
  height: 40px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  margin-right: -12px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 20px 16px;
}

.menu.is-open {
  display: block;
}

/* Sem JS o botão não funciona: o menu some e as seções seguem acessíveis
   pela rolagem. */
.no-js .menu-toggle {
  display: none;
}

.menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.menu li:last-child a {
  border-bottom: 0;
}

/* ---------- Botão principal ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  background: var(--btn-gradient);
  color: var(--btn-text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px -10px rgba(201, 168, 106, 0.8);
}

.btn:active {
  transform: translateY(1px);
}

.btn__icone {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn--grande {
  min-height: 60px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 28px 0 48px;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(201, 168, 106, 0.14), transparent 60%),
    var(--bg);
}

.hero__grid {
  display: grid;
  gap: 40px;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
}

.selo__ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(139, 179, 145, 0.25);
}

.hero h1 {
  font-size: 1.75rem;
}

.destaque {
  color: var(--gold);
}

.hero__sub {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cta-bloco {
  margin-top: 24px;
}

.microcopy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.microcopy li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.microcopy strong {
  color: var(--gold-light);
}

.microcopy li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.prova {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.prova li {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Mockup do WhatsApp */

.celular {
  justify-self: center;
  width: 100%;
  max-width: 340px;
}

.celular__tela {
  overflow: hidden;
  background: var(--wa-bg);
  border: 8px solid #2b2926;
  border-radius: 32px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--card-border);
}

.celular__barra {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--wa-bar);
}

.celular__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--btn-gradient);
  color: var(--btn-text);
  font-size: 0.8125rem;
  font-weight: 800;
}

.celular__nome {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.celular__info {
  display: block;
  font-size: 0.75rem;
  color: #aebac1;
}

.celular__chat {
  display: grid;
  gap: 10px;
  padding: 16px 12px 20px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.025) 0 2px, transparent 3px) 0 0 / 22px 22px,
    var(--wa-bg);
}

.msg {
  position: relative;
  max-width: 92%;
  padding: 8px 10px 18px;
  background: var(--wa-msg);
  border-radius: 0 10px 10px 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #e9edef;
}

.msg__tag {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  color: var(--gold-light);
}

.msg__hora {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 0.6875rem;
  color: #aebac1;
}

.celular__nota {
  margin-top: 10px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ---------- Seções ---------- */

.secao {
  padding: 56px 0;
}

.secao--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.secao h2,
.faixa-cta h2,
.final h2 {
  font-size: 1.4375rem;
}

.sobretitulo {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.secao--dor {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.secao--dor p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Cards */

.cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.card__icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  font-size: 1.375rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
}

.card h3 {
  font-size: 1.0625rem;
}

.card p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* Faixa do CTA do meio */

.faixa-cta {
  padding: 40px 0;
  background:
    linear-gradient(135deg, rgba(201, 168, 106, 0.16), rgba(201, 168, 106, 0.04)),
    var(--bg-alt);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.faixa-cta__inner {
  display: grid;
  gap: 20px;
  text-align: center;
}

.faixa-cta p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* Passos */

.passos {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.passo {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.passo__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--btn-gradient);
  color: var(--btn-text);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
}

.passo h3 {
  font-size: 1rem;
}

.passo p {
  margin-top: 6px;
  color: var(--text-muted);
}

/* Para quem é */

.perfil {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.perfil__col {
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.perfil__col h3 {
  font-size: 1.0625rem;
  margin-bottom: 12px;
}

.perfil__col li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.perfil__col li:first-child {
  border-top: 0;
}

.perfil__col li::before {
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 800;
}

.perfil__col--sim {
  border-color: rgba(139, 179, 145, 0.35);
}

.perfil__col--sim li::before {
  content: "✓";
  color: var(--green);
}

.perfil__col--nao li::before {
  content: "✕";
  color: var(--red);
}

/* Quem somos */

.quem {
  display: grid;
  gap: 28px;
}

.quem__foto {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--card);
  aspect-ratio: 16 / 9;
}

.quem__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quem__texto > p:not(.sobretitulo) {
  margin-top: 14px;
  color: var(--text-muted);
}

/* Os números ficam embaixo da foto, na mesma coluna. */
.numeros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.numeros li {
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.numeros strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1.2;
}

.numeros span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 48px 14px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 18px 18px;
  color: var(--text-muted);
}

/* CTA final */

.final {
  padding: 64px 0 72px;
  text-align: center;
  background:
    radial-gradient(90% 70% at 50% 100%, rgba(201, 168, 106, 0.16), transparent 70%),
    var(--bg);
}

.final__inner > p {
  margin: 12px auto 28px;
  max-width: 34em;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.final__inner > .final__nota {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Rodapé */

.rodape {
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: #141414;
}

.rodape__logo {
  width: 86px;
  height: 32px;
  margin-bottom: 18px;
}

.rodape__legal {
  display: grid;
  gap: 10px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-dim);
}

/* Barra fixa (só celular) */

.barra-fixa {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 20, 20, 0.94);
  border-top: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.barra-fixa.is-visible {
  transform: translateY(0);
}

.btn--barra {
  min-height: 52px;
  box-shadow: none;
}

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

/* ---------- Tablet ---------- */

@media (min-width: 720px) {
  .container {
    padding: 0 32px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .btn {
    width: auto;
    min-width: 320px;
  }

  .btn--grande {
    font-size: 1.0625rem;
  }

  .microcopy {
    justify-content: flex-start;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .perfil {
    grid-template-columns: 1fr 1fr;
  }

  .numeros {
    grid-template-columns: repeat(4, 1fr);
  }

  .faixa-cta__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }

  .secao h2,
  .faixa-cta h2,
  .final h2 {
    font-size: 1.75rem;
  }

  .secao {
    padding: 80px 0;
  }

  .barra-fixa {
    display: none;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
  }

  .menu-toggle {
    display: none;
  }

  .menu,
  .menu.is-open {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border: 0;
  }

  .menu ul {
    display: flex;
    gap: 4px;
  }

  .menu a {
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--text-muted);
  }

  .menu a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }

  .hero h1 {
    font-size: 2.625rem;
  }

  .hero__sub {
    font-size: 1.0625rem;
    max-width: 36em;
  }

  .celular {
    max-width: 360px;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .passos {
    grid-template-columns: repeat(3, 1fr);
  }

  .passo {
    flex-direction: column;
  }

  .quem {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
  }

  /* Embaixo da foto, em meia tela, 4 colunas quebram "+R$ 320 mi" em
     duas linhas: volta para 2 x 2. */
  .numeros {
    grid-template-columns: 1fr 1fr;
  }

  .secao h2,
  .faixa-cta h2,
  .final h2 {
    font-size: 2rem;
  }
}
