/* ==========================================================
   Guia Solar — style.css
   Visual: fundo escuro azul-noite, acento solar âmbar/laranja,
   cards com glassmorphism sutil. Tipografia: Space Grotesk.
   ========================================================== */
:root {
  --bg: #0F0F1A;
  --bg2: #161628;
  --bg3: #1E1E36;
  --card: rgba(255,255,255,.06);
  --card-border: rgba(255,255,255,.08);
  --card-hover: rgba(255,255,255,.10);
  --text: #E8E8F0;
  --text2: #9A9AB0;
  --text3: #6A6A82;
  --solar: #F5A623;
  --solar-dark: #D4891A;
  --solar-glow: rgba(245,166,35,.15);
  --green: #34D399;
  --red: #F87171;
  --white: #fff;
  --line: rgba(255,255,255,.08);

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1140px;
  --g: clamp(20px, 5vw, 48px);
  --r: 16px;
  --r-sm: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote { margin: 0; }
ul,ol { padding: 0; list-style: none; }
button,input,textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--solar); outline-offset: 3px; border-radius: 4px; }

.w { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--g); }
.sec { padding-block: clamp(72px, 10vw, 120px); }

/* ── Tipografia ── */
.t1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.t2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
.t3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--solar); letter-spacing: 0.03em; margin-bottom: 12px; }
.muted { color: var(--text2); }

/* ── Botões ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: all .15s; }
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--solar); color: #1A1A2E; }
.btn--cta:hover { background: var(--solar-dark); }
.btn--lg { min-height: 56px; padding: 14px 36px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(255,255,255,.2); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: 14px; }

/* ── Header ── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(15,15,26,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand--light { color: var(--text); }
.hnav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.hnav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--text2); }
.hnav a:not(.btn):hover { color: var(--white); }

/* ── Hero (index) ── */
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 10vw, 140px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: var(--solar-glow); filter: blur(120px); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); font-size: 13px; color: var(--solar); font-weight: 500; margin-bottom: 28px; }
.hero__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero .t1 { margin-bottom: 24px; }
.hero .t1 em { font-style: normal; color: var(--solar); }
.hero__sub { font-size: clamp(17px, 1.3vw, 19px); color: var(--text2); max-width: 48ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; font-size: 14px; color: var(--text3); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: "✓"; color: var(--green); font-weight: 600; }

/* Hero visual — chat simulado */
.hero__visual { position: relative; }
.sim { background: var(--bg2); border: 1px solid var(--card-border); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.sim__top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sim__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--solar-glow); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--solar); flex: none; }
.sim__name { font-weight: 600; font-size: 15px; }
.sim__source { font-size: 12px; color: var(--text3); }
.sim__tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,.15); color: var(--green); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg--in { background: var(--card); align-self: start; border-top-left-radius: 4px; }
.msg--out { background: rgba(245,166,35,.12); color: var(--text); align-self: end; border-top-right-radius: 4px; margin-left: auto; }
.msg time { display: block; text-align: right; font-size: 11px; color: var(--text3); margin-top: 4px; }
.sim__result { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.15); border-radius: var(--r-sm); margin-top: 4px; }
.sim__result-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: 16px; flex: none; }
.sim__result strong { font-size: 14px; }
.sim__result small { font-size: 12px; color: var(--text2); }

/* ── Band ── */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__list { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 20px; font-weight: 600; font-size: 14px; color: var(--text2); }
.band__list li { display: flex; align-items: center; gap: 10px; }
.band__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--solar); }

/* ── Problema ── */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.problem__head .t2 { margin-bottom: 20px; }
.pain-cards { display: grid; gap: 16px; }
.pain { display: flex; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-sm); }
.pain__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(248,113,113,.1); display: grid; place-items: center; font-size: 20px; flex: none; }
.pain h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.pain p { font-size: 15px; color: var(--text2); }

/* ── Features / Soluções ── */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.feat:nth-child(even) .feat__text { order: 2; }
.feat__text .t3 { margin-bottom: 14px; }
.feat__text > p { color: var(--text2); margin-bottom: 20px; max-width: 46ch; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }

.feat__card { background: var(--bg2); border: 1px solid var(--card-border); border-radius: var(--r); padding: 24px; }
.feat__card-title { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.feat__card-title span { color: var(--text3); font-weight: 400; }

/* Qual rows */
.qrow { display: grid; grid-template-columns: 24px 1fr; gap: 8px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.qrow::before { content: ""; width: 20px; height: 20px; border-radius: 50%; grid-row: span 2; }
.qrow.done::before { background: var(--green); }
.qrow.next::before { border: 2px dashed var(--solar); }
.qrow dt { font-size: 12px; color: var(--text3); }
.qrow dd { font-weight: 600; font-size: 14px; }
.progress-bar { height: 5px; border-radius: 99px; background: var(--card); margin-top: 12px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--green); border-radius: inherit; }

/* Cadência */
.cadence-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.cadence-item { font-size: 12px; color: var(--text3); padding-top: 10px; border-top: 3px solid var(--line); }
.cadence-item b { display: block; font-size: 14px; color: var(--text); }
.cadence-item.done { border-color: var(--green); }
.cadence-item.win { border-color: var(--solar); color: var(--solar); }

/* Ticket */
.ticket-card { border-left: 4px solid var(--solar); }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ticket-grid dt { font-size: 12px; color: var(--text3); }
.ticket-grid dd { font-weight: 600; font-size: 14px; }
.ticket-badge { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--solar); color: #1A1A2E; font-size: 13px; font-weight: 600; }

/* ── Comparativo ── */
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.lane { border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.lane h3 { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.lane ol { display: grid; gap: 14px; }
.lane li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; font-size: 16px; }
.lane time { font-family: var(--display); font-weight: 700; }
.lane__end { margin-top: 24px; padding-top: 18px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.lane--old { background: var(--card); border: 1px solid var(--card-border); color: var(--text2); }
.lane--old .lane__end { border-top: 1px dashed var(--line); color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.lane--new { background: linear-gradient(135deg, rgba(245,166,35,.08), rgba(52,211,153,.08)); border: 1px solid rgba(245,166,35,.15); }
.lane--new h3 { color: var(--solar); }
.lane--new time { color: var(--green); }
.lane--new .lane__end { border-top: 1px solid var(--line); color: var(--solar); }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; counter-reset: stp; }
.stp { counter-increment: stp; padding: 24px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r); }
.stp::before { content: counter(stp); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--solar-glow); color: var(--solar); font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.stp h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.stp p { font-size: 15px; color: var(--text2); }

/* ── CTA ── */
.cta-sec { background: linear-gradient(135deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { display: grid; justify-items: start; gap: 20px; }
.cta-inner .t1 { max-width: 18ch; }
.cta-inner > p { color: var(--text2); max-width: 50ch; }

/* ── FAQ ── */
.faq-sec { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 6vw, 80px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--text3); flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--text2); max-width: 56ch; }

/* ── Footer ── */
.ft { background: var(--bg2); border-top: 1px solid var(--line); padding-block: 48px; font-size: 14px; }
.ft__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; }
.ft__brand p { color: var(--text3); margin-top: 8px; max-width: 32ch; }
.ft__links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; }
.ft__links a { text-decoration: none; color: var(--text2); }
.ft__links a:hover { color: var(--white); }
.ft__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text3); }

/* ── Related ── */
.related { margin: 36px 0; padding: 20px 24px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-sm); }
.related p { font-size: 15px; margin-bottom: 10px; }
.related a { display: inline-block; margin: 4px 8px 4px 0; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--card-border); }
.related a:hover { border-color: var(--solar); background: var(--solar-glow); }

/* ── Page hero (SEO pages) ── */
.page-hero { padding: clamp(48px, 7vw, 80px) 0; position: relative; }
.page-hero::before { content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: var(--solar-glow); filter: blur(100px); pointer-events: none; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero .t1 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
.page-hero .t1 em { font-style: normal; color: var(--solar); }
.page-hero__sub { font-size: 18px; color: var(--text2); max-width: 46ch; margin-bottom: 28px; }
.page-hero__card { background: var(--bg2); border: 1px solid var(--card-border); border-radius: var(--r); padding: 28px; }
.page-hero__card h3 { font-family: var(--display); font-size: 18px; margin-bottom: 10px; }
.page-hero__card p { font-size: 15px; color: var(--text2); }
.page-hero__card .small { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--solar); }
.breadcrumb { font-size: 14px; color: var(--text3); margin-bottom: 28px; }
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--text); }

/* ── Article content ── */
.article { max-width: 720px; }
.article h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin: 48px 0 14px; }
.article > h2:first-child { margin-top: 0; }
.article p { color: var(--text2); font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.article a { color: var(--solar); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--solar-dark); }
.article ul { margin: 0 0 16px; display: grid; gap: 10px; }
.article li { position: relative; padding-left: 24px; font-size: 17px; color: var(--text2); }
.article li::before { content: "→"; position: absolute; left: 0; color: var(--solar); font-weight: 600; }
.article > .btn { margin-top: 28px; }
.notice { margin: 32px 0; padding: 22px 24px; background: var(--solar-glow); border-radius: var(--r-sm); border-left: 4px solid var(--solar); }
.notice p { margin: 0; color: var(--text); }

/* ── Responsivo ── */
@media (max-width: 980px) {
  .hnav a:not(.btn) { display: none; }
  .hero__grid, .problem__grid, .feat, .faq-grid, .page-hero__grid { grid-template-columns: 1fr; }
  .feat:nth-child(even) .feat__text { order: 0; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero__actions .btn { width: 100%; }
  .compare__grid, .steps-grid, .cadence-row { grid-template-columns: 1fr; }
  .ticket-grid { grid-template-columns: 1fr; }
  .ft__inner, .ft__links { grid-template-columns: 1fr; }
  .band__list { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
