/*
  LP de autônomos (/produtos/autonomos) no visual v5.
  Paper: "S11 Autônomos — robozin.pro" (desktop 1440). Valores copiados do
  Paper; tokens (--color-*, --font-*) vêm do site-v5.css.
  Celular (< 900px) segue a home v5 celular: 1 coluna, títulos ~32-40px,
  cards da rede em trilho horizontal.
*/

.p5-aut { background: var(--color-paper); }
/* Resets com especificidade baixa (:where) para as classes de seção ganharem. */
:where(.p5-aut) :where(p, h1, h2, ul, ol) { margin: 0; }
:where(.p5-aut) :where(ul, ol) { list-style: none; padding: 0; }

.p5-aut__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--color-amber-700);
}
.p5-aut__kicker--amber { color: var(--color-amber); }

.p5-aut__h2 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 64px;
  color: #000;
}

.p5-aut .p5-aut__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2.5px solid var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
}
.p5-aut .p5-aut__btn--amber {
  padding: 15px 26px;
  background: var(--color-amber);
  box-shadow: var(--color-ink) 4px 4px 0;
  font-size: 17px;
  line-height: 20px;
  color: #000;
}
.p5-aut .p5-aut__btn--ink { background: var(--color-ink); color: #fff; box-shadow: var(--color-amber) 4px 4px 0; }
.p5-aut .p5-aut__btn--full { width: 100%; padding: 14px 22px; font-size: 16px; line-height: 20px; box-shadow: none; }

.p5-aut__cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.p5-aut .p5-aut__link {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #000;
  text-decoration: underline 1px;
  text-underline-position: from-font;
}

/* ── 1. Hero ─────────────────────────────────────────────────────────── */
.p5-aut__hero {
  background: var(--color-amber-50);
  border-bottom: 2.5px solid var(--color-ink);
  padding: 88px 0 104px;
}
.p5-aut__hero-inner { display: flex; align-items: center; gap: 64px; }
.p5-aut__hero-text { width: 620px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.p5-aut__hero-title {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 78px;
  color: #000;
}
.p5-aut__hero-sub { max-width: 560px; font-size: 19px; line-height: 30px; color: #000; }

.p5-aut__chat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: var(--color-ink) 8px 8px 0;
}
.p5-aut__chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--color-ink);
}
.p5-aut__chat-av { flex-shrink: 0; }
.p5-aut__chat-who { display: flex; flex-direction: column; min-width: 0; }
.p5-aut__chat-name { font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 20px; color: #000; }
.p5-aut__chat-sub { font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 16px; color: var(--color-graphite); }
.p5-aut__chat-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--color-mist);
}
.p5-aut__msg {
  max-width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  line-height: 22px;
  color: #000;
}
/* Balão verde = o profissional; branco com borda = o assistente. */
.p5-aut__msg--eu {
  align-self: flex-end;
  background: #DCF8C6;
  border-radius: 16px 16px 4px 16px;
}
.p5-aut__msg--bot {
  align-self: flex-start;
  background: var(--color-paper);
  border: 2px solid var(--color-ink);
  border-radius: 16px 16px 16px 4px;
}
.p5-aut__msg--w300 { width: 300px; }
.p5-aut__msg--w200 { width: 200px; }
.p5-aut__msg--w360 { width: 360px; }
.p5-aut__msg--pdf { width: 340px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.p5-aut__pdf {
  width: 40px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-amber-50);
  border: 2px solid var(--color-ink);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
}
.p5-aut__pdf-txt { display: flex; flex-direction: column; min-width: 0; }
.p5-aut__pdf-t { font-size: 14px; font-weight: 700; line-height: 18px; }
.p5-aut__pdf-d { font-size: 13px; line-height: 18px; color: var(--color-graphite); }

/* ── 2. Assistente ───────────────────────────────────────────────────── */
.p5-aut__ass { padding: 120px 0; }
.p5-aut__ass-head { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.p5-aut__ass-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.p5-aut__ass-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 2px solid var(--color-ink);
  border-radius: 24px;
  background: var(--color-paper);
}
.p5-aut__ass-card--on { background: var(--color-amber); border-width: 2.5px; box-shadow: var(--color-ink) 5px 5px 0; }
.p5-aut__ass-l {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  color: var(--color-amber-700);
}
.p5-aut__ass-card--on .p5-aut__ass-l { color: #000; }
.p5-aut__ass-t {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 30px;
  color: #000;
}
.p5-aut__ass-d { font-size: 16px; line-height: 24px; color: var(--color-graphite); }
.p5-aut__ass-card--on .p5-aut__ass-d { color: #000; }

/* ── 3. Rede (escuro) ────────────────────────────────────────────────── */
.p5-aut__rede { background: var(--color-ink); padding: 112px 0; }
.p5-aut__rede-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
.p5-aut__rede-titles { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.p5-aut__rede-title {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 60px;
  color: #fff;
}
.p5-aut__rede-sub { width: 400px; flex-shrink: 0; font-size: 16px; line-height: 24px; color: #A1A1AA; }
.p5-aut .p5-aut__rede-list {
  display: flex;
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  overflow: visible;
}
.p5-aut__rede-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 2px solid #3F3F46;
  border-radius: 20px;
}
.p5-aut__rede-card--on { border-color: var(--color-amber); }
.p5-aut__rede-t { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 24px; color: #fff; }
.p5-aut__rede-d { font-size: 14px; line-height: 21px; color: #A1A1AA; }
.p5-aut__rede-nota { margin-top: 48px; font-size: 13px; line-height: 18px; color: #71717A; }

/* ── 4. Cotações abertas ─────────────────────────────────────────────── */
.p5-aut__cot { padding: 112px 0; }
.p5-aut__cot-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.p5-aut__cot-title {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 58px;
  color: #000;
}
.p5-aut__cot-steps {
  display: flex;
  margin-top: 40px;
  overflow: clip;
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
}
.p5-aut__cot-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
}
.p5-aut__cot-step + .p5-aut__cot-step { border-left: 2px solid var(--color-ink); }
.p5-aut__cot-step--on { background: var(--color-amber-50); }
.p5-aut__cot-n { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 44px; color: var(--color-amber-700); }
.p5-aut__cot-t { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 24px; color: #000; }
.p5-aut__cot-d { font-size: 15px; line-height: 22px; color: var(--color-graphite); }

/* ── 5. CTA final (âmbar) ────────────────────────────────────────────── */
.p5-aut__fim {
  background: var(--color-amber);
  border-top: 2.5px solid var(--color-ink);
  padding: 104px 0;
}
.p5-aut__fim-inner { display: flex; align-items: center; gap: 64px; }
.p5-aut__fim-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.p5-aut__fim-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 58px;
  color: #000;
}
.p5-aut__fim-sub { font-size: 16px; font-weight: 500; line-height: 24px; color: #000; }
.p5-aut__fim-card {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: var(--color-ink) 6px 6px 0;
}
.p5-aut__fim-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.p5-aut__fim-card li { font-size: 15px; font-weight: 600; line-height: 22px; color: #000; }

/* ── Entre 900 e ~1240 ───────────────────────────────────────────────── */
@media (max-width: 1239.98px) and (min-width: 900px) {
  .p5-aut__hero-inner { gap: 40px; }
  .p5-aut__hero-text { width: 440px; }
  .p5-aut__hero-title { font-size: 60px; line-height: 60px; }
  .p5-aut__msg--w300, .p5-aut__msg--w360, .p5-aut__msg--pdf { width: auto; max-width: 92%; }
  .p5-aut__h2 { font-size: 52px; line-height: 54px; }
  .p5-aut__rede-title { font-size: 48px; line-height: 50px; }
  .p5-aut__rede-sub { width: 300px; }
  .p5-aut__cot-title { font-size: 44px; line-height: 46px; }
  .p5-aut__fim-title { font-size: 44px; line-height: 46px; }
  .p5-aut__fim-card { width: 360px; }
}

/* ── Celular ─────────────────────────────────────────────────────────── */
@media (max-width: 899.98px) {
  .p5-aut__kicker { font-size: 11px; line-height: 14px; }
  .p5-aut__h2 { font-size: 32px; line-height: 34px; letter-spacing: -0.04em; }
  .p5-aut .p5-aut__btn { min-height: 48px; white-space: normal; text-align: center; }
  .p5-aut .p5-aut__btn--amber { padding: 14px 22px; font-size: 16px; }

  .p5-aut__hero { padding: 40px 0 56px; }
  .p5-aut__hero-inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .p5-aut__hero-text { width: auto; gap: 18px; }
  .p5-aut__hero-title { font-size: 40px; line-height: 40px; }
  .p5-aut__hero-sub { font-size: 16px; line-height: 24px; }
  .p5-aut__chat { flex: none; box-shadow: var(--color-ink) 6px 6px 0; }
  .p5-aut__chat-body { padding: 14px; gap: 10px; }
  .p5-aut__msg { font-size: 14px; line-height: 20px; }
  .p5-aut__msg--w300, .p5-aut__msg--w200, .p5-aut__msg--w360, .p5-aut__msg--pdf { width: auto; max-width: 88%; }

  .p5-aut__ass { padding: 56px 0; }
  .p5-aut__ass-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .p5-aut__ass-card { padding: 22px; border-radius: 20px; }
  .p5-aut__ass-t { font-size: 21px; line-height: 25px; }
  .p5-aut__ass-d { font-size: 15px; line-height: 22px; }

  .p5-aut__rede { padding: 56px 0; }
  .p5-aut__rede-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .p5-aut__rede-title { font-size: 32px; line-height: 34px; letter-spacing: -0.04em; }
  .p5-aut__rede-sub { width: auto; font-size: 15px; line-height: 22px; }
  .p5-aut .p5-aut__rede-list {
    gap: 12px;
    margin: 28px -16px 0;
    padding-inline: 16px;
    overflow-x: auto;
  }
  .p5-aut__rede-card { flex: 0 0 72%; padding: 20px; }
  .p5-aut__rede-nota { margin-top: 20px; font-size: 12px; }

  .p5-aut__cot { padding: 56px 0; }
  .p5-aut__cot-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .p5-aut__cot-title { font-size: 32px; line-height: 34px; letter-spacing: -0.04em; }
  .p5-aut__cot-steps { flex-direction: column; margin-top: 28px; border-radius: 20px; }
  .p5-aut__cot-step { padding: 20px; gap: 6px; }
  .p5-aut__cot-step + .p5-aut__cot-step { border-left: 0; border-top: 2px solid var(--color-ink); }
  .p5-aut__cot-n { font-size: 32px; line-height: 36px; }

  .p5-aut__fim { padding: 56px 0; }
  .p5-aut__fim-inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .p5-aut__fim-title { font-size: 34px; line-height: 36px; }
  .p5-aut__fim-sub { font-size: 15px; line-height: 22px; }
  .p5-aut__fim-card { width: auto; padding: 22px; }
}
