/* =========================================================
   Yuri Lima — site estático
   Sem framework, sem build. Edite as variáveis abaixo.
   ========================================================= */

:root {
  --bg: #070c16;
  --bg-2: #0b1220;
  --surface: #0f172a;
  --surface-2: #121e33;
  --line: rgba(148, 163, 184, .16);
  --line-strong: rgba(148, 163, 184, .28);
  --text: #e8eef8;
  --muted: #9fb0c7;
  --muted-2: #7d8ea6;
  --accent: #ff6b35;
  --accent-2: #ffb020;
  --good: #34d399;
  --bad: #fb7185;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .75);
  --container: 1120px;
  --space: clamp(1rem, 2.5vw, 2rem);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(255, 107, 53, .14), transparent 60%),
    radial-gradient(700px 500px at 90% 0%, rgba(255, 176, 32, .08), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

strong { color: #fff; }

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

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}
.container.narrow { width: min(760px, 100% - 2.5rem); }

.center { text-align: center; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: .8rem 1rem;
  background: var(--accent);
  color: #111;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 12, 22, .72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand:hover { color: #fff; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #1a0d05;
  font-size: .85rem;
  font-weight: 900;
}
.brand-text { display: flex; flex-direction: column; font-size: .98rem; line-height: 1.1; }
.brand-sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 3px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #1a0d05;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px -12px rgba(255, 107, 53, .65);
}
.btn-primary:hover { color: #000; box-shadow: 0 16px 36px -12px rgba(255, 107, 53, .8); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--muted-2); color: #fff; }

.btn-sm { padding: .6rem .95rem; font-size: .86rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-inner { max-width: 900px; }
.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
  padding: .35rem .7rem;
  border: 1px solid rgba(255, 176, 32, .3);
  border-radius: 999px;
  background: rgba(255, 176, 32, .07);
}
.hero h1 { background: linear-gradient(120deg, #fff 25%, #ffd6a8 70%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-note { margin-top: 1.2rem; color: var(--muted-2); font-size: .92rem; }
.hero-note strong { color: var(--accent-2); }

/* ---------- Seções ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section[id] { scroll-margin-top: 88px; }
.section-alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, .55), rgba(15, 23, 42, .2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 70ch; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); }
.lead-sm { font-size: 1.06rem; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.card li { margin-bottom: .45rem; }
.card-good { border-color: rgba(52, 211, 153, .28); }
.card-good h3 span { color: var(--good); }
.card-bad { border-color: rgba(251, 113, 133, .26); }
.card-bad h3 span { color: var(--bad); }

/* ---------- Split / painel ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--text);
}
.check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.panel {
  background: linear-gradient(180deg, var(--surface-2), #0c1424);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.panel-list { list-style: none; padding: 0; margin: 1rem 0 1.2rem; }
.panel-list li { display: flex; gap: .6rem; margin-bottom: .7rem; color: var(--muted); font-size: .95rem; }
.tick {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, .15);
  color: var(--good);
  font-size: .7rem;
  font-weight: 900;
  margin-top: .22rem;
}
.panel-price {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.panel-price strong { font-size: 1.9rem; color: #fff; letter-spacing: -.02em; }
.panel-price span { font-size: .84rem; color: var(--muted-2); }

/* ---------- Passos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255, 107, 53, .14);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .94rem; }
.after-note {
  max-width: 70ch;
  margin: 2rem auto 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(255, 176, 32, .06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- Sim / não ---------- */
.yes-no { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Sobre ---------- */
.about-photo { align-self: center; }
.about-photo img {
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: auto;
}
.about-sub { margin-top: 1.8rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0; }
.pill-list li {
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .02);
  border-radius: 999px;
  padding: .35rem .8rem;
}

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, .6);
  padding: 0 1.2rem;
  margin-bottom: .6rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 1rem; margin: 0; }
.faq[open] { border-color: var(--line-strong); }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 107, 53, .16), transparent 65%),
    linear-gradient(180deg, transparent, rgba(15, 23, 42, .6));
  border-top: 1px solid var(--line);
}
.cta-final h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-final .btn { margin-top: .6rem; }
.cta-alt { margin-top: 1rem; color: var(--muted-2); font-size: .9rem; }
.cta-alt a { color: var(--accent-2); }
.config-warning {
  margin-top: 1.2rem;
  font-size: .82rem;
  color: #ffd6a8;
  background: rgba(255, 176, 32, .08);
  border: 1px dashed rgba(255, 176, 32, .4);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
}
.config-warning code { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  background: var(--bg-2);
  color: var(--muted-2);
  font-size: .88rem;
}
.footer-inner { display: grid; gap: .8rem; text-align: center; justify-items: center; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted-2); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .cards.three, .cards.four, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 60px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: .6rem 1.25rem 1rem; background: rgba(7, 12, 22, .98); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .cards.three, .cards.four, .steps, .yes-no { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-cta .btn { width: 100%; }
  .section-head { margin-bottom: 1.6rem; }
}

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

@media print {
  .site-header, .nav-toggle, .btn, .footer-links { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .panel, .step { border-color: #ccc; background: #fff; }
  a { color: #111; }
}

/* ---------- Artigo ---------- */
.article { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.article-head { margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.article-meta { color: var(--muted-2); font-size: .9rem; }
.prose { color: var(--muted); }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: #fff; }
.prose a { color: var(--accent-2); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.article-cta {
  margin-top: 3rem;
  padding: 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), #0c1424);
}
.article-cta h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.article-cta p { color: var(--muted); }
