/* Free resources (/recursos/): posts from X embedded with X's own widget, and free downloads, on top of
   empresas.css (fonts, colors, bar, buttons, footer). Green is used only as the "free" mark. */

:root { --green: #3ddc84; --green-dim: rgba(61, 220, 132, 0.14); }

.rec { padding: 120px 0 40px; }
.rec-wrap { max-width: 760px; }
.bar-link { text-decoration: none; }
.bar-link:hover { color: var(--white); }

.rec-title { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin: 0; color: var(--white); font-size: clamp(38px, 6vw, 64px); }
.rec .lede { max-width: 50ch; }
.rec .eyebrow::before { background: var(--green); box-shadow: 0 0 0 4px var(--green-dim); }

.rec-h2 { color: var(--white); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(24px, 2.8vw, 30px); margin: 64px 0 8px; }
.rec-sub { color: var(--dim); margin: 0 0 24px; font-size: 15px; }

.free { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); background: var(--green-dim); border-radius: 99px; padding: 4px 10px; }

/* Downloads */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.dl { padding: 26px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.dl h3 { margin: 14px 0 8px; color: var(--white); font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
.dl p { margin: 0 0 18px; color: var(--dim); font-size: 15px; }
.dl ul { margin: 0 0 20px; padding-left: 1.2em; color: var(--ink); font-size: 15px; }
.dl li { margin: 0 0 6px; }
.dl .btn { padding: 13px 22px; font-size: 14px; }
.dl-meta { font-size: 13px; color: var(--faint); margin: 12px 0 0; }

/* Posts from X, embedded. widgets.js draws each one in an iframe (dark theme, max 550px); until
   it loads, or if X is blocked, the post's own text shows in a quiet card. */
.rec-tweets:not(:has(.tweet)) { display: none; }
.tweets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: center; }
.tweet { width: 100%; max-width: 550px; }
.tweet .twitter-tweet { margin: 0 !important; }
.tweet blockquote.twitter-tweet { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); color: var(--ink); font-size: 16px; line-height: 1.6; }
.tweet blockquote.twitter-tweet p { margin: 0 0 12px; }
.tweet blockquote.twitter-tweet a { color: var(--dim); font-size: 14px; }
.rec-follow { display: flex; justify-content: center; margin: 20px 0 0; }

/* Closing call, for companies that already bill USD 50k+ a month */
.rec-cta { margin: 72px 0 64px; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--white); color: #111; }
.rec-cta .eyebrow { color: #555; }
.rec-cta .eyebrow::before { background: #111; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1); }
.rec-cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; color: #0a0a0a; }
.rec-cta p { margin: 0 0 24px; color: #333; }
.rec-cta .btn-accent { background: var(--bg); color: var(--white); }

@media (max-width: 640px) {
  .rec { padding-top: 96px; }
}

/* Prompts: a horizontal rail of cards in the home page's card style (gradient, count chip,
   outlined number). Swipe on a phone; arrows and dots show only when the rail overflows. */
.rec-prompts { margin: 0; }
.pc-wrap { max-width: 1180px; }
.pc-rail {
  list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(100%, 520px); align-items: start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
@media (min-width: 1100px) { .pc-rail { justify-content: center; } }
.pc-rail::-webkit-scrollbar { display: none; }
.pc-rail:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 30px; }
.pc {
  position: relative; scroll-snap-align: start; overflow: hidden; border-radius: 30px;
  background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 40px);
  display: flex; flex-direction: column; scroll-margin-top: 90px;
}
.pc:target { border-color: var(--green); }
.pc-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.pc-num {
  position: absolute; right: 20px; top: 14px; z-index: 0; font-weight: 600; font-size: clamp(110px, 14vw, 180px);
  line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
}
.pc-count { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px 5px 5px; font-size: 13px; color: var(--dim); margin-bottom: 22px; background: rgba(10, 10, 10, 0.5); }
.pc-count b { background: var(--green); color: #04130a; border-radius: 99px; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; }
.pc h3 { margin: 0 0 10px; color: var(--white); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.025em; line-height: 1.15; font-weight: 600; max-width: 18ch; }
.pc p { margin: 0 0 16px; color: var(--dim); font-size: 15px; }
.pc-list { list-style: none; margin: 0 0 16px; padding: 0; font-size: 15px; color: var(--ink); }
.pc-list li { padding-left: 22px; position: relative; margin: 0 0 6px; }
.pc-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-dim); }
.pc .pc-for { font-size: 14px; color: var(--faint); }
.pc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.pc-actions .btn { padding: 13px 20px; font-size: 14px; }
.pc-actions svg { width: 16px; height: 16px; }
.pc-peek { margin: 16px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.pc-peek summary { cursor: pointer; font-size: 14px; color: var(--dim); list-style: none; }
.pc-peek summary::-webkit-details-marker { display: none; }
.pc-peek summary::after { content: " +"; }
.pc-peek[open] summary::after { content: " −"; }
.pc-peek summary:hover { color: var(--white); }
.pc-peek pre {
  margin: 12px 0 0; max-height: 280px; overflow: auto; white-space: pre-wrap; word-break: break-word;
  font: 400 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.pc-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 0; }
.pc-nav[hidden] { display: none; }
.pc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 400 18px/1 "Poppins", sans-serif; cursor: pointer; }
.pc-arrow:hover { background: rgba(255, 255, 255, 0.06); }
.pc-arrow:disabled { opacity: 0.35; cursor: default; }
.pc-dots { display: flex; gap: 8px; }
.pc-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--faint); transition: width .2s ease, background .2s ease; }
.pc-dots i.on { width: 22px; background: var(--white); }
@media (max-width: 640px) {
  .pc-wrap { padding: 0; }
  .pc-rail { grid-auto-columns: 86%; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
